Commit Graph
474 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
Francis Tsui 5023547e61 Add dual stack support to NearbyClientSocket.
PiperOrigin-RevId: 820420016
2025-10-16 15:34:20 -07:00
Francis Tsui 98c2b17752 Add IPv6 dual stack support to NearbyServerSocket.
PiperOrigin-RevId: 820274866
2025-10-16 09:46:14 -07:00
Francis Tsui 57dea973e0 Add SocketAddress class.
PiperOrigin-RevId: 820261095
2025-10-16 09:10:40 -07:00
Francis Tsui 6b567a8915 Remove unused method.
PiperOrigin-RevId: 819442470
2025-10-14 16:13:01 -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
Francis Tsui 60d0c85d53 Add flag for DHCP renewal
PiperOrigin-RevId: 817413881
2025-10-09 18:18:02 -07:00
Francis Tsui 0d207bc95b Renew DHCP lease on hotspot connection.
PiperOrigin-RevId: 817375675
2025-10-09 16:11:58 -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 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
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
Guogang Li c65dc1abbb Change the method to check Wi-Fi access.
PiperOrigin-RevId: 814337357
2025-10-02 12:23:47 -07:00
Guogang Li c2b1ceb192 Check Wi-Fi access before enumerating interfaces.
PiperOrigin-RevId: 813470707
2025-09-30 16:17:33 -07:00
Guogang Li 04f9204855 Update medium log.
PiperOrigin-RevId: 813305935
2025-09-30 09:41:22 -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
Francis Tsui 6d9122c4eb Reuse the same wifi lan listening port number if endpoint ID stays the same.
PiperOrigin-RevId: 810534040
2025-09-23 12:16:23 -07:00
Francis Tsui 3f4e2a6ca0 Add flag to enable async grpc client.
PiperOrigin-RevId: 808220477
2025-09-17 10:57:43 -07:00
Francis Tsui 70bb114778 Set HTTP timeout.
PiperOrigin-RevId: 806439483
2025-09-12 15:04:40 -07:00
Guogang Li 1093ee2794 Avoid discovering itself on Wi-Fi
PiperOrigin-RevId: 805093445
2025-09-09 15:49:05 -07:00
Francis Tsui b17a83ae34 Fix IP address in wifi lan upgrade path info.
PiperOrigin-RevId: 803636066
2025-09-05 16:06:41 -07:00
Francis Tsui 822ce6caf9 Add nullability annotations.
PiperOrigin-RevId: 803587404
2025-09-05 13:46:01 -07:00
Francis Tsui beaab63d4b Cleanup blocking socket flag.
PiperOrigin-RevId: 803211100
2025-09-04 16:06:01 -07:00
Francis Tsui d25872b2e0 Listen to incoming lan connection on all interfaces.
PiperOrigin-RevId: 803177100
2025-09-04 14:31:15 -07:00
Francis Tsui ec4cc9338c Fix mDNS registration using wrong hostname.
PiperOrigin-RevId: 803100146
2025-09-04 11:13:05 -07:00
Francis Tsui 96040b49aa Migrate NetworkMonitor to use native APIs.
PiperOrigin-RevId: 802185742
2025-09-02 09:59:29 -07:00
hai007 d44997d16d Automated Code Change
PiperOrigin-RevId: 801555798
2025-08-31 12:23:34 -07:00
Francis Tsui 000e12da8e Migrate platform to use MacAddress class.
PiperOrigin-RevId: 800631540
2025-08-28 15:14:16 -07:00
Francis Tsui ab94af291f Create compatibility for moving platform API to use MacAddress class.
PiperOrigin-RevId: 800533547
2025-08-28 10:58:22 -07:00
Francis Tsui b255a7c63f Remove unnecessary log statements.
PiperOrigin-RevId: 800233284
2025-08-27 17:34:58 -07:00
hai007 fe81c82e88 Automated Code Change
PiperOrigin-RevId: 800196135
2025-08-27 15:32:05 -07:00
Francis Tsui dd2832d8b1 Move to Win32 APIs for network interface enumeration.
PiperOrigin-RevId: 799739002
2025-08-26 15:16:22 -07:00
hai007 5f27145da5 Update WebRTC IceCandidate type usage.
Replaces `webrtc::IceCandidateInterface` with `webrtc::IceCandidate` due to a change in the WebRTC API.

PiperOrigin-RevId: 798263016
2025-08-22 10:39:19 -07:00
Francis Tsui 3f93c0ee87 Remove more unnecessary INFO logs.
PiperOrigin-RevId: 797859361
2025-08-21 12:04:13 -07:00
Francis Tsui 6113d225e9 Move unnecessary INFO logs to VLOG.
PiperOrigin-RevId: 797451961
2025-08-20 13:58:51 -07:00
hai007 a024248341 Delete test that tests behavior when std::string_view is constructed from nullptr
PiperOrigin-RevId: 797045149
2025-08-19 15:34:35 -07:00
Francis Tsui 804b481b73 Refactor device path management functions.
PiperOrigin-RevId: 793755146
2025-08-11 12:30:57 -07:00
Francis Tsui 4826e79e0c Cleanup preferences manager.
PiperOrigin-RevId: 791889165
2025-08-06 16:28:43 -07:00
Francis Tsui 38827f2b4b Allow set and get last modified times on files.
PiperOrigin-RevId: 791407269
2025-08-05 16:08:30 -07:00
Francis Tsui e66394d4f7 Use native Window API for file access.
PiperOrigin-RevId: 791371696
2025-08-05 14:32:42 -07:00
hai007 00a2999269 Format all the files in CL786733783
PiperOrigin-RevId: 786873870
2025-07-24 16:25:18 -07:00