/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraManagerTest.java | 74 private BlockingStateCallback mCameraListener; field in CameraManagerTest 99 mCameraListener = spy(new BlockingStateCallback()); in setUp() 242 mCameraListener = new BlockingStateCallback(mockListener); in testCameraManagerOpenCamerasSerially() 245 mCameraManager.openCamera(ids[i], executor, mCameraListener); in testCameraManagerOpenCamerasSerially() 247 mCameraManager.openCamera(ids[i], mCameraListener, mHandler); in testCameraManagerOpenCamerasSerially() 251 mCameraListener.waitForState(BlockingStateCallback.STATE_OPENED, in testCameraManagerOpenCamerasSerially() 293 mCameraListener = new BlockingStateCallback(mockListener); in testCameraManagerOpenAllCameras() 306 mCameraManager.openCamera(cameraId, executor, mCameraListener); in testCameraManagerOpenAllCameras() 308 mCameraManager.openCamera(cameraId, mCameraListener, mHandler); in testCameraManagerOpenAllCameras() 322 int state = mCameraListener.waitForAnyOfStates( in testCameraManagerOpenAllCameras() [all …]
|
D | AllocationTest.java | 81 private BlockingStateCallback mCameraListener; field in AllocationTest 107 mCameraListener = new BlockingStateCallback(); in setUp() 801 mCameraManager, cameraId, mCameraListener, mHandler); in openDevice() 807 mCameraListener.waitForState(STATE_OPENED, CAMERA_OPEN_TIMEOUT_MS); in openDevice() 813 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
|
D | PerformanceTest.java | 1361 mCameraManager, cameraId, mCameraListener, mHandler); in simpleOpenCamera()
|
D | CameraDeviceTest.java | 153 mCameraListener = mCameraMockListener; in setUp()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | Camera2PermissionTest.java | 48 private BlockingStateCallback mCameraListener; field in Camera2PermissionTest 72 mCameraListener = new BlockingStateCallback(); in setUp() 153 cameraId, mCameraListener, mHandler); in openCamera() 159 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeCamera()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2AndroidTestCase.java | 70 protected BlockingStateCallback mCameraListener; field in Camera2AndroidTestCase 117 mCameraListener = new BlockingStateCallback(); in setUp() 227 openDevice(cameraId, mCameraListener); in openDevice() 288 closeDevice(cameraId, mCameraListener); in closeDevice()
|
D | Camera2SurfaceViewTestCase.java | 94 protected BlockingStateCallback mCameraListener; field in Camera2SurfaceViewTestCase 137 mCameraListener = new BlockingStateCallback(); in setUp() 183 mCameraListener = null; in tearDown() 647 mCameraManager, cameraId, mCameraListener, mHandler); in openDevice() 671 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 78 private BlockingStateCallback mCameraListener; field in CameraMetadataGetter 100 mCameraListener = new BlockingStateCallback(); in CameraMetadataGetter() 155 mCameraListener, mHandler); in getCaptureRequestTemplates() 193 mCameraListener, mHandler); in getCaptureRequestTemplates() 221 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in getCaptureRequestTemplates()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 155 private BlockingStateCallback mCameraListener = null; field in ItsService 255 mCameraListener = new BlockingStateCallback(); in onCreate() 390 mCamera = mBlockingCameraManager.openCamera(cameraId, mCameraListener, mCameraHandler); in openCameraDevice()
|