Home
last modified time | relevance | path

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

/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.java553 (Account) mIntentExtras.getParcelable(Intents.Insert.EXTRA_ACCOUNT); in onActivityCreated()
555 mIntentExtras.getString(Intents.Insert.EXTRA_DATA_SET); in onActivityCreated()
668 !data.hasExtra(Intents.Insert.EXTRA_ACCOUNT)) { in onActivityResult()
675 Intents.Insert.EXTRA_ACCOUNT); in onActivityResult()
/packages/apps/Dialer/java/com/android/dialer/util/
DIntentUtil.java69 intent.putExtra(ContactsContract.Intents.Insert.PHONE, phoneNumber); in populateContactIntent()
72 intent.putExtra(ContactsContract.Intents.Insert.NAME, name); in populateContactIntent()
75 intent.putExtra(ContactsContract.Intents.Insert.PHONE_TYPE, phoneNumberType); in populateContactIntent()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java188 private class Insert implements Command { class in CalendarProvider2Test
191 public Insert(String eventName) { in Insert() method in CalendarProvider2Test.Insert
776 new Insert("normal0"),
777 new Insert("normal1"),
778 new Insert("normal2"),
794 new Insert("allday0"),
795 new Insert("allday1"),
812 new Insert("daily0"),
813 new Insert("daily1"),
833 new Insert("daily0"),
[all …]
/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/Contacts/src/com/android/contacts/
DNonPhoneActivity.java29 import android.provider.ContactsContract.Intents.Insert;
92 intent.putExtra(Insert.PHONE, getArgumentPhoneNumber()); in onClick()
DContactSaveService.java809 callbackIntent.putExtra(ContactsContract.Intents.Insert.DATA, Lists.newArrayList(values)); in createGroup()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DIntentProvider.java155 intent.putExtra(ContactsContract.Intents.Insert.NAME, contactToSave.getDisplayName());
179 intent.putExtra(ContactsContract.Intents.Insert.DATA, values);
/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/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/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/Dialer/java/com/android/incallui/spam/
DSpamNotificationActivity.java98 Intent intent = new Intent(ContactsContract.Intents.Insert.ACTION); in createInsertContactsIntent()
103 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/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java2809 intent.putExtra(Intents.Insert.NAME, mContactData.getDisplayName()); in onOptionsItemSelected()
2828 intent.putExtra(Intents.Insert.DATA, values); in onOptionsItemSelected()
2835 intent.putExtra(Intents.Insert.EXTRA_ACCOUNT, in onOptionsItemSelected()
2838 intent.putExtra(Intents.Insert.EXTRA_DATA_SET, in onOptionsItemSelected()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DWebViewContextMenu.java307 addIntent.putExtra(ContactsContract.Intents.Insert.PHONE, decodedPhoneExtra); in onCreateContextMenu()
/packages/apps/Calendar/src/com/android/calendar/
DEventInfoFragment.java2052 intent.putExtra(Intents.Insert.NAME, senderPersonal); in showContactInfo()