/packages/apps/Bluetooth/tests/src/com/android/bluetooth/btservice/ |
D | RemoteDevicesTest.java | 71 verify(mAdapterService).sendBroadcast(mIntentArgument.capture(), mStringArgument.capture()); in testUpdateBatteryLevel_normalSequence() 88 .sendBroadcast(mIntentArgument.capture(), mStringArgument.capture()); in testUpdateBatteryLevel_normalSequence() 154 verify(mAdapterService).sendBroadcast(mIntentArgument.capture(), mStringArgument.capture()); in testResetBatteryLevel_testResetAfterUpdate() 168 .sendBroadcast(mIntentArgument.capture(), mStringArgument.capture()); in testResetBatteryLevel_testResetAfterUpdate() 184 .sendBroadcast(mIntentArgument.capture(), mStringArgument.capture()); in testResetBatteryLevel_testResetAfterUpdate() 200 verify(mAdapterService).sendBroadcast(mIntentArgument.capture(), mStringArgument.capture()); in testResetBatteryLevelOnHeadsetStateChange() 216 .sendBroadcast(mIntentArgument.capture(), mStringArgument.capture()); in testResetBatteryLevelOnHeadsetStateChange() 228 .sendBroadcast(mIntentArgument.capture(), mStringArgument.capture()); in testResetBatteryLevelOnHeadsetStateChange() 244 verify(mAdapterService).sendBroadcast(mIntentArgument.capture(), mStringArgument.capture()); in testResetBatteryLevel_testAclStateChangeCallback() 262 .sendBroadcast(mIntentArgument.capture(), mStringArgument.capture()); in testResetBatteryLevel_testAclStateChangeCallback() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardAdapterTest.java | 131 any(Context.class), mActionCategoryCaptor.capture(), in testSuggestionsLogs_NotExpanded() 132 mActionPackageCaptor.capture(), in testSuggestionsLogs_NotExpanded() 133 mTaggedDataCaptor.capture()); in testSuggestionsLogs_NotExpanded() 150 any(Context.class), mActionCategoryCaptor.capture(), in testSuggestionsLogs_NotExpandedAndPaused() 151 mActionPackageCaptor.capture(), in testSuggestionsLogs_NotExpandedAndPaused() 152 mTaggedDataCaptor.capture()); in testSuggestionsLogs_NotExpandedAndPaused() 175 any(Context.class), mActionCategoryCaptor.capture(), in testSuggestionsLogs_Expanded() 176 mActionPackageCaptor.capture(), in testSuggestionsLogs_Expanded() 177 mTaggedDataCaptor.capture()); in testSuggestionsLogs_Expanded() 199 any(Context.class), mActionCategoryCaptor.capture(), in testSuggestionsLogs_ExpandedAndPaused() [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | OneCameraImpl.java | 246 InFlightCapture capture = null; 250 capture = mCaptureQueue.removeFirst(); 253 if (capture != null) { 254 OneCameraImpl.this.onCaptureCompleted(capture); 298 InFlightCapture capture = null; 302 capture = mCaptureQueue.removeFirst(); 305 if (capture != null) { 306 onCaptureCompleted(capture); 415 mCaptureSession.capture(request, mCaptureCallback, mCameraHandler); in takePictureNow() 640 mCaptureSession.capture(builder.build(), mCaptureCallback, mCameraHandler); in sendAutoFocusTriggerCaptureRequest() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallerInfoLookupHelperTest.java | 121 queryListenerCaptor.capture(), logSessionCaptor.capture()); in testSimpleLookup() 132 eq(CONTACTS_PHOTO_URI), imageListenerCaptor.capture(), logSessionCaptor.capture()); in testSimpleLookup() 158 eq(URI1.getSchemeSpecificPart()), queryListenerCaptor.capture(), in testLookupWithTwoListeners() 159 logSessionCaptor.capture()); in testLookupWithTwoListeners() 170 eq(CONTACTS_PHOTO_URI), imageListenerCaptor.capture(), logSessionCaptor.capture()); in testLookupWithTwoListeners() 196 eq(URI1.getSchemeSpecificPart()), queryListenerCaptor.capture(), in testListenerAddedAfterCallerInfoBeforePhoto() 197 logSessionCaptor.capture()); in testListenerAddedAfterCallerInfoBeforePhoto() 207 eq(CONTACTS_PHOTO_URI), imageListenerCaptor.capture(), logSessionCaptor.capture()); in testListenerAddedAfterCallerInfoBeforePhoto()
|
D | CallAudioManagerTest.java | 99 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture()); in testUnmuteOfSecondIncomingCall() 111 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); in testUnmuteOfSecondIncomingCall() 132 .sendMessageWithSessionInfo(muteCaptor.capture()); in testUnmuteOfSecondIncomingCall() 160 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture()); 172 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); 193 eq(CallAudioModeStateMachine.MT_AUDIO_SPEEDUP_FOR_RINGING_CALL), captor.capture()); 227 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); 242 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); 251 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); 274 eq(CallAudioModeStateMachine.NEW_RINGING_CALL), captor.capture()); [all …]
|
D | InCallControllerTests.java | 140 bindIntentCaptor.capture(), in testBindToService_NoServicesFound_IncomingCall() 173 bindIntentCaptor.capture(), in testBindToService_NoServicesFound_OutgoingCall() 211 queryIntentCaptor.capture(), in testBindToService_DefaultDialer_NoEmergency() 223 bindIntentCaptor.capture(), in testBindToService_DefaultDialer_NoEmergency() 267 queryIntentCaptor.capture(), in testBindToService_SystemDialer_Emergency() 279 bindIntentCaptor.capture(), in testBindToService_SystemDialer_Emergency() 333 queryIntentCaptor.capture(), in testBindToService_DefaultDialer_FallBackToSystem() 347 bindIntentCaptor.capture(), in testBindToService_DefaultDialer_FallBackToSystem() 348 serviceConnectionCaptor.capture(), in testBindToService_DefaultDialer_FallBackToSystem() 379 bindIntentCaptor2.capture(), in testBindToService_DefaultDialer_FallBackToSystem() [all …]
|
D | VideoProviderTest.java | 151 .onCameraCapabilitiesChanged(cameraCapabilitiesCaptor.capture()); in testCameraChange() 185 sessionEventCaptor.capture()); in testCameraChangePermissionFail() 213 sessionEventCaptor.capture()); in testCameraChangeAppOpsFail() 243 sessionEventCaptor.capture()); in testCameraChangeAppOpsBelowNMR1Fail() 270 sessionEventCaptor.capture()); in testCameraChangeUserFail() 296 sessionEventCaptor.capture()); in testCameraChangeNullNoPermission() 432 fromVideoProfileCaptor.capture(), toVideoProfileCaptor.capture()); in testSessionModifyRequest() 533 .onSessionModifyRequestReceived(requestProfileCaptor.capture()); in testReceiveSessionModifyRequest()
|
D | ContactsAsyncHelperTest.java | 121 photoCaptor.capture(), iconCaptor.capture(), eq(COOKIE)); in testImageScaling() 141 photoCaptor.capture(), iconCaptor.capture(), eq(COOKIE)); in testNoScaling()
|
D | MissedCallNotifierImplTest.java | 211 requestIdCaptor.capture(), nullable(Notification.class), eq(userHandle)); in cancelNotificationTestInternal() 249 notificationArgumentCaptor.capture(), eq(PRIMARY_USER)); in testNotifyMultipleMissedCalls() 336 notificationArgumentCaptor.capture(), eq((expectedUserHandle))); in notifySingleCallTestInternal() 468 listenerCaptor.capture()); in testLoadOneCallFromDb() 528 listenerCaptor.capture()); in testLoadTwoCallsFromDb() 530 listenerCaptor.capture()); in testLoadTwoCallsFromDb()
|
D | NewOutgoingCallIntentBroadcasterTest.java | 178 verify(mContext).startActivityAsUser(dialerIntentCaptor.capture(), any(UserHandle.class)); in testEmergencyCallWithNonDefaultDialer() 318 verify(mCall).disconnect(timeoutCaptor.capture()); in testCallNumberModifiedToNull() 337 verify(mCall).disconnect(timeoutCaptor.capture()); in testCallNumberModifiedToNullWithLongCustomTimeout() 396 intentCaptor.capture(), 400 receiverCaptor.capture(),
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | SetNewPasswordControllerTest.java | 97 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithFingerprint() 112 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFingerprint_noFingerprintFeature() 131 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFingerprint_noFingerprintSensor() 150 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFingerprint_hasFingerprintEnrolled() 169 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFingerprint_deviceAdminDisallowFingerprintForKeyguard()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | UserProfileControllerTest.java | 84 verify(mScreen).addPreference(argumentCaptor.capture()); in controllerAddsPrimaryProfilePreference() 95 verify(mScreen).addPreference(argumentCaptor.capture()); in tappingProfilePreferenceSendsToStorageProfileFragment() 99 verify(mContext).startActivity(intentCaptor.capture()); in tappingProfilePreferenceSendsToStorageProfileFragment() 122 verify(mScreen).addPreference(argumentCaptor.capture()); in acceptingResultUpdatesPreferenceSize() 140 verify(mScreen).addPreference(argumentCaptor.capture()); in iconCallbackChangesPreferenceIcon()
|
D | StorageItemPreferenceControllerTest.java | 121 verify(mFragment.getActivity()).startActivityAsUser(argumentCaptor.capture(), in testClickPhotos() 139 verify(mFragment.getActivity()).startActivityAsUser(argumentCaptor.capture(), in testClickAudio() 166 verify(mFragment.getActivity()).startActivityAsUser(argumentCaptor.capture(), in testClickApps() 186 .startActivityAsUser(argumentCaptor.capture(), nullable(UserHandle.class)); in testClickAppsForWork() 220 verify(mFragment.getActivity()).startActivityAsUser(argumentCaptor.capture(), in testClickFiles() 237 verify(mFragment.getActivity()).startActivityAsUser(argumentCaptor.capture(), in testClickGames() 255 verify(mFragment.getActivity()).startActivityAsUser(argumentCaptor.capture(), in testClickMovies()
|
D | SecondaryUserControllerTest.java | 92 verify(mGroup).addPreference(argumentCaptor.capture()); in controllerAddsSecondaryUser() 104 verify(mGroup).addPreference(argumentCaptor.capture()); in controllerUpdatesSummaryOfNewPreference() 177 verify(mGroup).addPreference(argumentCaptor.capture()); in controllerUpdatesPreferenceOnAcceptingResult() 217 verify(mGroup).addPreference(argumentCaptor.capture()); in iconCallbackChangesPreferenceIcon()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | FocusOverlayManager.java | 98 public boolean capture(); in capture() method 235 capture(); in doSnap() 246 capture(); in doSnap() 261 capture(); in onAutoFocus() 409 private void capture() { in capture() method in FocusOverlayManager 410 if (mListener.capture()) { in capture()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | FocusManager.java | 80 public boolean capture(); in capture() method 184 capture(); in doSnap() 195 capture(); in doSnap() 215 capture(); in onAutoFocus() 343 private void capture() { in capture() method in FocusManager 344 if (mListener.capture()) { in capture()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | FocusOverlayManager.java | 117 public boolean capture(); in capture() method 260 capture(); in focusAndCapture() 263 capture(); in focusAndCapture() 282 capture(); in onAutoFocus() 468 private void capture() { in capture() method in FocusOverlayManager 469 if (mListener.capture()) { in capture()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | SearchResultsAdapterTest.java | 141 verify(mFragment).onSearchResultsDisplayed(mSearchResultsCountCaptor.capture()); in testEndToEndSearch_properResultsMerged_correctOrder() 171 verify(mFragment, times(2)).onSearchResultsDisplayed(mSearchResultsCountCaptor.capture()); in testEndToEndSearch_addResults_resultsAddedInOrder() 198 verify(mFragment, times(2)).onSearchResultsDisplayed(mSearchResultsCountCaptor.capture()); in testEndToEndSearch_removeResults_resultsAdded() 223 verify(mFragment).onSearchResultsDisplayed(mSearchResultsCountCaptor.capture()); in testEndToEndSearch_smartSearchRankingEnabledAndSucceededAfterResultsLoaded() 249 verify(mFragment).onSearchResultsDisplayed(mSearchResultsCountCaptor.capture()); in testEndToEndSearch_smartSearchRankingEnabledAndSucceededBeforeResultsLoaded() 275 verify(mFragment).onSearchResultsDisplayed(mSearchResultsCountCaptor.capture()); in testEndToEndSearch_smartSearchRankingEnabledAndFailedAfterResultsLoaded() 301 verify(mFragment).onSearchResultsDisplayed(mSearchResultsCountCaptor.capture()); in testEndToEndSearch_smartSearchRankingEnabledAndFailedBeforeResultsLoaded() 328 verify(mFragment).onSearchResultsDisplayed(mSearchResultsCountCaptor.capture()); in testEndToEndSearch_smartSearchRankingEnabledAndTimedoutAfterResultsLoaded() 356 verify(mFragment).onSearchResultsDisplayed(mSearchResultsCountCaptor.capture()); in testEndToEndSearch_smartSearchRankingEnabledAndTimedoutBeforeResultsLoaded()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | CameraComposerFragment.java | 65 private ImageButton capture; field in CameraComposerFragment 97 capture = cameraView.findViewById(R.id.camera_capture_button); in onCreateView() 106 capture.setOnClickListener(this); in onCreateView() 167 if (view == capture) { in onClick() 359 capture.setVisibility(uriReadyOrProcessing ? View.GONE : View.VISIBLE); in updateViewState() 374 capture.setEnabled(isCameraAvailable); in updateViewState()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/display/ |
D | ThemePreferenceControllerTest.java | 92 verify(pref).setEntries(arg.capture()); in testUpdateState() 98 verify(pref).setEntryValues(arg.capture()); in testUpdateState() 131 verify(pref).setEntries(arg.capture()); in testUpdateState_withStaticOverlay() 137 verify(pref).setEntryValues(arg.capture()); in testUpdateState_withStaticOverlay()
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 111 timeout(1000)).sendBroadcast(intentArgument1.capture(), anyString()); in testIncomingPriorityAccept() 130 timeout(1000).times(2)).sendBroadcast(intentArgument2.capture(), anyString()); in testIncomingPriorityAccept() 169 verify(mockService, timeout(1000)).sendBroadcast(intentArgument1.capture(), anyString()); in testIncomingTimeout() 180 intentArgument2.capture(), anyString()); in testIncomingTimeout()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastConfigServiceTest.java | 112 captorStart.capture(), captorEnd.capture(), captorType.capture()); in testEnableCellBroadcastRange() 131 captorStart.capture(), captorEnd.capture(), captorType.capture()); in testDisableCellBroadcastRange()
|
D | CellBroadcastBootupConfigTest.java | 158 mStartIds.capture(), mEndIds.capture(), mTypes.capture()); in testConfiguration()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
D | FocusOverlayManager.java | 90 boolean capture(); in capture() method 181 capture(); in onAutoFocus() 336 private void capture() { in capture() method in FocusOverlayManager 337 if (mListener.capture()) { in capture()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | StartManagedProfileTaskTest.java | 109 mReceiverCaptor.capture(), in testSuccess() 138 mReceiverCaptor.capture(), in testError() 161 mReceiverCaptor.capture(), in testRemoteException()
|