/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccStateChangedLauncherTest.java | 108 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/ |
D | CdmaInboundSmsHandlerTest.java | 193 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/ |
D | SmsStorageMonitorTest.java | 61 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()
|
D | WapPushOverSmsTest.java | 89 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()
|
D | LocaleTrackerTest.java | 123 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()
|
D | GsmCdmaPhoneTest.java | 920 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()
|
D | ServiceStateTrackerTest.java | 484 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/ |
D | GsmInboundSmsHandlerTest.java | 280 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/ |
D | ImsPhoneTest.java | 613 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/ |
D | WifiNetworkFactoryTest.java | 2849 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()
|