Home
last modified time | relevance | path

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

/hardware/google/camera/common/hal/tests/
Dcamera_id_manager_tests.cc153 std::vector<uint32_t>& expected_internal_ids) { in ValidateCameraIds() argument
158 ASSERT_EQ(expected_internal_ids.size(), cameras.size()) in ValidateCameraIds()
169 EXPECT_EQ(internal_id, expected_internal_ids[public_id]) in ValidateCameraIds()
171 << expected_internal_ids[public_id] << " but instead got " in ValidateCameraIds()
178 internal_id = expected_internal_ids[i]; in ValidateCameraIds()
269 std::vector<uint32_t> expected_internal_ids = {5, 6, 7, 0, 1, 2, 3, 4}; in TEST() local
275 ValidateCameraIds(id_manager.get(), cameras, expected_internal_ids); in TEST()
278 expected_internal_ids.clear(); in TEST()
282 expected_internal_ids.push_back(camera.id); in TEST()
288 ValidateCameraIds(id_manager.get(), cameras, expected_internal_ids); in TEST()
[all …]