Searched refs:MockStateCallback (Results 1 – 2 of 2) sorted by relevance
35 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()
1629 public static class MockStateCallback extends CameraDevice.StateCallback { class in CameraTestUtils1643 private MockStateCallback() {} in MockStateCallback() method in CameraTestUtils.MockStateCallback1648 public static MockStateCallback mock() { in mock()1649 return Mockito.spy(new MockStateCallback()); in mock()