Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraManagerTest.java31 import android.hardware.camera2.cts.CameraTestUtils.MockStateCallback;
232 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerOpenCamerasSerially()
278 List<MockStateCallback> listenerList = new ArrayList<MockStateCallback>(); in testCameraManagerOpenAllCameras()
283 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerOpenAllCameras()
389 for (MockStateCallback listener : listenerList) { in testCameraManagerOpenAllCameras()
416 MockStateCallback listener) { in verifyCameraStateOpened()
460 MockStateCallback mockSuccessListener = MockStateCallback.mock(); in testCameraManagerOpenCameraTwice()
461 MockStateCallback mockFailListener = MockStateCallback.mock(); in testCameraManagerOpenCameraTwice()
586 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerListenerCallbacks()
638 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerListenerCallbacks()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1543 public static class MockStateCallback extends CameraDevice.StateCallback { class in CameraTestUtils
1557 private MockStateCallback() {} in MockStateCallback() method in CameraTestUtils.MockStateCallback
1562 public static MockStateCallback mock() { in mock()
1563 return Mockito.spy(new MockStateCallback()); in mock()