105 Commits
Author SHA1 Message Date
Edwin Wu e9186fb176 Fix potential deadlock in BasePcpHandler::OnIncomingFrame.
PiperOrigin-RevId: 946737819
2026-07-12 19:25:15 -07:00
hai007 e0e428b00b Wi-Fi Direct security implementation
PiperOrigin-RevId: 939931482
2026-06-29 11:18:55 -07:00
hai007 8efa219dcf Implement dynamic role switching for bandwidth upgrades.
PiperOrigin-RevId: 933898362
2026-06-17 13:39:58 -07:00
Francis Tsui b8dd6b3e27 Remove unused code.
PiperOrigin-RevId: 928758355
2026-06-08 14:04:45 -07:00
hai007 a78012cc36 Refactor ServiceControllerRouter::RequestConnectionV3 lambda captures.
PiperOrigin-RevId: 925407906
2026-06-02 09:42:44 -07:00
Francis Tsui 736cbb280e Internal
PiperOrigin-RevId: 924405158
2026-05-31 18:52:58 -07:00
Francis Tsui f3a8df5db3 Refactor AnalyticsRecorder into an abstract interface and decouple ClientProxy from logging protos.
PiperOrigin-RevId: 922838021
2026-05-28 10:09:19 -07:00
Francis Tsui 6f52ec53dd Remove unnecessary code.
PiperOrigin-RevId: 908359047
2026-04-30 13:55:42 -07:00
Edwin Wu 4ae41f4cdf Refactor EndpointChannel ownership to use shared_ptr.
PiperOrigin-RevId: 907278448
2026-04-28 18:15:46 -07:00
Francis Tsui dacbd03aa1 Replace ByteArray with std::string.
PiperOrigin-RevId: 900893850
2026-04-16 13:52:02 -07:00
Francis Tsui 65276b6891 Fix build warnings.
PiperOrigin-RevId: 877501913
2026-03-02 11:40:35 -08:00
Francis Tsui e2714e1685 Deprecate UseStableEndpointId flag.
PiperOrigin-RevId: 856873445
2026-01-15 16:44:47 -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
Francis Tsui 931624a621 Prevent logging connection failure when mDNS client connects to test the connection.
PiperOrigin-RevId: 850545490
2025-12-30 16:54:14 -08:00
Francis Tsui cffc8b2c57 Fix include files.
PiperOrigin-RevId: 842876174
2025-12-10 14:15:58 -08:00
Francis Tsui 4652aef48c WifiLan::Change GetUpgradeAddressCandidates to use ServiceAddress.
PiperOrigin-RevId: 842257461
2025-12-09 08:48:31 -08:00
hai007 91b9713eb2 Wi-Fi Direct Service Implementation(8.1)
PiperOrigin-RevId: 839804624
2025-12-03 10:11:36 -08:00
Nick Bourdakos 9adcbb5941 Wi-Fi Direct Service Implementation(8)
PiperOrigin-RevId: 839323466
2025-12-02 10:18:00 -08:00
hai007 7b2d1910b3 Wi-Fi Direct Service Implementation(8)
PiperOrigin-RevId: 839297248
2025-12-02 09:17:46 -08:00
Francis Tsui 8622fe7bf5 Provide IP address candidate list for LAN upgrade.
PiperOrigin-RevId: 825584250
2025-10-29 09:37:19 -07:00
Guogang Li cce45b745e Internal refactor
PiperOrigin-RevId: 815749899
2025-10-06 09:03:08 -07:00
Guogang Li 5fbef9e11e Remove BLE V1 codes
PiperOrigin-RevId: 811369802
2025-09-25 08:56:51 -07:00
Francis Tsui 5911d53352 Reset endpointUD after login and logout.
PiperOrigin-RevId: 810648551
2025-09-23 18:00:51 -07:00
hai007 579a01e26f Refactor implementation:pcp_handler_test to improve test coverage.
PiperOrigin-RevId: 804491033
2025-09-08 10:32:06 -07:00
Francis Tsui 77ce859862 Switch ConnectionOptions to use MacAddress class.
PiperOrigin-RevId: 802210252
2025-09-02 10:56:48 -07:00
Francis Tsui 000e12da8e Migrate platform to use MacAddress class.
PiperOrigin-RevId: 800631540
2025-08-28 15:14:16 -07:00
Francis Tsui 3f93c0ee87 Remove more unnecessary INFO logs.
PiperOrigin-RevId: 797859361
2025-08-21 12:04:13 -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
Guogang Li 85f0a1c33f Log medium for lost endpoint
PiperOrigin-RevId: 785911332
2025-07-22 10:41:00 -07:00
Guogang Li 7ea0e00333 Add AWDL upgrade logic
PiperOrigin-RevId: 756335927
2025-05-08 09:08:52 -07:00
Johnson Lu ee9266b175 Implement Dynamic Role Switch
Implement dynamic role switch in bwu manager. When NC receive BWU request, it will check if it should switch role based on the device's capability.

