Home
last modified time | relevance | path

Searched refs:intentArgumentCaptor (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccStateChangedLauncherTest.java108 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testProvisioningPackageSet() local
112 verify(mContext, times(broadcast_count)).sendBroadcast(intentArgumentCaptor.capture()); in testProvisioningPackageSet()
113 assertEquals(PROVISIONING_PACKAGE_NAME, intentArgumentCaptor.getValue().getPackage()); in testProvisioningPackageSet()
115 intentArgumentCaptor.getValue().getAction()); in testProvisioningPackageSet()
123 verify(mContext, times(broadcast_count)).sendBroadcast(intentArgumentCaptor.capture()); in testProvisioningPackageSet()
124 assertEquals(PROVISIONING_PACKAGE_NAME, intentArgumentCaptor.getValue().getPackage()); in testProvisioningPackageSet()
126 intentArgumentCaptor.getValue().getAction()); in testProvisioningPackageSet()
138 verify(mContext, times(broadcast_count)).sendBroadcast(intentArgumentCaptor.capture()); in testProvisioningPackageSet()
139 assertEquals(PROVISIONING_PACKAGE_NAME, intentArgumentCaptor.getValue().getPackage()); in testProvisioningPackageSet()
141 intentArgumentCaptor.getValue().getAction()); in testProvisioningPackageSet()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java193 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testNewSms() local
194 verify(mContext).sendBroadcast(intentArgumentCaptor.capture()); in testNewSms()
196 intentArgumentCaptor.getValue().getAction()); in testNewSms()
201 intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testNewSms()
202 verify(mContext, times(2)).sendBroadcast(intentArgumentCaptor.capture()); in testNewSms()
204 intentArgumentCaptor.getAllValues().get(1).getAction()); in testNewSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsStorageMonitorTest.java61 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testEventIccFull() local
62 verify(mContextFixture.getTestDouble()).sendBroadcast(intentArgumentCaptor.capture()); in testEventIccFull()
64 intentArgumentCaptor.getValue().getAction()); in testEventIccFull()
DWapPushOverSmsTest.java89 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testDispatchWapPdu() local
90 verify(mInboundSmsHandler).dispatchIntent(intentArgumentCaptor.capture(), in testDispatchWapPdu()
97 Intent intent = intentArgumentCaptor.getValue(); in testDispatchWapPdu()
DLocaleTrackerTest.java123 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in verifyCountryCodeNotified() local
124 verify(mContext, times(countryCodes.length)).sendBroadcast(intentArgumentCaptor.capture()); in verifyCountryCodeNotified()
125 List<Intent> intents = intentArgumentCaptor.getAllValues(); in verifyCountryCodeNotified()
DGsmCdmaPhoneTest.java920 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in verifyEcbmIntentSent() local
922 intentArgumentCaptor.capture(), in verifyEcbmIntentSent()
935 Intent intent = intentArgumentCaptor.getValue(); in verifyEcbmIntentSent()
977 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testModemResetInEmergencyCallbackMessages() local
980 intentArgumentCaptor.capture(), in testModemResetInEmergencyCallbackMessages()
996 Intent intent = intentArgumentCaptor.getValue(); in testModemResetInEmergencyCallbackMessages()
1015 intentArgumentCaptor.capture(), in testModemResetInEmergencyCallbackMessages()
1031 intent = intentArgumentCaptor.getValue(); in testModemResetInEmergencyCallbackMessages()
DServiceStateTrackerTest.java484 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testSpnUpdateShowPlmnOnly() local
486 .sendStickyBroadcastAsUser(intentArgumentCaptor.capture(), eq(UserHandle.ALL)); in testSpnUpdateShowPlmnOnly()
489 List<Intent> intents = intentArgumentCaptor.getAllValues(); in testSpnUpdateShowPlmnOnly()
2564 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in getExtrasFromLastSpnUpdateIntent() local
2566 .sendStickyBroadcastAsUser(intentArgumentCaptor.capture(), eq(UserHandle.ALL)); in getExtrasFromLastSpnUpdateIntent()
2568 List<Intent> intents = intentArgumentCaptor.getAllValues(); in getExtrasFromLastSpnUpdateIntent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java280 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in verifySmsIntentBroadcasts() local
282 intentArgumentCaptor.capture()); in verifySmsIntentBroadcasts()
283 Intent intent = intentArgumentCaptor.getAllValues().get(numPastBroadcasts); in verifySmsIntentBroadcasts()
298 intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in verifySmsIntentBroadcasts()
300 intentArgumentCaptor.capture()); in verifySmsIntentBroadcasts()
301 intent = intentArgumentCaptor.getAllValues().get(numPastBroadcasts + 1); in verifySmsIntentBroadcasts()
357 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in verifyDataSmsIntentBroadcasts() local
359 intentArgumentCaptor.capture()); in verifyDataSmsIntentBroadcasts()
361 intentArgumentCaptor.getAllValues().get(numPastBroadcasts).getAction()); in verifyDataSmsIntentBroadcasts()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java613 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in verifyEcbmIntentWasSent() local
615 intentArgumentCaptor.capture(), in verifyEcbmIntentWasSent()
628 Intent intent = intentArgumentCaptor.getValue(); in verifyEcbmIntentWasSent()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java2849 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in validateUiStartParams() local
2851 intentArgumentCaptor.capture(), eq(UserHandle.getUserHandleForUid(TEST_UID_1))); in validateUiStartParams()
2852 Intent intent = intentArgumentCaptor.getValue(); in validateUiStartParams()