Update proto files to include AWDL medium

PiperOrigin-RevId: 738078567
This commit is contained in:
Guogang Li
2025-03-18 11:21:54 -07:00
committed by Copybara-Service
parent 528ae4c4e2
commit fd2cba8f05
3 changed files with 6 additions and 2 deletions
@@ -111,8 +111,7 @@ class FakeBwuHandler : public BaseBwuHandler {
};
// BwuHandler:
ErrorOr<std::unique_ptr<EndpointChannel>>
CreateUpgradedEndpointChannel(
ErrorOr<std::unique_ptr<EndpointChannel>> CreateUpgradedEndpointChannel(
ClientProxy* client, const std::string& service_id,
const std::string& endpoint_id,
const UpgradePathInfo& upgrade_path_info) final {
@@ -166,6 +165,7 @@ class FakeBwuHandler : public BaseBwuHandler {
case location::nearby::proto::connections::NFC:
case location::nearby::proto::connections::BLE_L2CAP:
case location::nearby::proto::connections::USB:
case location::nearby::proto::connections::AWDL:
return ByteArray{};
}
}
@@ -85,6 +85,7 @@ message ConnectionRequestFrame {
BLE_L2CAP = 10;
USB = 11;
WEB_RTC_NON_CELLULAR = 12;
AWDL = 13;
}
// LINT.ThenChange(//depot/google3/third_party/nearby/proto/connections_enums.proto)
@@ -244,6 +245,7 @@ message BandwidthUpgradeNegotiationFrame {
// 10 is reserved.
USB = 11;
WEB_RTC_NON_CELLULAR = 12;
AWDL = 13;
}
// Accompanies Medium.WIFI_HOTSPOT.
@@ -354,6 +356,7 @@ message BandwidthUpgradeRetryFrame {
BLE_L2CAP = 10;
USB = 11;
WEB_RTC_NON_CELLULAR = 12;
AWDL = 13;
}
// LINT.ThenChange(//depot/google3/third_party/nearby/proto/connections_enums.proto)
+1
View File
@@ -90,6 +90,7 @@ enum Medium {
BLE_L2CAP = 10;
USB = 11;
WEB_RTC_NON_CELLULAR = 12;
AWDL = 13;
}
// LINT.ThenChange(
// //depot/google3/java/com/google/android/gmscore/integ/client/nearby/src/com/google/android/gms/nearby/connection/Medium.java,