/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/ |
D | DataItemTests.java | 108 mValues1.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testDataItemCollapsing_email() 109 mValues2.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testDataItemCollapsing_email() 110 mValues3.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testDataItemCollapsing_email() 138 mValues1.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); in testDataItemCollapsing_event() 139 mValues2.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); in testDataItemCollapsing_event() 140 mValues3.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); in testDataItemCollapsing_event() 141 mValues4.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); in testDataItemCollapsing_event() 174 mValues1.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testDataItemCollapsing_im() 175 mValues2.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testDataItemCollapsing_im() 176 mValues3.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testDataItemCollapsing_im() [all …]
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | ContactDataHandlerTest.java | 110 values.put(Data.MIMETYPE, CommonDataKinds.Email.CONTENT_ITEM_TYPE); in testConvertCurrentRowToPerson_labelCustom_typeCustom() 144 values.put(Data.MIMETYPE, CommonDataKinds.Email.CONTENT_ITEM_TYPE); in testConvertCurrentRowToPerson_labelIsNull_typeCustom() 181 values.put(Data.MIMETYPE, CommonDataKinds.Email.CONTENT_ITEM_TYPE); in testConvertCurrentRowToPerson_labelIsNull_typeHome() 214 values.put(Data.MIMETYPE, CommonDataKinds.Email.CONTENT_ITEM_TYPE); in testConvertCurrentRowToPerson_email() 244 values.put(Data.MIMETYPE, CommonDataKinds.Nickname.CONTENT_ITEM_TYPE); in testConvertCurrentRowToPerson_nickName() 269 values.put(Data.MIMETYPE, CommonDataKinds.Note.CONTENT_ITEM_TYPE); in testConvertCurrentRowToPerson_note() 296 values.put(Data.MIMETYPE, CommonDataKinds.Phone.CONTENT_ITEM_TYPE); in testPhoneNumber_generatesAllVariants_withE164FormatInCP2_oneDigitUS() 329 values.put(Data.MIMETYPE, CommonDataKinds.Phone.CONTENT_ITEM_TYPE); in testPhoneNumber_generatesAllVariants_withE164FormatInCP2_oneDigitDO() 365 values.put(Data.MIMETYPE, CommonDataKinds.Phone.CONTENT_ITEM_TYPE); in testPhoneNumber_generatesAllVariants_withE164FormatInCP2_twoDigitCN() 399 values.put(Data.MIMETYPE, CommonDataKinds.Phone.CONTENT_ITEM_TYPE); in testPhoneNumber_generatesAllVariants_withE164FormatInCP2_twoDigitES() [all …]
|
D | FakeContactsProvider.java | 157 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in addEmail() 168 values.put(Data.MIMETYPE, Nickname.CONTENT_ITEM_TYPE); in addNickname() 174 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in addPhone() 185 values.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE); in addStructuredPostal() 207 values.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in addStructuredName()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactModifierTests.java | 484 before.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimEmptyUntouched() 507 before.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimEmptyAfterUpdate() 629 first.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimUpdateRemain() 635 second.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimUpdateRemain() 707 first.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimUpdateUpdate() 764 first.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in testParseExtrasExistingName() 783 first.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testParseExtrasIgnoreLimit() 835 mockNameValues.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in testMigrateNameFromGoogleToExchange() 869 mockNameValues.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE); in testMigratePostalFromGoogleToExchange() 892 mockNameValues.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE); in testMigratePostalFromExchangeToGoogle() [all …]
|
D | RawContactDeltaTests.java | 71 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in getRawContact() 103 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testParcelChangesInsert() 179 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testEntityDiffNoneInsert() 222 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testEntityDiffUpdateInsert() 356 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testEntityDiffInsertInsert()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Pbap.kt | 110 .withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE) in addContact() 118 .withValue(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE) in addContact() 127 .withValue(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE) in addContact() 136 .withValue(Data.MIMETYPE, Note.CONTENT_ITEM_TYPE) in addContact()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | ContactsUtilsTests.java | 83 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testImIntentCustom() 106 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testImIntent() 124 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testImIntentWithAudio() 145 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testImIntentWithVideo() 170 values.put(Email.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testImEmailIntent()
|
D | GroupsDaoIntegrationTests.java | 115 Data.MIMETYPE + "=? AND " + GroupMembership.GROUP_ROW_ID + "=?", in test_deleteNonEmptyGroup_removesGroupAndMembers() 147 Data.MIMETYPE + "=? AND " + GroupMembership.GROUP_ROW_ID + "=?", in test_undoDeleteNonEmptyGroup_restoresGroupAndMembers() 246 values.put(Data.MIMETYPE, in addMemberToGroup()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 269 values.put(Data.MIMETYPE, Organization.CONTENT_ITEM_TYPE); in insertOrganization() 304 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in insertPhoneNumber() 340 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in insertEmail() 362 values.put(Data.MIMETYPE, SipAddress.CONTENT_ITEM_TYPE); in insertSipAddress() 375 values.put(Data.MIMETYPE, Nickname.CONTENT_ITEM_TYPE); in insertNickname() 386 values.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE); in insertPostalAddress() 395 values.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE); in insertPostalAddress() 403 values.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in insertPhoto() 412 values.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in insertPhoto() 421 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in insertGroupMembership() [all …]
|
D | ContactsProvider2Test.java | 650 Data.MIMETYPE, in testDataProjection() 740 Data.MIMETYPE, in testDistinctDataProjection() 824 Data.MIMETYPE, in testEntityProjection() 934 Data.MIMETYPE, in testRawEntityProjection() 1356 values.put(Contacts.Entity.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in assertEntityRows() 1373 values.put(Contacts.Entity.MIMETYPE, Im.CONTENT_ITEM_TYPE); in assertEntityRows() 1390 values.putNull(Contacts.Entity.MIMETYPE); in assertEntityRows() 1498 values.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in testDataInsertAndUpdateHashId_Photo() 1521 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testDataInsertPhoneNumberTooLongIsTrimmed() 1578 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()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapUtilsTest.java | 21 import static android.provider.ContactsContract.Data.MIMETYPE; 192 MatrixCursor cursor = new MatrixCursor(new String[] {CONTACT_ID, MIMETYPE, DATA1}); in fetchAndSetContacts_whenIsLoadTrue_returnsContactsSetSize() 219 MatrixCursor cursor = new MatrixCursor(new String[] {CONTACT_ID, MIMETYPE, DATA1}); in fetchAndSetContacts_whenIsLoadFalse_returnsContactsSetSize() 275 MatrixCursor dataCursor = new MatrixCursor(new String[] {CONTACT_ID, MIMETYPE, DATA1}); in updateSecondaryVersionCounter_whenContactsAreAdded() 306 MatrixCursor dataCursor = new MatrixCursor(new String[] {CONTACT_ID, MIMETYPE, DATA1}); in updateSecondaryVersionCounter_whenContactsAreDeleted() 338 MatrixCursor dataCursor = new MatrixCursor(new String[] {CONTACT_ID, MIMETYPE, DATA1}); in updateSecondaryVersionCounter_whenContactsAreUpdated()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppReceiveFileInfoTest.java | 122 BluetoothShare.MIMETYPE in generateFileInfo_wrongHint_fileError() 170 BluetoothShare.MIMETYPE in generateFileInfo_noInsertUri_returnFileError() 210 BluetoothShare.MIMETYPE in generateFileInfo_withInsertUri_workCorrectly() 254 BluetoothShare.MIMETYPE in generateFileInfo_longFileName_trimFileName()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandler.java | 53 MimetypesColumns.MIMETYPE, 61 MimetypesColumns.MIMETYPE, 68 public static final int MIMETYPE = 1; field 75 String[] COLUMNS = { Data._ID, Data.RAW_CONTACT_ID, Data.MIMETYPE }; 79 int MIMETYPE = 2; field
|
D | LegacyApiSupport.java | 178 "(CASE WHEN " + Data.MIMETYPE + "='" + Im.CONTENT_ITEM_TYPE + "'" 886 mValues.put(Data.MIMETYPE, android.provider.Contacts.Extensions.CONTENT_ITEM_TYPE); in insertExtension() 909 mValues.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in insertGroupMembership() 1127 mValues.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in updatePhoto() 1179 Data.MIMETYPE + "='" + LegacyPhotoData.CONTENT_ITEM_TYPE + "'" in updateLegacyPhotoData() 1184 mValues.put(Data.MIMETYPE, LegacyPhotoData.CONTENT_ITEM_TYPE); in updateLegacyPhotoData() 1315 mValues2.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in parsePeopleValues() 1329 mValues3.put(Data.MIMETYPE, Note.CONTENT_ITEM_TYPE); in parsePeopleValues() 1337 mValues.put(Data.MIMETYPE, Organization.CONTENT_ITEM_TYPE); in parseOrganizationValues() 1358 mValues.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in parsePhoneValues() [all …]
|
/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/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/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()
|
/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/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/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapUtils.java | 281 String[] projection = {Data.CONTACT_ID, Data.DATA1, Data.MIMETYPE}; in loadAllContacts() 326 String[] dataProjection = {Data.CONTACT_ID, Data.DATA1, Data.MIMETYPE}; in updateSecondaryVersionCounter() 377 dataCursor.getString(dataCursor.getColumnIndex(Data.MIMETYPE)))) { in updateSecondaryVersionCounter() 413 int indexMimeType = dataCursor.getColumnIndex(Data.MIMETYPE); in updateSecondaryVersionCounter() 548 int indexMimeType = c.getColumnIndex(Data.MIMETYPE); in fetchAndSetContacts()
|
/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/Messaging/tests/src/com/android/messaging/util/ |
D | ContactUtilTest.java | 80 .withValue(ContactsContract.Data.MIMETYPE, in addTestContact() 88 .withValue(ContactsContract.Data.MIMETYPE, in addTestContact() 99 .withValue(ContactsContract.Data.MIMETYPE, in addTestContact()
|
/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/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()
|