Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCamera2Activity.java66 String[] cameraIds = manager.getCameraIdList(); in onResume() local
68 if (cameraIds == null || cameraIds.length == 0) { in onResume()
92 final String chosen = cameraIds[0]; in onResume()
DCameraEvictionTest.java168 String[] cameraIds = manager.getCameraIdList(); in testBasicCamera2ActivityEviction() local
170 if (cameraIds.length == 0) { in testBasicCamera2ActivityEviction()
178 String chosenCamera = cameraIds[0]; in testBasicCamera2ActivityEviction()
272 String[] cameraIds = manager.getCameraIdList(); in testCamera2AccessCallback() local
274 if (cameraIds.length == 0) { in testCamera2AccessCallback()
308 String[] cameraIds = manager.getCameraIdList(); in testCamera2NativeAccessCallback() local
310 if (cameraIds.length == 0) { in testCamera2NativeAccessCallback()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCameraVulkanGpuTest.java60 String[] cameraIds = camMgr.getCameraIdList(); in testCameraImportAndRendering() local
62 for (String id : cameraIds) { in testCameraImportAndRendering()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java109 String[] cameraIds; in getCameraInfo() local
111 cameraIds = mCameraManager.getCameraIdList(); in getCameraInfo()
116 for (String id : cameraIds) { in getCameraInfo()
129 if (!id.equals(cameraIds[cameraIds.length - 1])) { in getCameraInfo()
181 String[] cameraIds; in getCaptureRequestTemplates() local
183 cameraIds = mCameraManager.getCameraIdList(); in getCaptureRequestTemplates()
189 for (String id : cameraIds) { in getCaptureRequestTemplates()
213 if (!id.equals(cameraIds[cameraIds.length - 1]) || in getCaptureRequestTemplates()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java162 String[] cameraIds = cam.getCameraIdList(); in testCameraState() local
163 if (cameraIds.length == 0) { in testCameraState()
196 cam.openCamera(cameraIds[0], cb, handler); in testCameraState()
204 String[] cameraIds = cam.getCameraIdList(); in testFlashlight() local
206 for (int i = 0; i < cameraIds.length; i++) { in testFlashlight()
207 String id = cameraIds[i]; in testFlashlight()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/flashlight/
DCameraFlashlightActivity.java187 String[] cameraIds = mCameraManager.getCameraIdList(); in onCreate() local
188 for (String id : cameraIds) { in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java335 String[] cameraIds = manager.getCameraIdList(); in getItsCompatibleCameraIds() local
336 for (String id : cameraIds) { in getItsCompatibleCameraIds()
374 if (Arrays.asList(cameraIds).contains(physicalId)) continue; in getItsCompatibleCameraIds()
/cts/tests/tests/graphics/jni/
DCameraTestHelpers.cpp55 mCameraId = mCameraIdList->cameraIds[0]; in initCamera()
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java166 String[] cameraIds = mCameraManager.getCameraIdList(); in checkCamera2Features() local
173 CameraCharacteristics[] cameraChars = new CameraCharacteristics[cameraIds.length]; in checkCamera2Features()
174 for (String cameraId : cameraIds) { in checkCamera2Features()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp942 return mCameraIdList->cameraIds[idx]; in getCameraId()
953 mCameraManager, mCameraIdList->cameraIds[idx], &chars); in getCameraChars()
1251 physicalCameraIdList->cameraIds[i], ACAMERA_CONTROL_AE_MODE, in createRequestsWithErrorLog()
1256 physicalCameraIdList->cameraIds[i], ret); in createRequestsWithErrorLog()
1262 physicalCameraIdList->cameraIds[i], in createRequestsWithErrorLog()
1266 " ret %d", physicalCameraIdList->cameraIds[i], ret); in createRequestsWithErrorLog()
1663 ALOGI("Camera ID: %s", cameraIdList->cameraIds[i]); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
1753 mgr, cameraIdList->cameraIds[i], &chars); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1806 cameraIdList->cameraIds[i]); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1947 const char* cameraId = cameraIdList->cameraIds[i]; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp99 mCameraId = mCameraIdList->cameraIds[0]; in initCamera()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1273 final String[] cameraIds = manager.getCameraIdList(); in testCameraPermission() local
1274 if (cameraIds.length == 0) { in testCameraPermission()
1295 manager.openCamera(cameraIds[0], callback, new Handler(backgroundThread.getLooper())); in testCameraPermission()