/system/bt/common/ |
D | metric_id_allocator_unittest.cc | 52 std::unordered_map<RawAddress, int> paired_device_map; in TEST() local 56 EXPECT_TRUE(allocator.Init(paired_device_map, callback, callback)); in TEST() 57 EXPECT_FALSE(allocator.Init(paired_device_map, callback, callback)); in TEST() 63 std::unordered_map<RawAddress, int> paired_device_map; in TEST() local 67 EXPECT_TRUE(allocator.Init(paired_device_map, callback, callback)); in TEST() 70 EXPECT_FALSE(allocator.Init(paired_device_map, callback, callback)); in TEST() 76 std::unordered_map<RawAddress, int> paired_device_map; in TEST() local 81 EXPECT_TRUE(allocator.Init(paired_device_map, callback, callback)); in TEST() 92 std::unordered_map<RawAddress, int> paired_device_map; in TEST() local 99 paired_device_map = in TEST() [all …]
|
D | metric_id_allocator.cc | 49 const std::unordered_map<RawAddress, int>& paired_device_map, in Init() argument 57 if (paired_device_map.size() > kMaxNumPairedDevicesInMemory) { in Init() 66 for (const auto& p : paired_device_map) { in Init()
|
D | metric_id_allocator.h | 63 bool Init(const std::unordered_map<RawAddress, int>& paired_device_map,
|
/system/bt/gd/common/ |
D | metric_id_manager_unittest.cc | 52 std::unordered_map<bluetooth::hci::Address, int> paired_device_map; in TEST() local 57 ASSERT_TRUE(manager.Init(paired_device_map, callback, callback)); in TEST() 58 ASSERT_FALSE(manager.Init(paired_device_map, callback, callback)); in TEST() 64 std::unordered_map<bluetooth::hci::Address, int> paired_device_map; in TEST() local 69 ASSERT_TRUE(manager.Init(paired_device_map, callback, callback)); in TEST() 72 ASSERT_FALSE(manager.Init(paired_device_map, callback, callback)); in TEST() 78 std::unordered_map<bluetooth::hci::Address, int> paired_device_map; in TEST() local 84 ASSERT_TRUE(manager.Init(paired_device_map, callback, callback)); in TEST() 95 std::unordered_map<bluetooth::hci::Address, int> paired_device_map; in TEST() local 103 paired_device_map = in TEST() [all …]
|
D | metric_id_manager.cc | 52 const std::unordered_map<Address, int>& paired_device_map, in Init() argument 60 if (paired_device_map.size() > kMaxNumPairedDevicesInMemory) { in Init() 64 paired_device_map.size(), kMaxNumPairedDevicesInMemory); in Init() 70 for (const auto& p : paired_device_map) { in Init()
|
D | metric_id_manager.h | 63 const std::unordered_map<hci::Address, int>& paired_device_map,
|
/system/bt/main/shim/ |
D | metric_id_api.cc | 34 const std::unordered_map<RawAddress, int>& paired_device_map, in InitMetricIdAllocator() argument 37 for (const auto& device : paired_device_map) { in InitMetricIdAllocator()
|
D | metric_id_api.h | 38 const std::unordered_map<RawAddress, int>& paired_device_map,
|
/system/bt/btif/src/ |
D | btif_metrics_logging.cc | 117 const std::unordered_map<RawAddress, int>& paired_device_map, in init_metric_id_allocator() argument 122 paired_device_map, std::move(save_device_callback), in init_metric_id_allocator() 126 paired_device_map, std::move(save_device_callback), in init_metric_id_allocator()
|
D | btif_config.cc | 196 std::unordered_map<RawAddress, int> paired_device_map; in init_metric_id_allocator() local 211 paired_device_map[mac_address] = id; in init_metric_id_allocator() 230 if (!init_metric_id_allocator(paired_device_map, in init_metric_id_allocator()
|
/system/bt/test/mock/ |
D | mock_main_shim_metric_id_api.cc | 40 const std::unordered_map<RawAddress, int>& paired_device_map, in InitMetricIdAllocator() argument
|
D | mock_common_metric_id_allocator.cc | 74 const std::unordered_map<RawAddress, int>& paired_device_map, in Init() argument
|
/system/bt/btif/include/ |
D | btif_metrics_logging.h | 57 const std::unordered_map<RawAddress, int>& paired_device_map,
|