Home
last modified time | relevance | path

Searched refs:MIMETYPE (Results 1 – 25 of 68) sorted by relevance

123

/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java105 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/
DRawContactModifierTests.java483 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 …]
DRawContactDeltaTests.java70 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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java251 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 …]
DContactsProvider2Test.java431 Data.MIMETYPE, in testDataProjection()
521 Data.MIMETYPE, in testDistinctDataProjection()
605 Data.MIMETYPE, in testEntityProjection()
715 Data.MIMETYPE, in testRawEntityProjection()
1137 values.put(Contacts.Entity.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in assertEntityRows()
1154 values.put(Contacts.Entity.MIMETYPE, Im.CONTENT_ITEM_TYPE); in assertEntityRows()
1171 values.putNull(Contacts.Entity.MIMETYPE); in assertEntityRows()
1279 values.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in testDataInsertAndUpdateHashId_Photo()
1302 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testDataInsertPhoneNumberTooLongIsTrimmed()
1359 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testPhonesQuery()
[all …]
DContactsActor.java659 values.put(Data.MIMETYPE, CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE); in createName()
673 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in createPhone()
689 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in createEmail()
769 values.put(Data.MIMETYPE, CommonDataKinds.GroupMembership.CONTENT_ITEM_TYPE); in createGroupMembership()
DContactsProvider2TransactionTest.java190 b.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in addInsertContactOperations()
219 b.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in addInsertProfileOperations()
/packages/apps/Contacts/tests/src/com/android/contacts/
DContactsUtilsTests.java82 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()
DGroupsDaoIntegrationTests.java114 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/apps/Car/libs/car-settings-lib/src/com/android/car/settingslib/util/
DProfileNameSaver.java48 ContactsContract.Data.MIMETYPE};
53 private static final String CONTACT_MIME_QUERY = ContactsContract.Data.MIMETYPE + " = ?";
104 values.put(ContactsContract.Data.MIMETYPE, in updateMeContactWith()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java49 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
DLegacyApiSupport.java176 "(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 …]
DSearchIndexManager.java63 MimetypesColumns.MIMETYPE,
69 public static final int MIMETYPE = 1; field in SearchIndexManager.ContactIndexQuery
380 String mimetype = cursor.getString(ContactIndexQuery.MIMETYPE); in buildAndInsertIndex()
/packages/apps/Contacts/src/com/android/contacts/database/
DSimContactDaoImpl.java328 selectionBuilder.append(Data.MIMETYPE).append("=? AND "); in queryRawContactsForSimContacts()
344 selectionBuilder.append(Data.MIMETYPE).append("=? AND "); in queryRawContactsForSimContacts()
445 Data.RAW_CONTACT_ID, Phone.NUMBER, Data.DISPLAY_NAME, Data.MIMETYPE
451 public static final int MIMETYPE = 3; field in SimContactDaoImpl.DataQuery
466 return Phone.CONTENT_ITEM_TYPE.equals(cursor.getString(MIMETYPE)); in isPhoneNumber()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java207 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/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DInMemoryPhoneBook.java107 ContactsContract.Data.MIMETYPE + " = ? OR " in InMemoryPhoneBook()
108 + ContactsContract.Data.MIMETYPE + " = ? OR " in InMemoryPhoneBook()
109 + ContactsContract.Data.MIMETYPE + " = ?", in InMemoryPhoneBook()
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/
DContactsPopulator.java204 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/editor/
DAggregationSuggestionEngine.java269 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/
DSimContacts.java167 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/model/dataitem/
DDataItem.java58 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/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java57 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/Contacts/src/com/android/contacts/
DSplitAggregateView.java57 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()
DContactSaveService.java171 Data.MIMETYPE,
803 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in createGroup()
972 Data.MIMETYPE + "=? AND " + GroupMembership.GROUP_ROW_ID + "=?", in addMembersToGroup()
982 insertBuilder.withValue(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in addMembersToGroup()
1022 Data.MIMETYPE + "=? AND " + GroupMembership.GROUP_ROW_ID + "=?", in removeMembersFromGroup()
1397 String SELECTION = Data.MIMETYPE + " = '" + StructuredName.CONTENT_ITEM_TYPE + "'" +
1874 Data.MIMETYPE + "=? AND " + GroupMembership.GROUP_ROW_ID + "=?", in captureDeletionUndoData()
1901 memberInsertions[i].put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in undoDeletion()
/packages/apps/Messaging/tests/src/com/android/messaging/util/
DContactUtilTest.java79 .withValue(ContactsContract.Data.MIMETYPE, in addTestContact()
87 .withValue(ContactsContract.Data.MIMETYPE, in addTestContact()
98 .withValue(ContactsContract.Data.MIMETYPE, in addTestContact()
/packages/apps/EmergencyInfo/tests/common/src/com/android/emergency/
DContactTestUtils.java82 values.put(ContactsContract.Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in insertStructuredName()
92 values.put(ContactsContract.Data.MIMETYPE, in insertPhoneNumber()

123