Commit Graph
2738 Commits
Author SHA1 Message Date
Anay Wadhera e0484fc373 Remove unnecessary OnOutgoingAdvertisementDecoded() method
PiperOrigin-RevId: 673108179
2024-09-10 14:33:26 -07:00
Francis Tsui 4babeeaed8 Fix flaky test.
PiperOrigin-RevId: 673077504
2024-09-10 13:12:48 -07:00
hai007 f139ee4469 Add more reconnect result code, NS test result works as expected. (https://paste.googleplex.com/6745784126275584)
PiperOrigin-RevId: 672760888
2024-09-09 19:35:50 -07:00
Francis Tsui 30c8e0e722 Simplify winrt build target.
PiperOrigin-RevId: 672754586
2024-09-09 19:13:58 -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
Dmitri Gribenko 686abb539f Automated Code Change
PiperOrigin-RevId: 672586811
2024-09-09 10:19:22 -07:00
Martin Brænne 013213b4bd Automated Code Change
PiperOrigin-RevId: 672557543
2024-09-09 08:43:56 -07:00
Guogang Li 3c8737f92d internal dependency updates
PiperOrigin-RevId: 672555643
2024-09-09 08:36:04 -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
Anthony Rueda 6dd3fbcd3d [Presence] Deprecate signature_version field in protos.
PiperOrigin-RevId: 671511383
2024-09-05 14:30:15 -07:00
Francis Tsui d89e1f6832 Use client_secret and client_id from prefs in grpc client.
PiperOrigin-RevId: 671450009
2024-09-05 11:39:47 -07:00
Francis Tsui b531fd255a Add IWYU pragma to logs header.
PiperOrigin-RevId: 671441592
2024-09-05 11:19:08 -07:00
Anay Wadhera 2610b7c564 remove unused dependency
PiperOrigin-RevId: 671398677
2024-09-05 09:23:51 -07:00
Francis Tsui 83c6a8bbbe Add missing header file.
PiperOrigin-RevId: 671090966
2024-09-04 14:01:55 -07:00
Guogang Li a08e89f0f1 Decrease BLE header logging level
PiperOrigin-RevId: 670758902
2024-09-03 17:18:52 -07:00
Francis Tsui 05685dda5b Update copybara rule to ban direct use of absl/log in entire repo.
PiperOrigin-RevId: 670757551
2024-09-03 17:13:40 -07:00
Crisrael Lucero 3917415c7a Remove the logging.h include replacement
PiperOrigin-RevId: 670721120
2024-09-03 15:09:45 -07:00
Guogang Li f8669cf16d Clean up logging implementations
PiperOrigin-RevId: 670714192
2024-09-03 14:48:52 -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
Guogang Li c725e049d5 internal update
PiperOrigin-RevId: 669053048
2024-08-29 13:59:14 -07:00
hai007 7b259382e7 Automated Code Change
PiperOrigin-RevId: 668854483
2024-08-29 02:58:59 -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
hai007 b376b9456b Adds rx advertisement support for NFC.
PiperOrigin-RevId: 668359402
2024-08-28 02:40:53 -07:00
Francis Tsui 1f31c0deba Add expiration to contacts hash.
PiperOrigin-RevId: 668279125
2024-08-27 22:33:30 -07:00
Crisrael Lucero 670674a251 Explicitly concatenate location to support Chromium StrCat
PiperOrigin-RevId: 668117970
2024-08-27 13:33:46 -07:00
Guogang Li 02a2f2e47a Applied ABSL logging for NC on Windows
PiperOrigin-RevId: 668013978
2024-08-27 09:17:38 -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 4bca950bc7 Rename NEARBY_LOG() to NEARBY_LOG_OBSOLETE()
PiperOrigin-RevId: 667785090
2024-08-26 18:20:49 -07:00
Anay Wadhera df166289bb internal change
PiperOrigin-RevId: 667781323
2024-08-26 18:04:45 -07:00
Francis Tsui b03a383f7a Trivial replacement of NEARBY_LOG with NEARBY_LOGS.
PiperOrigin-RevId: 667740113
2024-08-26 15:34:21 -07:00
Francis Tsui a4bd9b6503 Fix string_view lifetime issue.
PiperOrigin-RevId: 667624427
2024-08-26 10:11:34 -07:00
Guogang Li 4e8111f303 Fixed test cases issue for BLE discovery
PiperOrigin-RevId: 667612285
2024-08-26 09:35:43 -07:00
Anay Wadhera 832d267e26 Switch to codegen for Nearby Connections flags.
PiperOrigin-RevId: 667396816
2024-08-25 17:31:33 -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
Guogang Li ec0de73e8e internal medium fix
PiperOrigin-RevId: 666509363
2024-08-22 15:22:04 -07:00
Guogang Li 2c700115ef internal fix
PiperOrigin-RevId: 666482118
2024-08-22 14:08:02 -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
hai007 f2aed20443 Logs the endpoint info size into AdvertisingPhase
Tested: https://paste.googleplex.com/4752588241371136

PiperOrigin-RevId: 666167190
2024-08-21 21:08:13 -07:00
Anthony Rueda c823f68250 [Presence] Change credential_version field to int64 to be Java friendly.
PiperOrigin-RevId: 665961475
2024-08-21 11:31:13 -07:00
Anthony Rueda 1c41d0c77c [Presence] Deprecate version bytes field of shared credential protos and add credential_version to be used as an integer generic credential version field
PiperOrigin-RevId: 665517202
2024-08-20 14:04:49 -07:00