749 Commits
Author SHA1 Message Date
Lasan Mahaliyana 459b46462a fixed scheduled executor bug 2026-07-31 23:18:16 +05:30
Lasan Mahaliyana 37e916ecbd Merge remote-tracking branch 'nearby/main'
# Conflicts:
#	connections/implementation/bwu_manager_test.cc
#	sharing/BUILD
#	sharing/certificates/fake_nearby_share_certificate_manager.cc
#	sharing/certificates/fake_nearby_share_certificate_manager.h
#	sharing/internal/base/utf_string_conversions.h
2026-07-26 22:46:37 +05:30
Lasan Mahaliyana cefeaca710 ran ble_v2 through formatter. added GC only handling to bwu 2026-07-26 20:30:51 +05:30
Francis Tsui 4301bc4fce Handle system standby
PiperOrigin-RevId: 949324299
2026-07-16 20:12:13 -07:00
Edwin Wu a6f799af7f Validate file/folder names for UTF-8 and null characters in Nearby Connections.
PiperOrigin-RevId: 948685221
2026-07-15 19:47:52 -07:00
Edwin Wu e9186fb176 Fix potential deadlock in BasePcpHandler::OnIncomingFrame.
PiperOrigin-RevId: 946737819
2026-07-12 19:25:15 -07:00
Edwin Wu 2aff5d38e0 Address review comments on port validation.
PiperOrigin-RevId: 946184592
2026-07-11 06:05:52 -07:00
Edwin Wu 02354e2968 Fix encryption downgrade in Bandwidth Upgrade negotiation
PiperOrigin-RevId: 946171215
2026-07-11 05:09:24 -07:00
Will Harmon df8291fc69 Add additional state management while in the PCP flow
PiperOrigin-RevId: 945918080
2026-07-10 15:25:04 -07:00
hai007 44f37719e5 Restore default flag values in BwuManager tests.
PiperOrigin-RevId: 945853798
2026-07-10 13:03:44 -07:00
Edwin Wu 9e6f47f6f0 Fix use-after-free in EndpointChannelManager
PiperOrigin-RevId: 945706442
2026-07-10 07:42:18 -07:00
Edwin Wu 618e5bd5d5 Validate DCT advertisements and filter BLE scan results on Apple.
PiperOrigin-RevId: 943784982
2026-07-07 03:15:15 -07:00
Edwin Wu 029ab9765c Stop AWDL discovery after successful channel creation in AwdlBwuHandler.
PiperOrigin-RevId: 943613672
2026-07-06 19:16:05 -07:00
Edwin Wu 6602c0559b Fix Use-After-Free in Nearby Connections EndpointManager
PiperOrigin-RevId: 940790364
2026-06-30 19:28:32 -07:00
Edwin Wu fbe2cac2fc Fix Use-After-Free in P2pClusterPcpHandler connection accepted callbacks
PiperOrigin-RevId: 940194430
2026-06-29 20:58:14 -07:00
hai007 e0e428b00b Wi-Fi Direct security implementation
PiperOrigin-RevId: 939931482
2026-06-29 11:18:55 -07:00
hai007 98de68b9de Add the change in GitHub (https://github.com/google/nearby/pull/4418) to g3 before auto syncing to unblock the follow up tasks.
PiperOrigin-RevId: 938346361
2026-06-25 20:42:43 -07:00
Lasan Mahaliyana c77a146edc fixed base endpoint channel breakign when kRefactorBleL2cap enabled (bug?) 2026-06-25 15:45:10 +05:30
Edwin Wu 488d79d420 Harden Nearby Connections WifiLan bandwidth upgrade
PiperOrigin-RevId: 937051504
2026-06-23 20:14:02 -07:00
hai007 a24b2220fc Automated Code Change
PiperOrigin-RevId: 936630447
2026-06-23 06:34:38 -07:00
GovenLiuGoog 61374eadd2 Update offline_wire_formats.proto and regenerate bindings 2026-06-22 13:27:12 -04:00
Lasan Mahaliyana be227f8466 added top level stubs to match upstream 2026-06-19 04:43:29 +05:30
hai007 8efa219dcf Implement dynamic role switching for bandwidth upgrades.
PiperOrigin-RevId: 933898362
2026-06-17 13:39:58 -07:00
Lasan Mahaliyana c20d7affc4 finished merge with upstream 2026-06-13 22:02:21 +05:30
Lasan Mahaliyana c34efc75f8 Merge remote-tracking branch 'nearby/main' into sync-upstream 2026-06-13 21:02:50 +05:30
hai007 111f9a5275 Replace libjingle_peerconnection_api with the proper dependencies.
PiperOrigin-RevId: 884814527
2026-06-13 17:23:29 +05:30
hai007 f459e95a58 Remove AutoReconnection code
PiperOrigin-RevId: 884691071
2026-06-13 17:11:12 +05:30
hai007 a718c1f69b Fix flaky test InitializeUpgradedMediumForEndpoint_Success.
PiperOrigin-RevId: 882086351
2026-06-13 17:02:56 +05:30
Edwin Wu 2f6cff0f08 Refactor GATT/L2CAP servers to support shared peripheral manager
PiperOrigin-RevId: 882024313
2026-06-13 16:52:26 +05:30
hai007 ad984c9714 Create AwdlBwuHandlerTest and add AwdlEndpointChannelTest test.
PiperOrigin-RevId: 879740465
2026-06-13 16:04:51 +05:30
hai007 396a12c580 Refine Wifi Direct comments and use a constant for GO start delay.
PiperOrigin-RevId: 931363915
2026-06-12 15:31:16 -07:00
hai007 728a7050a3 Re-implement Windows WifiDirect with Windows.Devices.WiFiDirect Namespace.
PiperOrigin-RevId: 931324779
2026-06-12 14:13:03 -07:00
hai007 a8e604bbe4 Rename proto fields of the WifiDirectAuthType and WifiDirectCredentials
PiperOrigin-RevId: 929682564
2026-06-10 01:36:23 -07:00
edwinwugoog e205d8a08f PR #4395: Update proto definitions - offline_wire_formats.proto and connections…
Imported from GitHub PR https://github.com/google/nearby/pull/4395

…_enums.proto for WiFi Direct

<!--
  Thanks for submitting a pull request!
  We appreciate you spending the time to work on these changes. Please provide
  enough information so that others can review your pull request.
-->

## Summary

Update proto definitions - offline_wire_formats.proto and connections_enums.proto for WiFi Direct

## How did you test this change?

on test only update the proto definitions.

Copybara import of the project:

--
71aa603d4557652d87667455dc3233b8f7fd262a by Edwin Wu <edwinwu@google.com>:

Update proto definitions - offline_wire_formats.proto and connections_enums.proto for WiFi Direct

Merging this change closes #4395

PiperOrigin-RevId: 929606397
2026-06-09 22:27:52 -07:00
Francis Tsui b8dd6b3e27 Remove unused code.
PiperOrigin-RevId: 928758355
2026-06-08 14:04:45 -07:00
Francis Tsui 3dcbad2dea Fix read error does not cause send to fail.
PiperOrigin-RevId: 928671777
2026-06-08 11:19:50 -07:00
Francis Tsui e7e754611a internal
PiperOrigin-RevId: 927440257
2026-06-05 12:55:17 -07:00
hai007 d6933211d9 Automated Code Change
PiperOrigin-RevId: 926997292
2026-06-04 18:29:26 -07:00
hai007 0e578f71d4 [Nearby Connections]: Avoid modifying gatt_advertisement_infos_ while iterating.
PiperOrigin-RevId: 926231653
2026-06-03 13:29:24 -07:00
Francis Tsui 8bc556c4e7 internal
PiperOrigin-RevId: 925564968
2026-06-02 14:02:58 -07:00
hai007 a78012cc36 Refactor ServiceControllerRouter::RequestConnectionV3 lambda captures.
PiperOrigin-RevId: 925407906
2026-06-02 09:42:44 -07:00
Francis Tsui 0e96ed9795 Remove EventLogger.
PiperOrigin-RevId: 925032163
2026-06-01 18:45:11 -07:00
Francis Tsui 736cbb280e Internal
PiperOrigin-RevId: 924405158
2026-05-31 18:52:58 -07:00
Edwin Wu ab1183e2b4 [Nearby Connections] Fix ServerSocket resource leak in WiFi LAN BWU Handler.
PiperOrigin-RevId: 923759039
2026-05-29 22:08:34 -07:00
Edwin Wu 54c155389c Fix critical security vulnerability and state-machine wedge in BwuManager.
PiperOrigin-RevId: 923367474
2026-05-29 06:04:06 -07:00
Edwin Wu 7c31996db2 Remediate ClientProxy data races, UAF, and BleSocket deadlocks (b/511806593).
PiperOrigin-RevId: 923354836
2026-05-29 05:36:01 -07:00
Edwin Wu d4cd7ba4be [Nearby Connections] Fix UAF in OfflineServiceController during shutdown
PiperOrigin-RevId: 923343443
2026-05-29 05:06:16 -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
hai007 b2e4290a86 Automated Code Change
PiperOrigin-RevId: 921810984
2026-05-26 19:02:05 -07:00
Francis Tsui 55bccac923 internal
PiperOrigin-RevId: 920994624
2026-05-25 08:51:58 -07:00