109 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 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
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 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
Edwin Wu 26efd91ff4 Introduce factory patterns for BLE managers in BleMedium.
PiperOrigin-RevId: 897492346
2026-04-09 22:53:52 -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 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 1bc6346601 [Nearby] Optimize NWFramework socket reads and writes for performance and memory. II
PiperOrigin-RevId: 894923575
2026-04-05 07:19:18 -07:00
Francis Tsui 90028655d2 Cleanup DeviceInfo
PiperOrigin-RevId: 891750619
2026-03-30 09:11:37 -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
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
Francis Tsui a590b2a3e2 Update platform to remove file size from CreateInputFile API.
PiperOrigin-RevId: 846311268
2025-12-18 09:52:50 -08:00
Francis Tsui 03ae6b1be1 Switch various WifiLanMedium connect methods to use ServiceAddress.
PiperOrigin-RevId: 843241925
2025-12-11 08:52:53 -08:00
Crisrael Lucero dd943af8e9 Change GetAddress() to GetMacAddress() in BluetoothAdapter
PiperOrigin-RevId: 834896610
2025-11-20 13:49:49 -08:00
Guogang Li 919d279695 Update the logic to retrieve BLE peripheral.
PiperOrigin-RevId: 834816089
2025-11-20 10:27:57 -08:00
Nick Bourdakos a241cbb7ac webrtc
PiperOrigin-RevId: 833487914
2025-11-17 14:05:55 -08:00
Francis Tsui 48ddaf0a95 Remove deprecated methods.
PiperOrigin-RevId: 829640164
2025-11-07 17:54:11 -08:00
Francis Tsui 4f2f9146cb Add address candidates to WifiHotspotCredentials.
PiperOrigin-RevId: 829628783
2025-11-07 17:07:15 -08:00
Guogang Li 2c6c0a2524 Add test cases for application life cycle
PiperOrigin-RevId: 828119642
2025-11-04 13:49:48 -08:00
Edwin Wu f353079f6f [NC Apple coverage] Add more comprehensive tests for BLE medium connections.
PiperOrigin-RevId: 826582061
2025-10-31 12:15:56 -07:00
Edwin Wu 3cdee32f14 [NC Apple coverage] Add tests for nearby::apple::GattClient.
PiperOrigin-RevId: 826566302
2025-10-31 11:34:57 -07:00
Edwin Wu 88f37eeb88 [NC Apple coverage] Add tests for Nearby BLE GATT server.
PiperOrigin-RevId: 825816375
2025-10-29 19:49:12 -07:00
Edwin Wu a8c3789711 [NC Apple coverage] Add BLE L2CAP socket tests.
PiperOrigin-RevId: 825809602
2025-10-29 19:28:29 -07:00
Edwin Wu 3ef78ea408 [NC Apple coverage] Add unit tests for BleL2capServerSocket.
PiperOrigin-RevId: 825804364
2025-10-29 19:07:51 -07:00
Edwin Wu 1d8fc950e3 [NC Apple coverage] Add unit tests for BleServerSocket on Apple.
PiperOrigin-RevId: 825799425
2025-10-29 18:48:07 -07:00
Edwin Wu bf971db1bb [NC Apple coverage] Add unit tests for network_utils.h.
PiperOrigin-RevId: 825792828
2025-10-29 18:26:22 -07:00
Francis Tsui 1210969d04 Cleanup use of HotspotCredentials.
PiperOrigin-RevId: 824262890
2025-10-26 15:17:16 -07:00
Edwin Wu 3569a9c17a [NC Apple coverage] Add tests for WifiHotspotMedium.
PiperOrigin-RevId: 820488585
2025-10-16 19:37:00 -07:00
Edwin Wu d08ca79b89 [NC Apple coverage] Add unit tests for Nearby Apple's BleMedium.
PiperOrigin-RevId: 820484319
2025-10-16 19:18:27 -07:00
Francis Tsui 8a88a78f25 Remove unused platform interface method.
PiperOrigin-RevId: 819236789
2025-10-14 08:35:31 -07:00
Guogang Li cce45b745e Internal refactor
PiperOrigin-RevId: 815749899
2025-10-06 09:03:08 -07:00
Guogang Li 5fbef9e11e Remove BLE V1 codes
PiperOrigin-RevId: 811369802
2025-09-25 08:56:51 -07:00
Francis Tsui 72088b7fe2 Remove Timer::FireNow.
PiperOrigin-RevId: 811123106
2025-09-24 18:44:41 -07:00
Edwin Wu 19dc77a78f Fix threading issues in GNCTimerTest.
PiperOrigin-RevId: 810693891
2025-09-23 20:57:23 -07:00
Edwin Wu 8ded7ccfca [NC Apple coverage] Add unit tests for GNCMBleUtils.
PiperOrigin-RevId: 808614106
2025-09-18 09:26:32 -07:00
Edwin Wu 961e73d7c9 [NC Apple coverage] Add unit tests for BleSocket on Apple.
PiperOrigin-RevId: 808378919
2025-09-17 20:51:46 -07:00
Edwin Wu 5865ae7496 [NC Apple coverage] Add unit tests for nearby::apple::BlePeripheral.
PiperOrigin-RevId: 807925024
2025-09-16 18:14:24 -07:00
Edwin Wu 21f7e51635 [NC Apple coverage] add initial unit tests for BluetoothAdapterV2.
PiperOrigin-RevId: 807650119
2025-09-16 05:06:44 -07:00
Edwin Wu 9e050cc73a [NC Apple coverage] Add tests for timer.mm.
PiperOrigin-RevId: 807639173
2025-09-16 04:26:11 -07:00
Edwin Wu 9f678bc441 [NC Apple coverage] Add unit tests for Nearby's Apple PreferencesManager.
PiperOrigin-RevId: 807633546
2025-09-16 04:06:00 -07:00