/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | RemoteDevicesTest.java | 86 verify(mAdapterService).sendBroadcast(mIntentArgument.capture(), mStringArgument.capture()); in testUpdateBatteryLevel_normalSequence() 102 verify(mAdapterService, times(2)).sendBroadcast(mIntentArgument.capture(), in testUpdateBatteryLevel_normalSequence() 103 mStringArgument.capture()); in testUpdateBatteryLevel_normalSequence() 169 verify(mAdapterService).sendBroadcast(mIntentArgument.capture(), mStringArgument.capture()); in testResetBatteryLevel_testResetAfterUpdate() 182 verify(mAdapterService, times(2)).sendBroadcast(mIntentArgument.capture(), in testResetBatteryLevel_testResetAfterUpdate() 183 mStringArgument.capture()); in testResetBatteryLevel_testResetAfterUpdate() 198 verify(mAdapterService, times(3)).sendBroadcast(mIntentArgument.capture(), in testResetBatteryLevel_testResetAfterUpdate() 199 mStringArgument.capture()); in testResetBatteryLevel_testResetAfterUpdate() 215 verify(mAdapterService).sendBroadcast(mIntentArgument.capture(), mStringArgument.capture()); in testResetBatteryLevelOnHeadsetStateChange() 230 verify(mAdapterService, times(2)).sendBroadcast(mIntentArgument.capture(), in testResetBatteryLevelOnHeadsetStateChange() [all …]
|
D | ProfileServiceTest.java | 70 argument.capture(), eq(state)); in setAllProfilesState() 153 starts.capture(), eq(BluetoothAdapter.STATE_ON)); in testEnableDisableInterleaved() 156 stops.capture(), eq(BluetoothAdapter.STATE_OFF)); in testEnableDisableInterleaved() 182 start.capture(), eq(BluetoothAdapter.STATE_ON)); in testRepeatedEnableDisableSingly() 187 stop.capture(), eq(BluetoothAdapter.STATE_OFF)); in testRepeatedEnableDisableSingly() 208 start.capture()); in testProfileServiceRegisterUnregister() 213 stop.capture()); in testProfileServiceRegisterUnregister()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioManagerTest.java | 126 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture()); in testUnmuteOfSecondIncomingCall() 139 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); in testUnmuteOfSecondIncomingCall() 160 .sendMessageWithSessionInfo(muteCaptor.capture()); in testUnmuteOfSecondIncomingCall() 188 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture()); 201 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); 223 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); 225 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture()); 260 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); 276 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); 285 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); [all …]
|
D | CallerInfoLookupHelperTest.java | 138 queryListenerCaptor.capture(), logSessionCaptor.capture()); in testSimpleLookup() 149 eq(CONTACTS_PHOTO_URI), imageListenerCaptor.capture(), logSessionCaptor.capture()); in testSimpleLookup() 177 eq(URI1.getSchemeSpecificPart()), queryListenerCaptor.capture(), in testLookupWithTwoListeners() 178 logSessionCaptor.capture()); in testLookupWithTwoListeners() 189 eq(CONTACTS_PHOTO_URI), imageListenerCaptor.capture(), logSessionCaptor.capture()); in testLookupWithTwoListeners() 217 eq(URI1.getSchemeSpecificPart()), queryListenerCaptor.capture(), in testListenerAddedAfterCallerInfoBeforePhoto() 218 logSessionCaptor.capture()); in testListenerAddedAfterCallerInfoBeforePhoto() 228 eq(CONTACTS_PHOTO_URI), imageListenerCaptor.capture(), logSessionCaptor.capture()); in testListenerAddedAfterCallerInfoBeforePhoto()
|
D | InCallControllerTests.java | 218 bindIntentCaptor.capture(), in testBindToService_NoServicesFound_IncomingCall() 253 bindIntentCaptor.capture(), in testBindToService_NoServicesFound_OutgoingCall() 293 queryIntentCaptor.capture(), in testBindToService_DefaultDialer_NoEmergency() 305 bindIntentCaptor.capture(), in testBindToService_DefaultDialer_NoEmergency() 352 queryIntentCaptor.capture(), in testBindToService_SystemDialer_Emergency() 364 bindIntentCaptor.capture(), in testBindToService_SystemDialer_Emergency() 415 when(mMockContext.bindServiceAsUser(any(Intent.class), serviceConnectionCaptor.capture(), in testBindToService_SystemDialer_Crash() 430 queryIntentCaptor.capture(), in testBindToService_SystemDialer_Crash() 442 bindIntentCaptor.capture(), in testBindToService_SystemDialer_Crash() 472 bindIntentCaptor.capture(), in testBindToService_SystemDialer_Crash() [all …]
|
D | VideoProviderTest.java | 167 .onCameraCapabilitiesChanged(cameraCapabilitiesCaptor.capture()); in testCameraChange() 202 sessionEventCaptor.capture()); in testCameraChangePermissionFail() 231 sessionEventCaptor.capture()); in testCameraChangeAppOpsFail() 262 sessionEventCaptor.capture()); in testCameraChangeAppOpsBelowNMR1Fail() 290 sessionEventCaptor.capture()); in testCameraChangeUserFail() 317 sessionEventCaptor.capture()); in testCameraChangeNullNoPermission() 458 fromVideoProfileCaptor.capture(), toVideoProfileCaptor.capture()); in testSessionModifyRequest() 564 .onSessionModifyRequestReceived(requestProfileCaptor.capture()); in testReceiveSessionModifyRequest()
|
/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/ |
D | WalletPanelViewControllerTest.java | 176 verify(mWalletClient).addWalletServiceEventListener(mListenerCaptor.capture()); in onDismissed_notifiesClientAndRemotesListener() 259 any(), mRequestCaptor.capture(), mCallbackCaptor.capture()); in queryWalletCards_registersListenerAndRequestsWalletCards() 302 verify(mWalletClient).getWalletCards(any(), mRequestCaptor.capture(), in onWalletCardsRetrieved_showsCards() 303 mCallbackCaptor.capture()); in onWalletCardsRetrieved_showsCards() 321 verify(mWalletClient).getWalletCards(any(), mRequestCaptor.capture(), in onWalletCardsRetrieved_showsOverflowButton_startWalletActivity() 322 mCallbackCaptor.capture()); in onWalletCardsRetrieved_showsOverflowButton_startWalletActivity() 354 verify(mWalletClient).getWalletCards(any(), mRequestCaptor.capture(), in onWalletCardsRetrieved_noShortLabel_showsOnlySettingsInOverflowMenu() 355 mCallbackCaptor.capture()); in onWalletCardsRetrieved_noShortLabel_showsOnlySettingsInOverflowMenu() 383 verify(mWalletClient).getWalletCards(any(), mRequestCaptor.capture(), in onWalletCardsRetrieved_noWalletIntent_showsOnlySettingsInOverflowMenu() 384 mCallbackCaptor.capture()); in onWalletCardsRetrieved_noWalletIntent_showsOnlySettingsInOverflowMenu() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachineTest.java | 174 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_DisconnectedToConnecting_Connect() 191 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_DisconnectedToConnecting_StackConnected() 208 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_DisconnectedToConnecting_StackConnecting() 242 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_ConnectingToDisconnected_StackDisconnected() 259 numBroadcastsSent)).sendBroadcastAsUser(mIntentArgument.capture(), in testStateTransition_ConnectingToDisconnected_Timeout() 303 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_ConnectingToConnected_StackSlcConnected() 325 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_DisconnectingToDisconnected_StackDisconnected() 343 numBroadcastsSent)).sendBroadcastAsUser(mIntentArgument.capture(), in testStateTransition_DisconnectingToDisconnected_Timeout() 366 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_DisconnectingToConnected_StackSlcCconnected() 385 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_ConnectedToDisconnecting_Disconnect() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | SignalStrengthListenerTest.java | 95 verify(mManager1).listen(captor1.capture(), eq(LISTEN_SIGNAL_STRENGTHS)); in updateSubscriptionIds_beforeResume_startedListening() 96 verify(mManager2).listen(captor2.capture(), eq(LISTEN_SIGNAL_STRENGTHS)); in updateSubscriptionIds_beforeResume_startedListening() 123 verify(mManager1).listen(captor1.capture(), eq(LISTEN_SIGNAL_STRENGTHS)); in updateSubscriptionIds_twoCalls_oneIdRemoved() 127 verify(mManager1).listen(captor1.capture(), eq(LISTEN_NONE)); in updateSubscriptionIds_twoCalls_oneIdRemoved() 141 verify(mManager1).listen(captor1.capture(), eq(LISTEN_SIGNAL_STRENGTHS)); in updateSubscriptionIds_twoCalls_twoIdsRemovedOneAdded() 142 verify(mManager2).listen(captor2.capture(), eq(LISTEN_SIGNAL_STRENGTHS)); in updateSubscriptionIds_twoCalls_twoIdsRemovedOneAdded() 145 verify(mManager1).listen(captor1.capture(), eq(LISTEN_NONE)); in updateSubscriptionIds_twoCalls_twoIdsRemovedOneAdded() 146 verify(mManager2).listen(captor2.capture(), eq(LISTEN_NONE)); in updateSubscriptionIds_twoCalls_twoIdsRemovedOneAdded() 164 verify(mManager1, times(2)).listen(captor1.capture(), eq(LISTEN_SIGNAL_STRENGTHS)); in updateSubscriptionIds_thenPauseResume_correctlyStartsAndStops() 165 verify(mManager1).listen(captor1.capture(), eq(LISTEN_NONE)); in updateSubscriptionIds_thenPauseResume_correctlyStartsAndStops() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/ |
D | BrowserPlayerWrapperTest.java | 74 verify(mMockBrowser).testInit(any(), any(), mBrowserConnCb.capture(), any()); in testWrap() 89 verify(mMockBrowser).testInit(any(), any(), mBrowserConnCb.capture(), any()); in testConnect_Successful() 103 verify(mMockBrowser).testInit(any(), any(), mBrowserConnCb.capture(), any()); in testConnect_Suspended() 120 verify(mMockBrowser).testInit(any(), any(), mBrowserConnCb.capture(), any()); in testConnect_Failed() 137 verify(mMockBrowser).testInit(any(), any(), mBrowserConnCb.capture(), any()); in testEmptyRoot() 152 verify(mMockBrowser).testInit(any(), any(), mBrowserConnCb.capture(), any()); in testDisconnect() 163 verify(mMockBrowser).testInit(any(), any(), mBrowserConnCb.capture(), any()); in testGetRootId() 175 verify(mMockBrowser).testInit(any(), any(), mBrowserConnCb.capture(), any()); in testPlayItem() 193 verify(mockController).registerCallback(mControllerCb.capture(), any()); in testPlayItem() 212 verify(mMockBrowser).testInit(any(), any(), mBrowserConnCb.capture(), any()); in testPlayItem_Timeout() [all …]
|
D | MediaPlayerWrapperTest.java | 200 verify(mUpdatedController).registerCallback(mControllerCbs.capture(), any()); in testControllerUpdate() 225 verify(mMockController).registerCallback(mControllerCbs.capture(), any()); in testNoQueueMediaUpdates() 234 verify(mTestCbs, times(1)).mediaUpdatedCallback(mMediaUpdateData.capture()); in testNoQueueMediaUpdates() 252 verify(mTestCbs, times(2)).mediaUpdatedCallback(mMediaUpdateData.capture()); in testNoQueueMediaUpdates() 287 verify(mMockController).registerCallback(mControllerCbs.capture(), any()); in testDataOnUpdateNoQueue() 302 verify(mTestCbs, times(1)).mediaUpdatedCallback(mMediaUpdateData.capture()); in testDataOnUpdateNoQueue() 331 verify(mMockController).registerCallback(mControllerCbs.capture(), any()); in testNullMetadata() 342 verify(mTestCbs, times(1)).mediaUpdatedCallback(mMediaUpdateData.capture()); in testNullMetadata() 360 verify(mMockController).registerCallback(mControllerCbs.capture(), any()); in testNullQueue() 367 verify(mTestCbs, times(1)).mediaUpdatedCallback(mMediaUpdateData.capture()); in testNullQueue() [all …]
|
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/notificationmsg/ |
D | NotificationMsgDelegateTest.java | 186 verify(mMockNotificationManager).notify(anyInt(), mNotificationCaptor.capture()); in newConversationShouldPostNewNotification() 196 verify(mMockNotificationManager).notify(mNotificationIdCaptor.capture(), in multipleNewConversationShouldPostMultipleNewNotifications() 202 verify(mMockNotificationManager, times(2)).notify(mNotificationIdCaptor.capture(), in multipleNewConversationShouldPostMultipleNewNotifications() 225 verify(mMockNotificationManager).notify(mNotificationIdCaptor.capture(), in newMessageShouldUpdateConversationNotification() 236 mNotificationCaptor.capture()); in newMessageShouldUpdateConversationNotification() 252 verify(mMockNotificationManager).notify(mNotificationIdCaptor.capture(), in existingConversationShouldUpdateNotification() 265 mNotificationCaptor.capture()); in existingConversationShouldUpdateNotification() 342 verify(mMockNotificationManager).notify(anyInt(), mNotificationCaptor.capture()); in avatarIconSyncSetsAvatarInNotification() 350 verify(mMockNotificationManager, times(2)).notify(anyInt(), mNotificationCaptor.capture()); in avatarIconSyncSetsAvatarInNotification() 386 verify(mMockNotificationManager).notify(anyInt(), mNotificationCaptor.capture()); in phoneMetadataUsedToCheckProjectionStatus_projectionActive() [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | OneCameraImpl.java | 247 InFlightCapture capture = null; 251 capture = mCaptureQueue.removeFirst(); 254 if (capture != null) { 255 OneCameraImpl.this.onCaptureCompleted(capture); 299 InFlightCapture capture = null; 303 capture = mCaptureQueue.removeFirst(); 306 if (capture != null) { 307 onCaptureCompleted(capture); 416 mCaptureSession.capture(request, mCaptureCallback, mCameraHandler); in takePictureNow() 641 mCaptureSession.capture(builder.build(), mCaptureCallback, mCameraHandler); in sendAutoFocusTriggerCaptureRequest() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/ |
D | KeyboardManagementPreferenceControllerTest.java | 329 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_noOtherPreferenceAdded() 353 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_preferenceChecked() 376 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_preferenceEnabled() 398 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled() 421 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_negative_noOtherPreferenceAdded() 445 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_negative_preferenceEnabled() 467 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_negative_inputMethodDisabled() 491 securityDialogCaptor.capture(), in performClick_toggleTrue_directBootWarningShown() 517 securityDialogCaptor.capture(), in performClick_toggleTrue_showDirectBootDialog_positive_noOtherPreferenceAdded() 525 verify(mControllerHelper.getMockFragmentController()).showDialog(bootDialogCaptor.capture(), in performClick_toggleTrue_showDirectBootDialog_positive_noOtherPreferenceAdded() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | SetNewPasswordControllerTest.java | 105 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithFingerprint() 125 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithFace() 140 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFingerprint_noFingerprintFeature() 154 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFace_no_FaceFeature() 173 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFingerprint_noFingerprintSensor() 192 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFace_noFaceSensor() 211 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFingerprint_hasFingerprintEnrolled() 230 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFace_hasFaceEnrolled() 249 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFingerprint_deviceAdminDisallowFingerprintForKeyguard() 268 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFace_deviceAdminDisallowFaceForKeyguard()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 172 .capture(), in testIncomingPriorityAccept() 191 intentArgument2.capture(), anyString()); in testIncomingPriorityAccept() 218 .capture(), in testIncomingTimeout() 231 2)).sendBroadcast(intentArgument2.capture(), anyString()); in testIncomingTimeout() 262 .capture(), in testInBandRingtone() 275 intentArgument.capture(), in testInBandRingtone() 291 intentArgument.capture(), in testInBandRingtone() 304 intentArgument.capture(), in testInBandRingtone() 318 intentArgument.capture(), in testInBandRingtone() 329 intentArgument.capture(), in testInBandRingtone() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/ |
D | MapClientStateMachineTest.java | 129 mIntentArgument.capture(), eq(ProfileService.BLUETOOTH_PERM)); in testStateTransitionFromConnectingToDisconnected() 149 mIntentArgument.capture(), eq(ProfileService.BLUETOOTH_PERM)); in testStateTransitionFromConnectingToConnected() 170 mIntentArgument.capture(), eq(ProfileService.BLUETOOTH_PERM)); in testStateTransitionFromConnectedWithMasDisconnected() 177 mIntentArgument.capture(), eq(ProfileService.BLUETOOTH_PERM)); in testStateTransitionFromConnectedWithMasDisconnected() 197 mIntentArgument.capture(), eq(ProfileService.BLUETOOTH_PERM)); in testReceiveEmptyEvent() 210 mIntentArgument.capture(), eq(ProfileService.BLUETOOTH_PERM)); in setupSdpRecordReceipt()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceTest.java | 152 eq(mWatchdogServiceClientImpl), notRespondingClients.capture(), eq(123456)); in testClientUnderStoppedUser() 156 eq(mWatchdogServiceClientImpl), notRespondingClients.capture(), eq(987654)); in testClientUnderStoppedUser() 179 eq(mWatchdogServiceClientImpl), pidsCaptor.capture(), eq(123456)); in testMultipleClients() 184 eq(mWatchdogServiceClientImpl), pidsCaptor.capture(), eq(987654)); in testMultipleClients() 191 verify(mCarWatchdogDaemon).registerMediator(clientImplCaptor.capture()); in registerMediator() 203 eq(mWatchdogServiceClientImpl), notRespondingClients.capture(), eq(123456)); in testClientResponse() 219 eq(mWatchdogServiceClientImpl), notRespondingClients.capture(), eq(987654)); in testClientResponse()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/ |
D | NetworkStackNotifierTest.kt | 161 verify(mCm).registerNetworkCallback(any() /* request */, allNetworksCbCaptor.capture(), in setUp() 166 verify(mCm).registerDefaultNetworkCallback(defaultNetworkCbCaptor.capture(), eq(mHandler)) in setUp() 186 verify(mNm).notify(eq(TEST_NETWORK_TAG), mNoteIdCaptor.capture(), mNoteCaptor.capture()) in verifyConnectedNotification() 192 eq(mCurrentUserContext), mIntentCaptor.capture(), in verifyConnectedNotification() 282 verify(mNm).notify(eq(TEST_NETWORK_TAG), mNoteIdCaptor.capture(), mNoteCaptor.capture()) in testVenueInfoNotification() 284 eq(mCurrentUserContext), mIntentCaptor.capture(), in testVenueInfoNotification()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpStateMachineTest.java | 174 verify(mA2dpService, timeout(TIMEOUT_MS).times(1)).sendBroadcast(intentArgument1.capture(), in testIncomingPriorityAccept() 194 verify(mA2dpService, timeout(TIMEOUT_MS).times(3)).sendBroadcast(intentArgument2.capture(), in testIncomingPriorityAccept() 221 verify(mA2dpService, timeout(TIMEOUT_MS).times(1)).sendBroadcast(intentArgument1.capture(), in testOutgoingTimeout() 233 2)).sendBroadcast(intentArgument2.capture(), anyString()); in testOutgoingTimeout() 260 verify(mA2dpService, timeout(TIMEOUT_MS).times(1)).sendBroadcast(intentArgument1.capture(), in testIncomingTimeout() 272 2)).sendBroadcast(intentArgument2.capture(), anyString()); in testIncomingTimeout() 343 verify(mA2dpService, timeout(TIMEOUT_MS).times(2)).sendBroadcast(intentArgument2.capture(), in testProcessCodecConfigEventCase()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | UserProfileControllerTest.java | 80 verify(mScreen).addPreference(argumentCaptor.capture()); in controllerAddsPrimaryProfilePreference() 91 verify(mScreen).addPreference(argumentCaptor.capture()); in tappingProfilePreferenceSendsToStorageProfileFragment() 95 verify(mContext).startActivity(intentCaptor.capture()); in tappingProfilePreferenceSendsToStorageProfileFragment() 118 verify(mScreen).addPreference(argumentCaptor.capture()); in acceptingResultUpdatesPreferenceSize() 134 verify(mScreen).addPreference(argumentCaptor.capture()); in iconCallbackChangesPreferenceIcon()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidStateMachineTest.java | 154 intentArgument1.capture(), anyString()); in testIncomingPriorityAccept() 173 intentArgument2.capture(), anyString()); in testIncomingPriorityAccept() 197 intentArgument1.capture(), in testOutgoingTimeout() 209 2)).sendBroadcast(intentArgument2.capture(), anyString()); in testOutgoingTimeout() 241 intentArgument1.capture(), in testIncomingTimeout() 253 2)).sendBroadcast(intentArgument2.capture(), anyString()); in testIncomingTimeout()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkListControllerTest.java | 138 verify(mPreferenceScreen, times(2)).addPreference(preferenceCaptor.capture()); in displayPreference_twoSubscriptions_correctlySetup() 146 doNothing().when(mContext).startActivity(intentCaptor.capture()); in displayPreference_twoSubscriptions_correctlySetup() 174 verify(mPreferenceScreen, times(2)).addPreference(preferenceCaptor.capture()); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup() 202 verify(mPreferenceScreen, times(2)).addPreference(preferenceCaptor.capture()); in onSubscriptionsChanged_twoSubscriptionsOneChangesName_preferenceUpdated() 220 verify(mPreferenceScreen, times(3)).addPreference(preferenceCaptor.capture()); in onSubscriptionsChanged_startWithThreeSubsAndRemoveOne_correctPreferenceRemoved() 227 verify(mPreferenceScreen).removePreference(removedPrefCaptor.capture()); in onSubscriptionsChanged_startWithThreeSubsAndRemoveOne_correctPreferenceRemoved()
|
D | MobileNetworkSummaryControllerTest.java | 136 doNothing().when(mContext).startActivity(intentCaptor.capture()); in getSummary_noSubscriptions_correctSummaryAndClickHandler() 161 doNothing().when(mContext).startActivity(intentCaptor.capture()); in getSummary_oneSubscription_correctSummaryAndClickHandler() 203 doNothing().when(mContext).startActivity(intentCaptor.capture()); in getSummary_oneInactivePSim_canDisablePsim_correctSummaryAndClickHandler() 248 doNothing().when(mContext).startActivity(intentCaptor.capture()); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment() 269 doNothing().when(mContext).startActivity(intentCaptor.capture()); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment() 337 verify(mPreference, atLeastOnce()).setAddWidgetEnabled(captor.capture()); in addButton_oneSubscriptionAirplaneModeTurnedOn_addButtonGetsDisabled() 352 verify(mPreference, atLeastOnce()).setAddWidgetEnabled(captor.capture()); in onResume_oneSubscriptionAirplaneMode_isDisabled() 400 verify(mPreference, atLeastOnce()).setAddWidgetEnabled(captor.capture()); in onAirplaneModeChanged_oneSubscriptionAirplaneModeGetsTurnedOff_isEnabled()
|
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ble/ |
D | CarBlePeripheralManagerTest.java | 127 dataCaptor.capture(), any()); in testStartAssociationAdvertisingSuccess() 143 .startAdvertising(any(), any(), callbackCaptor.capture()); in testStartAssociationAdvertisingFailure() 160 .startAdvertising(any(), any(), callbackCaptor.capture()); in testNotifyAssociationSuccess() 190 verify(mMockStorage).addAssociatedDeviceForActiveUser(deviceCaptor.capture()); in testAssociationSuccess() 218 verify(mMockPeripheralManager).startAdvertising(any(), any(), callbackCaptor.capture()); in connectToDevice_stopsAdvertisingAfterTimeout() 230 verify(mMockPeripheralManager, timeout(3000)).registerCallback(callbackCaptor.capture()); in startAssociation()
|