/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/ |
D | DataItemTests.java | 105 mValues1.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testDataItemCollapsing_email() 106 mValues2.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testDataItemCollapsing_email() 107 mValues3.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testDataItemCollapsing_email() 135 mValues1.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); in testDataItemCollapsing_event() 136 mValues2.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); in testDataItemCollapsing_event() 137 mValues3.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); in testDataItemCollapsing_event() 138 mValues4.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); in testDataItemCollapsing_event() 171 mValues1.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testDataItemCollapsing_im() 172 mValues2.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testDataItemCollapsing_im() 173 mValues3.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testDataItemCollapsing_im() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactModifierTests.java | 483 before.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimEmptyUntouched() 506 before.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimEmptyAfterUpdate() 628 first.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimUpdateRemain() 634 second.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimUpdateRemain() 706 first.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimUpdateUpdate() 763 first.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in testParseExtrasExistingName() 782 first.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testParseExtrasIgnoreLimit() 834 mockNameValues.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in testMigrateNameFromGoogleToExchange() 868 mockNameValues.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE); in testMigratePostalFromGoogleToExchange() 891 mockNameValues.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE); in testMigratePostalFromExchangeToGoogle() [all …]
|
D | RawContactDeltaTests.java | 70 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in getRawContact() 102 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testParcelChangesInsert() 178 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testEntityDiffNoneInsert() 221 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testEntityDiffUpdateInsert() 355 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testEntityDiffInsertInsert()
|
/packages/apps/Car/libs/car-telephony-common/tests/unittests/src/com/android/car/telephony/common/ |
D | QueryParamTest.java | 85 Data.MIMETYPE + " = ? OR " in testBuildQueryParam() 86 + Data.MIMETYPE + " = ? OR " in testBuildQueryParam() 87 + Data.MIMETYPE + " = ?", in testBuildQueryParam() 98 .is(Data.MIMETYPE, "=", Phone.CONTENT_ITEM_TYPE) in testBuildQueryParam() 99 .or(Data.MIMETYPE, "=", StructuredName.CONTENT_ITEM_TYPE) in testBuildQueryParam() 100 .or(Data.MIMETYPE, "=", StructuredPostal.CONTENT_ITEM_TYPE)) in testBuildQueryParam()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 251 values.put(Data.MIMETYPE, Organization.CONTENT_ITEM_TYPE); in insertOrganization() 286 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in insertPhoneNumber() 322 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in insertEmail() 344 values.put(Data.MIMETYPE, SipAddress.CONTENT_ITEM_TYPE); in insertSipAddress() 357 values.put(Data.MIMETYPE, Nickname.CONTENT_ITEM_TYPE); in insertNickname() 368 values.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE); in insertPostalAddress() 377 values.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE); in insertPostalAddress() 385 values.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in insertPhoto() 394 values.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in insertPhoto() 403 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in insertGroupMembership() [all …]
|
D | ContactsProvider2Test.java | 424 Data.MIMETYPE, in testDataProjection() 514 Data.MIMETYPE, in testDistinctDataProjection() 598 Data.MIMETYPE, in testEntityProjection() 708 Data.MIMETYPE, in testRawEntityProjection() 1130 values.put(Contacts.Entity.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in assertEntityRows() 1147 values.put(Contacts.Entity.MIMETYPE, Im.CONTENT_ITEM_TYPE); in assertEntityRows() 1164 values.putNull(Contacts.Entity.MIMETYPE); in assertEntityRows() 1272 values.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in testDataInsertAndUpdateHashId_Photo() 1295 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testDataInsertPhoneNumberTooLongIsTrimmed() 1352 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testPhonesQuery() [all …]
|
D | ContactsProvider2TransactionTest.java | 190 b.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in addInsertContactOperations() 219 b.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in addInsertProfileOperations()
|
D | ContactsActor.java | 667 values.put(Data.MIMETYPE, CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE); in createName() 681 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in createPhone() 697 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in createEmail() 777 values.put(Data.MIMETYPE, CommonDataKinds.GroupMembership.CONTENT_ITEM_TYPE); in createGroupMembership()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | ContactsUtilsTests.java | 82 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testImIntentCustom() 105 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testImIntent() 123 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testImIntentWithAudio() 144 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testImIntentWithVideo() 169 values.put(Email.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testImEmailIntent()
|
D | GroupsDaoIntegrationTests.java | 114 Data.MIMETYPE + "=? AND " + GroupMembership.GROUP_ROW_ID + "=?", in test_deleteNonEmptyGroup_removesGroupAndMembers() 146 Data.MIMETYPE + "=? AND " + GroupMembership.GROUP_ROW_ID + "=?", in test_undoDeleteNonEmptyGroup_restoresGroupAndMembers() 245 values.put(Data.MIMETYPE, in addMemberToGroup()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandler.java | 49 MimetypesColumns.MIMETYPE, 57 MimetypesColumns.MIMETYPE, 64 public static final int MIMETYPE = 1; field 71 String[] COLUMNS = { Data._ID, Data.RAW_CONTACT_ID, Data.MIMETYPE }; 75 int MIMETYPE = 2; field
|
D | LegacyApiSupport.java | 176 "(CASE WHEN " + Data.MIMETYPE + "='" + Im.CONTENT_ITEM_TYPE + "'" 884 mValues.put(Data.MIMETYPE, android.provider.Contacts.Extensions.CONTENT_ITEM_TYPE); in insertExtension() 907 mValues.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in insertGroupMembership() 1125 mValues.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in updatePhoto() 1177 Data.MIMETYPE + "='" + LegacyPhotoData.CONTENT_ITEM_TYPE + "'" in updateLegacyPhotoData() 1182 mValues.put(Data.MIMETYPE, LegacyPhotoData.CONTENT_ITEM_TYPE); in updateLegacyPhotoData() 1313 mValues2.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in parsePeopleValues() 1327 mValues3.put(Data.MIMETYPE, Note.CONTENT_ITEM_TYPE); in parsePeopleValues() 1335 mValues.put(Data.MIMETYPE, Organization.CONTENT_ITEM_TYPE); in parseOrganizationValues() 1356 mValues.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in parsePhoneValues() [all …]
|
D | SearchIndexManager.java | 64 MimetypesColumns.MIMETYPE, 70 public static final int MIMETYPE = 1; field in SearchIndexManager.ContactIndexQuery 381 String mimetype = cursor.getString(ContactIndexQuery.MIMETYPE); in buildAndInsertIndex()
|
/packages/apps/Car/Dialer/framework/fake/src/com/android/car/dialer/framework/testdata/ |
D | ContactDataHandler.java | 104 .withValue(ContactsContract.Data.MIMETYPE, in addOneContact() 112 .withValue(ContactsContract.Data.MIMETYPE, in addOneContact() 122 .withValue(ContactsContract.Data.MIMETYPE, in addOneContact()
|
/packages/apps/Contacts/src/com/android/contacts/database/ |
D | SimContactDaoImpl.java | 320 selectionBuilder.append(Data.MIMETYPE).append("=? AND "); in queryRawContactsForSimContacts() 336 selectionBuilder.append(Data.MIMETYPE).append("=? AND "); in queryRawContactsForSimContacts() 433 Data.RAW_CONTACT_ID, Phone.NUMBER, Data.DISPLAY_NAME, Data.MIMETYPE 439 public static final int MIMETYPE = 3; field in SimContactDaoImpl.DataQuery 454 return Phone.CONTENT_ITEM_TYPE.equals(cursor.getString(MIMETYPE)); in isPhoneNumber()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapUtils.java | 207 String[] projection = {Data.CONTACT_ID, Data.DATA1, Data.MIMETYPE}; in loadAllContacts() 246 String[] dataProjection = {Data.CONTACT_ID, Data.DATA1, Data.MIMETYPE}; in updateSecondaryVersionCounter() 288 dataCursor.getString(dataCursor.getColumnIndex(Data.MIMETYPE)))) { in updateSecondaryVersionCounter() 317 int indexMimeType = dataCursor.getColumnIndex(Data.MIMETYPE); in updateSecondaryVersionCounter() 430 int indexMimeType = c.getColumnIndex(Data.MIMETYPE); in fetchAndSetContacts()
|
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/ |
D | ContactsPopulator.java | 204 ContactsContract.Data.MIMETYPE, in addContact() 216 ContactsContract.Data.MIMETYPE, in addContact() 229 ContactsContract.Data.MIMETYPE, in addContact() 242 ContactsContract.Data.MIMETYPE, in addContact()
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | DataItem.java | 58 final String mimeType = values.getAsString(Data.MIMETYPE); in createFrom() 120 return mContentValues.getAsString(Data.MIMETYPE); in getMimeType() 124 mContentValues.put(Data.MIMETYPE, mimeType); in setMimeType()
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | InMemoryPhoneBook.java | 118 .is(Data.MIMETYPE, "=", CommonDataKinds.Phone.CONTENT_ITEM_TYPE) in InMemoryPhoneBook() 119 .or(Data.MIMETYPE, "=", CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) in InMemoryPhoneBook() 120 .or(Data.MIMETYPE, "=", CommonDataKinds.StructuredPostal.CONTENT_ITEM_TYPE)) in InMemoryPhoneBook()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | AggregationSuggestionEngine.java | 269 Data.MIMETYPE + " IN ('" 281 Data.MIMETYPE, 293 public static final int MIMETYPE = 3; field in AggregationSuggestionEngine.DataQuery 403 final String mimetype = mDataCursor.getString(DataQuery.MIMETYPE); in getSuggestions()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimContacts.java | 167 builder.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact() 173 builder.withValue(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact() 183 builder.withValue(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact() 193 builder.withValue(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
D | DataItem.java | 57 final String mimeType = values.getAsString(Data.MIMETYPE); in createFrom() 113 return mContentValues.getAsString(Data.MIMETYPE); in getMimeType() 117 mContentValues.put(Data.MIMETYPE, mimeType); in setMimeType()
|
/packages/apps/Messaging/tests/src/com/android/messaging/util/ |
D | ContactUtilTest.java | 79 .withValue(ContactsContract.Data.MIMETYPE, in addTestContact() 87 .withValue(ContactsContract.Data.MIMETYPE, in addTestContact() 98 .withValue(ContactsContract.Data.MIMETYPE, in addTestContact()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SplitAggregateView.java | 57 Data.MIMETYPE, RawContacts.ACCOUNT_TYPE, RawContacts.DATA_SET, Data.RAW_CONTACT_ID, 62 int MIMETYPE = 0; field 174 String mimetype = cursor.getString(SplitQuery.MIMETYPE); in loadData()
|
/packages/apps/EmergencyInfo/tests/common/src/com/android/emergency/ |
D | ContactTestUtils.java | 82 values.put(ContactsContract.Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in insertStructuredName() 92 values.put(ContactsContract.Data.MIMETYPE, in insertPhoneNumber()
|