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.java29 import static androidx.test.espresso.intent.Intents.intending;
73 import androidx.test.espresso.intent.Intents;
397 final Intent sentIntent = Intents.getIntents().get(0); in testTelScheme()
409 final Intent sentIntent = Intents.getIntents().get(0); in testSmsScheme()
419 assertEquals(0, Intents.getIntents().size()); in testUnsupportedScheme()
426 assertTrue(isEventually(() -> Intents.getIntents().size() == 1, TEST_TIMEOUT_MS)); in testUnsupportedScheme()
428 final Intent sentIntent = Intents.getIntents().get(0); in testUnsupportedScheme()
469 assertEquals(0, Intents.getIntents().size()); in testDownload()
476 isEventually(() -> Intents.getIntents().size() == 1, TEST_TIMEOUT_MS)); in testDownload()
478 final Intent fileIntent = Intents.getIntents().get(0); in testDownload()
/packages/apps/ThemePicker/tests/src/com/android/customization/picker/
DCustomizationPickerActivityTest.java24 import androidx.test.espresso.intent.Intents;
54 Intents.init(); in setUp()
60 Intents.release(); in tearDown()
69 Intents.intended(filterEquals(new Intent(mActivityRule.getActivity(), in launchActivity_doesNotSupportCustomization_launchesTopLevelPickerActivity()
107 Intents.intended(filterEquals(new Intent(mActivityRule.getActivity(), in launchActivity_withExtraWallpaperOnly_launchesTopLevelPickerActivity()
/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()
320 com.android.ex.photo.Intents.newPhotoViewIntentBuilder( in launchFullScreenPhotoViewer()
498 final Intent intent = new Intent(Telephony.Sms.Intents.ACTION_CHANGE_DEFAULT); in getChangeDefaultSmsAppIntent()
499 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;
215 Intents.init(); in setUp()
245 Intents.release(); in tearDown()
558 Intents.intending(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED)) in testDialingOutCall_NormalDialingOut()
566 Intents.intended(allOf(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED), in testDialingOutCall_NormalDialingOut()
567 IntentMatchers.hasData(dialOutUri)), Intents.times(1)); in testDialingOutCall_NormalDialingOut()
586 Intents.intended(allOf(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED), in testDialingOutCall_NormalDialingOut()
587 IntentMatchers.hasData(dialOutUri)), Intents.times(1)); in testDialingOutCall_NormalDialingOut()
641 Intents.intending(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED)) in testDialingOutCall_DialingOutPreemptVirtualCall()
649 Intents.intended(allOf(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED), in testDialingOutCall_DialingOutPreemptVirtualCall()
[all …]
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCdmaServiceCategoryProgramHandler.java31 import android.provider.Telephony.Sms.Intents;
147 Intent intent = new Intent(Intents.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION); in handleServiceCategoryProgramData()
170 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;
53 import androidx.test.espresso.intent.Intents;
117 Intents.init(); in setUp()
132 Intents.release(); in tearDown()
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestMessages.java25 import android.provider.Telephony.Sms.Intents;
432 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.java187 intent.setAction(Constants.Intents.ACTION_SHOW_PAGE); in getContentPendingIntent()
188 intent.putExtra(Constants.Intents.EXTRA_SHOW_PAGE, TelecomPageTab.Page.CALL_HISTORY); in getContentPendingIntent()
189 intent.putExtra(Constants.Intents.EXTRA_ACTION_READ_MISSED, true); in getContentPendingIntent()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertServiceTest.java117 intent.setAction(Telephony.Sms.Intents.ACTION_SMS_EMERGENCY_CB_RECEIVED); in sendMessage()
125 intent.setAction(Telephony.Sms.Intents.ACTION_SMS_EMERGENCY_CB_RECEIVED); in sendMessageForCmasMessageClass()
135 intent.setAction(Telephony.Sms.Intents.ACTION_SMS_EMERGENCY_CB_RECEIVED); in sendMessageForCmasMessageClassAndLanguage()
/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/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/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/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivity.java147 case Constants.Intents.ACTION_SHOW_PAGE: in handleIntent()
148 showTabPage(intent.getStringExtra(Constants.Intents.EXTRA_SHOW_PAGE)); in handleIntent()
149 if (intent.getBooleanExtra(Constants.Intents.EXTRA_ACTION_READ_MISSED, false)) { in handleIntent()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DInCallActivity.java131 getIntent().getBooleanExtra(Constants.Intents.EXTRA_SHOW_INCOMING_CALL, false)); in handleIntent()
133 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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java144 } else if (Telephony.Sms.Intents.ACTION_SMS_EMERGENCY_CB_RECEIVED.equals(action) || in onReceive()
145 Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION.equals(action)) { in onReceive()
148 } 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/apps/Settings/src/com/android/settings/notification/zen/
DZenModePrioritySendersPreferenceController.java61 new Intent(Contacts.Intents.UI.LIST_DEFAULT);
63 new Intent(Contacts.Intents.UI.LIST_STARRED_ACTION);
/packages/apps/PermissionController/src/com/android/permissioncontroller/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/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java45 import android.provider.Telephony.Sms.Intents;
313 Intent intent = new Intent(Sms.Intents.ACTION_SMS_MMS_DB_LOST); in sendDbLostIntent()
314 intent.putExtra(Sms.Intents.EXTRA_IS_CORRUPTED, isCorrupted); in sendDbLostIntent()
534 Intent intent = new Intent(Sms.Intents.ACTION_SMS_MMS_DB_CREATED); in onCreate()
541 intent.putExtra(Intents.EXTRA_IS_INITIAL_CREATE, false); in onCreate()
544 intent.putExtra(Intents.EXTRA_IS_INITIAL_CREATE, true); in onCreate()

123