Home
last modified time | relevance | path

Searched refs:min_id (Results 1 – 3 of 3) 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/gd/common/
Dmetric_id_manager_unittest.cc456 int min_id = MetricIdManager::kMinId; in TEST() local
457 paired_device_map[kthAddress(min_id)] = min_id; in TEST()
458 paired_device_map[kthAddress(min_id + 1)] = min_id + 1; in TEST()
459 paired_device_map[kthAddress(min_id + 3)] = min_id + 3; in TEST()
460 paired_device_map[kthAddress(min_id + 4)] = min_id + 4; in TEST()
472 ASSERT_EQ(manager.AllocateId(kthAddress(min_id + 2)), min_id + 2); in TEST()
473 ASSERT_EQ(manager.AllocateId(kthAddress(min_id + 5)), min_id + 5); in TEST()
487 int min_id = MetricIdManager::kMinId; in TEST() local
494 ASSERT_EQ(manager.AllocateId(kthAddress(min_id)), min_id); in TEST()
495 ASSERT_EQ(manager.AllocateId(kthAddress(min_id + 1)), min_id + 1); in TEST()
/system/bt/btif/src/
Dbtif_sock_rfc.cc160 uint32_t min_id = UINT32_MAX; in find_rfc_slot_by_pending_sdp() local
164 rfc_slots[i].id < min_id) { in find_rfc_slot_by_pending_sdp()
165 min_id = rfc_slots[i].id; in find_rfc_slot_by_pending_sdp()