Home
last modified time | relevance | path

Searched refs:mIntentArgumentCaptor (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DHostEmulationManagerTest.java122 private ArgumentCaptor<Intent> mIntentArgumentCaptor; field in HostEmulationManagerTest
196 verify(mContext).bindServiceAsUser(mIntentArgumentCaptor.capture(), in testOnPreferredPaymentServiceChanged_noPreviouslyBoundService()
201 Intent intent = mIntentArgumentCaptor.getValue(); in testOnPreferredPaymentServiceChanged_noPreviouslyBoundService()
223 verify(mContext).bindServiceAsUser(mIntentArgumentCaptor.capture(), in testOnPreferredPaymentServiceChanged_previouslyBoundService()
228 Intent intent = mIntentArgumentCaptor.getValue(); in testOnPreferredPaymentServiceChanged_previouslyBoundService()
374 verify(mContext).bindServiceAsUser(mIntentArgumentCaptor.capture(), in testOnPreferredForegroundServiceChanged_noPreviouslyBoundService()
379 Intent intent = mIntentArgumentCaptor.getValue(); in testOnPreferredForegroundServiceChanged_noPreviouslyBoundService()
409 verify(mContext).bindServiceAsUser(mIntentArgumentCaptor.capture(), in testOnPreferredForegroundServiceChanged_nullService_previouslyBoundService()
414 Intent intent = mIntentArgumentCaptor.getValue(); in testOnPreferredForegroundServiceChanged_nullService_previouslyBoundService()
456 verify(mContext).sendBroadcastAsUser(mIntentArgumentCaptor.capture(), in testOnHostEmulationActivated()
[all …]
DRegisteredServicesCacheTest.java141 private ArgumentCaptor<Intent> mIntentArgumentCaptor; field in RegisteredServicesCacheTest
347 .queryIntentServicesAsUser(mIntentArgumentCaptor.capture(), in testInitialize_filesExist()
349 Intent onHostIntent = mIntentArgumentCaptor.getAllValues().get(0); in testInitialize_filesExist()
351 Intent offHostIntent = mIntentArgumentCaptor.getAllValues().get(1); in testInitialize_filesExist()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsHearingDeviceSettingsControllerTest.java51 private ArgumentCaptor<Intent> mIntentArgumentCaptor; field in BluetoothDetailsHearingDeviceSettingsControllerTest
91 verify(mockContext).startActivity(mIntentArgumentCaptor.capture()); in assertStartActivityWithExpectedFragment()
92 assertThat(mIntentArgumentCaptor.getValue() in assertStartActivityWithExpectedFragment()
/packages/services/Car/tests/CarLibTests/src/android/car/
DCarProjectionManagerTest.java73 private ArgumentCaptor<Intent> mIntentArgumentCaptor; field in CarProjectionManagerTest
149 verify(mContext).bindService(mIntentArgumentCaptor.capture(), any(), in registerProjectionRunner()
151 assertThat(mIntentArgumentCaptor.getValue()).isEqualTo(intent); in registerProjectionRunner()
/packages/modules/Scheduling/tests/unittests/src/com/android/server/scheduling/
DRebootReadinessUnitTest.java103 private ArgumentCaptor<Intent> mIntentArgumentCaptor; field in RebootReadinessUnitTest
247 verify(mMockContext, times(2)).sendBroadcastAsUser(mIntentArgumentCaptor.capture(), in testCorrectIntentsSent()
249 List<Intent> intents = mIntentArgumentCaptor.getAllValues(); in testCorrectIntentsSent()
277 verify(mMockContext, times(2)).sendBroadcastAsUser(mIntentArgumentCaptor.capture(), in testSecondClientReceivesBroadcastImmediately()
279 List<Intent> intents = mIntentArgumentCaptor.getAllValues(); in testSecondClientReceivesBroadcastImmediately()