/system/bt/common/ |
D | metric_id_allocator_unittest.cc | 151 EXPECT_TRUE(allocator.SaveDevice(RawAddress({0, 0, 0, 0, 0, 0}))); in TEST() 155 EXPECT_FALSE(allocator.SaveDevice(RawAddress({0, 0, 0, 0, 0, 1}))); in TEST() 163 EXPECT_TRUE(allocator.SaveDevice(RawAddress({0, 0, 0, 0, 0, 2}))); in TEST() 165 EXPECT_TRUE(allocator.SaveDevice(RawAddress({0, 0, 0, 0, 0, 3}))); in TEST() 169 EXPECT_TRUE(allocator.SaveDevice(RawAddress({0, 0, 0, 0, 0, 0}))); in TEST() 224 EXPECT_TRUE(allocator.SaveDevice(kthAddress(key))); in TEST() 236 EXPECT_FALSE(allocator.SaveDevice(kthAddress(key + 1))); in TEST() 242 EXPECT_TRUE(allocator.SaveDevice(kthAddress(key + 1))); in TEST() 258 EXPECT_TRUE(allocator.SaveDevice(kthAddress(key + 2))); in TEST() 260 EXPECT_TRUE(allocator.SaveDevice(kthAddress(key + 3))); in TEST() [all …]
|
D | metric_id_allocator.h | 95 bool SaveDevice(const RawAddress& mac_address);
|
D | metric_id_allocator.cc | 147 bool MetricIdAllocator::SaveDevice(const RawAddress& mac_address) { in SaveDevice() function in bluetooth::common::MetricIdAllocator
|
/system/bt/gd/common/ |
D | metric_id_manager_unittest.cc | 165 manager.SaveDevice(bluetooth::hci::Address({0, 0, 0, 0, 0, 0}))); in TEST() 170 manager.SaveDevice(bluetooth::hci::Address({0, 0, 0, 0, 0, 1}))); in TEST() 179 manager.SaveDevice(bluetooth::hci::Address({0, 0, 0, 0, 0, 2}))); in TEST() 182 manager.SaveDevice(bluetooth::hci::Address({0, 0, 0, 0, 0, 3}))); in TEST() 187 manager.SaveDevice(bluetooth::hci::Address({0, 0, 0, 0, 0, 0}))); in TEST() 244 ASSERT_TRUE(manager.SaveDevice(kthAddress(key))); in TEST() 257 ASSERT_FALSE(manager.SaveDevice(kthAddress(key + 1))); in TEST() 263 ASSERT_TRUE(manager.SaveDevice(kthAddress(key + 1))); in TEST() 280 ASSERT_TRUE(manager.SaveDevice(kthAddress(key + 2))); in TEST() 283 ASSERT_TRUE(manager.SaveDevice(kthAddress(key + 3))); in TEST() [all …]
|
D | metric_id_manager.h | 96 bool SaveDevice(const hci::Address& mac_address);
|
D | metric_id_manager.cc | 154 bool MetricIdManager::SaveDevice(const Address& mac_address) { in SaveDevice() function in bluetooth::common::MetricIdManager
|
/system/bt/test/mock/ |
D | mock_common_metric_id_allocator.cc | 87 bool MetricIdAllocator::SaveDevice(const RawAddress& mac_address) { in SaveDevice() function in bluetooth::common::MetricIdAllocator
|
/system/bt/main/shim/ |
D | metric_id_api.cc | 67 return MetricIdManager::GetInstance().SaveDevice(address); in SaveDeviceOnMetricIdAllocator()
|
D | btm_api.cc | 474 : MetricIdAllocator::GetInstance().SaveDevice( in OnDeviceBonded()
|
/system/bt/btif/src/ |
D | btif_metrics_logging.cc | 149 return bluetooth::common::MetricIdAllocator::GetInstance().SaveDevice( in save_metric_id_from_metric_id_allocator()
|