Home
last modified time | relevance | path

Searched refs:Insert (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java42 import android.provider.ContactsContract.Intents.Insert;
530 parseExtras(state, kind, extras, Insert.PHONE_TYPE, Insert.PHONE, Phone.NUMBER); in parseExtras()
531 parseExtras(state, kind, extras, Insert.SECONDARY_PHONE_TYPE, Insert.SECONDARY_PHONE, in parseExtras()
533 parseExtras(state, kind, extras, Insert.TERTIARY_PHONE_TYPE, Insert.TERTIARY_PHONE, in parseExtras()
540 parseExtras(state, kind, extras, Insert.EMAIL_TYPE, Insert.EMAIL, Email.DATA); in parseExtras()
541 parseExtras(state, kind, extras, Insert.SECONDARY_EMAIL_TYPE, Insert.SECONDARY_EMAIL, in parseExtras()
543 parseExtras(state, kind, extras, Insert.TERTIARY_EMAIL_TYPE, Insert.TERTIARY_EMAIL, in parseExtras()
551 parseExtras(state, kind, extras, Insert.IM_PROTOCOL, Insert.IM_HANDLE, Im.DATA); in parseExtras()
555 final boolean hasOrg = extras.containsKey(Insert.COMPANY) in parseExtras()
556 || extras.containsKey(Insert.JOB_TITLE); in parseExtras()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java234 public static class Insert { class in MockContentProvider
249 public Insert(Uri uri, ContentValues contentValues, Uri resultUri) { in Insert() method in MockContentProvider.Insert
261 public Insert anyNumberOfTimes() { in anyNumberOfTimes()
278 Insert insert = (Insert) o; in equals()
470 private List<Insert> mExpectedInserts = new ArrayList<>();
497 mExpectedInserts.add(new Insert(contentUri, contentValues, resultUri)); in expectInsert()
559 for (Iterator<Insert> iterator = mExpectedInserts.iterator(); iterator.hasNext(); ) { in insert()
560 Insert insert = iterator.next(); in insert()
679 List<Insert> missedInserts = new ArrayList<>(); in verifyInserts()
680 for (Insert insert : mExpectedInserts) { in verifyInserts()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DAllIntentsActivity.java40 import android.provider.ContactsContract.Intents.Insert;
245 intent.putExtra(Insert.PHONE, "5123456789"); in onListItemClick()
252 intent.putExtra(Insert.EMAIL, "android@android.com"); in onListItemClick()
278 intent.putExtra(Insert.EMAIL, "a"); in onListItemClick()
284 intent.putExtra(Insert.PHONE, "800"); in onListItemClick()
607 intent.putExtra(Insert.EXTRA_ACCOUNT, account); in onAccountChosen()
608 intent.putExtra(Insert.EXTRA_DATA_SET, dataSet); in onAccountChosen()
615 intent.putExtra(Insert.EXTRA_ACCOUNT, account); in onAccountChosen()
616 intent.putExtra(Insert.EXTRA_DATA_SET, dataSet); in onAccountChosen()
642 intent.putParcelableArrayListExtra(Insert.DATA, rows); in putDataExtra()
/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()
DContactEditorFragment.java572 (Account) mIntentExtras.getParcelable(Intents.Insert.EXTRA_ACCOUNT); in onActivityCreated()
574 mIntentExtras.getString(Intents.Insert.EXTRA_DATA_SET); in onActivityCreated()
704 !data.hasExtra(Intents.Insert.EXTRA_ACCOUNT)) { in onActivityResult()
711 Intents.Insert.EXTRA_ACCOUNT); in onActivityResult()
/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/Bluetooth/src/com/android/bluetooth/btservice/storage/
DMetadataDao.java20 import androidx.room.Insert;
37 @Insert(onConflict = OnConflictStrategy.REPLACE)
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsIntentResolver.java33 import android.provider.ContactsContract.Intents.Insert;
149 query = intent.getStringExtra(Insert.PHONE); in resolveIntent()
152 query = intent.getStringExtra(Insert.EMAIL); in resolveIntent()
/packages/apps/Car/Radio/src/com/android/car/radio/storage/
DRadioDatabase.java28 import androidx.room.Insert;
54 @Insert(onConflict = OnConflictStrategy.REPLACE)
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java224 private class Insert implements Command { class in CalendarProvider2Test
227 public Insert(String eventName) { in Insert() method in CalendarProvider2Test.Insert
812 new Insert("normal0"),
813 new Insert("normal1"),
814 new Insert("normal2"),
830 new Insert("allday0"),
831 new Insert("allday1"),
848 new Insert("daily0"),
849 new Insert("daily1"),
869 new Insert("daily0"),
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DNonPhoneActivity.java29 import android.provider.ContactsContract.Intents.Insert;
92 intent.putExtra(Insert.PHONE, getArgumentPhoneNumber()); in onClick()
/packages/apps/Contacts/src/com/android/contacts/activities/
DShowOrCreateActivity.java130 mCreateExtras.putString(Intents.Insert.EMAIL, ssp); in onCreate()
136 mCreateExtras.putString(Intents.Insert.PHONE, ssp); in onCreate()
DContactEditorAccountsChangedActivity.java224 intent.putExtra(Intents.Insert.EXTRA_ACCOUNT, account); in saveAccountAndReturnResult()
DPeopleActivity.java1114 (Account) extras.getParcelable(Intents.Insert.EXTRA_ACCOUNT); in onCreateGroupMenuItemClicked()
1119 ? null : extras.getString(Intents.Insert.EXTRA_DATA_SET); in onCreateGroupMenuItemClicked()
DAttachPhotoActivity.java166 Intents.Insert.EXTRA_ACCOUNT); in onActivityResult()
/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/Contacts/src/com/android/contacts/util/
DAccountFilterUtil.java197 intent.putExtra(Intents.Insert.EXTRA_ACCOUNT, account);
198 intent.putExtra(Intents.Insert.EXTRA_DATA_SET, filter.dataSet);
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java30 import android.provider.ContactsContract.Intents.Insert;
769 extras.putString(Insert.NAME, TEST_NAME2); in testParseExtrasExistingName()
791 extras.putInt(Insert.IM_PROTOCOL, Im.PROTOCOL_GOOGLE_TALK); in testParseExtrasIgnoreLimit()
792 extras.putString(Insert.IM_HANDLE, TEST_IM); in testParseExtrasIgnoreLimit()
805 extras.putString(Insert.POSTAL, TEST_POSTAL); in testParseExtrasIgnoreUnhandled()
818 extras.putString(Insert.JOB_TITLE, TEST_NAME); in testParseExtrasJobTitle()
/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()
/packages/services/Car/car_product/init/
Dinit.car.rc1 # Insert car-specific startup services here
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamNotificationActivity.java120 Intent intent = new Intent(ContactsContract.Intents.Insert.ACTION); in createInsertContactsIntent()
125 intent.putExtra(ContactsContract.Intents.Insert.PHONE, number); in createInsertContactsIntent()
/packages/apps/Messaging/src/com/android/messaging/ui/
DUIIntentsImpl.java212 Intents.Insert.EMAIL : Intents.Insert.PHONE; in launchAddContactActivity()
/packages/apps/TV/partner_support/g3doc/
DCloudEpgForPartners.md89 #### Insert cloud_epg_input
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DSimpleUploaderAsyncTask.java98 Storage.Objects.Insert insertObject = storage.objects().insert(bucket, object, in uploadSimple()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java2411 intent.putExtra(Intents.Insert.NAME, mContactData.getDisplayName());
2423 intent.putExtra(Intents.Insert.DATA, values);
2430 intent.putExtra(Intents.Insert.EXTRA_ACCOUNT,
2433 intent.putExtra(Intents.Insert.EXTRA_DATA_SET,

12