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
Francis Tsui
ad6267d236
Remove unused code
...
PiperOrigin-RevId: 853316103
2026-01-07 10:20:46 -08:00
Francis Tsui
1b557236f7
Log interface count and IPv6 only interface count during wifi upgrade.
...
PiperOrigin-RevId: 852845375
2026-01-06 10:45:13 -08:00
hai007
46ad9a75ef
Fix out-of-bounds string access in GNCIPv4AddressTest found by LibC++ hardening
...
LibC++ hardening detected an out-of-bounds write in `testInitFromDataWithLeadingEmptyBytes`. The `std::string` initialized with "\0\0\0\0" was empty, making the access `addressString[3]` invalid.
Updated the `std::string` constructor to specify the size, so it correctly includes the null bytes, preventing the crash.
PiperOrigin-RevId: 846853226
2025-12-19 13:48:53 -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
b88fbc6636
Stop passing file size into InputFile c'tor.
...
PiperOrigin-RevId: 845989622
2025-12-17 18:01:07 -08:00
Francis Tsui
03ae6b1be1
Switch various WifiLanMedium connect methods to use ServiceAddress.
...
PiperOrigin-RevId: 843241925
2025-12-11 08:52:53 -08:00
Francis Tsui
4652aef48c
WifiLan::Change GetUpgradeAddressCandidates to use ServiceAddress.
...
PiperOrigin-RevId: 842257461
2025-12-09 08:48:31 -08:00
Edwin Wu
d48cdd18a2
Fix the Hotspot upgrade failed.
...
PiperOrigin-RevId: 836521706
2025-11-24 23:24:53 -08:00
Guogang Li
49b2e371ab
Expand visibility for Apple platform to XR.
...
PiperOrigin-RevId: 835283706
2025-11-21 10:55:31 -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
Edwin Wu
7bf001a8c9
[BLEREFACTOR]: Add Mutex::AssertHeld.
...
PiperOrigin-RevId: 834563947
2025-11-19 20:35:47 -08:00
Nick Bourdakos
a241cbb7ac
webrtc
...
PiperOrigin-RevId: 833487914
2025-11-17 14:05:55 -08:00
Edwin Wu
8375b82a86
Make delegateDelay property atomic and access it via self.
...
PiperOrigin-RevId: 832080864
2025-11-13 18:00:52 -08:00
Edwin Wu
f214179935
[NC Apple coverage] Refactor GNSCentralPeerManagerTest to use custom fakes and add more test cases.
...
PiperOrigin-RevId: 831283848
2025-11-12 01:59:05 -08:00
Edwin Wu
3b8ba4a452
[NC Apple coverage] Refactor GNSPeripheralServiceManager tests and improve peripheral socket handling.
...
PiperOrigin-RevId: 831267194
2025-11-12 01:09:14 -08:00
Edwin Wu
d92eae1535
[NC Apple coverage] Refactor GNSPeripheralManager tests to use fake objects. III
...
PiperOrigin-RevId: 831259501
2025-11-12 00:45:50 -08:00
Edwin Wu
935096779d
[NC Apple coverage] Refactor GNSPeripheralManager tests to use fake objects. II
...
PiperOrigin-RevId: 831246580
2025-11-12 00:04:37 -08:00
Edwin Wu
a96818b409
[NC Apple coverage] Refactor GNCNWFrameworkServerSocket and add more tests.
...
PiperOrigin-RevId: 831142947
2025-11-11 18:08:21 -08:00
Edwin Wu
50de2233f5
[NC Apple coverage] Refactor: Wrap Network.framework C functions for testability. Part II.
...
PiperOrigin-RevId: 831136979
2025-11-11 17:47:56 -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
Edwin Wu
d59408553d
[NC Apple coverage] Refactor GNSPeripheralManager tests to use fake objects. I
...
PiperOrigin-RevId: 829457380
2025-11-07 08:55:55 -08:00