Home
last modified time | relevance | path

Searched refs:kMaxNumPairedDevicesInMemory (Results 1 – 6 of 6) sorted by relevance

/system/bt/gd/common/
Dmetric_id_manager.cc35 const size_t MetricIdManager::kMaxNumPairedDevicesInMemory = 65000; member in bluetooth::common::MetricIdManager
42 MetricIdManager::kMaxNumPairedDevicesInMemory) <
48 : paired_device_cache_(kMaxNumPairedDevicesInMemory), in MetricIdManager()
60 if (paired_device_map.size() > kMaxNumPairedDevicesInMemory) { in Init()
64 paired_device_map.size(), kMaxNumPairedDevicesInMemory); in Init()
Dmetric_id_manager_unittest.cc100 int id = static_cast<int>(MetricIdManager::kMaxNumPairedDevicesInMemory) + in TEST()
104 generateAddresses(MetricIdManager::kMaxNumPairedDevicesInMemory); in TEST()
117 generateAddresses(MetricIdManager::kMaxNumPairedDevicesInMemory); in TEST()
203 generateAddresses(MetricIdManager::kMaxNumPairedDevicesInMemory); in TEST()
226 key < static_cast<int>(MetricIdManager::kMaxNumPairedDevicesInMemory); in TEST()
234 int id = static_cast<int>(MetricIdManager::kMaxNumPairedDevicesInMemory + in TEST()
327 for (size_t k = MetricIdManager::kMaxNumPairedDevicesInMemory; in TEST()
328 k <= MetricIdManager::kMaxNumPairedDevicesInMemory + 4; k++) { in TEST()
339 kthAddress(MetricIdManager::kMaxNumPairedDevicesInMemory + 5))); in TEST()
Dmetric_id_manager.h37 static const size_t kMaxNumPairedDevicesInMemory; variable
/system/bt/common/
Dmetric_id_allocator.cc32 const size_t MetricIdAllocator::kMaxNumPairedDevicesInMemory = 65000; member in bluetooth::common::MetricIdAllocator
39 MetricIdAllocator::kMaxNumPairedDevicesInMemory) <
45 : paired_device_cache_(kMaxNumPairedDevicesInMemory, LOGGING_TAG), in MetricIdAllocator()
57 if (paired_device_map.size() > kMaxNumPairedDevicesInMemory) { in Init()
Dmetric_id_allocator_unittest.cc96 int id = static_cast<int>(MetricIdAllocator::kMaxNumPairedDevicesInMemory) + in TEST()
100 generateAddresses(MetricIdAllocator::kMaxNumPairedDevicesInMemory); in TEST()
113 generateAddresses(MetricIdAllocator::kMaxNumPairedDevicesInMemory); in TEST()
185 generateAddresses(MetricIdAllocator::kMaxNumPairedDevicesInMemory); in TEST()
206 key < static_cast<int>(MetricIdAllocator::kMaxNumPairedDevicesInMemory); in TEST()
214 int id = static_cast<int>(MetricIdAllocator::kMaxNumPairedDevicesInMemory + in TEST()
302 for (size_t k = MetricIdAllocator::kMaxNumPairedDevicesInMemory; in TEST()
303 k <= MetricIdAllocator::kMaxNumPairedDevicesInMemory + 4; k++) { in TEST()
314 kthAddress(MetricIdAllocator::kMaxNumPairedDevicesInMemory + 5))); in TEST()
Dmetric_id_allocator.h38 static const size_t kMaxNumPairedDevicesInMemory; variable