Commit Graph
878 Commits
Author SHA1 Message Date
hai007 05ae5583f8 Move crypto-related symbols from ::crypto:: to ::nearby::crypto:: to deconflict
them with chromium ::crypto symbols of the same names.

PiperOrigin-RevId: 684566882
2024-10-10 13:54:53 -07:00
Guogang Li 45e297cc93 Reduce GATT read during discovery
PiperOrigin-RevId: 684175246
2024-10-09 14:36:44 -07:00
Eiden Kim 81148a8b72 Update wstring converter
PiperOrigin-RevId: 684119260
2024-10-09 11:54:27 -07:00
hai007 b721624851 Automated Code Change
PiperOrigin-RevId: 683908630
2024-10-08 23:45:46 -07:00
Anay Wadhera 117b13d099 introduce copy file utility
PiperOrigin-RevId: 683707504
2024-10-08 11:46:08 -07:00
Eiden Kim 25d4aca219 Update wstring converter
PiperOrigin-RevId: 682112846
2024-10-03 18:32:59 -07:00
Francis Tsui ab00092c6c Create hard link for latest log files.
PiperOrigin-RevId: 681986911
2024-10-03 12:39:42 -07:00
hai007 53b09d452b [Safe-to-disconnect] Fix a bug in ReplaceChannelForEndpoint()
PiperOrigin-RevId: 679298374
2024-09-26 14:37:57 -07:00
Nick Bourdakos 1a87241ffd Implement GattClient#Disconnect for Apple implementation of BLEv2
PiperOrigin-RevId: 679218551
2024-09-26 11:09:30 -07:00
hai007 9b4a4da7d2 [Nearby Windows][Hotspot] Store the Hotspot SSID to a file in case the APP get close unexpected.
PiperOrigin-RevId: 676945569
2024-09-20 13:10:21 -07:00
Guogang Li 6707efeed8 internal refactor
PiperOrigin-RevId: 676552917
2024-09-19 13:58:21 -07:00
Guogang Li 47f2dfec28 Removed platform types dependency from windows platform codes
PiperOrigin-RevId: 676447748
2024-09-19 09:37:29 -07:00
hai007 601ca32370 [Nearby Windows][Hotspot] Fix the issue that the Hotspot profile is not deleted correctly in client side after the Hotspot connection.
PiperOrigin-RevId: 675771020
2024-09-17 17:38:03 -07:00
Guogang Li f7e54916c0 Fixed a bug in file reading
PiperOrigin-RevId: 674498290
2024-09-13 18:15:35 -07:00
Anay Wadhera 153ea88c7a Don't add addresses to the list of available addresses if we're not connected to a network.
PiperOrigin-RevId: 674029079
2024-09-12 15:16:33 -07:00
Francis Tsui 4babeeaed8 Fix flaky test.
PiperOrigin-RevId: 673077504
2024-09-10 13:12:48 -07:00
Francis Tsui 30c8e0e722 Simplify winrt build target.
PiperOrigin-RevId: 672754586
2024-09-09 19:13:58 -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
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
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
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
Guogang Li d5b5d92f87 Internal logging update
PiperOrigin-RevId: 669420403
2024-08-30 13:08:35 -07:00
Guogang Li c725e049d5 internal update
PiperOrigin-RevId: 669053048
2024-08-29 13:59:14 -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 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
Guogang Li 2c700115ef internal fix
PiperOrigin-RevId: 666482118
2024-08-22 14:08:02 -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
Suet-Fei Li a81ce57879 Support 3P oauth flow.
PiperOrigin-RevId: 663964316
2024-08-16 19:39:13 -07:00
hai007 f0115df88b Internal change
PiperOrigin-RevId: 663333107
2024-08-15 09:40:28 -07:00
Guogang Li 25eec0ff0f Fixed some test issues
PiperOrigin-RevId: 662722512
2024-08-13 18:18:52 -07:00
Guogang Li cad1ef6bf3 Fixed a bug in GATT client
PiperOrigin-RevId: 662666561
2024-08-13 15:05:47 -07:00
Guogang Li c148174cb0 use absl::Mutex for NearbyFlags
PiperOrigin-RevId: 661424236
2024-08-09 15:30:44 -07:00
Guogang Li 9378752513 internal update
PiperOrigin-RevId: 661390542
2024-08-09 13:49:58 -07:00
Francis Tsui 0740e5fba5 internal changes
PiperOrigin-RevId: 661115479
2024-08-08 21:53:52 -07:00
hai007 d730c6a437 [Multiplex] Fix the issue that the physical socket is not handled properly.
PiperOrigin-RevId: 660594414
2024-08-07 17:12:39 -07:00
Anay Wadhera b0f58ee5a0 Deprecate kCheckIllegalCharacters flag.
PiperOrigin-RevId: 660433186
2024-08-07 10:05:50 -07:00
Guogang Li f394379fc1 Internal flaky fix
PiperOrigin-RevId: 659763609
2024-08-05 19:36:10 -07:00
hai007 12371764e6 1. Logs instant connection result code to advertise phase, discovery phase or connection attempts.
2. Adds one new result code CONNECTIVITY_AUTO_RESUME_FAILURE for reconnection

PiperOrigin-RevId: 659207468
2024-08-03 20:29:33 -07:00
Francis Tsui a8757a2c49 internal changes.
PiperOrigin-RevId: 658928907
2024-08-02 15:47:15 -07:00
Francis Tsui d56c1008cd Enable platform tests for Windows builds.
PiperOrigin-RevId: 658892575
2024-08-02 13:41:44 -07:00