Searched refs:captor (Results 1 – 4 of 4) sorted by relevance
/cts/tests/app/src/android/app/cts/ |
D | FragmentReceiveResultTest.java | 59 ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in testStartActivityForResultOk() local 61 .onActivityResult(eq(10), eq(Activity.RESULT_OK), captor.capture()); in testStartActivityForResultOk() 62 final String data = captor.getValue() in testStartActivityForResultOk() 71 ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in testStartActivityForResultCanceled() local 73 .onActivityResult(eq(20), eq(Activity.RESULT_CANCELED), captor.capture()); in testStartActivityForResultCanceled() 74 final String data = captor.getValue() in testStartActivityForResultCanceled() 83 ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in testStartIntentSenderForResultOk() local 85 .onActivityResult(eq(30), eq(Activity.RESULT_OK), captor.capture()); in testStartIntentSenderForResultOk() 86 final String data = captor.getValue() in testStartIntentSenderForResultOk() 95 ArgumentCaptor<Intent> captor = ArgumentCaptor.forClass(Intent.class); in testStartIntentSenderForResultCanceled() local [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | IdleUidTest.java | 135 final ArgumentCaptor<CameraDevice> captor = ArgumentCaptor.forClass(CameraDevice.class); in assertCameraAccess() local 140 .times(1)).onOpened(captor.capture()); in assertCameraAccess() 145 .times(1)).onError(captor.capture(), in assertCameraAccess() 150 final CameraDevice cameraDevice = captor.getValue(); in assertCameraAccess() 169 final ArgumentCaptor<CameraDevice> captor = ArgumentCaptor.forClass(CameraDevice.class); in testCameraAccessBecomingInactiveUidByCamera() local 173 .times(1)).onOpened(captor.capture()); in testCameraAccessBecomingInactiveUidByCamera() 184 .times(1)).onError(captor.capture(), in testCameraAccessBecomingInactiveUidByCamera() 191 final CameraDevice cameraDevice = captor.getValue(); in testCameraAccessBecomingInactiveUidByCamera()
|
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsDownloadFlowTest.java | 61 MbmsDownloadReceiverTest.AppIntentCapture captor = in testSingleFileDownloadFlow() local 69 Uri fileUri = checkReceivedDownloadCompleteIntent(captor.getIntent(), request, in testSingleFileDownloadFlow() 77 MbmsDownloadReceiverTest.AppIntentCapture captor = in testFileInSubdirectoryDownloadFlow() local 88 Uri fileUri = checkReceivedDownloadCompleteIntent(captor.getIntent(), request, in testFileInSubdirectoryDownloadFlow() 101 MbmsDownloadReceiverTest.AppIntentCapture captor = in testMultiFileDownloadFlow() local 112 for (Intent i : captor.getIntents(2)) { in testMultiFileDownloadFlow()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 1213 ArgumentCaptor<Transition> captor = ArgumentCaptor.forClass(Transition.class); in verifyTransitionEpicenterChange() local 1218 verify(enterListener, times(1)).onTransitionStart(captor.capture()); in verifyTransitionEpicenterChange() 1219 final Rect oldEpicenterStart = new Rect(captor.getValue().getEpicenter()); in verifyTransitionEpicenterChange() 1224 verify(exitListener, times(1)).onTransitionStart(captor.capture()); in verifyTransitionEpicenterChange() 1225 final Rect oldEpicenterExit = new Rect(captor.getValue().getEpicenter()); in verifyTransitionEpicenterChange() 1231 verify(enterListener, times(2)).onTransitionStart(captor.capture()); in verifyTransitionEpicenterChange() 1232 final Rect newEpicenterStart = new Rect(captor.getValue().getEpicenter()); in verifyTransitionEpicenterChange() 1237 verify(exitListener, times(2)).onTransitionStart(captor.capture()); in verifyTransitionEpicenterChange() 1239 final Rect newEpicenterExit = new Rect(captor.getValue().getEpicenter()); in verifyTransitionEpicenterChange()
|