450 Commits
Author SHA1 Message Date
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
hai007 71cdf84236 Replace NEARBY_LOGS with LOG for all coding under google3/third_party/nearby/
PiperOrigin-RevId: 786733783
2025-07-24 09:34:17 -07:00
hai007 7480977c58 Automated Code Change
PiperOrigin-RevId: 786349659
2025-07-23 11:07:56 -07:00
Guogang Li bddc6b4309 Removing to use MSG_WAITALL
PiperOrigin-RevId: 783827297
2025-07-16 11:17:25 -07:00
Guogang Li 2e94870593 Cleanup unused files
PiperOrigin-RevId: 783094630
2025-07-14 16:59:26 -07:00
Guogang Li f2f95ef48c Add more test cases to windows utils
PiperOrigin-RevId: 781235840
2025-07-09 15:32:37 -07:00
Guogang Li 8f14bd10fc Update WinRT to new version 2.0.250303.1
PiperOrigin-RevId: 781075193
2025-07-09 08:58:00 -07:00
Guogang Li 4d8a018b0e Add more unit test for thread pool
PiperOrigin-RevId: 780348093
2025-07-07 18:57:22 -07:00
Guogang Li b8246abbe4 Fixed the potential advertising issue in Wi-Fi LAN
PiperOrigin-RevId: 774961389
2025-06-23 16:05:39 -07:00
hai007 3f8e7774c2 Automated Code Change
PiperOrigin-RevId: 770709504
2025-06-12 10:23:57 -07:00
Francis Tsui 56d7ca1c2e Remove unnecessary conversion from FilePath to string.
PiperOrigin-RevId: 768137824
2025-06-06 10:53:33 -07:00
Guogang Li 18bfd5dffa Update illegal characters in file name for Windows
PiperOrigin-RevId: 767794731
2025-06-05 15:43:27 -07:00
Francis Tsui 703c0fd2b5 Remove std::filesystem from third_party/nearby.
PiperOrigin-RevId: 764953786
2025-05-29 17:42:05 -07:00
Francis Tsui 09cdc14fb6 Fix files.cc.
PiperOrigin-RevId: 764926334
2025-05-29 16:17:09 -07:00
Francis Tsui 96a274a58f Ban use of std::filesystem from nearby/sharing.
PiperOrigin-RevId: 762119139
2025-05-22 14:09:49 -07:00
Guogang Li e822493662 Fixed file issue when user name includes unicode
PiperOrigin-RevId: 761710897
2025-05-21 16:22:02 -07:00
Francis Tsui eec16048f4 Fix handling of unicode paths in preferences_repository.
PiperOrigin-RevId: 761661104
2025-05-21 14:05:21 -07:00
Francis Tsui 151ba03d0f Create nearby::FilePath class to replace use of std::filesystem::path.
- Replace filesystem::path in DeviceInfo.

PiperOrigin-RevId: 761224912
2025-05-20 14:12:07 -07:00
Francis Tsui 1f46e33a7a Stop maintaining a peripheral map in Windows BLE medium.
PiperOrigin-RevId: 757925397
2025-05-12 15:01:18 -07:00
Francis Tsui b48b943275 Remove reference to BlePeripheral.
PiperOrigin-RevId: 757830081
2025-05-12 10:55:38 -07:00
Francis Tsui acc5f1b0d8 Remove BlePeripheral reference from BleSocket.
PiperOrigin-RevId: 757797557
2025-05-12 09:38:22 -07:00
Francis Tsui 16839afa18 Switch Connect() to use BlePeripheral::UniqueId.
PiperOrigin-RevId: 756821680
2025-05-09 10:36:24 -07:00
Francis Tsui 99458be820 Change ConnectToGattServer to take BlePeripheral::UniqueId.
PiperOrigin-RevId: 756498100
2025-05-08 16:10:04 -07:00
Francis Tsui 59e527dbe3 Remove unused methods.
PiperOrigin-RevId: 756053350
2025-05-07 16:36:04 -07:00
Francis Tsui 4beed5b72a Remove unused method.
PiperOrigin-RevId: 756045245
2025-05-07 16:11:41 -07:00