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
Edwin Wu
d7a3d13fe2
[BLEREFACTOR]: Add refactor flow for Ble/L2CAP in Apple platform layer.
...
PiperOrigin-RevId: 829179079
2025-11-06 17:51:10 -08:00
Francis Tsui
5caa639fcf
Fix incorrect includes in apple implementations.
...
PiperOrigin-RevId: 829107159
2025-11-06 14:29:01 -08:00
Edwin Wu
cee0b3815e
[NC Apple coverage] Refactor: Wrap Network.framework C functions for testability. Part I.
...
PiperOrigin-RevId: 828308553
2025-11-04 23:07:39 -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
270c71ad4b
[NC Apple coverage] Add unit tests for GNCHotspotMedium on iOS and improve macOS tests.
...
PiperOrigin-RevId: 825810451
2025-10-29 19:32:46 -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
8622fe7bf5
Provide IP address candidate list for LAN upgrade.
...
PiperOrigin-RevId: 825584250
2025-10-29 09:37:19 -07:00
Francis Tsui
1210969d04
Cleanup use of HotspotCredentials.
...
PiperOrigin-RevId: 824262890
2025-10-26 15:17:16 -07:00
Francis Tsui
be3e658d75
Remove unused methods.
...
PiperOrigin-RevId: 823958211
2025-10-25 12:52:27 -07:00
Guogang Li
e37b501e37
Handle App lifecycle in Nearby Connections.
...
PiperOrigin-RevId: 822749438
2025-10-22 14:53:33 -07:00
Edwin Wu
3878ce99c8
[NC Apple coverage]Add more comprehensive tests for BLE L2CAP components.
...
PiperOrigin-RevId: 821886071
2025-10-20 18:22:03 -07:00