Remove location namespace in third_party/nearby.

PiperOrigin-RevId: 500023196
This commit is contained in:
Suet-Fei Li
2023-01-06 02:53:57 -08:00
committed by Copybara-Service
parent 7afea00649
commit 084f7ebd88
714 changed files with 2710 additions and 3738 deletions
+2 -4
View File
@@ -26,7 +26,6 @@
#include "internal/platform/bluetooth_utils.h"
#include "internal/platform/byte_array.h"
namespace location {
namespace nearby {
namespace windows {
@@ -41,8 +40,8 @@ std::string uint64_to_mac_address_string(uint64_t bluetoothAddress) {
}
uint64_t mac_address_string_to_uint64(absl::string_view mac_address) {
location::nearby::ByteArray mac_address_array =
location::nearby::BluetoothUtils::FromString(mac_address);
nearby::ByteArray mac_address_array =
nearby::BluetoothUtils::FromString(mac_address);
uint64_t mac_address_uint64 = 0;
for (int i = 0; i < mac_address_array.size(); i++) {
mac_address_uint64 <<= 8;
@@ -54,4 +53,3 @@ uint64_t mac_address_string_to_uint64(absl::string_view mac_address) {
} // namespace windows
} // namespace nearby
} // namespace location