/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
MoreContactUtilsTest.java | 35 assertCollapses("41", true, Phone.CONTENT_ITEM_TYPE, null, Phone.CONTENT_ITEM_TYPE, null); 36 assertCollapses("42", true, Phone.CONTENT_ITEM_TYPE, "1", Phone.CONTENT_ITEM_TYPE, "1"); 38 assertCollapses("51", false, Phone.CONTENT_ITEM_TYPE, "1", Phone.CONTENT_ITEM_TYPE, "2"); 39 assertCollapses("52", false, Phone.CONTENT_ITEM_TYPE, "1", Phone.CONTENT_ITEM_TYPE, null); 40 assertCollapses("53", false, Phone.CONTENT_ITEM_TYPE, null, Phone.CONTENT_ITEM_TYPE, "2") [all...] |
RawContactModifierTests.java | 94 final DataKind nameKind = new DataKind(StructuredName.CONTENT_ITEM_TYPE, 102 Phone.CONTENT_ITEM_TYPE, -1, 10, true); 119 final DataKind emailKind = new DataKind(Email.CONTENT_ITEM_TYPE, -1, 10, true); 126 final DataKind imKind = new DataKind(Im.CONTENT_ITEM_TYPE, -1, 10, true); 133 final DataKind orgKind = new DataKind(Organization.CONTENT_ITEM_TYPE, -1, 10, true); 209 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); 254 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); 291 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); 320 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); 356 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardExporterTests.java | 53 mVerifier.addInputEntry().addContentValues(StructuredName.CONTENT_ITEM_TYPE) 64 mVerifier.addInputEntry().addContentValues(StructuredName.CONTENT_ITEM_TYPE) 102 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) 111 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) 125 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) 162 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) 171 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) 181 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) 190 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) 232 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) [all...] |
VCardJapanizationTests.java | 38 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) 66 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) 88 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) 114 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) 138 .addExpected(StructuredName.CONTENT_ITEM_TYPE); 166 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) 177 .addExpected(StructuredName.CONTENT_ITEM_TYPE); 190 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE) 198 .addExpected(StructuredName.CONTENT_ITEM_TYPE); 207 entry.addContentValues(StructuredPostal.CONTENT_ITEM_TYPE) [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
TypePrecedence.java | 102 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) { 104 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) { 106 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) { 108 } else if (mimetype.equals(Im.CONTENT_ITEM_TYPE)) { 112 } else if (mimetype.equals(Organization.CONTENT_ITEM_TYPE)) {
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
TypePrecedence.java | 94 if (mimetype.equals(Phone.CONTENT_ITEM_TYPE)) { 98 } else if (mimetype.equals(Email.CONTENT_ITEM_TYPE)) { 100 } else if (mimetype.equals(StructuredPostal.CONTENT_ITEM_TYPE)) { 102 } else if (mimetype.equals(Im.CONTENT_ITEM_TYPE)) { 104 } else if (mimetype.equals(Organization.CONTENT_ITEM_TYPE)) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
DataItem.java | 61 if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) { 63 } else if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) { 65 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) { 67 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) { 69 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) { 71 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType)) { 73 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) { 75 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimeType)) { 77 } else if (Note.CONTENT_ITEM_TYPE.equals(mimeType)) { 79 } else if (Website.CONTENT_ITEM_TYPE.equals(mimeType)) [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
EditorUiUtils.java | 80 // Nickname.CONTENT_ITEM_TYPE 81 // Email.CONTENT_ITEM_TYPE 82 // StructuredPostal.CONTENT_ITEM_TYPE 83 // Im.CONTENT_ITEM_TYPE 84 // Note.CONTENT_ITEM_TYPE 85 // Organization.CONTENT_ITEM_TYPE 86 // Phone.CONTENT_ITEM_TYPE 87 // SipAddress.CONTENT_ITEM_TYPE 88 // Website.CONTENT_ITEM_TYPE 89 // Relation.CONTENT_ITEM_TYPE [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/ |
DataItemTests.java | 117 mValues1.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); 118 mValues2.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); 119 mValues3.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); 129 final DataKind kind = mGoogleAccountType.getKindForMimetype(Email.CONTENT_ITEM_TYPE); 147 mValues1.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); 148 mValues2.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); 149 mValues3.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); 150 mValues4.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); 166 final DataKind kind = mGoogleAccountType.getKindForMimetype(Event.CONTENT_ITEM_TYPE); 183 mValues1.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/ |
ExternalAccountTypeTest.java | 94 assertNotNull(type.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE)); 97 assertNotNull(type.getKindForMimetype(Email.CONTENT_ITEM_TYPE)); 98 assertNotNull(type.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE)); 99 assertNotNull(type.getKindForMimetype(Im.CONTENT_ITEM_TYPE)); 100 assertNotNull(type.getKindForMimetype(Organization.CONTENT_ITEM_TYPE)); 101 assertNotNull(type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE)); 102 assertNotNull(type.getKindForMimetype(Note.CONTENT_ITEM_TYPE)); 103 assertNotNull(type.getKindForMimetype(Website.CONTENT_ITEM_TYPE)); 104 assertNotNull(type.getKindForMimetype(SipAddress.CONTENT_ITEM_TYPE)); 105 assertNotNull(type.getKindForMimetype(Event.CONTENT_ITEM_TYPE)); [all...] |
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/ |
FeedContract.java | 58 public static final String CONTENT_ITEM_TYPE =
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/ |
FeedContract.java | 58 public static final String CONTENT_ITEM_TYPE =
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
FeedContract.java | 58 public static final String CONTENT_ITEM_TYPE =
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_DataTest.java | 144 cv1.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); 151 cv2.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 158 cv3.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); 165 cv4.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); 172 cv5.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); 179 cv6.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 186 cv7.put(Data.MIMETYPE, SipAddress.CONTENT_ITEM_TYPE); 218 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) 236 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) 252 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) [all...] |
ContactsContract_StructuredPhoneticName.java | 64 TestData name1 = rawContact1.newDataRow(StructuredName.CONTENT_ITEM_TYPE) 88 TestData name1 = rawContact1.newDataRow(StructuredName.CONTENT_ITEM_TYPE) 98 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) 125 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) 135 TestData name1 = rawContact1.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
|
ContactsContract_GroupMembershipTest.java | 53 TestData groupMembership = rawContact.newDataRow(GroupMembership.CONTENT_ITEM_TYPE) 72 TestData groupMembership = rawContact.newDataRow(GroupMembership.CONTENT_ITEM_TYPE) 87 TestData groupMembership = rawContact.newDataRow(GroupMembership.CONTENT_ITEM_TYPE)
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
ContactLoaderUtils.java | 52 if (ContactsContract.Contacts.CONTENT_ITEM_TYPE.equals(type)) { 57 if (RawContacts.CONTENT_ITEM_TYPE.equals(type)) {
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardComposer.java | 593 * Builds and returns vCard using given map, whose key is CONTENT_ITEM_TYPE defined in 602 builder.appendNameProperties(contentValuesListMap.get(StructuredName.CONTENT_ITEM_TYPE)) 603 .appendNickNames(contentValuesListMap.get(Nickname.CONTENT_ITEM_TYPE)) 604 .appendPhones(contentValuesListMap.get(Phone.CONTENT_ITEM_TYPE), 606 .appendEmails(contentValuesListMap.get(Email.CONTENT_ITEM_TYPE)) 607 .appendPostals(contentValuesListMap.get(StructuredPostal.CONTENT_ITEM_TYPE)) 608 .appendOrganizations(contentValuesListMap.get(Organization.CONTENT_ITEM_TYPE)) 609 .appendWebsites(contentValuesListMap.get(Website.CONTENT_ITEM_TYPE)); 611 builder.appendPhotos(contentValuesListMap.get(Photo.CONTENT_ITEM_TYPE)); 613 builder.appendNotes(contentValuesListMap.get(Note.CONTENT_ITEM_TYPE)) [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/ |
PhoneNumberInteractionTest.java | 96 Phone.CONTENT_ITEM_TYPE, 13); 115 Phone.CONTENT_ITEM_TYPE, 1); 134 Phone.CONTENT_ITEM_TYPE, 13) 136 Phone.CONTENT_ITEM_TYPE, 13); 175 Phone.CONTENT_ITEM_TYPE, 13) 177 Phone.CONTENT_ITEM_TYPE, 13); 196 SipAddress.CONTENT_ITEM_TYPE, 13); 214 Phone.CONTENT_ITEM_TYPE, 13) 216 Phone.CONTENT_ITEM_TYPE, 13);
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DataUtil.java | 44 CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE); 52 values.put(ContactsContract.Data.MIMETYPE, CommonDataKinds.Phone.CONTENT_ITEM_TYPE); 59 values.put(ContactsContract.Data.MIMETYPE, CommonDataKinds.Email.CONTENT_ITEM_TYPE);
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
PickContact.java | 75 ContactsContract.Contacts.CONTENT_ITEM_TYPE)); 81 ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE)); 84 ContactsContract.CommonDataKinds.StructuredPostal.CONTENT_ITEM_TYPE));
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
ContactsUtils.java | 56 if (Phone.CONTENT_ITEM_TYPE.equals(mimeType) 59 mimeType = Phone.CONTENT_ITEM_TYPE; 62 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) { 65 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) { 68 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) { 88 if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { 92 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) { 96 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimetype)) { 100 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimetype)) { 235 final boolean isEmail = Email.CONTENT_ITEM_TYPE.equals(values.getAsString(Data.MIMETYPE)) [all...] |
/development/samples/NotePad/src/com/example/android/notepad/ |
NotePad.java | 119 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.google.note";
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
FilteredNumberContract.java | 160 public static final String CONTENT_ITEM_TYPE =
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForNote.java | 31 super(context, dbHelper, aggregator, Note.CONTENT_ITEM_TYPE);
|