/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 | 93 final DataKind nameKind = new DataKind(StructuredName.CONTENT_ITEM_TYPE, 101 Phone.CONTENT_ITEM_TYPE, -1, 10, true); 118 final DataKind emailKind = new DataKind(Email.CONTENT_ITEM_TYPE, -1, 10, true); 125 final DataKind imKind = new DataKind(Im.CONTENT_ITEM_TYPE, -1, 10, true); 132 final DataKind orgKind = new DataKind(Organization.CONTENT_ITEM_TYPE, -1, 10, true); 208 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); 253 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); 282 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); 318 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); 329 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
DataItem.java | 57 if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) { 59 } else if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) { 61 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) { 63 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) { 65 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) { 67 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType)) { 69 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) { 71 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimeType)) { 73 } else if (Note.CONTENT_ITEM_TYPE.equals(mimeType)) { 75 } else if (Website.CONTENT_ITEM_TYPE.equals(mimeType)) [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...] |
VCardTestUtilsTests.java | 60 .addExpected(StructuredName.CONTENT_ITEM_TYPE) 80 verifier.addInputEntry().addContentValues(StructuredName.CONTENT_ITEM_TYPE)
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
EditorUiUtils.java | 44 // Nickname.CONTENT_ITEM_TYPE 45 // Email.CONTENT_ITEM_TYPE 46 // StructuredPostal.CONTENT_ITEM_TYPE 47 // Im.CONTENT_ITEM_TYPE 48 // Note.CONTENT_ITEM_TYPE 49 // Organization.CONTENT_ITEM_TYPE 50 // Phone.CONTENT_ITEM_TYPE 51 // SipAddress.CONTENT_ITEM_TYPE 52 // Website.CONTENT_ITEM_TYPE 53 // Relation.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/tests/src/com/android/contacts/common/model/account/ |
ExternalAccountTypeTest.java | 104 assertNotNull(type.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE)); 107 assertNotNull(type.getKindForMimetype(Email.CONTENT_ITEM_TYPE)); 108 assertNotNull(type.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE)); 109 assertNotNull(type.getKindForMimetype(Im.CONTENT_ITEM_TYPE)); 110 assertNotNull(type.getKindForMimetype(Organization.CONTENT_ITEM_TYPE)); 111 assertNotNull(type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE)); 112 assertNotNull(type.getKindForMimetype(Note.CONTENT_ITEM_TYPE)); 113 assertNotNull(type.getKindForMimetype(Website.CONTENT_ITEM_TYPE)); 114 assertNotNull(type.getKindForMimetype(SipAddress.CONTENT_ITEM_TYPE)); 115 assertNotNull(type.getKindForMimetype(Event.CONTENT_ITEM_TYPE)); [all...] |
/developers/build/prebuilts/gradle/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/provider/ |
FeedContract.java | 58 public static final String CONTENT_ITEM_TYPE =
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapterSample/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 | 76 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) 93 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) 110 rawContact.newDataRow(CommonDataKinds.Email.CONTENT_ITEM_TYPE) 122 rawContact.newDataRow(CommonDataKinds.StructuredPostal.CONTENT_ITEM_TYPE) 126 rawContact.newDataRow(Phone.CONTENT_ITEM_TYPE) 236 values.put(Data.MIMETYPE, CommonDataKinds.Phone.CONTENT_ITEM_TYPE); 265 rawContact.newDataRow(StructuredName.CONTENT_ITEM_TYPE) 268 rawContact.newDataRow(Email.CONTENT_ITEM_TYPE) 272 rawContact.newDataRow(Email.CONTENT_ITEM_TYPE) 276 rawContact.newDataRow(Phone.CONTENT_ITEM_TYPE) [all...] |
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 | 579 * Builds and returns vCard using given map, whose key is CONTENT_ITEM_TYPE defined in 588 builder.appendNameProperties(contentValuesListMap.get(StructuredName.CONTENT_ITEM_TYPE)) 589 .appendNickNames(contentValuesListMap.get(Nickname.CONTENT_ITEM_TYPE)) 590 .appendPhones(contentValuesListMap.get(Phone.CONTENT_ITEM_TYPE), 592 .appendEmails(contentValuesListMap.get(Email.CONTENT_ITEM_TYPE)) 593 .appendPostals(contentValuesListMap.get(StructuredPostal.CONTENT_ITEM_TYPE)) 594 .appendOrganizations(contentValuesListMap.get(Organization.CONTENT_ITEM_TYPE)) 595 .appendWebsites(contentValuesListMap.get(Website.CONTENT_ITEM_TYPE)); 597 builder.appendPhotos(contentValuesListMap.get(Photo.CONTENT_ITEM_TYPE)); 599 builder.appendNotes(contentValuesListMap.get(Note.CONTENT_ITEM_TYPE)) [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/ |
PhoneNumberInteractionTest.java | 94 Phone.CONTENT_ITEM_TYPE, 13); 113 Phone.CONTENT_ITEM_TYPE, 1); 132 Phone.CONTENT_ITEM_TYPE, 13) 134 Phone.CONTENT_ITEM_TYPE, 13); 173 Phone.CONTENT_ITEM_TYPE, 13) 175 Phone.CONTENT_ITEM_TYPE, 13); 194 SipAddress.CONTENT_ITEM_TYPE, 13); 212 Phone.CONTENT_ITEM_TYPE, 13) 214 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/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForNote.java | 32 super(context, dbHelper, aggregator, Note.CONTENT_ITEM_TYPE);
|
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
PartnerBookmarksContract.java | 95 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/partnerbookmark";
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactOperations.java | 137 mValues.put(StructuredName.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); 141 mValues.put(StructuredName.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); 145 mValues.put(StructuredName.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); 165 mValues.put(Email.MIMETYPE, Email.CONTENT_ITEM_TYPE); 183 mValues.put(Phone.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 198 mValues.put(GroupMembership.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); 209 mValues.put(Photo.MIMETYPE, Photo.CONTENT_ITEM_TYPE); 337 mValues.put(Photo.MIMETYPE, Photo.CONTENT_ITEM_TYPE);
|