Home
last modified time | relevance | path

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

/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DDeqpTestRunnerTest.java168 ITestInvocationListener mockListener in testGlesVersion() local
215 mockListener.testRunStarted(ID, 1); in testGlesVersion()
218 mockListener.testStarted(EasyMock.eq(testId)); in testGlesVersion()
221 mockListener.testEnded(EasyMock.eq(testId), EasyMock.<Map<String, String>>notNull()); in testGlesVersion()
224 mockListener.testRunEnded(EasyMock.anyLong(), EasyMock.<Map<String, String>>notNull()); in testGlesVersion()
228 EasyMock.replay(mockListener); in testGlesVersion()
232 deqpTest.run(mockListener); in testGlesVersion()
234 EasyMock.verify(mockListener); in testGlesVersion()
317 ITestInvocationListener mockListener in testResultCode() local
353 mockListener.testRunStarted(ID, 1); in testResultCode()
[all …]
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraManagerTest.java210 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerOpenCamerasSerially() local
211 mCameraListener = new BlockingStateCallback(mockListener); in testCameraManagerOpenCamerasSerially()
222 camera = verifyCameraStateOpened(ids[i], mockListener); in testCameraManagerOpenCamerasSerially()
251 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerOpenAllCameras() local
252 mCameraListener = new BlockingStateCallback(mockListener); in testCameraManagerOpenAllCameras()
311 verify(mockListener) in testCameraManagerOpenAllCameras()
315 verifyNoMoreInteractions(mockListener); in testCameraManagerOpenAllCameras()
324 mockListener); in testCameraManagerOpenAllCameras()
332 listenerList.add(mockListener); in testCameraManagerOpenAllCameras()
521 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerListenerCallbacks() local
[all …]
DSurfaceViewPreviewTest.java467 CaptureCallback mockListener, in verifyCaptureResults() argument
473 verify(mockListener, in verifyCaptureResults()
499 verify(mockListener, in verifyCaptureResults()
507 verify(mockListener, never()) in verifyCaptureResults()
DCameraDeviceTest.java1194 CameraCaptureSession.CaptureCallback mockListener, in verifyCaptureResults() argument
1198 verify(mockListener, in verifyCaptureResults()
1205 verify(mockListener, never()) in verifyCaptureResults()
1211 verify(mockListener, in verifyCaptureResults()
/cts/tests/tests/permission/src/android/permission/cts/
DNoLocationPermissionTest.java139 LocationListener mockListener = new MockLocationListener(); in checkRequestLocationUpdates() local
142 mLocationManager.requestLocationUpdates(provider, 0, 0, mockListener); in checkRequestLocationUpdates()
150 mLocationManager.requestLocationUpdates(provider, 0, 0, mockListener, looper); in checkRequestLocationUpdates()