Home
last modified time | relevance | path

Searched refs:mCameraListener (Results 1 – 9 of 9) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraManagerTest.java74 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 …]
DAllocationTest.java81 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()
DPerformanceTest.java1361 mCameraManager, cameraId, mCameraListener, mHandler); in simpleOpenCamera()
DCameraDeviceTest.java153 mCameraListener = mCameraMockListener; in setUp()
/cts/tests/tests/permission/src/android/permission/cts/
DCamera2PermissionTest.java48 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/
DCamera2AndroidTestCase.java70 protected BlockingStateCallback mCameraListener; field in Camera2AndroidTestCase
117 mCameraListener = new BlockingStateCallback(); in setUp()
227 openDevice(cameraId, mCameraListener); in openDevice()
288 closeDevice(cameraId, mCameraListener); in closeDevice()
DCamera2SurfaceViewTestCase.java94 protected BlockingStateCallback mCameraListener; field in Camera2SurfaceViewTestCase
137 mCameraListener = new BlockingStateCallback(); in setUp()
183 mCameraListener = null; in tearDown()
639 mCameraManager, cameraId, mCameraListener, mHandler); in openDevice()
663 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java78 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/
DItsService.java155 private BlockingStateCallback mCameraListener = null; field in ItsService
255 mCameraListener = new BlockingStateCallback(); in onCreate()
390 mCamera = mBlockingCameraManager.openCamera(cameraId, mCameraListener, mCameraHandler); in openCameraDevice()