Searched refs:max_id (Results 1 – 2 of 2) sorted by relevance
436 int max_id = MetricIdAllocator::kMaxId; in TEST() local437 paired_device_map[kthAddress(max_id - 3)] = max_id - 3; in TEST()438 paired_device_map[kthAddress(max_id - 4)] = max_id - 4; in TEST()443 EXPECT_EQ(allocator.AllocateId(kthAddress(max_id - 2)), max_id - 2); in TEST()444 EXPECT_EQ(allocator.AllocateId(kthAddress(max_id - 1)), max_id - 1); in TEST()445 EXPECT_EQ(allocator.AllocateId(kthAddress(max_id)), max_id); in TEST()461 int max_id = MetricIdAllocator::kMaxId; in TEST() local462 paired_device_map[kthAddress(max_id)] = max_id; in TEST()
462 int max_id = MetricIdManager::kMaxId; in TEST() local463 paired_device_map[kthAddress(max_id - 3)] = max_id - 3; in TEST()464 paired_device_map[kthAddress(max_id - 4)] = max_id - 4; in TEST()469 ASSERT_EQ(manager.AllocateId(kthAddress(max_id - 2)), max_id - 2); in TEST()470 ASSERT_EQ(manager.AllocateId(kthAddress(max_id - 1)), max_id - 1); in TEST()471 ASSERT_EQ(manager.AllocateId(kthAddress(max_id)), max_id); in TEST()488 int max_id = MetricIdManager::kMaxId; in TEST() local489 paired_device_map[kthAddress(max_id)] = max_id; in TEST()