Searched refs:cameraManager (Results 1 – 6 of 6) sorted by relevance
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | IdleUidTest.java | 76 final CameraManager cameraManager = InstrumentationRegistry.getTargetContext() in testCameraAccessForIdleUid() local 78 for (String cameraId : cameraManager.getCameraIdList()) { in testCameraAccessForIdleUid() 79 testCameraAccessForIdleUidByCamera(cameraManager, cameraId, in testCameraAccessForIdleUid() 89 final CameraManager cameraManager = InstrumentationRegistry.getTargetContext() in testCameraAccessBecomingInactiveUid() local 91 for (String cameraId : cameraManager.getCameraIdList()) { in testCameraAccessBecomingInactiveUid() 92 testCameraAccessBecomingInactiveUidByCamera(cameraManager, cameraId, in testCameraAccessBecomingInactiveUid() 98 private void testCameraAccessForIdleUidByCamera(CameraManager cameraManager, in testCameraAccessForIdleUidByCamera() argument 101 assertCameraAccess(cameraManager, cameraId, true, handler); in testCameraAccessForIdleUidByCamera() 107 assertCameraAccess(cameraManager, cameraId, false, handler); in testCameraAccessForIdleUidByCamera() 114 assertCameraAccess(cameraManager, cameraId, true, handler); in testCameraAccessForIdleUidByCamera() [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CameraUtils.java | 38 public static boolean blockUntilOpenCamera(CameraManager cameraManager, Handler handler) { in blockUntilOpenCamera() argument 40 String[] cameraIdList = cameraManager.getCameraIdList(); in blockUntilOpenCamera() 46 cameraManager.openCamera(cameraId, callback, handler); in blockUntilOpenCamera()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1174 CameraManager cameraManager) throws CameraAccessException { in getSupportedSizeForFormat() argument 1175 CameraCharacteristics properties = cameraManager.getCameraCharacteristics(cameraId); in getSupportedSizeForFormat() 1203 CameraManager cameraManager) throws CameraAccessException { in getSupportedSizeForClass() argument 1204 CameraCharacteristics properties = cameraManager.getCameraCharacteristics(cameraId); in getSupportedSizeForClass() 1245 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedPreviewSizes() argument 1248 cameraManager); in getSupportedPreviewSizes() 1301 CameraManager cameraManager, int format, Size bound) throws CameraAccessException { in getSortedSizesForFormat() argument 1303 Size[] sizes = getSupportedSizeForFormat(format, cameraId, cameraManager); in getSortedSizesForFormat() 1333 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedVideoSizes() argument 1336 cameraId, cameraManager); in getSupportedVideoSizes() [all …]
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | CameraDeviceInfo.java | 57 public CameraCharacteristicsStorer(CameraManager cameraManager, DeviceInfoStore store) { in CameraCharacteristicsStorer() argument 58 if (cameraManager == null || store == null) { in CameraCharacteristicsStorer() 63 mCameraManager = cameraManager; in CameraCharacteristicsStorer() 419 CameraManager cameraManager = (CameraManager) in collectDeviceInfo() local 422 String[] cameraIdList = cameraManager.getCameraIdList(); in collectDeviceInfo() 426 new CameraCharacteristicsStorer(cameraManager, store); in collectDeviceInfo()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 92 public CameraMetadataGetter(CameraManager cameraManager) { in CameraMetadataGetter() argument 93 if (cameraManager == null) { in CameraMetadataGetter() 98 mCameraManager = cameraManager; in CameraMetadataGetter()
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 1607 ACameraManager* cameraManager = ACameraManager_create(); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() local 1608 if (cameraManager == nullptr) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1612 ACameraManager_delete(cameraManager); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1613 cameraManager = nullptr; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1616 cameraManager = ACameraManager_create(); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1622 ACameraManager_delete(cameraManager); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1623 cameraManager = nullptr; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1640 if (cameraManager) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() 1641 ACameraManager_delete(cameraManager); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
|