Home
last modified time | relevance | path

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

/hardware/google/camera/common/hal/tests/
Dcamera_id_manager_tests.cc132 uint32_t public_id = 0; in TEST() local
140 res = id_manager->GetPublicCameraId(internal_id, &public_id); in TEST()
143 EXPECT_EQ(public_id, i); in TEST()
156 uint32_t public_id; in ValidateCameraIds() local
163 public_id = i; in ValidateCameraIds()
164 res = id_manager->GetInternalCameraId(public_id, &internal_id); in ValidateCameraIds()
169 EXPECT_EQ(internal_id, expected_internal_ids[public_id]) in ValidateCameraIds()
170 << "Expected public ID " << public_id << " to map to internal ID " in ValidateCameraIds()
171 << expected_internal_ids[public_id] << " but instead got " in ValidateCameraIds()
179 res = id_manager->GetPublicCameraId(internal_id, &public_id); in ValidateCameraIds()
[all …]
/hardware/google/camera/common/hal/utils/
Dcamera_id_manager.cc164 uint32_t public_id = 0; in PrintCameraIdMapping() local
168 public_id, phys_id); in PrintCameraIdMapping()
170 public_id++; in PrintCameraIdMapping()