Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
H A DSimSelectNotificationTest.java227 Intent capturedIntent = intentCaptor.getValue(); in onReceivePrimarySubListChange_WithDataPickExtra_shouldStartActivity() local
228 assertThat(capturedIntent).isNotNull(); in onReceivePrimarySubListChange_WithDataPickExtra_shouldStartActivity()
229 assertThat(capturedIntent.getComponent().getClassName()).isEqualTo( in onReceivePrimarySubListChange_WithDataPickExtra_shouldStartActivity()
231 assertThat(capturedIntent.getFlags() & Intent.FLAG_ACTIVITY_NEW_TASK) in onReceivePrimarySubListChange_WithDataPickExtra_shouldStartActivity()
233 assertThat(capturedIntent.getIntExtra(SimDialogActivity.DIALOG_TYPE_KEY, INVALID_PICK)) in onReceivePrimarySubListChange_WithDataPickExtra_shouldStartActivity()
252 Intent capturedIntent = intentCaptor.getValue(); in onReceivePrimarySubListChange_WithDismissExtra_shouldDismiss() local
253 assertThat(capturedIntent).isNotNull(); in onReceivePrimarySubListChange_WithDismissExtra_shouldDismiss()
254 assertThat(capturedIntent.getComponent().getClassName()).isEqualTo( in onReceivePrimarySubListChange_WithDismissExtra_shouldDismiss()
256 assertThat(capturedIntent.getFlags() & Intent.FLAG_ACTIVITY_NEW_TASK) in onReceivePrimarySubListChange_WithDismissExtra_shouldDismiss()
258 assertThat(capturedIntent.getIntExtra(SimDialogActivity.DIALOG_TYPE_KEY, INVALID_PICK)) in onReceivePrimarySubListChange_WithDismissExtra_shouldDismiss()
/aosp12/packages/services/Telephony/tests/src/com/android/phone/
H A DRcsProvisioningMonitorTest.java412 Intent capturedIntent = captorIntent.getValue(); in testCarrierConfigChanged() local
413 assertEquals(capturedIntent.getAction(), in testCarrierConfigChanged()
415 assertEquals(FAKE_SUB_ID_BASE, capturedIntent.getIntExtra( in testCarrierConfigChanged()
426 capturedIntent = captorIntent.getValue(); in testCarrierConfigChanged()
427 assertEquals(capturedIntent.getAction(), in testCarrierConfigChanged()
441 capturedIntent = captorIntent.getValue(); in testCarrierConfigChanged()
442 assertEquals(capturedIntent.getAction(), in testCarrierConfigChanged()
606 Intent capturedIntent = captorIntent.getValue(); in testSendBroadcastWhenDmaChanged() local
607 assertEquals(capturedIntent.getAction(), in testSendBroadcastWhenDmaChanged()
616 capturedIntent = captorIntent.getValue(); in testSendBroadcastWhenDmaChanged()
[all …]
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DCallScreeningServiceFilterTest.java401 Intent capturedIntent = intentCaptor.getValue(); in verifyBindingIntent() local
402 assertEquals(CallScreeningService.SERVICE_INTERFACE, capturedIntent.getAction()); in verifyBindingIntent()
403 assertEquals(mResolveInfo.serviceInfo.packageName, capturedIntent.getPackage()); in verifyBindingIntent()
405 mResolveInfo.serviceInfo.name), capturedIntent.getComponent()); in verifyBindingIntent()
H A DTelecomServiceImplTest.java725 Intent capturedIntent = intentCaptor.getValue(); in addCallTestHelper() local
726 assertEquals(expectedAction, capturedIntent.getAction()); in addCallTestHelper()
727 Bundle intentExtras = capturedIntent.getExtras(); in addCallTestHelper()
803 Intent capturedIntent = intentCaptor.getValue(); in placeCallTestHelper() local
804 assertEquals(Intent.ACTION_CALL, capturedIntent.getAction()); in placeCallTestHelper()
805 assertEquals(expectedHandle, capturedIntent.getData()); in placeCallTestHelper()
806 assertTrue(areBundlesEqual(expectedExtras, capturedIntent.getExtras())); in placeCallTestHelper()
848 Intent capturedIntent = intentCaptor.getValue(); in testSetDefaultDialer() local
849 assertEquals(TelecomManager.ACTION_DEFAULT_DIALER_CHANGED, capturedIntent.getAction()); in testSetDefaultDialer()
850 String packageNameExtra = capturedIntent.getStringExtra( in testSetDefaultDialer()
H A DNewOutgoingCallIntentBroadcasterTest.java503 Intent capturedIntent = intentCaptor.getValue();
504 assertEquals(Intent.ACTION_NEW_OUTGOING_CALL, capturedIntent.getAction());
506 capturedIntent.getFlags());
507 assertTrue(areBundlesEqual(expectedExtras, capturedIntent.getExtras()));
515 return new ReceiverIntentPair(receiver, capturedIntent);