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