Searched refs:mockListener (Results 1 – 6 of 6) sorted by relevance
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/ |
D | DeqpTestRunnerTest.java | 165 ITestInvocationListener mockListener in testGlesVersion() local 212 mockListener.testRunStarted(ID, 1); in testGlesVersion() 215 mockListener.testStarted(EasyMock.eq(testId)); in testGlesVersion() 218 mockListener.testEnded(EasyMock.eq(testId), EasyMock.<Map<String, String>>notNull()); in testGlesVersion() 221 mockListener.testRunEnded(EasyMock.anyLong(), EasyMock.<Map<String, String>>notNull()); in testGlesVersion() 225 EasyMock.replay(mockListener); in testGlesVersion() 229 deqpTest.run(mockListener); in testGlesVersion() 231 EasyMock.verify(mockListener); in testGlesVersion() 314 ITestInvocationListener mockListener in testResultCode() local 350 mockListener.testRunStarted(ID, 1); in testResultCode() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraManagerTest.java | 211 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerOpenCamerasSerially() local 212 mCameraListener = new BlockingStateCallback(mockListener); in testCameraManagerOpenCamerasSerially() 223 camera = verifyCameraStateOpened(ids[i], mockListener); in testCameraManagerOpenCamerasSerially() 252 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerOpenAllCameras() local 253 mCameraListener = new BlockingStateCallback(mockListener); in testCameraManagerOpenAllCameras() 312 verify(mockListener) in testCameraManagerOpenAllCameras() 316 verifyNoMoreInteractions(mockListener); in testCameraManagerOpenAllCameras() 325 mockListener); in testCameraManagerOpenAllCameras() 333 listenerList.add(mockListener); in testCameraManagerOpenAllCameras() 522 MockStateCallback mockListener = MockStateCallback.mock(); in testCameraManagerListenerCallbacks() local [all …]
|
D | SurfaceViewPreviewTest.java | 659 CaptureCallback mockListener, in verifyCaptureResults() argument 665 verify(mockListener, in verifyCaptureResults() 691 verify(mockListener, in verifyCaptureResults() 699 verify(mockListener, never()) in verifyCaptureResults()
|
D | CameraDeviceTest.java | 1254 CameraCaptureSession.CaptureCallback mockListener, in verifyCaptureResults() argument 1258 verify(mockListener, in verifyCaptureResults() 1265 verify(mockListener, never()) in verifyCaptureResults() 1271 verify(mockListener, in verifyCaptureResults()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoLocationPermissionTest.java | 139 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()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ToolbarTest.java | 375 View.OnClickListener mockListener = mock(View.OnClickListener.class); in testNavigationOnClickListener() local 376 mMainToolbar.setNavigationOnClickListener(mockListener); in testNavigationOnClickListener() 378 verify(mockListener, never()).onClick(any(View.class)); in testNavigationOnClickListener() 381 verify(mockListener, times(1)).onClick(any(View.class)); in testNavigationOnClickListener() 383 verifyNoMoreInteractions(mockListener); in testNavigationOnClickListener()
|