Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/common/
Dmetric_id_manager.cc40 const int MetricIdManager::kMaxId = 65534; // 2^16 - 2 member in bluetooth::common::MetricIdManager
46 (MetricIdManager::kMaxId - MetricIdManager::kMinId),
74 if (p.second < kMinId || p.second > kMaxId) { in Init()
80 kMaxId); in Init()
89 if (next_id_ > kMaxId) { in Init()
141 if (next_id_ > kMaxId) { in AllocateId()
153 if (next_id_ > kMaxId) { in AllocateId()
198 return id >= kMinId && id <= kMaxId; in IsValidId()
Dmetric_id_manager.h40 static const int kMaxId; variable
Dmetric_id_manager_unittest.cc462 int max_id = MetricIdManager::kMaxId; in TEST()
488 int max_id = MetricIdManager::kMaxId; in TEST()
/packages/modules/Bluetooth/system/common/
Dmetric_id_allocator.cc37 const int MetricIdAllocator::kMaxId = 65534; // 2^16 - 2 member in bluetooth::common::MetricIdAllocator
43 (MetricIdAllocator::kMaxId - MetricIdAllocator::kMinId),
70 if (p.second < kMinId || p.second > kMaxId) { in Init()
80 if (next_id_ > kMaxId) { in Init()
131 if (next_id_ > kMaxId) { in AllocateId()
143 if (next_id_ > kMaxId) { in AllocateId()
200 return id >= kMinId && id <= kMaxId; in IsValidId()
Dmetric_id_allocator.h41 static const int kMaxId; variable
Dmetric_id_allocator_unittest.cc438 int max_id = MetricIdAllocator::kMaxId; in TEST()
463 int max_id = MetricIdAllocator::kMaxId; in TEST()