/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 | 71 argument.capture(), eq(state)); in setAllProfilesState() 156 starts.capture(), eq(BluetoothAdapter.STATE_ON)); in testEnableDisableInterleaved() 159 stops.capture(), eq(BluetoothAdapter.STATE_OFF)); in testEnableDisableInterleaved() 185 start.capture(), eq(BluetoothAdapter.STATE_ON)); in testRepeatedEnableDisableSingly() 190 stop.capture(), eq(BluetoothAdapter.STATE_OFF)); in testRepeatedEnableDisableSingly() 211 start.capture()); in testProfileServiceRegisterUnregister() 216 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 | 229 bindIntentCaptor.capture(), in testBindToService_NoServicesFound_IncomingCall() 264 bindIntentCaptor.capture(), in testBindToService_NoServicesFound_OutgoingCall() 304 queryIntentCaptor.capture(), in testBindToService_DefaultDialer_NoEmergency() 317 bindIntentCaptor.capture(), in testBindToService_DefaultDialer_NoEmergency() 364 queryIntentCaptor.capture(), in testBindToService_SystemDialer_Emergency() 377 bindIntentCaptor.capture(), in testBindToService_SystemDialer_Emergency() 428 when(mMockContext.bindServiceAsUser(any(Intent.class), serviceConnectionCaptor.capture(), in testBindToService_SystemDialer_Crash() 443 queryIntentCaptor.capture(), in testBindToService_SystemDialer_Crash() 456 bindIntentCaptor.capture(), in testBindToService_SystemDialer_Crash() 486 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/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/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); 417 mCaptureSession.capture(request, mCaptureCallback, mCameraHandler); in takePictureNow() 642 mCaptureSession.capture(builder.build(), mCaptureCallback, mCameraHandler); in sendAutoFocusTriggerCaptureRequest() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/ |
D | KeyboardManagementPreferenceControllerTest.java | 317 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_noOtherPreferenceAdded() 341 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_preferenceChecked() 364 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_preferenceEnabled() 386 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled() 409 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_negative_noOtherPreferenceAdded() 433 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_negative_preferenceEnabled() 455 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_negative_inputMethodDisabled() 479 securityDialogCaptor.capture(), in performClick_toggleTrue_directBootWarningShown() 505 securityDialogCaptor.capture(), in performClick_toggleTrue_showDirectBootDialog_positive_noOtherPreferenceAdded() 513 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 | 130 mIntentArgument.capture(), eq(ProfileService.BLUETOOTH_PERM)); in testStateTransitionFromConnectingToDisconnected() 150 mIntentArgument.capture(), eq(ProfileService.BLUETOOTH_PERM)); in testStateTransitionFromConnectingToConnected() 171 mIntentArgument.capture(), eq(ProfileService.BLUETOOTH_PERM)); in testStateTransitionFromConnectedWithMasDisconnected() 178 mIntentArgument.capture(), eq(ProfileService.BLUETOOTH_PERM)); in testStateTransitionFromConnectedWithMasDisconnected() 198 mIntentArgument.capture(), eq(ProfileService.BLUETOOTH_PERM)); in testReceiveEmptyEvent() 221 mIntentArgument.capture(), eq(ProfileService.BLUETOOTH_PERM)); in testSetMessageStatus() 230 mIntentArgument.capture(), eq(ProfileService.BLUETOOTH_PERM)); in setupSdpRecordReceipt()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/ |
D | AddTrustedDeviceActivityTest.java | 128 verify(mMockCarTrustAgentEnrollmentManager).setEnrollmentCallback(callBack.capture()); in onStart_has_activated_handle_finish() 152 enrollmentCallBack.capture()); in onAuthStringAvailable_createDialog() 175 verify(mMockCarTrustAgentEnrollmentManager).setEnrollmentCallback(callBack.capture()); in onEscrowTokenAdded_showCheckLockFragment() 189 verify(mMockCarTrustAgentEnrollmentManager).setBleCallback(bleCallBack.capture()); in onBluetoothDeviceDisconnected_finish() 202 verify(mMockCarTrustAgentEnrollmentManager).setBleCallback(bleCallBack.capture()); in onPairingCodeDialogConfirmed_handshakeAccepted() 216 verify(mMockCarTrustAgentEnrollmentManager).setEnrollmentCallback(callBack.capture()); in onStart_onEscrowTokenActiveStateChanged_activated_finish() 221 verify(mMockCarTrustAgentEnrollmentManager).setBleCallback(bleCallBack.capture()); in onStart_onEscrowTokenActiveStateChanged_activated_finish()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/ |
D | NetworkStackNotifierTest.kt | 160 verify(mCm).registerNetworkCallback(any() /* request */, allNetworksCbCaptor.capture(), in setUp() 165 verify(mCm).registerDefaultNetworkCallback(defaultNetworkCbCaptor.capture(), eq(mHandler)) in setUp() 185 verify(mNm).notify(eq(TEST_NETWORK_TAG), mNoteIdCaptor.capture(), mNoteCaptor.capture()) in verifyConnectedNotification() 191 eq(mCurrentUserContext), mIntentCaptor.capture(), eq(FLAG_UPDATE_CURRENT)) in verifyConnectedNotification() 280 verify(mNm).notify(eq(TEST_NETWORK_TAG), mNoteIdCaptor.capture(), mNoteCaptor.capture()) in testVenueInfoNotification() 282 eq(mCurrentUserContext), mIntentCaptor.capture(), eq(FLAG_UPDATE_CURRENT)) 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/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/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/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkListControllerTest.java | 137 verify(mPreferenceScreen, times(2)).addPreference(preferenceCaptor.capture()); in displayPreference_twoSubscriptions_correctlySetup() 147 verify(mContext, times(2)).startActivity(intentCaptor.capture()); in displayPreference_twoSubscriptions_correctlySetup() 172 verify(mPreferenceScreen, times(2)).addPreference(preferenceCaptor.capture()); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup() 192 verify(mPreferenceScreen, times(2)).addPreference(preferenceCaptor.capture()); in onSubscriptionsChanged_twoSubscriptionsOneChangesName_preferenceUpdated() 210 verify(mPreferenceScreen, times(3)).addPreference(preferenceCaptor.capture()); in onSubscriptionsChanged_startWithThreeSubsAndRemoveOne_correctPreferenceRemoved() 217 verify(mPreferenceScreen).removePreference(removedPrefCaptor.capture()); in onSubscriptionsChanged_startWithThreeSubsAndRemoveOne_correctPreferenceRemoved()
|
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ble/ |
D | CarBlePeripheralManagerTest.java | 116 dataCaptor.capture(), any()); in testStartAssociationAdvertisingSuccess() 132 .startAdvertising(any(), any(), callbackCaptor.capture()); in testStartAssociationAdvertisingFailure() 149 .startAdvertising(any(), any(), callbackCaptor.capture()); in testNotifyAssociationSuccess() 179 verify(mMockStorage).addAssociatedDeviceForActiveUser(deviceCaptor.capture()); in testAssociationSuccess() 206 verify(mMockPeripheralManager).startAdvertising(any(), any(), callbackCaptor.capture()); in connectToDevice_stopsAdvertisingAfterTimeout() 217 verify(mMockPeripheralManager, timeout(3000)).registerCallback(callbackCaptor.capture()); in startAssociation()
|
D | SecureBleChannelTest.java | 81 verify(callbackSpy).onDeviceIdReceived(deviceIdCaptor.capture()); in testEncryptionHandshake_Association() 82 verify(mStreamMock).writeMessage(messageCaptor.capture(), any()); in testEncryptionHandshake_Association() 88 verify(mStreamMock, times(2)).writeMessage(messageCaptor.capture(), any()); in testEncryptionHandshake_Association() 96 verify(mStreamMock, times(3)).writeMessage(messageCaptor.capture(), any()); in testEncryptionHandshake_Association() 152 verify(mStreamMock).setMessageReceivedListener(listenerCaptor.capture()); in setUpSecureBleChannel_Association()
|
/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()
|