Commit Graph
255 Commits
Author SHA1 Message Date
Francis Tsui 3cd3614a4a Deprecate flags that have been fully rolled out.
PiperOrigin-RevId: 678305598
2024-09-24 10:30:50 -07:00
Anay Wadhera d9b38e2efd Don't attach vendor ID to advertisements that aren't in everyone mode.
PiperOrigin-RevId: 678117611
2024-09-24 00:47:32 -07:00
Anay Wadhera 6d2a38b6c8 Send wifi credentials payload in OutgoingShareSession.
PiperOrigin-RevId: 678115944
2024-09-24 00:41:02 -07:00
Suet-Fei Li bdca4aa707 Add de-duplicate in NearbySharing based on device_id matching.
PiperOrigin-RevId: 677910987
2024-09-23 13:10:56 -07:00
Anay Wadhera 42c1ad3173 Log vendor ID when registering a receive surface.
PiperOrigin-RevId: 677850820
2024-09-23 10:34:19 -07:00
Francis Tsui 75b972a2b7 Internal
PiperOrigin-RevId: 677537999
2024-09-22 14:35:34 -07:00
hai007 a9adb87b53 Update filename in IfThisThenThat Lint
PiperOrigin-RevId: 676501755
2024-09-19 11:46:27 -07:00
hai007 a9e753e1e1 Add LINT.IfChange for kNearbyShareDeviceNameMaxLength
PiperOrigin-RevId: 676109286
2024-09-18 13:33:13 -07:00
Francis Tsui 161676afc5 Cancel disconnection timer on disconnect.
PiperOrigin-RevId: 675593917
2024-09-17 09:19:08 -07:00
hai007 1d2e43e931 Automated Code Change
PiperOrigin-RevId: 675305801
2024-09-16 15:10:32 -07:00
Nick Bourdakos 149366bd12 Fix a bug that prevented switching from everyone mode to temporary everyone mode
PiperOrigin-RevId: 673949109
2024-09-12 12:11:18 -07:00
Anay Wadhera c9702906ba Remove unused OnAllowedContactsChanged method from NearbySharingServiceImpl
PiperOrigin-RevId: 673123330
2024-09-10 15:12:31 -07:00
Anay Wadhera e0484fc373 Remove unnecessary OnOutgoingAdvertisementDecoded() method
PiperOrigin-RevId: 673108179
2024-09-10 14:33:26 -07:00
Francis Tsui c358dedd91 internal
PiperOrigin-RevId: 672682541
2024-09-09 14:52:01 -07:00
Anay Wadhera 5a1bfcb904 Add a new constructor for FileAttachment to support precomputation of mime type and attachment type.
PiperOrigin-RevId: 672643121
2024-09-09 12:59:12 -07:00
Francis Tsui 48001e65cd Really remove recursive locks in IncomingFramesReader.
PiperOrigin-RevId: 672616279
2024-09-09 11:39:15 -07:00
Anay Wadhera b15cbddb8b Use absl::NoDestructor for static flat_hash_map
PiperOrigin-RevId: 671853605
2024-09-06 12:22:30 -07:00
Anay Wadhera e36398b124 Remove open()-related and unused code.
PiperOrigin-RevId: 671851469
2024-09-06 12:15:46 -07:00
Anay Wadhera a8cd7d0b3d Lowercase the file extension when looking it up against our well known extensions database.
PiperOrigin-RevId: 671835506
2024-09-06 11:28:19 -07:00
Anay Wadhera e8e2218632 Set up lints.
PiperOrigin-RevId: 671526248
2024-09-05 15:11:40 -07:00
Francis Tsui b531fd255a Add IWYU pragma to logs header.
PiperOrigin-RevId: 671441592
2024-09-05 11:19:08 -07:00
Crisrael Lucero 3917415c7a Remove the logging.h include replacement
PiperOrigin-RevId: 670721120
2024-09-03 15:09:45 -07:00
Anay Wadhera 3ee286092a Revert "Make ShainrgPlatform return a shared instance of SystemInfo."
PiperOrigin-RevId: 669470010
2024-08-30 15:49:53 -07:00
Guogang Li d5b5d92f87 Internal logging update
PiperOrigin-RevId: 669420403
2024-08-30 13:08:35 -07:00
Francis Tsui e65a8a568c Deprecate unused flags
PiperOrigin-RevId: 669354687
2024-08-30 09:42:36 -07:00
Anay Wadhera 16d9e867c9 Set contacts visibility when logging in so the user is ready to share immediately.
PiperOrigin-RevId: 668690895
2024-08-28 18:23:16 -07:00
Francis Tsui 1f31c0deba Add expiration to contacts hash.
PiperOrigin-RevId: 668279125
2024-08-27 22:33:30 -07:00
Francis Tsui 163dbe6589 Make ShainrgPlatform return a shared instance of SystemInfo.
PiperOrigin-RevId: 668012698
2024-08-27 09:12:29 -07:00
Francis Tsui a4bd9b6503 Fix string_view lifetime issue.
PiperOrigin-RevId: 667624427
2024-08-26 10:11:34 -07:00
Francis Tsui 50c1afd8bf internal changes
PiperOrigin-RevId: 666964347
2024-08-23 16:52:38 -07:00
Francis Tsui e6a4ca846b Update API to allow control use of hotspot for transfers.
PiperOrigin-RevId: 666946030
2024-08-23 15:39:52 -07:00
Francis Tsui a0aebee34c Change TransferStatus to be similar to Android.
PiperOrigin-RevId: 666827970
2024-08-23 09:42:56 -07:00
hai007 725c8e83b6 [Nearby Share] Add ContactAccess and IdentityVerification for share-ready.
PiperOrigin-RevId: 666647261
2024-08-22 22:59:32 -07:00
Francis Tsui 52dac14a3c Allow send and receive surfaces at the same time.
PiperOrigin-RevId: 666417182
2024-08-22 11:04:35 -07:00
Suet-Fei Li a81ce57879 Support 3P oauth flow.
PiperOrigin-RevId: 663964316
2024-08-16 19:39:13 -07:00
Francis Tsui 826188fb43 Fix UAF crash.
PiperOrigin-RevId: 663601288
2024-08-15 22:24:59 -07:00
Francis Tsui f73a9120a8 Fix tsan issue.
PiperOrigin-RevId: 663399817
2024-08-15 12:17:01 -07:00
hai007 f0115df88b Internal change
PiperOrigin-RevId: 663333107
2024-08-15 09:40:28 -07:00
hai007 a5efe8b924 [Sharing Analytics] Add transfer metadata to track the first and last transfer time
PiperOrigin-RevId: 662488230
2024-08-13 06:08:48 -07:00
Francis Tsui 0a4fbb0cb7 Remove recursive mutex in IncomingFrameReader.
PiperOrigin-RevId: 662219648
2024-08-12 14:05:46 -07:00
Francis Tsui c9c05b73fc cleanup tests
PiperOrigin-RevId: 661384334
2024-08-09 13:33:50 -07:00
Francis Tsui c3f3beb349 Uniformly return kOutOfOrderApiCall when APIs are not called in correct order.
PiperOrigin-RevId: 661300308
2024-08-09 09:52:27 -07:00
Francis Tsui 5bc52f3ab1 internal.
PiperOrigin-RevId: 661059307
2024-08-08 18:25:39 -07:00
Francis Tsui 39d7f796d2 Deprecate ProgressUpdateFrame.
PiperOrigin-RevId: 660961908
2024-08-08 13:34:57 -07:00
Anay Wadhera 471210b61a add registered surfaces to dump output
PiperOrigin-RevId: 660472424
2024-08-07 11:38:07 -07:00
Francis Tsui 9d324f79d8 Move payload update processing into IncomingShareSession.
PiperOrigin-RevId: 660159962
2024-08-06 17:26:26 -07:00
Francis Tsui dcb830d8a5 Fix race condition.
PiperOrigin-RevId: 660086003
2024-08-06 13:56:10 -07:00
Francis Tsui 6ad47fab5a Fix deadlock.
PiperOrigin-RevId: 660052604
2024-08-06 12:20:26 -07:00
Anay Wadhera b53ad29348 internal finalize
PiperOrigin-RevId: 659630436
2024-08-05 11:52:07 -07:00
Francis Tsui c1c4d52e79 Fix date time formating.
PiperOrigin-RevId: 658925068
2024-08-02 15:32:32 -07:00