Home
last modified time | relevance | path

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

/system/bt/gd/common/
Dmetric_id_manager.cc37 const int MetricIdManager::kMaxId = 65534; // 2^16 - 2 member in bluetooth::common::MetricIdManager
43 (MetricIdManager::kMaxId - MetricIdManager::kMinId),
71 if (p.second < kMinId || p.second > kMaxId) { in Init()
74 p.second, p.first.ToString().c_str(), kMinId, kMaxId); in Init()
83 if (next_id_ > kMaxId) { in Init()
135 if (next_id_ > kMaxId) { in AllocateId()
147 if (next_id_ > kMaxId) { in AllocateId()
193 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()
/system/bt/common/
Dmetric_id_allocator.cc34 const int MetricIdAllocator::kMaxId = 65534; // 2^16 - 2 member in bluetooth::common::MetricIdAllocator
40 (MetricIdAllocator::kMaxId - MetricIdAllocator::kMinId),
67 if (p.second < kMinId || p.second > kMaxId) { in Init()
77 if (next_id_ > kMaxId) { in Init()
128 if (next_id_ > kMaxId) { in AllocateId()
140 if (next_id_ > kMaxId) { in AllocateId()
195 return id >= kMinId && id <= kMaxId; in IsValidId()
Dmetric_id_allocator.h41 static const int kMaxId; variable
Dmetric_id_allocator_unittest.cc436 int max_id = MetricIdAllocator::kMaxId; in TEST()
461 int max_id = MetricIdAllocator::kMaxId; in TEST()