Commit Graph
3520 Commits
Author SHA1 Message Date
Francis Tsui ca82b68dfe Switch to SocketAddress in Windows impl.
PiperOrigin-RevId: 820862441
2025-10-17 16:11:07 -07:00
Francis Tsui 7ccc8ff57e Add flag to enable ipv6 dual stack support.
PiperOrigin-RevId: 820773346
2025-10-17 11:45:38 -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 5023547e61 Add dual stack support to NearbyClientSocket.
PiperOrigin-RevId: 820420016
2025-10-16 15:34:20 -07:00
Francis Tsui 520223f3b9 Add IS_VLOG_ON macro to platform logging.
PiperOrigin-RevId: 820402805
2025-10-16 14:47:30 -07:00
Edwin Wu 866651e7c9 [NC Apple coverage] Add fakes and tests for Apple Hotspot mediums.
PiperOrigin-RevId: 820357736
2025-10-16 12:50:58 -07:00
Francis Tsui 98c2b17752 Add IPv6 dual stack support to NearbyServerSocket.
PiperOrigin-RevId: 820274866
2025-10-16 09:46:14 -07:00
Guogang Li 4c37f90965 Persist advertising endpoint ID.
PiperOrigin-RevId: 820267327
2025-10-16 09:25:06 -07:00
Francis Tsui 57dea973e0 Add SocketAddress class.
PiperOrigin-RevId: 820261095
2025-10-16 09:10:40 -07:00
Guogang Li bffe543e49 Add PreferencesManager into ClientProxy.
PiperOrigin-RevId: 819896910
2025-10-15 13:47:29 -07:00
Guogang Li 7250a1f21d Add a flag to enable/disable Nearby Connections preferences.
PiperOrigin-RevId: 819868177
2025-10-15 12:33:23 -07:00
Edwin Wu 9baa10cff3 Add delays in MediumEnvironment::Stop() and test teardown to prevent use-after-free.
PiperOrigin-RevId: 819561773
2025-10-14 21:49:38 -07:00
Francis Tsui 6b567a8915 Remove unused method.
PiperOrigin-RevId: 819442470
2025-10-14 16:13:01 -07:00
Francis Tsui 8a88a78f25 Remove unused platform interface method.
PiperOrigin-RevId: 819236789
2025-10-14 08:35:31 -07:00
Francis Tsui 956c3db99d Cleanup build files.
PiperOrigin-RevId: 818930588
2025-10-13 18:54:44 -07:00
Francis Tsui be9f5b56ff Take into account time taken in RenewIpAddress when calculating hotspot connection timeout.
PiperOrigin-RevId: 818885246
2025-10-13 16:38:32 -07:00
hai007 1af5cba50e Wi-Fi Direct Service Implementation(2)
PiperOrigin-RevId: 818768778
2025-10-13 12:01:57 -07:00
hai007 9fef2ce878 Wi-Fi Direct Service Implementation(1)
PiperOrigin-RevId: 818758923
2025-10-13 11:41:26 -07:00
Guogang Li b7e2f56886 Allow repeated task in scheduled executor.
PiperOrigin-RevId: 818758380
2025-10-13 11:36:37 -07:00
hai007 a404f8402d Remove the prefix for the generalization.
PiperOrigin-RevId: 817874032
2025-10-10 19:02:07 -07:00
Francis Tsui a55d51370a Fix advertising not restarted after BT turn off and on.
PiperOrigin-RevId: 817836654
2025-10-10 16:59:54 -07:00
Francis Tsui 60d0c85d53 Add flag for DHCP renewal
PiperOrigin-RevId: 817413881
2025-10-09 18:18:02 -07:00
Francis Tsui 585734283e Add EnableNearbyBackendTitaniumConfig flag.
PiperOrigin-RevId: 817413858
2025-10-09 18:13:51 -07:00
Francis Tsui 0d207bc95b Renew DHCP lease on hotspot connection.
PiperOrigin-RevId: 817375675
2025-10-09 16:11:58 -07:00
Francis Tsui 346769d54f Deprecate enable_ip_addresses_native flag.
PiperOrigin-RevId: 817353927
2025-10-09 15:09:03 -07:00
Guogang Li 9eca355226 Internal cleanup
PiperOrigin-RevId: 817215477
2025-10-09 09:17:07 -07:00
Francis Tsui 7145975cd4 Add NetworkInfo class to maintain network interface details.
PiperOrigin-RevId: 817210384
2025-10-09 09:06:56 -07:00
Francis Tsui 382f607d3d Split Lan and Internet connected callbacks.
PiperOrigin-RevId: 816845853
2025-10-08 13:51:51 -07:00
Francis Tsui 2143967802 Remove need to request precise location permission to get original wifi network profile name.
PiperOrigin-RevId: 816807149
2025-10-08 12:09:58 -07:00
Guogang Li 6383b6e7d1 Remove unused files
PiperOrigin-RevId: 816483171
2025-10-07 19:24:12 -07:00
Francis Tsui ed4e00cbfb Refactor hotspot to keep profile name in hotspot_native.
PiperOrigin-RevId: 816404349
2025-10-07 15:30:15 -07:00
Francis Tsui f915b01b75 Remove unused hotspot ssid file.
PiperOrigin-RevId: 816396622
2025-10-07 15:11:11 -07:00
Francis Tsui 417e1ba714 Use well-known wifi profile name for hotspot peer profile.
PiperOrigin-RevId: 816379652
2025-10-07 14:28:10 -07:00
Anay Wadhera 01cf03b6e0 Add apple defs to root nc lib
PiperOrigin-RevId: 816275442
2025-10-07 10:33:17 -07:00
Francis Tsui faecdcc205 Remove EnableIpAddressesNative flag.
PiperOrigin-RevId: 815783697
2025-10-06 10:25:00 -07:00
Guogang Li cce45b745e Internal refactor
PiperOrigin-RevId: 815749899
2025-10-06 09:03:08 -07:00
hai007 a065584164 Fix potential security bug
PiperOrigin-RevId: 814833848
2025-10-03 14:34:39 -07:00
Francis Tsui d225c0dcbc Fix infinite loop when AllTargetsLost called with connected sessions.
PiperOrigin-RevId: 814725810
2025-10-03 09:41:29 -07:00
Guogang Li c65dc1abbb Change the method to check Wi-Fi access.
PiperOrigin-RevId: 814337357
2025-10-02 12:23:47 -07:00
Edwin Wu a211c5b527 [NC Apple coverage] Add tests for CBPeripheralManager category methods.
PiperOrigin-RevId: 814030295
2025-10-01 19:53:53 -07:00
Edwin Wu bbd6bbb9b9 [NC Apple coverage] Add tests for CBPeripheral category methods and update GNCFakePeripheral.
PiperOrigin-RevId: 814026340
2025-10-01 19:37:12 -07:00
Francis Tsui 2c7f4de3e6 Make TimerImpl thread-safe.
PiperOrigin-RevId: 813938502
2025-10-01 15:25:21 -07:00
Francis Tsui 05ab63f71a Remove ShareTargets from outgoing_share_target_map.
PiperOrigin-RevId: 813914013
2025-10-01 14:27:57 -07:00
hai007 2e0e6e13d5 ...text exposed to open source public git repo
PiperOrigin-RevId: 813775838
2025-10-01 09:04:01 -07:00
hai007 a80e4be352 Automated Code Change
PiperOrigin-RevId: 813575740
2025-09-30 21:59:13 -07:00
Francis Tsui a9997d0dc9 Make ShareTarget.device_id required.
PiperOrigin-RevId: 813508135
2025-09-30 18:05:55 -07:00
Guogang Li c2b1ceb192 Check Wi-Fi access before enumerating interfaces.
PiperOrigin-RevId: 813470707
2025-09-30 16:17:33 -07:00
Anay Wadhera c957099ca0 Latest sync into repo with fixes
PiperOrigin-RevId: 813321071
2025-09-30 10:17:58 -07:00
Guogang Li 04f9204855 Update medium log.
PiperOrigin-RevId: 813305935
2025-09-30 09:41:22 -07:00