/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 | 201 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testNewSms() local 202 verify(mContext).sendBroadcast(intentArgumentCaptor.capture()); in testNewSms() 204 intentArgumentCaptor.getValue().getAction()); in testNewSms() 209 intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testNewSms() 210 verify(mContext, times(2)).sendBroadcast(intentArgumentCaptor.capture()); in testNewSms() 212 intentArgumentCaptor.getAllValues().get(1).getAction()); in testNewSms()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsStorageMonitorTest.java | 81 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testEventIccFull() local 82 verify(mContextFixture.getTestDouble()).sendBroadcast(intentArgumentCaptor.capture()); in testEventIccFull() 84 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() 96 Intent intent = intentArgumentCaptor.getValue(); in testDispatchWapPdu()
|
D | LocaleTrackerTest.java | 135 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in verifyCountryCodeNotified() local 136 verify(mContext, times(countryCodes.length)).sendBroadcast(intentArgumentCaptor.capture()); in verifyCountryCodeNotified() 137 List<Intent> intents = intentArgumentCaptor.getAllValues(); in verifyCountryCodeNotified()
|
D | GsmCdmaPhoneTest.java | 676 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testEmergencyCallbackMessages() local 679 intentArgumentCaptor.capture(), in testEmergencyCallbackMessages() 695 Intent intent = intentArgumentCaptor.getValue(); in testEmergencyCallbackMessages() 713 intentArgumentCaptor.capture(), in testEmergencyCallbackMessages() 729 intent = intentArgumentCaptor.getValue(); in testEmergencyCallbackMessages() 764 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testModemResetInEmergencyCallbackMessages() local 767 intentArgumentCaptor.capture(), in testModemResetInEmergencyCallbackMessages() 783 Intent intent = intentArgumentCaptor.getValue(); in testModemResetInEmergencyCallbackMessages() 801 intentArgumentCaptor.capture(), in testModemResetInEmergencyCallbackMessages() 817 intent = intentArgumentCaptor.getValue(); in testModemResetInEmergencyCallbackMessages()
|
D | ServiceStateTrackerTest.java | 417 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testSpnUpdateShowPlmnOnly() local 419 .sendStickyBroadcastAsUser(intentArgumentCaptor.capture(), eq(UserHandle.ALL)); in testSpnUpdateShowPlmnOnly() 422 List<Intent> intents = intentArgumentCaptor.getAllValues(); in testSpnUpdateShowPlmnOnly() 2284 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in getExtrasFromLastSpnUpdateIntent() local 2286 .sendStickyBroadcastAsUser(intentArgumentCaptor.capture(), eq(UserHandle.ALL)); in getExtrasFromLastSpnUpdateIntent() 2288 List<Intent> intents = intentArgumentCaptor.getAllValues(); in getExtrasFromLastSpnUpdateIntent()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmCellBroadcastHandlerTest.java | 117 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testBroadcastSms() local 119 intentArgumentCaptor.capture(), eq(UserHandle.ALL), in testBroadcastSms() 124 List<Intent> intentList = intentArgumentCaptor.getAllValues(); in testBroadcastSms()
|
D | GsmInboundSmsHandlerTest.java | 242 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in verifySmsIntentBroadcasts() local 244 intentArgumentCaptor.capture()); in verifySmsIntentBroadcasts() 246 intentArgumentCaptor.getAllValues().get(numPastBroadcasts).getAction()); in verifySmsIntentBroadcasts() 256 intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in verifySmsIntentBroadcasts() 258 intentArgumentCaptor.capture()); in verifySmsIntentBroadcasts() 260 intentArgumentCaptor.getAllValues().get(numPastBroadcasts + 1).getAction()); in verifySmsIntentBroadcasts() 315 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in verifyDataSmsIntentBroadcasts() local 317 intentArgumentCaptor.capture()); in verifyDataSmsIntentBroadcasts() 319 intentArgumentCaptor.getAllValues().get(numPastBroadcasts).getAction()); in verifyDataSmsIntentBroadcasts()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 549 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testEcbm() local 551 intentArgumentCaptor.capture(), in testEcbm() 564 Intent intent = intentArgumentCaptor.getValue(); in testEcbm() 579 intentArgumentCaptor.capture(), in testEcbm() 592 intent = intentArgumentCaptor.getValue(); in testEcbm()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkFactoryTest.java | 2592 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in validateUiStartParams() local 2594 intentArgumentCaptor.capture(), eq(UserHandle.getUserHandleForUid(TEST_UID_1))); in validateUiStartParams() 2595 Intent intent = intentArgumentCaptor.getValue(); in validateUiStartParams()
|