Home
last modified time | relevance | path

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

123

/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java116 mValues1.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testDataItemCollapsing_email()
117 mValues2.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testDataItemCollapsing_email()
118 mValues3.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testDataItemCollapsing_email()
146 mValues1.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); in testDataItemCollapsing_event()
147 mValues2.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); in testDataItemCollapsing_event()
148 mValues3.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); in testDataItemCollapsing_event()
149 mValues4.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); in testDataItemCollapsing_event()
182 mValues1.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testDataItemCollapsing_im()
183 mValues2.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testDataItemCollapsing_im()
184 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.java406 Data.MIMETYPE, in testDataProjection()
494 Data.MIMETYPE, in testDistinctDataProjection()
576 Data.MIMETYPE, in testEntityProjection()
684 Data.MIMETYPE, in testRawEntityProjection()
1101 values.put(Contacts.Entity.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in assertEntityRows()
1118 values.put(Contacts.Entity.MIMETYPE, Im.CONTENT_ITEM_TYPE); in assertEntityRows()
1135 values.putNull(Contacts.Entity.MIMETYPE); in assertEntityRows()
1243 values.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in testDataInsertAndUpdateHashId_Photo()
1266 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testDataInsertPhoneNumberTooLongIsTrimmed()
1323 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testPhonesQuery()
[all …]
DContactsActor.java599 values.put(Data.MIMETYPE, CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE); in createName()
613 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in createPhone()
629 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in createEmail()
709 values.put(Data.MIMETYPE, CommonDataKinds.GroupMembership.CONTENT_ITEM_TYPE); in createGroupMembership()
/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/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.java60 MimetypesColumns.MIMETYPE,
66 public static final int MIMETYPE = 1; field in SearchIndexManager.ContactIndexQuery
376 String mimetype = cursor.getString(ContactIndexQuery.MIMETYPE); in buildAndInsertIndex()
DContactsDatabaseHelper.java600 public static final String MIMETYPE = "mimetype"; field
603 public static final String CONCRETE_MIMETYPE = Tables.MIMETYPES + "." + MIMETYPE;
864 public static final int MIMETYPE = 0; field
1397 MimetypesColumns.MIMETYPE + " TEXT NOT NULL" + in onCreate()
1402 MimetypesColumns.MIMETYPE + in onCreate()
1838 " WHERE " + MimetypesColumns.MIMETYPE + in createContactsTriggers()
1901 + MimetypesColumns.MIMETYPE + " AS " + Data.MIMETYPE + ", " in createContactsViews()
2210 + MimetypesColumns.CONCRETE_MIMETYPE + " AS " + Data.MIMETYPE + ", " in createContactsViews()
3518 + MimetypesColumns.MIMETYPE + in insertMimeType()
3543 + MimetypesColumns.MIMETYPE + in lookupMimeTypeId()
[all …]
/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/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorContacts.java146 ContactsContract.Data.MIMETYPE, in addContact()
158 ContactsContract.Data.MIMETYPE, in addContact()
171 ContactsContract.Data.MIMETYPE, in addContact()
184 ContactsContract.Data.MIMETYPE, in addContact()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java297 String[] projection = {Data.CONTACT_ID, Data.DATA1, Data.MIMETYPE}; in loadAllContacts()
340 String[] dataProjection = {Data.CONTACT_ID, Data.DATA1, Data.MIMETYPE}; in updateSecondaryVersionCounter()
380 dataCursor.getString(dataCursor.getColumnIndex(Data.MIMETYPE)))) in updateSecondaryVersionCounter()
408 int indexMimeType = dataCursor.getColumnIndex(Data.MIMETYPE); in updateSecondaryVersionCounter()
521 int indexMimeType = c.getColumnIndex(Data.MIMETYPE); in fetchAndSetContacts()
/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.java168 builder.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact()
174 builder.withValue(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact()
184 builder.withValue(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact()
194 builder.withValue(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact()
/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/model/dataitem/
DDataItem.java60 final String mimeType = values.getAsString(Data.MIMETYPE); in createFrom()
122 return mContentValues.getAsString(Data.MIMETYPE); in getMimeType()
126 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/experimental/LoaderApp/src/com/android/loaderapp/util/
DContactsUtils.java235 final boolean isEmail = Email.CONTENT_ITEM_TYPE.equals(values.getAsString(Data.MIMETYPE)); in buildImIntent()
300 Data.MIMETYPE + "=" + Phone.MIMETYPE + in querySuperPrimaryPhone()
/packages/apps/EmergencyInfo/tests/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()
/packages/apps/Dialer/java/com/android/dialer/interactions/
DPhoneNumberInteraction.java96 Phone.MIMETYPE,
101 Data.MIMETYPE
287 int phoneMimeTpeColumn = cursor.getColumnIndexOrThrow(Phone.MIMETYPE); in onLoadComplete()

123