Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCameraUtils.java38 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/src/android/hardware/camera2/cts/
DCameraTestUtils.java1053 CameraManager cameraManager) throws CameraAccessException { in getSupportedSizeForFormat() argument
1054 CameraCharacteristics properties = cameraManager.getCameraCharacteristics(cameraId); in getSupportedSizeForFormat()
1082 CameraManager cameraManager) throws CameraAccessException { in getSupportedSizeForClass() argument
1083 CameraCharacteristics properties = cameraManager.getCameraCharacteristics(cameraId); in getSupportedSizeForClass()
1124 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedPreviewSizes() argument
1127 cameraManager); in getSupportedPreviewSizes()
1180 CameraManager cameraManager, int format, Size bound) throws CameraAccessException { in getSortedSizesForFormat() argument
1182 Size[] sizes = getSupportedSizeForFormat(format, cameraId, cameraManager); in getSortedSizesForFormat()
1212 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedVideoSizes() argument
1215 cameraId, cameraManager); in getSupportedVideoSizes()
[all …]
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DCameraDeviceInfo.java57 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/libctscamera2jni/
Dnative-camera-jni.cpp875 ACameraManager* cameraManager = ACameraManager_create(); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative() local
876 if (cameraManager == nullptr) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
880 ACameraManager_delete(cameraManager); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
881 cameraManager = nullptr; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
884 cameraManager = ACameraManager_create(); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
890 ACameraManager_delete(cameraManager); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
891 cameraManager = nullptr; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
908 if (cameraManager) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
909 ACameraManager_delete(cameraManager); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetAndCloseNative()
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java92 public CameraMetadataGetter(CameraManager cameraManager) { in CameraMetadataGetter() argument
93 if (cameraManager == null) { in CameraMetadataGetter()
98 mCameraManager = cameraManager; in CameraMetadataGetter()