nearby sdk refactor

PiperOrigin-RevId: 425434260
This commit is contained in:
hais
2022-02-02 11:56:39 -08:00
committed by hai007
parent 287f0d7174
commit f5fcd35ced
1879 changed files with 2485 additions and 2332 deletions
+17 -17
View File
@@ -23,16 +23,16 @@ cc_library(
],
copts = ["-DCORE_ADAPTER_DLL"],
visibility = [
"//cpp/platform/impl/ios:__subpackages__",
"//third_party/nearby/windows:__subpackages__",
"//connections/clients:__subpackages__",
"//internal/platform/implementation:__subpackages__",
],
deps = [
":core_types",
":event_logger",
"//cpp/core/internal",
"//cpp/platform/base",
"//cpp/platform/public:logging",
"//cpp/platform/public:types",
"//connections/implementation:internal",
"//internal/platform:base",
"//internal/platform:logging",
"//internal/platform:types",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/time",
"@com_google_absl//absl/types:span",
@@ -64,14 +64,14 @@ cc_library(
],
copts = ["-DCORE_ADAPTER_DLL"],
visibility = [
"//cpp/core:__subpackages__",
"//cpp/platform/impl/ios:__subpackages__",
"//connections:__subpackages__",
"//internal/analytics:__subpackages__",
"//internal/platform/implementation/ios:__subpackages__",
],
deps = [
"//cpp/platform/base",
"//cpp/platform/base:util",
"//cpp/platform/public:types",
"//internal/platform:base",
"//internal/platform:types",
"//internal/platform:util",
"//proto:connections_enums_portable_proto",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/types:variant",
@@ -105,12 +105,12 @@ cc_test(
deps = [
":core",
":core_types",
"//cpp/core/internal",
"//cpp/core/internal:internal_test",
"//cpp/platform/base",
"//cpp/platform/impl/g3", # build_cleaner: keep
"//cpp/platform/public:logging",
"//cpp/platform/public:types",
"//connections/implementation:internal",
"//connections/implementation:internal_test",
"//internal/platform:base",
"//internal/platform:logging",
"//internal/platform:types",
"//internal/platform/implementation/g3", # build_cleaner: keep
"@com_google_googletest//:gtest_main","@com_github_protobuf_matchers//protobuf-matchers:protobuf-matchers",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/time",
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/advertising_options.h"
#include "connections/advertising_options.h"
#include <string>
@@ -15,11 +15,11 @@
#define CORE_ADVERTISING_OPTIONS_H_
#include <string>
#include "core/medium_selector.h"
#include "core/options_base.h"
#include "core/power_level.h"
#include "core/strategy.h"
#include "platform/base/byte_array.h"
#include "connections/medium_selector.h"
#include "connections/options_base.h"
#include "connections/power_level.h"
#include "connections/strategy.h"
#include "internal/platform/byte_array.h"
#include "proto/connections_enums.pb.h"
namespace location {
@@ -28,8 +28,8 @@ cc_windows_dll(
defines = ["CORE_ADAPTER_DLL"],
tags = ["windows-dll"],
deps = [
"//cpp/core",
"//cpp/platform/impl/windows",
"//connections:core",
"//internal/platform/implementation/windows",
"@com_google_absl//absl/strings",
"//third_party/dart_lang/v2:dart_api_dl",
"//webrtc/api:create_peerconnection_factory",
@@ -52,8 +52,8 @@ cc_windows_dll(
defines = ["CORE_ADAPTER_DART_DLL"],
tags = ["windows-dll"],
deps = [
"//cpp/core",
"//cpp/platform/impl/windows",
"//connections:core",
"//internal/platform/implementation/windows",
"@com_google_absl//absl/strings",
"//third_party/dart_lang/v2:dart_api_dl",
"//webrtc/api:create_peerconnection_factory",
@@ -11,10 +11,10 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "third_party/nearby/windows/core_adapter.h"
#include "connections/clients/windows/core_adapter.h"
#include "absl/strings/str_format.h"
#include "core/core.h"
#include "connections/core.h"
namespace location {
namespace nearby {
@@ -18,10 +18,10 @@
#include "absl/types/span.h"
// todo(jfcarroll) This cannot remain. It exposes stuff the client doesn't need.
#include "core/advertising_options.h"
#include "core/connection_options.h"
#include "core/discovery_options.h"
#include "core/internal/offline_service_controller.h"
#include "connections/advertising_options.h"
#include "connections/connection_options.h"
#include "connections/discovery_options.h"
#include "connections/implementation/offline_service_controller.h"
#define DLL_EXPORT extern "C" __declspec(dllexport)
@@ -12,17 +12,17 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "third_party/nearby/windows/dart/core_adapter_dart.h"
#include "connections/clients/windows/dart/core_adapter_dart.h"
#include <shlobj.h>
#include <cstdint>
#include <string>
#include "core/core.h"
#include "core/payload.h"
#include "platform/base/logging.h"
#include "platform/public/file.h"
#include "connections/core.h"
#include "connections/payload.h"
#include "internal/platform/logging.h"
#include "internal/platform/file.h"
namespace location {
namespace nearby {
@@ -17,7 +17,7 @@
#include "third_party/dart_lang/v2/runtime/include/dart_api_dl.h"
#include "third_party/dart_lang/v2/runtime/include/dart_native_api.h"
#include "third_party/nearby/windows/core_adapter.h"
#include "connections/clients/windows/core_adapter.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/connection_options.h"
#include "connections/connection_options.h"
#include <string>
@@ -15,11 +15,11 @@
#define CORE_CONNECTION_OPTIONS_H_
#include <string>
#include "core/medium_selector.h"
#include "core/options_base.h"
#include "core/power_level.h"
#include "core/strategy.h"
#include "platform/base/byte_array.h"
#include "connections/medium_selector.h"
#include "connections/options_base.h"
#include "connections/power_level.h"
#include "connections/strategy.h"
#include "internal/platform/byte_array.h"
#include "proto/connections_enums.pb.h"
namespace location {
+4 -4
View File
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/core.h"
#include "connections/core.h"
#include <cassert>
#include <string>
@@ -20,9 +20,9 @@
#include <vector>
#include "absl/time/clock.h"
#include "platform/base/feature_flags.h"
#include "platform/public/count_down_latch.h"
#include "platform/public/logging.h"
#include "internal/platform/feature_flags.h"
#include "internal/platform/count_down_latch.h"
#include "internal/platform/logging.h"
namespace location {
namespace nearby {
+6 -6
View File
@@ -20,12 +20,12 @@
#include "absl/strings/string_view.h"
#include "absl/types/span.h"
#include "core/event_logger.h"
#include "core/internal/client_proxy.h"
#include "core/internal/service_controller.h"
#include "core/internal/service_controller_router.h"
#include "core/listeners.h"
#include "core/params.h"
#include "connections/event_logger.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/service_controller.h"
#include "connections/implementation/service_controller_router.h"
#include "connections/listeners.h"
#include "connections/params.h"
namespace location {
namespace nearby {
@@ -12,14 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/core.h"
#include "connections/core.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
#include "gtest/gtest.h"
#include "absl/time/clock.h"
#include "core/internal/mock_service_controller_router.h"
#include "platform/public/logging.h"
#include "connections/implementation/mock_service_controller_router.h"
#include "internal/platform/logging.h"
namespace location {
namespace nearby {
@@ -1,52 +1,52 @@
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/discovery_options.h"
#include <string>
namespace location {
namespace nearby {
namespace connections {
// Returns a copy and normalizes allowed mediums:
// (1) If is_out_of_band_connection is true, verifies that there is only one
// medium allowed, defaulting to only Bluetooth if unspecified.
// (2) If no mediums are allowed, allow all mediums.
DiscoveryOptions DiscoveryOptions::CompatibleOptions() const {
DiscoveryOptions result = *this;
// Out-of-band connections initiate connections via an injected endpoint
// rather than through the normal discovery flow. These types of connections
// can only be injected via a single medium.
if (is_out_of_band_connection) {
int num_enabled = result.allowed.Count(true);
// Default to allow only Bluetooth if no single medium is specified.
if (num_enabled != 1) {
result.allowed.SetAll(false);
result.allowed.bluetooth = true;
}
return result;
}
// Normal connections (i.e., not out-of-band) connections can specify
// multiple mediums. If none are specified, default to allowing all mediums.
if (!allowed.Any(true)) result.allowed.SetAll(true);
return result;
}
} // namespace connections
} // namespace nearby
} // namespace location
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "connections/discovery_options.h"
#include <string>
namespace location {
namespace nearby {
namespace connections {
// Returns a copy and normalizes allowed mediums:
// (1) If is_out_of_band_connection is true, verifies that there is only one
// medium allowed, defaulting to only Bluetooth if unspecified.
// (2) If no mediums are allowed, allow all mediums.
DiscoveryOptions DiscoveryOptions::CompatibleOptions() const {
DiscoveryOptions result = *this;
// Out-of-band connections initiate connections via an injected endpoint
// rather than through the normal discovery flow. These types of connections
// can only be injected via a single medium.
if (is_out_of_band_connection) {
int num_enabled = result.allowed.Count(true);
// Default to allow only Bluetooth if no single medium is specified.
if (num_enabled != 1) {
result.allowed.SetAll(false);
result.allowed.bluetooth = true;
}
return result;
}
// Normal connections (i.e., not out-of-band) connections can specify
// multiple mediums. If none are specified, default to allowing all mediums.
if (!allowed.Any(true)) result.allowed.SetAll(true);
return result;
}
} // namespace connections
} // namespace nearby
} // namespace location
@@ -15,11 +15,11 @@
#define CORE_DISCOVERY_OPTIONS_H_
#include <string>
#include "core/medium_selector.h"
#include "core/options_base.h"
#include "core/power_level.h"
#include "core/strategy.h"
#include "platform/base/byte_array.h"
#include "connections/medium_selector.h"
#include "connections/options_base.h"
#include "connections/power_level.h"
#include "connections/strategy.h"
#include "internal/platform/byte_array.h"
#include "proto/connections_enums.pb.h"
namespace location {
@@ -85,25 +85,25 @@ cc_library(
],
copts = ["-DCORE_ADAPTER_DLL"],
visibility = [
"//cpp/core:__pkg__",
"//cpp/core/internal/fuzzers:__pkg__",
"//connections:__pkg__",
"//connections/implementation/fuzzers:__pkg__",
],
deps = [
":message_lite",
"//connections:core_types",
"//connections/implementation/mediums",
"//connections/implementation/mediums:utils",
"//connections/implementation/mediums/webrtc",
"//connections/implementation/proto:offline_wire_formats_portable_proto",
"//cpp/core:core_types",
"//cpp/core/internal/mediums",
"//cpp/core/internal/mediums:utils",
"//cpp/core/internal/mediums/webrtc",
"//cpp/platform/api:comm",
"//cpp/platform/base",
"//cpp/platform/base:cancellation_flag",
"//cpp/platform/base:error_code_recorder",
"//cpp/platform/base:util",
"//cpp/platform/public:comm",
"//cpp/platform/public:logging",
"//cpp/platform/public:types",
"//internal/analytics",
"//internal/platform:base",
"//internal/platform:cancellation_flag",
"//internal/platform:comm",
"//internal/platform:error_code_recorder",
"//internal/platform:logging",
"//internal/platform:types",
"//internal/platform:util",
"//internal/platform/implementation:comm",
"//proto:connections_enums_portable_proto",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/container:btree",
@@ -124,7 +124,7 @@ cc_library(
"message_lite.h",
],
visibility = [
"//cpp/core:__subpackages__",
"//connections:__subpackages__",
],
deps = [
"@com_google_protobuf//:protobuf_lite",
@@ -145,14 +145,14 @@ cc_library(
"simulation_user.h",
],
visibility = [
"//cpp/core:__subpackages__",
"//connections:__subpackages__",
],
deps = [
":internal",
"//cpp/core:core_types",
"//cpp/platform/base",
"//cpp/platform/base:test_util",
"//cpp/platform/public:types",
"//connections:core_types",
"//internal/platform:base",
"//internal/platform:test_util",
"//internal/platform:types",
"@com_google_googletest//:gtest_for_library_testonly",
"@com_google_absl//absl/functional:bind_front",
"@com_google_absl//absl/strings",
@@ -188,16 +188,16 @@ cc_test(
deps = [
":internal",
":internal_test",
"//connections:core_types",
"//connections/implementation/mediums",
"//connections/implementation/mediums:utils",
"//connections/implementation/proto:offline_wire_formats_portable_proto",
"//cpp/core:core_types",
"//cpp/core/internal/mediums",
"//cpp/core/internal/mediums:utils",
"//cpp/platform/base",
"//cpp/platform/base:test_util",
"//cpp/platform/impl/g3", # build_cleaner: keep
"//cpp/platform/public:comm",
"//cpp/platform/public:logging",
"//cpp/platform/public:types",
"//internal/platform:base",
"//internal/platform:comm",
"//internal/platform:logging",
"//internal/platform:test_util",
"//internal/platform:types",
"//internal/platform/implementation/g3", # build_cleaner: keep
"//proto:connections_enums_portable_proto",
"@com_google_googletest//:gtest",
"@com_google_googletest//:gtest_main","@com_github_protobuf_matchers//protobuf-matchers:protobuf-matchers",
@@ -87,8 +87,8 @@ cc_library(
copts = ["-DCORE_ADAPTER_DLL"],
defines = ["NO_WEBRTC"],
visibility = [
"//third_party/nearby/cpp/core:__pkg__",
"//third_party/nearby/cpp/core/internal/fuzzers:__pkg__",
"//third_party/nearby/connections:__pkg__",
"//third_party/nearby/connections/implementation/fuzzers:__pkg__",
],
deps = [
":message_lite",
@@ -102,17 +102,17 @@ cc_library(
"//third_party/absl/time",
"//third_party/absl/types:span",
"//third_party/nearby/connections/implementation/proto:offline_wire_formats_portable_proto",
"//third_party/nearby/cpp/core:core_types",
"//third_party/nearby/cpp/core/internal/mediums",
"//third_party/nearby/cpp/core/internal/mediums:utils",
"//third_party/nearby/cpp/platform/api:comm",
"//third_party/nearby/cpp/platform/base",
"//third_party/nearby/cpp/platform/base:cancellation_flag",
"//third_party/nearby/cpp/platform/base:error_code_recorder",
"//third_party/nearby/cpp/platform/base:util",
"//third_party/nearby/cpp/platform/public:comm",
"//third_party/nearby/cpp/platform/public:logging",
"//third_party/nearby/cpp/platform/public:types",
"//third_party/nearby/connections:core_types",
"//third_party/nearby/connections/implementation/mediums",
"//third_party/nearby/connections/implementation/mediums:utils",
"//third_party/nearby/internal/platform/implementation:comm",
"//third_party/nearby/internal/platform:base",
"//third_party/nearby/internal/platform:cancellation_flag",
"//third_party/nearby/internal/platform:error_code_recorder",
"//third_party/nearby/internal/platform:util",
"//third_party/nearby/internal/platform:comm",
"//third_party/nearby/internal/platform:logging",
"//third_party/nearby/internal/platform:types",
"//third_party/nearby/internal/analytics",
"//third_party/nearby/proto:connections_enums_portable_proto",
"//third_party/ukey2",
@@ -126,7 +126,7 @@ cc_library(
],
compatible_with = ["//buildenv/target:non_prod"],
visibility = [
"//third_party/nearby/cpp/core:__subpackages__",
"//third_party/nearby/connections:__subpackages__",
],
deps = [
"//net/proto2/public:proto2_lite",
@@ -148,17 +148,17 @@ cc_library(
],
defines = ["NO_WEBRTC"],
visibility = [
"//third_party/nearby/cpp/core:__subpackages__",
"//third_party/nearby/connections:__subpackages__",
],
deps = [
":internal",
"//testing/base/public:gunit_for_library_testonly",
"//third_party/absl/functional:bind_front",
"//third_party/absl/strings",
"//third_party/nearby/cpp/core:core_types",
"//third_party/nearby/cpp/platform/base",
"//third_party/nearby/cpp/platform/base:test_util",
"//third_party/nearby/cpp/platform/public:types",
"//third_party/nearby/connections:core_types",
"//third_party/nearby/internal/platform:base",
"//third_party/nearby/internal/platform:test_util",
"//third_party/nearby/internal/platform:types",
],
)
@@ -200,15 +200,15 @@ cc_test(
"//third_party/absl/time",
"//third_party/absl/types:span",
"//third_party/nearby/connections/implementation/proto:offline_wire_formats_portable_proto",
"//third_party/nearby/cpp/core:core_types",
"//third_party/nearby/cpp/core/internal/mediums",
"//third_party/nearby/cpp/core/internal/mediums:utils",
"//third_party/nearby/cpp/platform/base",
"//third_party/nearby/cpp/platform/base:test_util",
"//third_party/nearby/cpp/platform/impl/g3", # build_cleaner: keep
"//third_party/nearby/cpp/platform/public:comm",
"//third_party/nearby/cpp/platform/public:logging",
"//third_party/nearby/cpp/platform/public:types",
"//third_party/nearby/connections:core_types",
"//third_party/nearby/connections/implementation/mediums",
"//third_party/nearby/connections/implementation/mediums:utils",
"//third_party/nearby/internal/platform:base",
"//third_party/nearby/internal/platform:test_util",
"//third_party/nearby/internal/platform/implementation/g3", # build_cleaner: keep
"//third_party/nearby/internal/platform:comm",
"//third_party/nearby/internal/platform:logging",
"//third_party/nearby/internal/platform:types",
"//third_party/nearby/internal/analytics",
"//third_party/nearby/proto:connections_enums_portable_proto",
"//third_party/ukey2",
@@ -21,13 +21,13 @@
#include "absl/container/flat_hash_map.h"
#include "absl/time/clock.h"
#include "core/internal/bwu_handler.h"
#include "core/internal/client_proxy.h"
#include "core/internal/endpoint_channel_manager.h"
#include "platform/public/cancelable_alarm.h"
#include "platform/public/count_down_latch.h"
#include "platform/public/scheduled_executor.h"
#include "platform/public/single_thread_executor.h"
#include "connections/implementation/bwu_handler.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/endpoint_channel_manager.h"
#include "internal/platform/cancelable_alarm.h"
#include "internal/platform/count_down_latch.h"
#include "internal/platform/scheduled_executor.h"
#include "internal/platform/single_thread_executor.h"
namespace location {
namespace nearby {
@@ -12,18 +12,18 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/base_endpoint_channel.h"
#include "connections/implementation/base_endpoint_channel.h"
#include <cassert>
#include "absl/strings/escaping.h"
#include "absl/strings/str_cat.h"
#include "core/internal/offline_frames.h"
#include "platform/base/byte_array.h"
#include "platform/base/exception.h"
#include "platform/public/logging.h"
#include "platform/public/mutex.h"
#include "platform/public/mutex_lock.h"
#include "connections/implementation/offline_frames.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/exception.h"
#include "internal/platform/logging.h"
#include "internal/platform/mutex.h"
#include "internal/platform/mutex_lock.h"
namespace location {
namespace nearby {
@@ -21,14 +21,14 @@
#include "securegcm/d2d_connection_context_v1.h"
#include "absl/base/thread_annotations.h"
#include "core/internal/endpoint_channel.h"
#include "platform/base/byte_array.h"
#include "platform/base/input_stream.h"
#include "platform/base/output_stream.h"
#include "platform/public/atomic_reference.h"
#include "platform/public/condition_variable.h"
#include "platform/public/mutex.h"
#include "platform/public/system_clock.h"
#include "connections/implementation/endpoint_channel.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/input_stream.h"
#include "internal/platform/output_stream.h"
#include "internal/platform/atomic_reference.h"
#include "internal/platform/condition_variable.h"
#include "internal/platform/mutex.h"
#include "internal/platform/system_clock.h"
#include "internal/analytics/analytics_recorder.h"
namespace location {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/base_endpoint_channel.h"
#include "connections/implementation/base_endpoint_channel.h"
#include <functional>
#include <string>
@@ -25,17 +25,17 @@
#include "gtest/gtest.h"
#include "absl/synchronization/mutex.h"
#include "absl/time/time.h"
#include "core/internal/encryption_runner.h"
#include "core/internal/offline_frames.h"
#include "platform/base/byte_array.h"
#include "platform/base/exception.h"
#include "platform/base/input_stream.h"
#include "platform/base/output_stream.h"
#include "platform/public/count_down_latch.h"
#include "platform/public/logging.h"
#include "platform/public/multi_thread_executor.h"
#include "platform/public/pipe.h"
#include "platform/public/single_thread_executor.h"
#include "connections/implementation/encryption_runner.h"
#include "connections/implementation/offline_frames.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/exception.h"
#include "internal/platform/input_stream.h"
#include "internal/platform/output_stream.h"
#include "internal/platform/count_down_latch.h"
#include "internal/platform/logging.h"
#include "internal/platform/multi_thread_executor.h"
#include "internal/platform/pipe.h"
#include "internal/platform/single_thread_executor.h"
#include "proto/connections_enums.pb.h"
namespace location {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/base_pcp_handler.h"
#include "connections/implementation/base_pcp_handler.h"
#include <cassert>
#include <cinttypes>
@@ -25,13 +25,13 @@
#include "absl/container/flat_hash_set.h"
#include "absl/strings/escaping.h"
#include "absl/types/span.h"
#include "core/internal/mediums/utils.h"
#include "core/internal/offline_frames.h"
#include "core/internal/pcp_handler.h"
#include "platform/base/base64_utils.h"
#include "platform/base/bluetooth_utils.h"
#include "platform/public/logging.h"
#include "platform/public/system_clock.h"
#include "connections/implementation/mediums/utils.h"
#include "connections/implementation/offline_frames.h"
#include "connections/implementation/pcp_handler.h"
#include "internal/platform/base64_utils.h"
#include "internal/platform/bluetooth_utils.h"
#include "internal/platform/logging.h"
#include "internal/platform/system_clock.h"
namespace location {
namespace nearby {
@@ -25,31 +25,31 @@
#include "absl/container/btree_map.h"
#include "absl/container/flat_hash_map.h"
#include "absl/time/time.h"
#include "core/internal/bwu_manager.h"
#include "core/internal/client_proxy.h"
#include "core/internal/encryption_runner.h"
#include "core/internal/endpoint_channel_manager.h"
#include "core/internal/endpoint_manager.h"
#include "core/internal/mediums/mediums.h"
#include "connections/implementation/bwu_manager.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/encryption_runner.h"
#include "connections/implementation/endpoint_channel_manager.h"
#include "connections/implementation/endpoint_manager.h"
#include "connections/implementation/mediums/mediums.h"
#ifdef NO_WEBRTC
#include "core/internal/mediums/webrtc_stub.h"
#include "connections/implementation/mediums/webrtc_stub.h"
#else
#include "core/internal/mediums/webrtc.h"
#include "connections/implementation/mediums/webrtc.h"
#endif
#include "core/internal/pcp.h"
#include "core/internal/pcp_handler.h"
#include "core/listeners.h"
#include "core/status.h"
#include "platform/base/byte_array.h"
#include "platform/base/prng.h"
#include "platform/public/atomic_boolean.h"
#include "platform/public/atomic_reference.h"
#include "platform/public/cancelable_alarm.h"
#include "platform/public/count_down_latch.h"
#include "platform/public/future.h"
#include "platform/public/scheduled_executor.h"
#include "platform/public/single_thread_executor.h"
#include "platform/public/system_clock.h"
#include "connections/implementation/pcp.h"
#include "connections/implementation/pcp_handler.h"
#include "connections/listeners.h"
#include "connections/status.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/prng.h"
#include "internal/platform/atomic_boolean.h"
#include "internal/platform/atomic_reference.h"
#include "internal/platform/cancelable_alarm.h"
#include "internal/platform/count_down_latch.h"
#include "internal/platform/future.h"
#include "internal/platform/scheduled_executor.h"
#include "internal/platform/single_thread_executor.h"
#include "internal/platform/system_clock.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/base_pcp_handler.h"
#include "connections/implementation/base_pcp_handler.h"
#include <array>
#include <atomic>
@@ -23,18 +23,18 @@
#include "gtest/gtest.h"
#include "absl/time/time.h"
#include "connections/implementation/proto/offline_wire_formats.pb.h"
#include "core/internal/base_endpoint_channel.h"
#include "core/internal/bwu_manager.h"
#include "core/internal/client_proxy.h"
#include "core/internal/encryption_runner.h"
#include "core/internal/offline_frames.h"
#include "core/listeners.h"
#include "core/params.h"
#include "platform/base/byte_array.h"
#include "platform/base/exception.h"
#include "platform/base/medium_environment.h"
#include "platform/public/count_down_latch.h"
#include "platform/public/pipe.h"
#include "connections/implementation/base_endpoint_channel.h"
#include "connections/implementation/bwu_manager.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/encryption_runner.h"
#include "connections/implementation/offline_frames.h"
#include "connections/listeners.h"
#include "connections/params.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/exception.h"
#include "internal/platform/medium_environment.h"
#include "internal/platform/count_down_latch.h"
#include "internal/platform/pipe.h"
#include "proto/connections_enums.pb.h"
namespace location {
@@ -12,14 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/ble_advertisement.h"
#include "connections/implementation/ble_advertisement.h"
#include <inttypes.h>
#include "absl/strings/escaping.h"
#include "core/internal/base_pcp_handler.h"
#include "platform/base/base_input_stream.h"
#include "platform/public/logging.h"
#include "connections/implementation/base_pcp_handler.h"
#include "internal/platform/base_input_stream.h"
#include "internal/platform/logging.h"
namespace location {
namespace nearby {
@@ -15,10 +15,10 @@
#ifndef CORE_INTERNAL_BLE_ADVERTISEMENT_H_
#define CORE_INTERNAL_BLE_ADVERTISEMENT_H_
#include "core/internal/base_pcp_handler.h"
#include "core/internal/pcp.h"
#include "platform/base/bluetooth_utils.h"
#include "platform/base/byte_array.h"
#include "connections/implementation/base_pcp_handler.h"
#include "connections/implementation/pcp.h"
#include "internal/platform/bluetooth_utils.h"
#include "internal/platform/byte_array.h"
namespace location {
namespace nearby {
@@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/ble_advertisement.h"
#include "connections/implementation/ble_advertisement.h"
#include "gtest/gtest.h"
#include "core/internal/base_pcp_handler.h"
#include "connections/implementation/base_pcp_handler.h"
namespace location {
namespace nearby {
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/ble_endpoint_channel.h"
#include "connections/implementation/ble_endpoint_channel.h"
#include <string>
#include "platform/public/ble.h"
#include "platform/public/logging.h"
#include "internal/platform/ble.h"
#include "internal/platform/logging.h"
namespace location {
namespace nearby {
@@ -15,8 +15,8 @@
#ifndef CORE_INTERNAL_BLE_ENDPOINT_CHANNEL_H_
#define CORE_INTERNAL_BLE_ENDPOINT_CHANNEL_H_
#include "core/internal/base_endpoint_channel.h"
#include "platform/public/ble.h"
#include "connections/implementation/base_endpoint_channel.h"
#include "internal/platform/ble.h"
namespace location {
namespace nearby {
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/bluetooth_bwu_handler.h"
#include "connections/implementation/bluetooth_bwu_handler.h"
#include "absl/functional/bind_front.h"
#include "core/internal/bluetooth_endpoint_channel.h"
#include "core/internal/client_proxy.h"
#include "core/internal/offline_frames.h"
#include "connections/implementation/bluetooth_endpoint_channel.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/offline_frames.h"
// Manages the Bluetooth-specific methods needed to upgrade an {@link
// EndpointChannel}.
@@ -17,12 +17,12 @@
#include <string>
#include "core/internal/base_bwu_handler.h"
#include "core/internal/client_proxy.h"
#include "core/internal/mediums/mediums.h"
#include "core/internal/mediums/utils.h"
#include "platform/public/bluetooth_classic.h"
#include "platform/public/count_down_latch.h"
#include "connections/implementation/base_bwu_handler.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/mediums/mediums.h"
#include "connections/implementation/mediums/utils.h"
#include "internal/platform/bluetooth_classic.h"
#include "internal/platform/count_down_latch.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/bluetooth_device_name.h"
#include "connections/implementation/bluetooth_device_name.h"
#include <inttypes.h>
@@ -21,9 +21,9 @@
#include "absl/strings/escaping.h"
#include "absl/strings/str_cat.h"
#include "platform/base/base64_utils.h"
#include "platform/base/base_input_stream.h"
#include "platform/public/logging.h"
#include "internal/platform/base64_utils.h"
#include "internal/platform/base_input_stream.h"
#include "internal/platform/logging.h"
namespace location {
namespace nearby {
@@ -18,9 +18,9 @@
#include <cstdint>
#include "absl/strings/string_view.h"
#include "core/internal/base_pcp_handler.h"
#include "core/internal/pcp.h"
#include "platform/base/byte_array.h"
#include "connections/implementation/base_pcp_handler.h"
#include "connections/implementation/pcp.h"
#include "internal/platform/byte_array.h"
namespace location {
namespace nearby {
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/bluetooth_device_name.h"
#include "connections/implementation/bluetooth_device_name.h"
#include <cstring>
#include <memory>
#include "gtest/gtest.h"
#include "platform/base/base64_utils.h"
#include "internal/platform/base64_utils.h"
namespace location {
namespace nearby {
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/bluetooth_endpoint_channel.h"
#include "connections/implementation/bluetooth_endpoint_channel.h"
#include <string>
#include "platform/public/bluetooth_classic.h"
#include "platform/public/logging.h"
#include "internal/platform/bluetooth_classic.h"
#include "internal/platform/logging.h"
namespace location {
namespace nearby {
@@ -17,8 +17,8 @@
#include <string>
#include "core/internal/base_endpoint_channel.h"
#include "platform/public/bluetooth_classic.h"
#include "connections/implementation/base_endpoint_channel.h"
#include "internal/platform/bluetooth_classic.h"
namespace location {
namespace nearby {
@@ -15,10 +15,10 @@
#ifndef CORE_INTERNAL_BWU_HANDLER_H_
#define CORE_INTERNAL_BWU_HANDLER_H_
#include "core/internal/client_proxy.h"
#include "core/internal/endpoint_channel.h"
#include "core/internal/offline_frames.h"
#include "platform/public/count_down_latch.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/endpoint_channel.h"
#include "connections/implementation/offline_frames.h"
#include "internal/platform/count_down_latch.h"
namespace location {
namespace nearby {
@@ -12,21 +12,21 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/bwu_manager.h"
#include "connections/implementation/bwu_manager.h"
#include <algorithm>
#include <memory>
#include "absl/functional/bind_front.h"
#include "absl/time/time.h"
#include "core/internal/bluetooth_bwu_handler.h"
#include "core/internal/bwu_handler.h"
#include "core/internal/offline_frames.h"
#include "core/internal/webrtc_bwu_handler.h"
#include "core/internal/wifi_lan_bwu_handler.h"
#include "platform/base/byte_array.h"
#include "platform/base/feature_flags.h"
#include "platform/public/count_down_latch.h"
#include "connections/implementation/bluetooth_bwu_handler.h"
#include "connections/implementation/bwu_handler.h"
#include "connections/implementation/offline_frames.h"
#include "connections/implementation/webrtc_bwu_handler.h"
#include "connections/implementation/wifi_lan_bwu_handler.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/feature_flags.h"
#include "internal/platform/count_down_latch.h"
#include "proto/connections_enums.pb.h"
namespace location {
@@ -22,12 +22,12 @@
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "absl/time/time.h"
#include "core/internal/bwu_handler.h"
#include "core/internal/client_proxy.h"
#include "core/internal/endpoint_manager.h"
#include "core/internal/mediums/mediums.h"
#include "platform/base/byte_array.h"
#include "platform/public/scheduled_executor.h"
#include "connections/implementation/bwu_handler.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/endpoint_manager.h"
#include "connections/implementation/mediums/mediums.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/scheduled_executor.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/bwu_manager.h"
#include "connections/implementation/bwu_manager.h"
#include <string>
@@ -20,13 +20,13 @@
#include "protobuf-matchers/protocol-buffer-matchers.h"
#include "gtest/gtest.h"
#include "absl/time/time.h"
#include "core/internal/client_proxy.h"
#include "core/internal/endpoint_channel_manager.h"
#include "core/internal/endpoint_manager.h"
#include "core/internal/mediums/mediums.h"
#include "core/internal/mediums/utils.h"
#include "core/internal/offline_frames.h"
#include "platform/public/system_clock.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/endpoint_channel_manager.h"
#include "connections/implementation/endpoint_manager.h"
#include "connections/implementation/mediums/mediums.h"
#include "connections/implementation/mediums/utils.h"
#include "connections/implementation/offline_frames.h"
#include "internal/platform/system_clock.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/client_proxy.h"
#include "connections/implementation/client_proxy.h"
#include <cstdlib>
#include <functional>
@@ -24,11 +24,11 @@
#include "absl/container/flat_hash_set.h"
#include "absl/strings/escaping.h"
#include "absl/strings/str_cat.h"
#include "platform/base/error_code_recorder.h"
#include "platform/base/feature_flags.h"
#include "platform/base/prng.h"
#include "platform/public/logging.h"
#include "platform/public/mutex_lock.h"
#include "internal/platform/error_code_recorder.h"
#include "internal/platform/feature_flags.h"
#include "internal/platform/prng.h"
#include "internal/platform/logging.h"
#include "internal/platform/mutex_lock.h"
#include "proto/connections_enums.pb.h"
namespace location {
@@ -20,17 +20,17 @@
#include <string>
#include <vector>
#include "core/advertising_options.h"
#include "core/discovery_options.h"
#include "core/listeners.h"
#include "core/status.h"
#include "core/strategy.h"
#include "platform/base/byte_array.h"
#include "platform/base/cancellation_flag.h"
#include "platform/base/error_code_recorder.h"
#include "platform/base/prng.h"
#include "platform/public/cancelable_alarm.h"
#include "platform/public/mutex.h"
#include "connections/advertising_options.h"
#include "connections/discovery_options.h"
#include "connections/listeners.h"
#include "connections/status.h"
#include "connections/strategy.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/cancellation_flag.h"
#include "internal/platform/error_code_recorder.h"
#include "internal/platform/prng.h"
#include "internal/platform/cancelable_alarm.h"
#include "internal/platform/mutex.h"
#include "internal/analytics/analytics_recorder.h"
// Prefer using absl:: versions of a set and a map; they tend to be more
// efficient: implementation is using open-addressing hash tables.
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/client_proxy.h"
#include "connections/implementation/client_proxy.h"
#include <string>
@@ -23,11 +23,11 @@
#include "absl/time/clock.h"
#include "absl/time/time.h"
#include "absl/types/span.h"
#include "core/listeners.h"
#include "core/strategy.h"
#include "platform/base/byte_array.h"
#include "platform/base/feature_flags.h"
#include "platform/base/medium_environment.h"
#include "connections/listeners.h"
#include "connections/strategy.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/feature_flags.h"
#include "internal/platform/medium_environment.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/encryption_runner.h"
#include "connections/implementation/encryption_runner.h"
#include <cinttypes>
#include <cstdint>
@@ -22,11 +22,11 @@
#include "absl/strings/ascii.h"
#include "absl/time/clock.h"
#include "absl/time/time.h"
#include "platform/base/base64_utils.h"
#include "platform/base/byte_array.h"
#include "platform/base/exception.h"
#include "platform/public/cancelable_alarm.h"
#include "platform/public/logging.h"
#include "internal/platform/base64_utils.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/exception.h"
#include "internal/platform/cancelable_alarm.h"
#include "internal/platform/logging.h"
namespace location {
namespace nearby {
@@ -18,12 +18,12 @@
#include <string>
#include "securegcm/ukey2_handshake.h"
#include "core/internal/client_proxy.h"
#include "core/internal/endpoint_channel.h"
#include "core/listeners.h"
#include "platform/base/byte_array.h"
#include "platform/public/scheduled_executor.h"
#include "platform/public/single_thread_executor.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/endpoint_channel.h"
#include "connections/listeners.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/scheduled_executor.h"
#include "internal/platform/single_thread_executor.h"
namespace location {
namespace nearby {
@@ -12,18 +12,18 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/encryption_runner.h"
#include "connections/implementation/encryption_runner.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
#include "gtest/gtest.h"
#include "absl/time/clock.h"
#include "core/internal/client_proxy.h"
#include "core/internal/endpoint_channel.h"
#include "platform/base/byte_array.h"
#include "platform/public/count_down_latch.h"
#include "platform/public/pipe.h"
#include "platform/public/system_clock.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/endpoint_channel.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/count_down_latch.h"
#include "internal/platform/pipe.h"
#include "internal/platform/system_clock.h"
#include "proto/connections_enums.pb.h"
namespace location {
@@ -20,9 +20,9 @@
#include "securegcm/d2d_connection_context_v1.h"
#include "absl/time/clock.h"
#include "platform/base/byte_array.h"
#include "platform/base/exception.h"
#include "platform/public/mutex.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/exception.h"
#include "internal/platform/mutex.h"
#include "internal/analytics/analytics_recorder.h"
#include "proto/connections_enums.pb.h"
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/endpoint_channel_manager.h"
#include "connections/implementation/endpoint_channel_manager.h"
#include <memory>
#include <string>
@@ -20,12 +20,12 @@
#include "absl/time/time.h"
#include "connections/implementation/proto/offline_wire_formats.pb.h"
#include "core/internal/offline_frames.h"
#include "platform/base/feature_flags.h"
#include "platform/public/logging.h"
#include "platform/public/mutex.h"
#include "platform/public/mutex_lock.h"
#include "platform/public/system_clock.h"
#include "connections/implementation/offline_frames.h"
#include "internal/platform/feature_flags.h"
#include "internal/platform/logging.h"
#include "internal/platform/mutex.h"
#include "internal/platform/mutex_lock.h"
#include "internal/platform/system_clock.h"
namespace location {
namespace nearby {
@@ -20,10 +20,10 @@
#include "securegcm/d2d_connection_context_v1.h"
#include "absl/container/flat_hash_map.h"
#include "core/internal/client_proxy.h"
#include "core/internal/endpoint_channel.h"
#include "platform/public/logging.h"
#include "platform/public/mutex.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/endpoint_channel.h"
#include "internal/platform/logging.h"
#include "internal/platform/mutex.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/endpoint_channel_manager.h"
#include "connections/implementation/endpoint_channel_manager.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
@@ -12,18 +12,18 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/endpoint_manager.h"
#include "connections/implementation/endpoint_manager.h"
#include <memory>
#include <utility>
#include "connections/implementation/proto/offline_wire_formats.pb.h"
#include "core/internal/endpoint_channel.h"
#include "core/internal/offline_frames.h"
#include "platform/base/exception.h"
#include "platform/public/count_down_latch.h"
#include "platform/public/logging.h"
#include "platform/public/mutex_lock.h"
#include "connections/implementation/endpoint_channel.h"
#include "connections/implementation/offline_frames.h"
#include "internal/platform/exception.h"
#include "internal/platform/count_down_latch.h"
#include "internal/platform/logging.h"
#include "internal/platform/mutex_lock.h"
namespace location {
namespace nearby {
@@ -22,17 +22,17 @@
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "absl/time/time.h"
#include "core/internal/client_proxy.h"
#include "core/internal/endpoint_channel.h"
#include "core/internal/endpoint_channel_manager.h"
#include "core/listeners.h"
#include "platform/base/byte_array.h"
#include "platform/base/runnable.h"
#include "platform/public/condition_variable.h"
#include "platform/public/count_down_latch.h"
#include "platform/public/multi_thread_executor.h"
#include "platform/public/single_thread_executor.h"
#include "platform/public/system_clock.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/endpoint_channel.h"
#include "connections/implementation/endpoint_channel_manager.h"
#include "connections/listeners.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/runnable.h"
#include "internal/platform/condition_variable.h"
#include "internal/platform/count_down_latch.h"
#include "internal/platform/multi_thread_executor.h"
#include "internal/platform/single_thread_executor.h"
#include "internal/platform/system_clock.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/endpoint_manager.h"
#include "connections/implementation/endpoint_manager.h"
#include <atomic>
#include <memory>
@@ -25,15 +25,15 @@
#include "absl/synchronization/mutex.h"
#include "absl/time/clock.h"
#include "absl/time/time.h"
#include "core/connection_options.h"
#include "core/internal/client_proxy.h"
#include "core/internal/endpoint_channel_manager.h"
#include "core/internal/offline_frames.h"
#include "platform/base/byte_array.h"
#include "platform/base/exception.h"
#include "platform/public/count_down_latch.h"
#include "platform/public/logging.h"
#include "platform/public/pipe.h"
#include "connections/connection_options.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/endpoint_channel_manager.h"
#include "connections/implementation/offline_frames.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/exception.h"
#include "internal/platform/count_down_latch.h"
#include "internal/platform/logging.h"
#include "internal/platform/pipe.h"
#include "proto/connections_enums.pb.h"
namespace location {
@@ -21,8 +21,8 @@ cc_fuzz_target(
componentid = 148515,
copts = ["-DCORE_ADAPTER_DLL"],
deps = [
"//cpp/core/internal",
"//cpp/platform/base",
"//connections/implementation:internal",
"//internal/platform:base",
"//security/fuzzing/blaze:default_init_google_for_cc_fuzz_target",
],
)
@@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/offline_frames.h"
#include "platform/base/byte_array.h"
#include "connections/implementation/offline_frames.h"
#include "internal/platform/byte_array.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
location::nearby::ByteArray byte_array;
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/injected_bluetooth_device_store.h"
#include "connections/implementation/injected_bluetooth_device_store.h"
#include <string>
#include "core/internal/bluetooth_device_name.h"
#include "platform/api/bluetooth_classic.h"
#include "platform/base/bluetooth_utils.h"
#include "connections/implementation/bluetooth_device_name.h"
#include "internal/platform/implementation/bluetooth_classic.h"
#include "internal/platform/bluetooth_utils.h"
namespace location {
namespace nearby {
@@ -18,9 +18,9 @@
#include <memory>
#include <vector>
#include "core/internal/pcp.h"
#include "platform/base/byte_array.h"
#include "platform/public/bluetooth_adapter.h"
#include "connections/implementation/pcp.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/bluetooth_adapter.h"
namespace location {
namespace nearby {
@@ -12,15 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/injected_bluetooth_device_store.h"
#include "connections/implementation/injected_bluetooth_device_store.h"
#include <array>
#include "gtest/gtest.h"
#include "core/internal/bluetooth_device_name.h"
#include "platform/base/bluetooth_utils.h"
#include "platform/base/byte_array.h"
#include "platform/public/bluetooth_adapter.h"
#include "connections/implementation/bluetooth_device_name.h"
#include "internal/platform/bluetooth_utils.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/bluetooth_adapter.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/internal_payload.h"
#include "connections/implementation/internal_payload.h"
namespace location {
namespace nearby {
@@ -17,9 +17,9 @@
#include <cstdint>
#include "core/payload.h"
#include "platform/base/byte_array.h"
#include "platform/base/exception.h"
#include "connections/payload.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/exception.h"
namespace location {
namespace nearby {
@@ -12,20 +12,20 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/internal_payload_factory.h"
#include "connections/implementation/internal_payload_factory.h"
#include <cstdint>
#include <memory>
#include "absl/memory/memory.h"
#include "core/payload.h"
#include "platform/base/byte_array.h"
#include "platform/base/exception.h"
#include "platform/public/condition_variable.h"
#include "platform/public/file.h"
#include "platform/public/logging.h"
#include "platform/public/mutex.h"
#include "platform/public/pipe.h"
#include "connections/payload.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/exception.h"
#include "internal/platform/condition_variable.h"
#include "internal/platform/file.h"
#include "internal/platform/logging.h"
#include "internal/platform/mutex.h"
#include "internal/platform/pipe.h"
namespace location {
namespace nearby {
@@ -15,8 +15,8 @@
#ifndef CORE_INTERNAL_INTERNAL_PAYLOAD_FACTORY_H_
#define CORE_INTERNAL_INTERNAL_PAYLOAD_FACTORY_H_
#include "core/internal/internal_payload.h"
#include "core/payload.h"
#include "connections/implementation/internal_payload.h"
#include "connections/payload.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/internal_payload_factory.h"
#include "connections/implementation/internal_payload_factory.h"
#include <string>
#include <utility>
@@ -21,9 +21,9 @@
#include "protobuf-matchers/protocol-buffer-matchers.h"
#include "gtest/gtest.h"
#include "connections/implementation/proto/offline_wire_formats.pb.h"
#include "core/internal/offline_frames.h"
#include "platform/base/byte_array.h"
#include "platform/public/pipe.h"
#include "connections/implementation/offline_frames.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/pipe.h"
namespace location {
namespace nearby {
@@ -35,20 +35,20 @@ cc_library(
"wifi_lan.h",
],
visibility = [
"//cpp/core/internal:__subpackages__",
"//connections/implementation:__subpackages__",
],
deps = [
":utils",
"//connections:core_types",
"//connections/implementation/mediums/ble_v2",
"//connections/implementation/mediums/webrtc",
"//connections/implementation/mediums/webrtc:data_types",
"//connections/implementation/proto:offline_wire_formats_portable_proto",
"//cpp/core:core_types",
"//cpp/core/internal/mediums/ble_v2",
"//cpp/core/internal/mediums/webrtc",
"//cpp/core/internal/mediums/webrtc:data_types",
"//cpp/platform/base",
"//cpp/platform/base:cancellation_flag",
"//cpp/platform/public:comm",
"//cpp/platform/public:logging",
"//cpp/platform/public:types",
"//internal/platform:base",
"//internal/platform:cancellation_flag",
"//internal/platform:comm",
"//internal/platform:logging",
"//internal/platform:types",
"//proto/mediums:web_rtc_signaling_frames_cc_proto",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/container:flat_hash_set",
@@ -72,15 +72,15 @@ cc_library(
"webrtc_socket.h",
],
visibility = [
"//cpp/core/internal:__pkg__",
"//cpp/core/internal/mediums:__pkg__",
"//cpp/core/internal/mediums/webrtc:__pkg__",
"//connections/implementation:__pkg__",
"//connections/implementation/mediums:__pkg__",
"//connections/implementation/mediums/webrtc:__pkg__",
],
deps = [
"//connections/implementation/mediums/webrtc:data_types",
"//connections/implementation/proto:offline_wire_formats_portable_proto",
"//cpp/core/internal/mediums/webrtc:data_types",
"//cpp/platform/base",
"//cpp/platform/public:types",
"//internal/platform:base",
"//internal/platform:types",
"@com_google_absl//absl/strings",
],
)
@@ -100,11 +100,11 @@ cc_test(
deps = [
":mediums",
":utils",
"//cpp/platform/base",
"//cpp/platform/base:test_util",
"//cpp/platform/impl/g3", # build_cleaner: keep
"//cpp/platform/public:comm",
"//cpp/platform/public:types",
"//internal/platform:base",
"//internal/platform:comm",
"//internal/platform:test_util",
"//internal/platform:types",
"//internal/platform/implementation/g3", # build_cleaner: keep
"@com_google_googletest//:gtest_main","@com_github_protobuf_matchers//protobuf-matchers:protobuf-matchers",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/time",
@@ -126,10 +126,10 @@ cc_test(
deps = [
":mediums",
":utils",
"//cpp/platform/base",
"//cpp/platform/base:test_util",
"//cpp/platform/impl/g3", # build_cleaner: keep
"//cpp/platform/public:types",
"//internal/platform:base",
"//internal/platform:test_util",
"//internal/platform:types",
"//internal/platform/implementation/g3", # build_cleaner: keep
"@com_google_googletest//:gtest_main","@com_github_protobuf_matchers//protobuf-matchers:protobuf-matchers",
],
)
@@ -37,7 +37,7 @@ cc_library(
compatible_with = ["//buildenv/target:non_prod"],
defines = ["NO_WEBRTC"],
visibility = [
"//third_party/nearby/cpp/core/internal:__subpackages__",
"//third_party/nearby/connections/implementation:__subpackages__",
],
deps = [
":utils",
@@ -48,13 +48,13 @@ cc_library(
"//third_party/absl/strings:str_format",
"//third_party/absl/time",
"//third_party/nearby/connections/implementation/proto:offline_wire_formats_portable_proto",
"//third_party/nearby/cpp/core:core_types",
"//third_party/nearby/cpp/core/internal/mediums/ble_v2",
"//third_party/nearby/cpp/platform/base",
"//third_party/nearby/cpp/platform/base:cancellation_flag",
"//third_party/nearby/cpp/platform/public:comm",
"//third_party/nearby/cpp/platform/public:logging",
"//third_party/nearby/cpp/platform/public:types",
"//third_party/nearby/connections:core_types",
"//third_party/nearby/connections/implementation/mediums/ble_v2",
"//third_party/nearby/internal/platform:base",
"//third_party/nearby/internal/platform:cancellation_flag",
"//third_party/nearby/internal/platform:comm",
"//third_party/nearby/internal/platform:logging",
"//third_party/nearby/internal/platform:types",
"//third_party/nearby/proto/mediums:web_rtc_signaling_frames_cc_proto",
],
)
@@ -73,14 +73,14 @@ cc_library(
compatible_with = ["//buildenv/target:non_prod"],
defines = ["NO_WEBRTC"],
visibility = [
"//third_party/nearby/cpp/core/internal:__pkg__",
"//third_party/nearby/cpp/core/internal/mediums:__pkg__",
"//third_party/nearby/connections/implementation:__pkg__",
"//third_party/nearby/connections/implementation/mediums:__pkg__",
],
deps = [
"//third_party/absl/strings",
"//third_party/nearby/connections/implementation/proto:offline_wire_formats_portable_proto",
"//third_party/nearby/cpp/platform/base",
"//third_party/nearby/cpp/platform/public:types",
"//third_party/nearby/internal/platform:base",
"//third_party/nearby/internal/platform:types",
],
)
@@ -104,10 +104,10 @@ cc_test(
"//testing/base/public:gunit_main",
"//third_party/absl/strings",
"//third_party/absl/time",
"//third_party/nearby/cpp/platform/base",
"//third_party/nearby/cpp/platform/base:test_util",
"//third_party/nearby/cpp/platform/impl/g3", # build_cleaner: keep
"//third_party/nearby/cpp/platform/public:comm",
"//third_party/nearby/cpp/platform/public:types",
"//third_party/nearby/internal/platform:base",
"//third_party/nearby/internal/platform:test_util",
"//third_party/nearby/internal/platform/implementation/g3", # build_cleaner: keep
"//third_party/nearby/internal/platform:comm",
"//third_party/nearby/internal/platform:types",
],
)
@@ -12,18 +12,18 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/ble.h"
#include "connections/implementation/mediums/ble.h"
#include <memory>
#include <string>
#include <utility>
#include "absl/strings/escaping.h"
#include "core/internal/mediums/ble_v2/ble_advertisement.h"
#include "core/internal/mediums/utils.h"
#include "platform/base/prng.h"
#include "platform/public/logging.h"
#include "platform/public/mutex_lock.h"
#include "connections/implementation/mediums/ble_v2/ble_advertisement.h"
#include "connections/implementation/mediums/utils.h"
#include "internal/platform/prng.h"
#include "internal/platform/logging.h"
#include "internal/platform/mutex_lock.h"
namespace location {
namespace nearby {
@@ -20,13 +20,13 @@
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "core/internal/mediums/bluetooth_radio.h"
#include "core/listeners.h"
#include "platform/base/byte_array.h"
#include "platform/base/cancellation_flag.h"
#include "platform/public/ble.h"
#include "platform/public/multi_thread_executor.h"
#include "platform/public/mutex.h"
#include "connections/implementation/mediums/bluetooth_radio.h"
#include "connections/listeners.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/cancellation_flag.h"
#include "internal/platform/ble.h"
#include "internal/platform/multi_thread_executor.h"
#include "internal/platform/mutex.h"
namespace location {
namespace nearby {
@@ -12,18 +12,18 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/ble.h"
#include "connections/implementation/mediums/ble.h"
#include <string>
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
#include "gtest/gtest.h"
#include "core/internal/mediums/bluetooth_radio.h"
#include "platform/base/medium_environment.h"
#include "platform/public/ble.h"
#include "platform/public/count_down_latch.h"
#include "platform/public/logging.h"
#include "connections/implementation/mediums/bluetooth_radio.h"
#include "internal/platform/medium_environment.h"
#include "internal/platform/ble.h"
#include "internal/platform/count_down_latch.h"
#include "internal/platform/logging.h"
namespace location {
namespace nearby {
@@ -33,14 +33,14 @@ cc_library(
],
copts = ["-DCORE_ADAPTER_DLL"],
visibility = [
"//cpp/core/internal:__subpackages__",
"//connections/implementation:__subpackages__",
],
deps = [
"//cpp/core:core_types",
"//cpp/platform/base",
"//cpp/platform/base:util",
"//cpp/platform/public:logging",
"//cpp/platform/public:types",
"//connections:core_types",
"//internal/platform:base",
"//internal/platform:logging",
"//internal/platform:types",
"//internal/platform:util",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/container:flat_hash_set",
"@com_google_absl//absl/numeric:int128",
@@ -62,9 +62,9 @@ cc_test(
],
deps = [
":ble_v2",
"//cpp/platform/base",
"//cpp/platform/impl/g3", # buildcleaner: keep
"//cpp/platform/public:comm",
"//internal/platform:base",
"//internal/platform:comm",
"//internal/platform/implementation/g3", # buildcleaner: keep
"@com_google_googletest//:gtest_main","@com_github_protobuf_matchers//protobuf-matchers:protobuf-matchers",
"@com_google_absl//absl/time",
],
@@ -12,14 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/ble_v2/advertisement_read_result.h"
#include "connections/implementation/mediums/ble_v2/advertisement_read_result.h"
#include <algorithm>
#include <vector>
#include "absl/container/flat_hash_set.h"
#include "absl/time/clock.h"
#include "platform/public/mutex_lock.h"
#include "internal/platform/mutex_lock.h"
namespace location {
namespace nearby {
@@ -21,9 +21,9 @@
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "absl/time/clock.h"
#include "platform/base/byte_array.h"
#include "platform/public/mutex.h"
#include "platform/public/system_clock.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/mutex.h"
#include "internal/platform/system_clock.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/ble_v2/advertisement_read_result.h"
#include "connections/implementation/mediums/ble_v2/advertisement_read_result.h"
#include "gtest/gtest.h"
#include "absl/time/clock.h"
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/ble_v2/ble_advertisement.h"
#include "connections/implementation/mediums/ble_v2/ble_advertisement.h"
#include <inttypes.h>
#include "absl/strings/str_cat.h"
#include "platform/base/base_input_stream.h"
#include "platform/public/logging.h"
#include "internal/platform/base_input_stream.h"
#include "internal/platform/logging.h"
namespace location {
namespace nearby {
@@ -17,7 +17,7 @@
#include <utility>
#include "platform/base/byte_array.h"
#include "internal/platform/byte_array.h"
namespace location {
namespace nearby {
@@ -12,14 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/ble_v2/ble_advertisement_header.h"
#include "connections/implementation/mediums/ble_v2/ble_advertisement_header.h"
#include <inttypes.h>
#include "absl/strings/str_cat.h"
#include "platform/base/base64_utils.h"
#include "platform/base/base_input_stream.h"
#include "platform/public/logging.h"
#include "internal/platform/base64_utils.h"
#include "internal/platform/base_input_stream.h"
#include "internal/platform/logging.h"
namespace location {
namespace nearby {
@@ -17,7 +17,7 @@
#include <string>
#include "platform/base/byte_array.h"
#include "internal/platform/byte_array.h"
namespace location {
namespace nearby {
@@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/ble_v2/ble_advertisement_header.h"
#include "connections/implementation/mediums/ble_v2/ble_advertisement_header.h"
#include "gtest/gtest.h"
#include "platform/base/base64_utils.h"
#include "internal/platform/base64_utils.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/ble_v2/ble_advertisement.h"
#include "connections/implementation/mediums/ble_v2/ble_advertisement.h"
#include <algorithm>
@@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/ble_v2/ble_packet.h"
#include "connections/implementation/mediums/ble_v2/ble_packet.h"
#include "absl/strings/str_cat.h"
#include "platform/base/base_input_stream.h"
#include "platform/public/logging.h"
#include "internal/platform/base_input_stream.h"
#include "internal/platform/logging.h"
namespace location {
namespace nearby {
@@ -17,7 +17,7 @@
#include <limits>
#include "platform/base/byte_array.h"
#include "internal/platform/byte_array.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/ble_v2/ble_packet.h"
#include "connections/implementation/mediums/ble_v2/ble_packet.h"
#include "gtest/gtest.h"
@@ -15,7 +15,7 @@
#ifndef CORE_INTERNAL_MEDIUMS_BLE_V2_BLE_PERIPHERAL_H_
#define CORE_INTERNAL_MEDIUMS_BLE_V2_BLE_PERIPHERAL_H_
#include "platform/base/byte_array.h"
#include "internal/platform/byte_array.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/ble_v2/ble_peripheral.h"
#include "connections/implementation/mediums/ble_v2/ble_peripheral.h"
#include "gtest/gtest.h"
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/ble_v2/bloom_filter.h"
#include "connections/implementation/mediums/ble_v2/bloom_filter.h"
#include "absl/numeric/int128.h"
#include "absl/strings/numbers.h"
@@ -18,7 +18,7 @@
#include <bitset>
#include <vector>
#include "platform/base/byte_array.h"
#include "internal/platform/byte_array.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/ble_v2/bloom_filter.h"
#include "connections/implementation/mediums/ble_v2/bloom_filter.h"
#include <algorithm>
@@ -15,9 +15,9 @@
#ifndef CORE_INTERNAL_MEDIUMS_BLE_V2_DISCOVERED_PERIPHERAL_CALLBACK_H_
#define CORE_INTERNAL_MEDIUMS_BLE_V2_DISCOVERED_PERIPHERAL_CALLBACK_H_
#include "core/internal/mediums/ble_v2/ble_peripheral.h"
#include "core/listeners.h"
#include "platform/base/byte_array.h"
#include "connections/implementation/mediums/ble_v2/ble_peripheral.h"
#include "connections/listeners.h"
#include "internal/platform/byte_array.h"
namespace location {
namespace nearby {
@@ -12,15 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/bluetooth_classic.h"
#include "connections/implementation/mediums/bluetooth_classic.h"
#include <memory>
#include <string>
#include <utility>
#include "core/internal/mediums/uuid.h"
#include "platform/public/logging.h"
#include "platform/public/mutex_lock.h"
#include "connections/implementation/mediums/uuid.h"
#include "internal/platform/logging.h"
#include "internal/platform/mutex_lock.h"
namespace location {
namespace nearby {
@@ -19,14 +19,14 @@
#include <string>
#include "absl/container/flat_hash_map.h"
#include "core/internal/mediums/bluetooth_radio.h"
#include "core/listeners.h"
#include "platform/base/byte_array.h"
#include "platform/base/cancellation_flag.h"
#include "platform/public/bluetooth_adapter.h"
#include "platform/public/bluetooth_classic.h"
#include "platform/public/multi_thread_executor.h"
#include "platform/public/mutex.h"
#include "connections/implementation/mediums/bluetooth_radio.h"
#include "connections/listeners.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/cancellation_flag.h"
#include "internal/platform/bluetooth_adapter.h"
#include "internal/platform/bluetooth_classic.h"
#include "internal/platform/multi_thread_executor.h"
#include "internal/platform/mutex.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/bluetooth_classic.h"
#include "connections/implementation/mediums/bluetooth_classic.h"
#include <string>
@@ -20,12 +20,12 @@
#include "protobuf-matchers/protocol-buffer-matchers.h"
#include "gtest/gtest.h"
#include "absl/time/time.h"
#include "core/internal/mediums/bluetooth_radio.h"
#include "platform/base/medium_environment.h"
#include "platform/public/bluetooth_classic.h"
#include "platform/public/count_down_latch.h"
#include "platform/public/logging.h"
#include "platform/public/system_clock.h"
#include "connections/implementation/mediums/bluetooth_radio.h"
#include "internal/platform/medium_environment.h"
#include "internal/platform/bluetooth_classic.h"
#include "internal/platform/count_down_latch.h"
#include "internal/platform/logging.h"
#include "internal/platform/system_clock.h"
namespace location {
namespace nearby {
@@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/bluetooth_radio.h"
#include "connections/implementation/mediums/bluetooth_radio.h"
#include "platform/base/exception.h"
#include "platform/public/logging.h"
#include "platform/public/system_clock.h"
#include "internal/platform/exception.h"
#include "internal/platform/logging.h"
#include "internal/platform/system_clock.h"
namespace location {
namespace nearby {
@@ -18,8 +18,8 @@
#include <cstdint>
#include "absl/time/clock.h"
#include "platform/public/atomic_boolean.h"
#include "platform/public/bluetooth_adapter.h"
#include "internal/platform/atomic_boolean.h"
#include "internal/platform/bluetooth_adapter.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/bluetooth_radio.h"
#include "connections/implementation/mediums/bluetooth_radio.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
@@ -16,8 +16,8 @@
#define CORE_INTERNAL_MEDIUMS_LOST_ENTITY_TRACKER_H_
#include "absl/container/flat_hash_set.h"
#include "platform/public/mutex.h"
#include "platform/public/mutex_lock.h"
#include "internal/platform/mutex.h"
#include "internal/platform/mutex_lock.h"
namespace location {
namespace nearby {
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/lost_entity_tracker.h"
#include "connections/implementation/mediums/lost_entity_tracker.h"
#include "gtest/gtest.h"
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/mediums.h"
#include "connections/implementation/mediums/mediums.h"
namespace location {
namespace nearby {
@@ -15,15 +15,15 @@
#ifndef CORE_INTERNAL_MEDIUMS_MEDIUMS_H_
#define CORE_INTERNAL_MEDIUMS_MEDIUMS_H_
#include "core/internal/mediums/ble.h"
#include "core/internal/mediums/bluetooth_classic.h"
#include "core/internal/mediums/bluetooth_radio.h"
#include "connections/implementation/mediums/ble.h"
#include "connections/implementation/mediums/bluetooth_classic.h"
#include "connections/implementation/mediums/bluetooth_radio.h"
#ifdef NO_WEBRTC
#include "core/internal/mediums/webrtc_stub.h"
#include "connections/implementation/mediums/webrtc_stub.h"
#else
#include "core/internal/mediums/webrtc.h"
#include "connections/implementation/mediums/webrtc.h"
#endif
#include "core/internal/mediums/wifi_lan.h"
#include "connections/implementation/mediums/wifi_lan.h"
namespace location {
namespace nearby {
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "core/internal/mediums/utils.h"
#include "connections/implementation/mediums/utils.h"
#include <memory>
#include <string>
#include "platform/base/prng.h"
#include "platform/public/crypto.h"
#include "internal/platform/prng.h"
#include "internal/platform/crypto.h"
namespace location {
namespace nearby {
@@ -19,7 +19,7 @@
#include <string>
#include "connections/implementation/proto/offline_wire_formats.pb.h"
#include "platform/base/byte_array.h"
#include "internal/platform/byte_array.h"
namespace location {
namespace nearby {

Some files were not shown because too many files have changed in this diff Show More