Home
last modified time | relevance | path

Searched refs:MockStateCallback (Results 1 – 4 of 4) sorted by relevance

/cts/tests/camera/headlessSystemUserTest/src/android/camera/cts/headlesssystemusertest/
DCamera2HeadlessSystemUserTest.java34 import android.hardware.camera2.cts.CameraTestUtils.MockStateCallback;
113 MockStateCallback mockListener = MockStateCallback.mock(); in testHeadlessSystemUser_OpenCamera()
140 MockStateCallback mockListener = MockStateCallback.mock(); in testHeadlessSystemUser_InvalidAccess()
170 MockStateCallback mockListener = MockStateCallback.mock(); in testHeadlessSystemUser_SwitchForegroundUser()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraManagerTest.java35 import android.hardware.camera2.cts.CameraTestUtils.MockStateCallback;
356 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerOpenCamerasSerially()
403 List<MockStateCallback> listenerList = new ArrayList<MockStateCallback>(); in testCameraManagerOpenAllCameras()
408 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerOpenAllCameras()
517 for (MockStateCallback listener : listenerList) { in testCameraManagerOpenAllCameras()
548 MockStateCallback mockSuccessListener = MockStateCallback.mock(); in testCameraManagerOpenCameraTwice()
549 MockStateCallback mockFailListener = MockStateCallback.mock(); in testCameraManagerOpenCameraTwice()
725 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerListenerCallbacks()
801 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerListenerCallbacks()
849 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerListenerCallbacks()
DCameraDeviceSetupTest.java37 import android.hardware.camera2.cts.CameraTestUtils.MockStateCallback;
177 MockStateCallback mockListener = MockStateCallback.mock(); in testOpenSuccessful()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2735 public static class MockStateCallback extends CameraDevice.StateCallback { class in CameraTestUtils
2749 private MockStateCallback() {} in MockStateCallback() method in CameraTestUtils.MockStateCallback
2754 public static MockStateCallback mock() { in mock()
2755 return Mockito.spy(new MockStateCallback()); in mock()
4422 MockStateCallback listener) { in verifyCameraStateOpened()
4597 MockStateCallback mockListener = MockStateCallback.mock(); in testPhysicalCameraAvailabilityConsistencyHelper()