Home
last modified time | relevance | path

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

123

/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/
DInCallServiceImplTest.java21 import static androidx.test.espresso.intent.Intents.intending;
44 import androidx.test.espresso.intent.Intents;
123 Intents.init(); in setUp()
129 Intents.release(); in tearDown()
142 Intent intent = Intents.getIntents().get(0); in onActiveCallAdded_startInCallActivity()
208 Intent intent = Intents.getIntents().get(0); in testOnBringToForeground()
/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;
225 intent.putExtra(Intents.Insert.EXTRA_ACCOUNT, account); in saveAccountAndReturnResult()
/packages/apps/Car/Dialer/tests/instrutests/src/com/android/car/dialer/integration/
DNoHfpFragmentTest.java21 import static androidx.test.espresso.intent.Intents.intended;
34 import androidx.test.espresso.intent.Intents;
97 Intents.init(); in clickButton_navigateToBluetoothSettings()
103 Intents.release(); in clickButton_navigateToBluetoothSettings()
DRecentCallLogTest.java24 import static androidx.test.espresso.intent.Intents.intending;
44 import androidx.test.espresso.intent.Intents;
106 Intents.init(); in setup()
163 Intents.release(); in tearDown()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java30 import static androidx.test.espresso.intent.Intents.intending;
80 import androidx.test.espresso.intent.Intents;
501 final Intent sentIntent = Intents.getIntents().get(0); in testTelScheme()
513 final Intent sentIntent = Intents.getIntents().get(0); in testSmsScheme()
523 assertEquals(0, Intents.getIntents().size()); in testUnsupportedScheme()
530 assertTrue(isEventually(() -> Intents.getIntents().size() == 1, TEST_TIMEOUT_MS)); in testUnsupportedScheme()
532 final Intent sentIntent = Intents.getIntents().get(0); in testUnsupportedScheme()
566 assertEquals(0, Intents.getIntents().size()); in testDownload()
573 isEventually(() -> Intents.getIntents().size() == 1, TEST_TIMEOUT_MS)); in testDownload()
575 final Intent fileIntent = Intents.getIntents().get(0); in testDownload()
/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/Settings/tests/componenttests/src/com/android/settings/biometrics/
DBiometricEnrollActivityTest.java21 import static androidx.test.espresso.intent.Intents.intended;
35 import androidx.test.espresso.intent.Intents;
68 Intents.init(); in setup()
76 Intents.release(); in teardown()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/settings/
DSettingsActivityTest.java24 import static androidx.test.espresso.intent.Intents.intended;
49 import androidx.test.espresso.intent.Intents;
69 Intents.init(); in setUp()
74 Intents.release(); in tearDown()
/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/Car/DebuggingRestrictionController/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/
DLoginTest.java24 import static androidx.test.espresso.intent.Intents.intended;
25 import static androidx.test.espresso.intent.Intents.intending;
43 import androidx.test.espresso.intent.Intents;
80 Intents.init(); in setUp()
87 Intents.release(); in tearDown()
/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/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/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()
568 Intents.intending(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED)) in testDialingOutCall_NormalDialingOut()
576 Intents.intended(allOf(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED), in testDialingOutCall_NormalDialingOut()
577 IntentMatchers.hasData(dialOutUri)), Intents.times(1)); in testDialingOutCall_NormalDialingOut()
597 Intents.intended(allOf(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED), in testDialingOutCall_NormalDialingOut()
598 IntentMatchers.hasData(dialOutUri)), Intents.times(1)); in testDialingOutCall_NormalDialingOut()
655 Intents.intending(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED)) in testDialingOutCall_DialingOutPreemptVirtualCall()
663 Intents.intended(allOf(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED), in testDialingOutCall_DialingOutPreemptVirtualCall()
[all …]
/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/Contacts/src/com/android/contacts/util/
DAccountFilterUtil.java28 import android.provider.ContactsContract.Intents;
190 intent.putExtra(Intents.Insert.EXTRA_ACCOUNT, account);
191 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/WallpaperPicker2/tests/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivityTest.java22 import static androidx.test.espresso.intent.Intents.intending;
45 import androidx.test.espresso.intent.Intents;
110 Intents.init(); in setUp()
134 Intents.release(); in tearDown()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DInCallActivity.java137 getIntent().getBooleanExtra(Constants.Intents.EXTRA_SHOW_INCOMING_CALL, false)); in handleIntent()
139 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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DLandingActivityTest.java26 import static androidx.test.espresso.intent.Intents.intended;
27 import static androidx.test.espresso.intent.Intents.times;
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertServiceTest.java122 intent.setAction(Telephony.Sms.Intents.ACTION_SMS_EMERGENCY_CB_RECEIVED); in sendMessage()
130 intent.setAction(Telephony.Sms.Intents.ACTION_SMS_EMERGENCY_CB_RECEIVED); in sendMessageForCmasMessageClass()
140 intent.setAction(Telephony.Sms.Intents.ACTION_SMS_EMERGENCY_CB_RECEIVED); in sendMessageForCmasMessageClassAndLanguage()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModePrioritySendersPreferenceController.java57 new Intent(Contacts.Intents.UI.LIST_DEFAULT);
59 new Intent(Contacts.Intents.UI.LIST_STARRED_ACTION);
/packages/modules/Permission/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/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);

123