PiperOrigin-RevId: 755703443
2025-05-06 23:38:16 -07:00
Guogang Li 7fc2066be0 Handle discovered endpoint when using DCT format
PiperOrigin-RevId: 745276198
2025-04-08 13:46:57 -07:00
hai007 cc2c6c527b Implement AWDL in connection layer (part 2)
PiperOrigin-RevId: 744206141
2025-04-05 01:49:16 -07:00
Guogang Li 553f5dbf01 Add advertising logic for DCT
PiperOrigin-RevId: 733752366
2025-03-05 08:54:56 -08:00
Edwin Wu 0057b219d2 In windows, discovery phase and outgoing attempt won't be recorded due to pointer is reset to null.
PiperOrigin-RevId: 728907296
2025-02-19 19:15:40 -08:00
Edwin Wu ed79ce5f03 [NearbyConnection] Change the parameter names from connection_info to pending_connection_info
PiperOrigin-RevId: 714284466
2025-01-10 17:43:45 -08:00
Edwin Wu fb2e7e687b analytics: Modify OperationResultCode in C++ implementation
PiperOrigin-RevId: 704951400
2024-12-10 20:57:25 -08:00
Edwin Wu a08b420545 analytics: Modify the returned code with a new OperationResultCodeWithMediums for Bluetooth - StartAdvertising/UpdateAdvertisingOptions, I
PiperOrigin-RevId: 704310956
2024-12-09 09:22:18 -08:00
Edwin Wu 9a434f3ec3 analytics: Implement to pass values for OperatoinResultWithMedium.
PiperOrigin-RevId: 704304596
2024-12-09 09:02:05 -08:00
Edwin Wu c3a479e526 analytics: Add OperationResultCode to ConnectionAttempt, II
PiperOrigin-RevId: 704166113
2024-12-09 00:03:41 -08:00
Anay Wadhera 291780f8d7 Fix a bad LOG
PiperOrigin-RevId: 693060226
2024-11-04 12:47:19 -08:00
Guogang Li f391af8e47 Enhance on Bluetooth discovery check
PiperOrigin-RevId: 691947459
2024-10-31 15:05:16 -07:00
Edwin Wu ccdcd15e83 Add WEB_RTC_NON_CELLULAR enum, V
PiperOrigin-RevId: 686470433
2024-10-16 05:24:59 -07:00
Francis Tsui c613904a69 allow API to request to disable wifi hotspot
PiperOrigin-RevId: 682473971
2024-10-04 15:37:24 -07:00
Guogang Li d5b5d92f87 Internal logging update
PiperOrigin-RevId: 669420403
2024-08-30 13:08:35 -07:00
Francis Tsui b03a383f7a Trivial replacement of NEARBY_LOG with NEARBY_LOGS.
PiperOrigin-RevId: 667740113
2024-08-26 15:34:21 -07:00
Guogang Li ec0de73e8e internal medium fix
PiperOrigin-RevId: 666509363
2024-08-22 15:22:04 -07:00
Guogang Li 4088e5904f Control Wi-Fi hotspot as client by flag
PiperOrigin-RevId: 663862186
2024-08-16 14:17:40 -07:00