Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java212 final CameraDevice.StateCallback spyStateCb = spy(new StateCallbackImpl()); in testBasicCamera2ActivityEvictionInternal() local
213 manager.openCamera(chosenCamera, spyStateCb, cameraHandler); in testBasicCamera2ActivityEvictionInternal()
215 verify(spyStateCb, timeout(OPEN_TIMEOUT).times(1)).onOpened(any(CameraDevice.class)); in testBasicCamera2ActivityEvictionInternal()
216 verify(spyStateCb, never()).onClosed(any(CameraDevice.class)); in testBasicCamera2ActivityEvictionInternal()
217 verify(spyStateCb, never()).onDisconnected(any(CameraDevice.class)); in testBasicCamera2ActivityEvictionInternal()
218 verify(spyStateCb, never()).onError(any(CameraDevice.class), anyInt()); in testBasicCamera2ActivityEvictionInternal()
254 verify(spyStateCb, times(1)).onDisconnected(any(CameraDevice.class)); in testBasicCamera2ActivityEvictionInternal()
255 verify(spyStateCb, never()).onClosed(any(CameraDevice.class)); in testBasicCamera2ActivityEvictionInternal()
256 verify(spyStateCb, never()).onError(any(CameraDevice.class), anyInt()); in testBasicCamera2ActivityEvictionInternal()
257 verify(spyStateCb, times(1)).onOpened(any(CameraDevice.class)); in testBasicCamera2ActivityEvictionInternal()
[all …]