Searched refs:max_id (Results 1 – 2 of 2) sorted by relevance
438 int max_id = MetricIdAllocator::kMaxId; in TEST() local439 paired_device_map[kthAddress(max_id - 3)] = max_id - 3; in TEST()440 paired_device_map[kthAddress(max_id - 4)] = max_id - 4; in TEST()445 EXPECT_EQ(allocator.AllocateId(kthAddress(max_id - 2)), max_id - 2); in TEST()446 EXPECT_EQ(allocator.AllocateId(kthAddress(max_id - 1)), max_id - 1); in TEST()447 EXPECT_EQ(allocator.AllocateId(kthAddress(max_id)), max_id); in TEST()463 int max_id = MetricIdAllocator::kMaxId; in TEST() local464 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()