/cts/tests/camera/headlessSystemUserTest/src/android/camera/cts/headlesssystemusertest/ |
D | Camera2HeadlessSystemUserTest.java | 66 private BlockingStateCallback mCameraListener; field in Camera2HeadlessSystemUserTest 90 mCameraListener = spy(new BlockingStateCallback()); in setUp() 114 mCameraListener = new BlockingStateCallback(mockListener); in testHeadlessSystemUser_OpenCamera() 141 mCameraListener = new BlockingStateCallback(mockListener); in testHeadlessSystemUser_InvalidAccess() 142 mCameraManager.openCamera(mCameraIdsUnderTest[i], mCameraListener, mHandler); in testHeadlessSystemUser_InvalidAccess() 171 mCameraListener = new BlockingStateCallback(mockListener); in testHeadlessSystemUser_SwitchForegroundUser() 189 mCameraManager.openCamera(cameraId, mCameraListener, mHandler); in openCameraAsHeadlessSystemUser() 193 mCameraManager.openCamera(cameraId, mCameraListener, mHandler); in openCameraAsHeadlessSystemUser() 196 mCameraListener.waitForState(BlockingStateCallback.STATE_OPENED, in openCameraAsHeadlessSystemUser()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraManagerTest.java | 83 private BlockingStateCallback mCameraListener; field in CameraManagerTest 107 mCameraListener = spy(new BlockingStateCallback()); in setUp() 357 mCameraListener = new BlockingStateCallback(mockListener); in testCameraManagerOpenCamerasSerially() 360 mCameraManager.openCamera(ids[i], executor, mCameraListener); in testCameraManagerOpenCamerasSerially() 362 mCameraManager.openCamera(ids[i], mCameraListener, mHandler); in testCameraManagerOpenCamerasSerially() 366 mCameraListener.waitForState(BlockingStateCallback.STATE_OPENED, in testCameraManagerOpenCamerasSerially() 409 mCameraListener = new BlockingStateCallback(mockListener); in testCameraManagerOpenAllCameras() 422 mCameraManager.openCamera(cameraId, executor, mCameraListener); in testCameraManagerOpenAllCameras() 424 mCameraManager.openCamera(cameraId, mCameraListener, mHandler); in testCameraManagerOpenAllCameras() 440 int state = mCameraListener.waitForAnyOfStates( in testCameraManagerOpenAllCameras() [all …]
|
D | CameraDeviceTest.java | 145 mCameraListener = mCameraMockListener; in setUp()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2ConcurrentAndroidTestCase.java | 73 public BlockingStateCallback mCameraListener; field in Camera2ConcurrentAndroidTestCase.CameraTestInfo 80 mCameraListener = cameraListener; in CameraTestInfo() 243 openDevice(cameraId, info.mCameraListener); in openDevice() 293 closeDevice(cameraId, info.mCameraListener); in closeDevice()
|
D | Camera2AndroidTestCase.java | 88 protected BlockingStateCallback mCameraListener; field in Camera2AndroidTestCase 133 mCameraListener = new BlockingStateCallback(); in setUp() 251 openDevice(cameraId, /*overrideToPortrait*/false, mCameraListener); in openDevice() 271 openDevice(cameraId, overrideToPortrait, mCameraListener); in openDevice() 361 closeDevice(cameraId, mCameraListener); in closeDevice()
|
D | Camera2AndroidTestRule.java | 75 private BlockingStateCallback mCameraListener; field in Camera2AndroidTestRule 153 return mCameraListener; in getCameraListener() 248 mCameraListener = new BlockingStateCallback(); in before() 357 openDevice(cameraId, mCameraListener); in openDevice() 418 closeDevice(cameraId, mCameraListener); in closeDevice()
|
D | Camera2SurfaceViewTestCase.java | 101 protected BlockingStateCallback mCameraListener; field in Camera2SurfaceViewTestCase 133 mCameraListener = new BlockingStateCallback(); in setUp() 171 mCameraListener = null; in tearDown() 636 mCameraManager, cameraId, mCameraListener, mHandler); in openDevice() 660 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | CameraMuteToggleActivity.java | 90 private BlockingStateCallback mCameraListener; field in CameraMuteToggleActivity 133 mCameraListener = new BlockingStateCallback(); in onCreate() 291 mCameraListener, mCameraHandler); in setUpCamera()
|
D | ItsService.java | 259 private BlockingStateCallback mCameraListener = null; field in ItsService 463 mCameraListener = new BlockingStateCallback(); in onCreate() 662 cmdObj.getBoolean("overrideToPortrait"), mCameraListener, mCameraHandler); in openCameraDevice() 664 mCamera = mBlockingCameraManager.openCamera(cameraId, mCameraListener, in openCameraDevice()
|
/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/bokeh/ |
D | CameraBokehActivity.java | 122 private BlockingStateCallback mCameraListener; field in CameraBokehActivity 310 mCameraListener = new BlockingStateCallback(); in onCreate() 641 mCameraListener, mCameraHandler); in setUpCamera()
|