/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/util/jni/ |
D | android_virtualdevice_cts_camera_util_NativeCameraManager.cc | 171 std::vector<std::string> cameraIds; in getCameraIds() local 172 cameraIds.reserve(cameraIdList->numCameras); in getCameraIds() 173 std::copy(cameraIdList->cameraIds, cameraIdList->cameraIds + cameraIdList->numCameras, in getCameraIds() 174 std::back_inserter(cameraIds)); in getCameraIds() 176 return cameraIds; in getCameraIds()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CameraVulkanGpuTest.java | 60 String[] cameraIds = camMgr.getCameraIdList(); in testCameraImportAndRendering() local 62 for (String id : cameraIds) { in testCameraImportAndRendering()
|
/cts/tests/camera/utils/src/android/hardware/cts/helpers/ |
D | CameraUtils.java | 249 int[] cameraIds; in deriveCameraIdsUnderTest() local 251 cameraIds = IntStream.range(0, numberOfCameras).toArray(); in deriveCameraIdsUnderTest() 255 cameraIds = new int[]{overrideCameraId}; in deriveCameraIdsUnderTest() 257 cameraIds = new int[]{}; in deriveCameraIdsUnderTest() 260 return cameraIds; in deriveCameraIdsUnderTest()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | Camera2Activity.java | 101 String[] cameraIds = mCameraManager.getCameraIdList(); in onResume() local 103 if (cameraIds == null || cameraIds.length == 0) { in onResume() 114 final String chosen = cameraIds[0]; in onResume()
|
D | CameraEvictionTest.java | 213 String[] cameraIds = manager.getCameraIdListNoLazy(); in testBasicCamera2ActivityEvictionInternal() local 215 if (cameraIds.length == 0) { in testBasicCamera2ActivityEvictionInternal() 223 String chosenCamera = cameraIds[0]; in testBasicCamera2ActivityEvictionInternal() 330 String[] cameraIds = manager.getCameraIdListNoLazy(); in testCamera2OomScoreOffsetPermissions() local 332 if (cameraIds.length == 0) { in testCamera2OomScoreOffsetPermissions() 338 for (String cameraId : cameraIds) { in testCamera2OomScoreOffsetPermissions() 410 String[] cameraIds = manager.getCameraIdListNoLazy(); in testCamera2AccessCallbackInSplitMode() local 412 if (cameraIds.length == 0) { in testCamera2AccessCallbackInSplitMode() 535 String[] cameraIds = manager.getCameraIdListNoLazy(); in testCamera2AccessCallback() local 537 if (cameraIds.length == 0) { in testCamera2AccessCallback() [all …]
|
/cts/tests/camera/src/android/hardware/cts/ |
D | Camera_SizeTest.java | 73 int[] cameraIds = CameraUtils.deriveCameraIdsUnderTest(); in testMaxAspectRatios() local 74 for (int id : cameraIds) { in testMaxAspectRatios()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 109 String[] cameraIds; in getCameraInfo() local 111 cameraIds = mCameraManager.getCameraIdListNoLazy(); 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.getCameraIdListNoLazy(); in getCaptureRequestTemplates() 189 for (String id : cameraIds) { in getCaptureRequestTemplates() 213 if (!id.equals(cameraIds[cameraIds.length - 1]) || in getCaptureRequestTemplates()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ConcurrentCameraTest.java | 147 Set<String> cameraIds = perIdGeneratedEntries.keySet(); in generateStreamSelectionsInternal() local 149 if (cameraIds.size() == 1) { in generateStreamSelectionsInternal() 150 String cameraId = cameraIds.toArray(new String[1])[0]; in generateStreamSelectionsInternal() 163 for (String cameraId: cameraIds) { in generateStreamSelectionsInternal()
|
D | FastBasicsTest.java | 204 int[] cameraIds = CameraUtils.deriveCameraIdsUnderTest(); in testCamera1() local 205 for (int i : cameraIds) { in testCamera1()
|
D | StaticMetadataTest.java | 600 String[] cameraIds = getCameraIdsUnderTest(); in testSessionCharacteristicsKeys() local 601 for (String cameraId : cameraIds) { in testSessionCharacteristicsKeys() 630 String[] cameraIds = getCameraIdsUnderTest(); in testCameraCharacteristicKeysAreUnique() local 631 for (String cameraId : cameraIds) { in testCameraCharacteristicKeysAreUnique()
|
D | CameraManagerTest.java | 969 String[] cameraIds = getCameraIdsUnderTest(); in testCameraManagerAutomotiveCameras() local 970 if (cameraIds.length < 1) { in testCameraManagerAutomotiveCameras() 990 for (String cameraId : cameraIds) { in testCameraManagerAutomotiveCameras()
|
D | CameraDeviceSetupTest.java | 146 HashSet<String> cameraIds = new HashSet<>(List.of(getCameraIdsUnderTest())); in testCameraDeviceSetupCreationFailure() local 150 .filter(i -> !cameraIds.contains(String.valueOf(i))) in testCameraDeviceSetupCreationFailure()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/flashlight/ |
D | CameraFlashlightActivity.java | 187 String[] cameraIds = mCameraManager.getCameraIdList(); in onCreate() local 188 for (String id : cameraIds) { in onCreate()
|
/cts/tests/tests/graphics/jni/ |
D | CameraTestHelpers.cpp | 55 mCameraId = mCameraIdList->cameraIds[0]; in initCamera()
|
/cts/tests/app/src/android/app/cts/ |
D | SystemFeaturesTest.java | 164 String[] cameraIds = mCameraManager.getCameraIdList(); in checkCamera2Features() local 172 CameraCharacteristics[] cameraChars = new CameraCharacteristics[cameraIds.length]; in checkCamera2Features() 173 for (String cameraId : cameraIds) { in checkCamera2Features()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | AtomTests.java | 278 String[] cameraIds = cam.getCameraIdList(); in testCameraState() local 279 if (cameraIds.length == 0) { in testCameraState() 315 cam.openCamera(cameraIds[0], cb, handler); in testCameraState() 323 String[] cameraIds = cam.getCameraIdList(); in testFlashlight() local 325 for (int i = 0; i < cameraIds.length; i++) { in testFlashlight() 326 String id = cameraIds[i]; in testFlashlight()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 369 String[] cameraIds = manager.getCameraIdList(); in getItsCompatibleCameraIds() local 370 for (String id : cameraIds) { in getItsCompatibleCameraIds() 420 if (Arrays.asList(cameraIds).contains(physicalId)) continue; in getItsCompatibleCameraIds()
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/ |
D | VirtualCameraTest.java | 351 String[] cameraIds = mCameraManager.getCameraIdListNoLazy(); in defaultPolicyVdContext_canAccessDefaultCameras() local 352 assertThat(cameraIds).isEqualTo(defaultCameraIds); in defaultPolicyVdContext_canAccessDefaultCameras() 367 String[] cameraIds = mCameraManager.getCameraIdListNoLazy(); in defaultPolicyVdContext_cannotAccessVirtualCamera() local 368 assertThat(cameraIds).isEqualTo(defaultCameraIds); in defaultPolicyVdContext_cannotAccessVirtualCamera()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1380 …Set<String> cameraIds = new HashSet<String>(Arrays.asList(getCameraIdListForTesting(manager, getSy… in getConcurrentCameraIds() local 1386 if (cameraIds.contains(id)) { in getConcurrentCameraIds() 4342 public static String getPrimaryRearCamera(CameraManager manager, String[] cameraIds) in getPrimaryRearCamera() argument 4344 return getPrimaryCamera(manager, cameraIds, CameraCharacteristics.LENS_FACING_BACK); in getPrimaryRearCamera() 4350 public static String getPrimaryFrontCamera(CameraManager manager, String[] cameraIds) in getPrimaryFrontCamera() argument 4352 return getPrimaryCamera(manager, cameraIds, CameraCharacteristics.LENS_FACING_FRONT); in getPrimaryFrontCamera() 4356 String[] cameraIds, Integer facing) throws Exception { in getPrimaryCamera() argument 4357 if (cameraIds == null) { in getPrimaryCamera() 4361 for (String id : cameraIds) { in getPrimaryCamera() 4545 String[] cameraIds, CameraManager manager, in testPhysicalCameraAvailabilityConsistencyHelper() argument [all …]
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 1163 return mCameraIdList->cameraIds[idx]; in getCameraId() 1171 const char* cameraId = mCameraIdList->cameraIds[idx]; in getCameraChars() 1501 physicalCameraIdList->cameraIds[i], ACAMERA_CONTROL_AE_MODE, in createRequestsWithErrorLog() 1506 physicalCameraIdList->cameraIds[i], ret); in createRequestsWithErrorLog() 1512 physicalCameraIdList->cameraIds[i], in createRequestsWithErrorLog() 1516 " ret %d", physicalCameraIdList->cameraIds[i], ret); in createRequestsWithErrorLog() 1962 ALOGI("Camera ID: %s", cameraIdList->cameraIds[i]); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() 2031 const char* cameraId = cameraIdList->cameraIds[i]; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerExtendedAvailabilityCallbackNative() 2159 mgr, cameraIdList->cameraIds[i], &chars); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative() 2228 cameraIdList->cameraIds[i]); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 1326 final String[] cameraIds = manager.getCameraIdList(); in testCameraPermission() local 1327 if (cameraIds.length == 0) { in testCameraPermission() 1348 manager.openCamera(cameraIds[0], callback, new Handler(backgroundThread.getLooper())); in testCameraPermission()
|
/cts/tests/tests/media/misc/jni/ |
D | AImageReaderCts.cpp | 94 mCameraId = mCameraIdList->cameraIds[0]; in initCamera()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecTestBase.java | 574 String[] cameraIds = cm.getCameraIdList(); in isHDRCaptureSupported() local 575 for (String id : cameraIds) { in isHDRCaptureSupported()
|