Searched refs:MockStateCallback (Results 1 – 2 of 2) sorted by relevance
30 import android.hardware.camera2.cts.CameraTestUtils.MockStateCallback;211 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerOpenCamerasSerially()247 List<MockStateCallback> listenerList = new ArrayList<MockStateCallback>(); in testCameraManagerOpenAllCameras()252 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerOpenAllCameras()352 for (MockStateCallback listener : listenerList) { in testCameraManagerOpenAllCameras()379 MockStateCallback listener) { in verifyCameraStateOpened()417 MockStateCallback mockSuccessListener = MockStateCallback.mock(); in testCameraManagerOpenCameraTwice()418 MockStateCallback mockFailListener = MockStateCallback.mock(); in testCameraManagerOpenCameraTwice()522 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerListenerCallbacks()570 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerListenerCallbacks()
1448 public static class MockStateCallback extends CameraDevice.StateCallback { class in CameraTestUtils1462 private MockStateCallback() {} in MockStateCallback() method in CameraTestUtils.MockStateCallback1467 public static MockStateCallback mock() { in mock()1468 return Mockito.spy(new MockStateCallback()); in mock()