Home
last modified time | relevance | path

Searched refs:SaveDevice (Results 1 – 10 of 10) sorted by relevance

/system/bt/common/
Dmetric_id_allocator_unittest.cc151 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 …]
Dmetric_id_allocator.h95 bool SaveDevice(const RawAddress& mac_address);
Dmetric_id_allocator.cc147 bool MetricIdAllocator::SaveDevice(const RawAddress& mac_address) { in SaveDevice() function in bluetooth::common::MetricIdAllocator
/system/bt/gd/common/
Dmetric_id_manager_unittest.cc165 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 …]
Dmetric_id_manager.h96 bool SaveDevice(const hci::Address& mac_address);
Dmetric_id_manager.cc154 bool MetricIdManager::SaveDevice(const Address& mac_address) { in SaveDevice() function in bluetooth::common::MetricIdManager
/system/bt/test/mock/
Dmock_common_metric_id_allocator.cc87 bool MetricIdAllocator::SaveDevice(const RawAddress& mac_address) { in SaveDevice() function in bluetooth::common::MetricIdAllocator
/system/bt/main/shim/
Dmetric_id_api.cc67 return MetricIdManager::GetInstance().SaveDevice(address); in SaveDeviceOnMetricIdAllocator()
Dbtm_api.cc474 : MetricIdAllocator::GetInstance().SaveDevice( in OnDeviceBonded()
/system/bt/btif/src/
Dbtif_metrics_logging.cc149 return bluetooth::common::MetricIdAllocator::GetInstance().SaveDevice( in save_metric_id_from_metric_id_allocator()