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.java35 import android.hardware.camera2.cts.CameraTestUtils.MockStateCallback;
241 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerOpenCamerasSerially()
287 List<MockStateCallback> listenerList = new ArrayList<MockStateCallback>(); in testCameraManagerOpenAllCameras()
292 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerOpenAllCameras()
398 for (MockStateCallback listener : listenerList) { in testCameraManagerOpenAllCameras()
425 MockStateCallback listener) { in verifyCameraStateOpened()
469 MockStateCallback mockSuccessListener = MockStateCallback.mock(); in testCameraManagerOpenCameraTwice()
470 MockStateCallback mockFailListener = MockStateCallback.mock(); in testCameraManagerOpenCameraTwice()
595 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerListenerCallbacks()
647 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerListenerCallbacks()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1629 public static class MockStateCallback extends CameraDevice.StateCallback { class in CameraTestUtils
1643 private MockStateCallback() {} in MockStateCallback() method in CameraTestUtils.MockStateCallback
1648 public static MockStateCallback mock() { in mock()
1649 return Mockito.spy(new MockStateCallback()); in mock()