/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivityTest.java | 30 import static androidx.test.espresso.intent.Intents.intending; 75 import androidx.test.espresso.intent.Intents; 406 final Intent sentIntent = Intents.getIntents().get(0); in testTelScheme() 418 final Intent sentIntent = Intents.getIntents().get(0); in testSmsScheme() 428 assertEquals(0, Intents.getIntents().size()); in testUnsupportedScheme() 435 assertTrue(isEventually(() -> Intents.getIntents().size() == 1, TEST_TIMEOUT_MS)); in testUnsupportedScheme() 437 final Intent sentIntent = Intents.getIntents().get(0); in testUnsupportedScheme() 478 assertEquals(0, Intents.getIntents().size()); in testDownload() 485 isEventually(() -> Intents.getIntents().size() == 1, TEST_TIMEOUT_MS)); in testDownload() 487 final Intent fileIntent = Intents.getIntents().get(0); in testDownload()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ShowOrCreateActivity.java | 30 import android.provider.ContactsContract.Intents; 120 mCreateDescrip = intent.getStringExtra(Intents.EXTRA_CREATE_DESCRIPTION); in onCreate() 126 mCreateForce = intent.getBooleanExtra(Intents.EXTRA_FORCE_CREATE, false); in onCreate() 130 mCreateExtras.putString(Intents.Insert.EMAIL, ssp); in onCreate() 136 mCreateExtras.putString(Intents.Insert.PHONE, ssp); in onCreate()
|
D | ContactEditorAccountsChangedActivity.java | 24 import android.provider.ContactsContract.Intents; 224 intent.putExtra(Intents.Insert.EXTRA_ACCOUNT, account); in saveAccountAndReturnResult()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EditorIntents.java | 106 intent.putParcelableArrayListExtra(ContactsContract.Intents.Insert.DATA, contentValues); in createEditOtherRawContactIntent() 135 ContactsContract.Intents.Insert.DATA, contentValues); in putRawContactDeltaValues() 140 intent.putExtra(ContactsContract.Intents.Insert.NAME, displayName); in putRawContactDeltaValues() 143 intent.putExtra(ContactsContract.Intents.Insert.PHONETIC_NAME, phoneticName); in putRawContactDeltaValues()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | IntentUtil.java | 70 intent.putExtra(ContactsContract.Intents.Insert.PHONE, phoneNumber); in populateContactIntent() 73 intent.putExtra(ContactsContract.Intents.Insert.NAME, name); in populateContactIntent() 76 intent.putExtra(ContactsContract.Intents.Insert.PHONE_TYPE, phoneNumberType); in populateContactIntent()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | UIIntentsImpl.java | 34 import android.provider.ContactsContract.Intents; 42 import com.android.ex.photo.Intents.PhotoViewIntentBuilder; 212 Intents.Insert.EMAIL : Intents.Insert.PHONE; in launchAddContactActivity() 333 com.android.ex.photo.Intents.newPhotoViewIntentBuilder( in launchFullScreenPhotoViewer() 511 final Intent intent = new Intent(Telephony.Sms.Intents.ACTION_CHANGE_DEFAULT); in getChangeDefaultSmsAppIntent() 512 intent.putExtra(Telephony.Sms.Intents.EXTRA_PACKAGE_NAME, activity.getPackageName()); in getChangeDefaultSmsAppIntent()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceAndStateMachineTest.java | 46 import androidx.test.espresso.intent.Intents; 216 Intents.init(); in setUp() 246 Intents.release(); in tearDown() 556 Intents.intending(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED)) in testDialingOutCall_NormalDialingOut() 564 Intents.intended(allOf(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED), in testDialingOutCall_NormalDialingOut() 565 IntentMatchers.hasData(dialOutUri)), Intents.times(1)); in testDialingOutCall_NormalDialingOut() 584 Intents.intended(allOf(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED), in testDialingOutCall_NormalDialingOut() 585 IntentMatchers.hasData(dialOutUri)), Intents.times(1)); in testDialingOutCall_NormalDialingOut() 639 Intents.intending(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED)) in testDialingOutCall_DialingOutPreemptVirtualCall() 647 Intents.intended(allOf(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED), in testDialingOutCall_DialingOutPreemptVirtualCall() [all …]
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CdmaServiceCategoryProgramHandler.java | 28 import android.provider.Telephony.Sms.Intents; 134 Intent intent = new Intent(Intents.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION); in handleServiceCategoryProgramData() 161 if ((resultCode != Activity.RESULT_OK) && (resultCode != Intents.RESULT_SMS_HANDLED)) {
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/individual/ |
D | IndividualPickerActivityTest.java | 22 import static androidx.test.espresso.intent.Intents.intended; 23 import static androidx.test.espresso.intent.Intents.intending; 52 import androidx.test.espresso.intent.Intents; 116 Intents.init(); in setUp() 131 Intents.release(); in tearDown()
|
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | SendTestMessages.java | 25 import android.provider.Telephony.Sms.Intents; 433 Intent intent = new Intent(Intents.SMS_CB_RECEIVED_ACTION); in sendBroadcast() 462 Intent intent = new Intent(Intents.SMS_CB_RECEIVED_ACTION); in testSendMessage7bitMultipageGsm()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/ |
D | MissedCallNotificationController.java | 188 intent.setAction(Constants.Intents.ACTION_SHOW_PAGE); in getContentPendingIntent() 189 intent.putExtra(Constants.Intents.EXTRA_SHOW_PAGE, TelecomPageTab.Page.CALL_HISTORY); in getContentPendingIntent() 190 intent.putExtra(Constants.Intents.EXTRA_ACTION_READ_MISSED, true); in getContentPendingIntent()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | AccountFilterUtil.java | 30 import android.provider.ContactsContract.Intents; 197 intent.putExtra(Intents.Insert.EXTRA_ACCOUNT, account); 198 intent.putExtra(Intents.Insert.EXTRA_DATA_SET, filter.dataSet);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsIntentResolver.java | 32 import android.provider.ContactsContract.Intents; 33 import android.provider.ContactsContract.Intents.Insert; 178 } else if (Intents.SEARCH_SUGGESTION_CLICKED.equals(action)) { in resolveIntent()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | LandingActivityTest.java | 21 import static androidx.test.espresso.intent.Intents.intended; 22 import static androidx.test.espresso.intent.Intents.times;
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollFinishTest.java | 21 import static androidx.test.espresso.intent.Intents.intended; 22 import static androidx.test.espresso.intent.Intents.intending;
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | InCallActivity.java | 103 getIntent().getBooleanExtra(Constants.Intents.EXTRA_SHOW_INCOMING_CALL, false)); in handleIntent() 105 getIntent().getBooleanExtra(Constants.Intents.EXTRA_SHOW_DIALPAD, false)); in handleIntent()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ProfileProvider.java | 29 import android.provider.ContactsContract.Intents; 160 final Intent intent = new Intent(Intents.ACTION_PROFILE_CHANGED); in sendProfileChangedBroadcast()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/ |
D | TelecomActivity.java | 153 case Constants.Intents.ACTION_SHOW_PAGE: in handleIntent() 156 showTabPage(intent.getStringExtra(Constants.Intents.EXTRA_SHOW_PAGE)); in handleIntent() 157 if (intent.getBooleanExtra(Constants.Intents.EXTRA_ACTION_READ_MISSED, false)) { in handleIntent()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 140 } else if (Telephony.Sms.Intents.ACTION_SMS_EMERGENCY_CB_RECEIVED.equals(action) || in onReceive() 141 Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION.equals(action)) { in onReceive() 144 } else if (Telephony.Sms.Intents.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION in onReceive()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/ |
D | AppNotificationSettingsTest.java | 25 import static androidx.test.espresso.intent.Intents.intended; 47 import androidx.test.espresso.intent.Intents;
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsSmsDatabaseHelper.java | 45 import android.provider.Telephony.Sms.Intents; 314 Intent intent = new Intent(Sms.Intents.ACTION_SMS_MMS_DB_LOST); in sendDbLostIntent() 315 intent.putExtra(Sms.Intents.EXTRA_IS_CORRUPTED, isCorrupted); in sendDbLostIntent() 535 Intent intent = new Intent(Sms.Intents.ACTION_SMS_MMS_DB_CREATED); in onCreate() 542 intent.putExtra(Intents.EXTRA_IS_INITIAL_CREATE, false); in onCreate() 545 intent.putExtra(Intents.EXTRA_IS_INITIAL_CREATE, true); in onCreate()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastReceiverTest.java | 167 doReturn(Telephony.Sms.Intents.ACTION_SMS_EMERGENCY_CB_RECEIVED).when(mIntent).getAction(); in testOnReceive_actionSmsEmergencyCbReceived() 178 doReturn(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION).when(mIntent).getAction(); in testOnReceive_smsCbReceivedAction() 189 doReturn(Telephony.Sms.Intents.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION) in testOnReceive_smsServiceCategoryProgramDataReceivedAction()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/ |
D | RequestRoleActivity.java | 234 if (!Objects.equals(intent.getAction(), Telephony.Sms.Intents.ACTION_CHANGE_DEFAULT)) { in handleSmsDefaultDialogCompatibility() 248 String extraPackageName = intent.getStringExtra(Telephony.Sms.Intents.EXTRA_PACKAGE_NAME); in handleSmsDefaultDialogCompatibility()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | IntentProvider.java | 239 intent.putExtra(ContactsContract.Intents.Insert.NAME, contactToSave.getDisplayName()); 263 intent.putExtra(ContactsContract.Intents.Insert.DATA, values);
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/ |
D | PreviewActivityTest.java | 42 import androidx.test.espresso.intent.Intents; 99 Intents.init(); in setUp() 120 Intents.release(); in tearDown()
|