Home
last modified time | relevance | path

Searched refs:Intents (Results 1 – 25 of 65) sorted by relevance

123

/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java30 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/
DShowOrCreateActivity.java30 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()
DContactEditorAccountsChangedActivity.java24 import android.provider.ContactsContract.Intents;
224 intent.putExtra(Intents.Insert.EXTRA_ACCOUNT, account); in saveAccountAndReturnResult()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorIntents.java106 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/
DIntentUtil.java70 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/
DUIIntentsImpl.java34 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/
DHeadsetServiceAndStateMachineTest.java46 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/
DCdmaServiceCategoryProgramHandler.java28 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/
DIndividualPickerActivityTest.java22 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/
DSendTestMessages.java25 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/
DMissedCallNotificationController.java188 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/
DAccountFilterUtil.java30 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/
DContactsIntentResolver.java32 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/
DLandingActivityTest.java21 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/
DFingerprintEnrollFinishTest.java21 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/
DInCallActivity.java103 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/
DProfileProvider.java29 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/
DTelecomActivity.java153 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/
DCellBroadcastReceiver.java140 } 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/
DAppNotificationSettingsTest.java25 import static androidx.test.espresso.intent.Intents.intended;
47 import androidx.test.espresso.intent.Intents;
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java45 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/
DCellBroadcastReceiverTest.java167 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/
DRequestRoleActivity.java234 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/
DIntentProvider.java239 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/
DPreviewActivityTest.java42 import androidx.test.espresso.intent.Intents;
99 Intents.init(); in setUp()
120 Intents.release(); in tearDown()

123