Home
last modified time | relevance | path

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

/cts/tests/camera/headlessSystemUserTest/src/android/camera/cts/headlesssystemusertest/
DCamera2HeadlessSystemUserTest.java66 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/
DCameraManagerTest.java83 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 …]
DCameraDeviceTest.java145 mCameraListener = mCameraMockListener; in setUp()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2ConcurrentAndroidTestCase.java73 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()
DCamera2AndroidTestCase.java88 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()
DCamera2AndroidTestRule.java75 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()
DCamera2SurfaceViewTestCase.java101 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/
DCameraMuteToggleActivity.java90 private BlockingStateCallback mCameraListener; field in CameraMuteToggleActivity
133 mCameraListener = new BlockingStateCallback(); in onCreate()
291 mCameraListener, mCameraHandler); in setUpCamera()
DItsService.java259 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/
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/bokeh/
DCameraBokehActivity.java122 private BlockingStateCallback mCameraListener; field in CameraBokehActivity
310 mCameraListener = new BlockingStateCallback(); in onCreate()
641 mCameraListener, mCameraHandler); in setUpCamera()