Home
last modified time | relevance | path

Searched refs:min_id (Results 1 – 2 of 2) sorted by relevance

/system/bt/common/
Dmetric_id_allocator_unittest.cc430 int min_id = MetricIdAllocator::kMinId; in TEST() local
431 paired_device_map[kthAddress(min_id)] = min_id; in TEST()
432 paired_device_map[kthAddress(min_id + 1)] = min_id + 1; in TEST()
433 paired_device_map[kthAddress(min_id + 3)] = min_id + 3; in TEST()
434 paired_device_map[kthAddress(min_id + 4)] = min_id + 4; in TEST()
446 EXPECT_EQ(allocator.AllocateId(kthAddress(min_id + 2)), min_id + 2); in TEST()
447 EXPECT_EQ(allocator.AllocateId(kthAddress(min_id + 5)), min_id + 5); in TEST()
460 int min_id = MetricIdAllocator::kMinId; in TEST() local
467 EXPECT_EQ(allocator.AllocateId(kthAddress(min_id)), min_id); in TEST()
468 EXPECT_EQ(allocator.AllocateId(kthAddress(min_id + 1)), min_id + 1); in TEST()
/system/bt/btif/src/
Dbtif_sock_rfc.cc173 uint32_t min_id = UINT32_MAX; in find_rfc_slot_by_pending_sdp() local
177 rfc_slots[i].id < min_id) { in find_rfc_slot_by_pending_sdp()
178 min_id = rfc_slots[i].id; in find_rfc_slot_by_pending_sdp()