Home
last modified time | relevance | path

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

123

/packages/apps/UnifiedEmail/src/com/android/mail/photo/
DMailPhotoViewActivity.java23 import com.android.ex.photo.Intents;
54 final Intents.PhotoViewIntentBuilder builder = in startMailPhotoViewActivity()
55 Intents.newPhotoViewIntentBuilder(context, in startMailPhotoViewActivity()
80 final Intents.PhotoViewIntentBuilder builder = Intents.newPhotoViewIntentBuilder( in buildMailPhotoViewActivityIntent()
/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()
DAttachPhotoActivity.java35 import android.provider.ContactsContract.Intents;
166 Intents.Insert.EXTRA_ACCOUNT); in onActivityResult()
/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;
216 Intents.init(); in setUp()
246 Intents.release(); in tearDown()
559 Intents.intending(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED)) in testDialingOutCall_NormalDialingOut()
567 Intents.intended(allOf(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED), in testDialingOutCall_NormalDialingOut()
568 IntentMatchers.hasData(dialOutUri)), Intents.times(1)); in testDialingOutCall_NormalDialingOut()
587 Intents.intended(allOf(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED), in testDialingOutCall_NormalDialingOut()
588 IntentMatchers.hasData(dialOutUri)), Intents.times(1)); in testDialingOutCall_NormalDialingOut()
642 Intents.intending(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED)) in testDialingOutCall_DialingOutPreemptVirtualCall()
650 Intents.intended(allOf(IntentMatchers.hasAction(Intent.ACTION_CALL_PRIVILEGED), in testDialingOutCall_DialingOutPreemptVirtualCall()
[all …]
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DMissedCallNotificationController.java174 intent.setAction(Constants.Intents.ACTION_SHOW_PAGE); in getContentPendingIntent()
175 intent.putExtra(Constants.Intents.EXTRA_SHOW_PAGE, TelecomPageTab.Page.CALL_HISTORY); in getContentPendingIntent()
176 intent.putExtra(Constants.Intents.EXTRA_ACTION_READ_MISSED, true); in getContentPendingIntent()
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestMessages.java25 import android.provider.Telephony.Sms.Intents;
434 Intent intent = new Intent(Intents.SMS_CB_RECEIVED_ACTION); in sendBroadcast()
463 Intent intent = new Intent(Intents.SMS_CB_RECEIVED_ACTION); in testSendMessage7bitMultipageGsm()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java80 } else if (Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION.equals(action) || in onReceiveWithPrivilege()
81 Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION.equals(action)) { in onReceiveWithPrivilege()
92 } else if (Telephony.Sms.Intents.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION in onReceiveWithPrivilege()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertServiceTest.java100 intent.setAction(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); in sendMessage()
168 intent.setAction(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); in testDuplicateMessage()
188 intent.setAction(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); in testNonDuplicateMessage()
/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/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.java170 case Constants.Intents.ACTION_SHOW_PAGE: in handleIntent()
173 showTabPage(intent.getStringExtra(Constants.Intents.EXTRA_SHOW_PAGE)); in handleIntent()
174 if (intent.getBooleanExtra(Constants.Intents.EXTRA_ACTION_READ_MISSED, false)) { in handleIntent()
/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;
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()
545 intent.putExtra(Intents.EXTRA_IS_INITIAL_CREATE, true); in onCreate()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSmsDefaultDialog.java29 import android.provider.Telephony.Sms.Intents;
58 String packageName = intent.getStringExtra(Intents.EXTRA_PACKAGE_NAME); in onCreate()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DAllIntentsActivity.java39 import android.provider.ContactsContract.Intents;
40 import android.provider.ContactsContract.Intents.Insert;
298 Intent intent = new Intent(Intents.SEARCH_SUGGESTION_CLICKED); in onListItemClick()
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
DHistoryItemActionModulesBuilder.java326 intent.putExtra(ContactsContract.Intents.Insert.PHONE, moduleInfo.getNormalizedNumber()); in addModuleForAddingToContacts()
329 intent.putExtra(ContactsContract.Intents.Insert.NAME, moduleInfo.getName()); in addModuleForAddingToContacts()

123