316 Commits
Author SHA1 Message Date
Lasan Mahaliyana 37e916ecbd Merge remote-tracking branch 'nearby/main'
# Conflicts:
#	connections/implementation/bwu_manager_test.cc
#	sharing/BUILD
#	sharing/certificates/fake_nearby_share_certificate_manager.cc
#	sharing/certificates/fake_nearby_share_certificate_manager.h
#	sharing/internal/base/utf_string_conversions.h
2026-07-26 22:46:37 +05:30
Edwin Wu 6e092fdd53 Move BLE service manager cleanup to server socket close.
PiperOrigin-RevId: 951278945
2026-07-20 23:39:55 -07:00
Edwin Wu 953d9ea26c Fix DoS in Quick Share via malformed mDNS on Apple platforms
PiperOrigin-RevId: 949295891
2026-07-16 18:52:04 -07:00
Edwin Wu a6f799af7f Validate file/folder names for UTF-8 and null characters in Nearby Connections.
PiperOrigin-RevId: 948685221
2026-07-15 19:47:52 -07:00
Edwin Wu 73323692b9 Fix potential crash in BLE connection when receiving short data packets.
PiperOrigin-RevId: 946827334
2026-07-13 00:01:51 -07:00
Edwin Wu 2f3e7beb78 Limit maximum L2CAP frame size and move read buffer to instance variable.
PiperOrigin-RevId: 946782423
2026-07-12 21:46:20 -07:00
Edwin Wu 8eedf05f2c Fix NSRangeException crash in GNCBLEGATTServer
PiperOrigin-RevId: 943785961
2026-07-07 03:21:54 -07:00
Edwin Wu 618e5bd5d5 Validate DCT advertisements and filter BLE scan results on Apple.
PiperOrigin-RevId: 943784982
2026-07-07 03:15:15 -07:00
Lasan Mahaliyana c34efc75f8 Merge remote-tracking branch 'nearby/main' into sync-upstream 2026-06-13 21:02:50 +05:30
Lasan Mahaliyana e3fad280d9 Reapply "Cleanup DeviceInfo"
This reverts commit 024fcb1457.
2026-06-13 18:30:06 +05:30
Lasan Mahaliyana 024fcb1457 Revert "Cleanup DeviceInfo"
This reverts commit 981d7db305.
2026-06-13 18:28:09 +05:30
Francis Tsui 981d7db305 Cleanup DeviceInfo
PiperOrigin-RevId: 891750619
2026-06-13 17:26:04 +05:30
hai007 111f9a5275 Replace libjingle_peerconnection_api with the proper dependencies.
PiperOrigin-RevId: 884814527
2026-06-13 17:23:29 +05:30
Edwin Wu 2f6cff0f08 Refactor GATT/L2CAP servers to support shared peripheral manager
PiperOrigin-RevId: 882024313
2026-06-13 16:52:26 +05:30
Francis Tsui 4181803eb6 Create platform independent WebRtcMedium impl.
PiperOrigin-RevId: 919894367
2026-05-22 15:45:18 -07:00
Francis Tsui 4e387e7ea7 Move platform dependent part of WebRtcMedium into WebRtcPlatform.
PiperOrigin-RevId: 919888693
2026-05-22 15:32:44 -07:00
Francis Tsui b536c8da3a Move TachyonExpressSignallingMessenger into mediums/webrtc.
PiperOrigin-RevId: 919882997
2026-05-22 15:19:17 -07:00
Nick Bourdakos e4f25b54c6 Internal
PiperOrigin-RevId: 919352057
2026-05-21 18:01:33 -07:00
Francis Tsui 5df1af7c61 Create separate WebRtc Platform.
PiperOrigin-RevId: 919283950
2026-05-21 15:26:28 -07:00
Francis Tsui 765bd555e4 Create separate WebRtc Platform.
PiperOrigin-RevId: 919274513
2026-05-21 15:06:58 -07:00
Edwin Wu e234002750 Fixed a go/mobile_tsan error (data_race) found while running //third_party/nearby/internal/platform/implementation/apple/Tests:PlatformTest
PiperOrigin-RevId: 915715369
2026-05-14 18:17:28 -07:00
Francis Tsui 7d84d08619 Remove unused code.
PiperOrigin-RevId: 915643059
2026-05-14 15:21:21 -07:00
hai007 d41eff045c Automated Code Change
PiperOrigin-RevId: 912819296
2026-05-08 20:24:31 -07:00
Edwin Wu bd66643160 Implement single-copy optimizations for BLE/L2CAP sockets.
PiperOrigin-RevId: 897745906
2026-04-10 09:58:48 -07:00
Edwin Wu 26efd91ff4 Introduce factory patterns for BLE managers in BleMedium.
PiperOrigin-RevId: 897492346
2026-04-09 22:53:52 -07:00
hai007 db72ebcaa4 Automated Code Change
PiperOrigin-RevId: 896829185
2026-04-08 19:52:40 -07:00
Edwin Wu 4b5e42ad71 Fix potential deadlock and use-after-free in BleServerSocket on Apple.
PiperOrigin-RevId: 895638821
2026-04-06 20:50:33 -07:00
Edwin Wu cae29fe15a The GNCMWaitForConnection utility is updated to allow specifying a target dispatch queue.
PiperOrigin-RevId: 895632592
2026-04-06 20:34:41 -07:00
Edwin Wu a570c9df8f [Nearby] Optimize NWFramework socket reads and writes for performance and memory. IV
PiperOrigin-RevId: 894952159
2026-04-05 09:18:32 -07:00
Edwin Wu b382cdb022 [Nearby] Optimize NWFramework socket reads and writes for performance and memory. III
PiperOrigin-RevId: 894930585
2026-04-05 07:51:18 -07:00
Edwin Wu 1bc6346601 [Nearby] Optimize NWFramework socket reads and writes for performance and memory. II
PiperOrigin-RevId: 894923575
2026-04-05 07:19:18 -07:00
Edwin Wu a405436f44 [Nearby] Optimize NWFramework socket reads and writes for performance and memory. I
PiperOrigin-RevId: 893210612
2026-04-01 18:27:47 -07:00
Edwin Wu c7a8361639 Continue scanning even when peripherals are connected.
PiperOrigin-RevId: 892142072
2026-03-31 00:00:59 -07:00
Francis Tsui 90028655d2 Cleanup DeviceInfo
PiperOrigin-RevId: 891750619
2026-03-30 09:11:37 -07:00
hai007 2d13fb2750 Replace libjingle_peerconnection_api with the proper dependencies.
PiperOrigin-RevId: 884814527
2026-03-16 22:44:48 -07:00
Edwin Wu 54ef43eb83 Refactor GNCBLEMedium to support shared PeripheralManager injection.
PiperOrigin-RevId: 882032712
2026-03-11 08:43:30 -07:00
Edwin Wu dcb6918889 Refactor GATT/L2CAP servers to support shared peripheral manager
PiperOrigin-RevId: 882024313
2026-03-11 08:23:16 -07:00
Edwin Wu c00d7ae485 Implement GNCPeripheralManagerMultiplexer.
PiperOrigin-RevId: 881707256
2026-03-10 18:01:39 -07:00
Edwin Wu a2249dc07a Unpublish existing L2CAP channel before starting a new server.
PiperOrigin-RevId: 881707142
2026-03-10 17:56:44 -07:00
Francis Tsui 7381c589c3 internal
PiperOrigin-RevId: 881087668
2026-03-09 16:17:49 -07:00
Francis Tsui 79f9436ed0 Remove ununsed dependencies.
PiperOrigin-RevId: 879192569
2026-03-05 12:26:42 -08:00
Francis Tsui 574808daa6 Fix use of deprecated MutexLock.
PiperOrigin-RevId: 877419825
2026-03-02 08:49:07 -08:00
Francis Tsui e5046f6b55 Add support for storing proto messages in preferences.
PiperOrigin-RevId: 875747055
2026-02-26 08:58:54 -08:00
Francis Tsui 44679a49e1 Add support for removing preferences using key prefix.
PiperOrigin-RevId: 875366484
2026-02-25 15:32:04 -08:00
hai007 a824f0fd11 Automated Code Change
PiperOrigin-RevId: 865782783
2026-02-05 00:04:42 -08:00
hai007 a353c3f851 Automated Code Change
PiperOrigin-RevId: 864793757
2026-02-03 03:28:10 -08:00
hai007 3991d6ed70 Automated Code Change
PiperOrigin-RevId: 862218218
2026-01-28 07:02:42 -08:00
Guogang Li 7e28c16a7e Fix iOS build with macro NO_WEBRTC
PiperOrigin-RevId: 855849684
2026-01-13 13:09:24 -08:00
Francis Tsui c2c54a3ca0 Remove deprecated OutputStream::Write method.
PiperOrigin-RevId: 854235255
2026-01-09 10:04:02 -08:00
Francis Tsui fbf66ad7e3 Switch OutputStream::Write to use string_view.
PiperOrigin-RevId: 854225267
2026-01-09 09:37:00 -08:00