Home
last modified time | relevance | path

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

12

/packages/apps/Contacts/src/com/android/contacts/
DAttachImage.java190 .withSelection(Photo.MIMETYPE + "=? AND " in insertPhoto()
198 values.put(Photo.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in insertPhoto()
225 values.remove(Photo.MIMETYPE); in updatePhoto()
229 .withSelection(Photo.MIMETYPE + "=?", new String[] { in updatePhoto()
234 …ntentProviderOperation.newUpdate(rawContactDataUri).withSelection(Photo.MIMETYPE + "=?", new Strin… in updatePhoto()
DSplitAggregateView.java61 Data.MIMETYPE, RawContacts.ACCOUNT_TYPE, Data.RAW_CONTACT_ID, Data.IS_PRIMARY,
65 int MIMETYPE = 0; field
171 String mimetype = cursor.getString(SplitQuery.MIMETYPE); in loadData()
DContactsUtils.java231 final boolean isEmail = Email.CONTENT_ITEM_TYPE.equals(values.getAsString(Data.MIMETYPE)); in buildImIntent()
308 Data.MIMETYPE + "=" + Phone.MIMETYPE + in querySuperPrimaryPhone()
/packages/apps/Contacts/tests/src/com/android/contacts/
DContactsUtilsTests.java38 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testImIntent()
55 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); in testImIntentCustom()
73 values.put(Email.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testImEmailIntent()
DEntityDeltaTests.java75 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in getEntity()
107 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testParcelChangesInsert()
224 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testEntityDiffNoneInsert()
264 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testEntityDiffUpdateInsert()
389 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testEntityDiffInsertInsert()
DEntityModifierTests.java413 before.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimEmptyUntouched()
436 before.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimEmptyAfterUpdate()
549 first.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimUpdateRemain()
555 second.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimUpdateRemain()
620 first.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testTrimUpdateUpdate()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java196 values.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in insertStructuredName()
207 values.put(Data.MIMETYPE, Organization.CONTENT_ITEM_TYPE); in insertOrganization()
224 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in insertPhoneNumber()
242 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in insertEmail()
256 values.put(Data.MIMETYPE, Nickname.CONTENT_ITEM_TYPE); in insertNickname()
267 values.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE); in insertPostalAddress()
277 values.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in insertPhoto()
286 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in insertGroupMembership()
294 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in insertGroupMembership()
328 values.put(Data.MIMETYPE, Im.CONTENT_ITEM_TYPE); in insertImHandle()
[all …]
DGlobalSearchSupportTest.java192 values.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in assertSearchSuggestion()
200 values.put(Data.MIMETYPE, Organization.CONTENT_ITEM_TYPE); in assertSearchSuggestion()
214 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in assertSearchSuggestion()
233 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in assertSearchSuggestion()
DContactsProvider2Test.java154 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testPhonesQuery()
182 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in testPhonesFilterQuery()
286 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testEmailsQuery()
308 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testEmailsLookupQuery()
330 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in testEmailsFilterQuery()
359 values.put(Data.MIMETYPE, StructuredPostal.CONTENT_ITEM_TYPE); in testPostalsQuery()
486 + Data.MIMETYPE + "='" + Phone.CONTENT_ITEM_TYPE + "'", null, Phone.NUMBER); in testPhonesWithStatusUpdate()
1019 values.put(GroupMembership.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in testGroupInsertFailureOnGroupIdConflict()
1149 values.put(Data.MIMETYPE, "testmimetype"); in testDataCreateUpdateDeleteByMimeType()
1192 " AND " + Data.MIMETYPE + "='testmimetype'", null); in testDataCreateUpdateDeleteByMimeType()
[all …]
DContactsActor.java285 values.put(Data.MIMETYPE, CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE); in createName()
299 values.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in createPhone()
315 values.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in createEmail()
395 values.put(Data.MIMETYPE, CommonDataKinds.GroupMembership.CONTENT_ITEM_TYPE); in createGroupMembership()
DLegacyContactImporterTest.java150 Data.MIMETYPE, in testContactImport()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSocialProvider.java102 columns.put(Activities.MIMETYPE, Activities.MIMETYPE); in columns.put() argument
197 final String mimeType = values.getAsString(Activities.MIMETYPE); in insertActivity()
199 values.remove(Activities.MIMETYPE); in insertActivity()
DContactsDatabaseHelper.java415 public static final String MIMETYPE = "mimetype"; field
418 public static final String CONCRETE_MIMETYPE = Tables.MIMETYPES + "." + MIMETYPE;
547 + Tables.MIMETYPES + " WHERE " + MimetypesColumns.MIMETYPE + "=?"); in onOpen()
555 + MimetypesColumns.MIMETYPE + ") VALUES (?)"); in onOpen()
559 mDataMimetypeQuery = db.compileStatement("SELECT " + MimetypesColumns.MIMETYPE + " FROM " in onOpen()
561 mActivitiesMimetypeQuery = db.compileStatement("SELECT " + MimetypesColumns.MIMETYPE in onOpen()
736 MimetypesColumns.MIMETYPE + " TEXT NOT NULL" + in onCreate()
1053 + MimetypesColumns.MIMETYPE + " AS " + Data.MIMETYPE + ", " in createContactsViews()
1229 + Data.MIMETYPE + ", " in createContactEntitiesView()
1315 + MimetypesColumns.MIMETYPE + "," in onUpgrade()
DContactsProvider2.java251 MimetypesColumns.MIMETYPE,
257 public static final int MIMETYPE = 0; field
268 MimetypesColumns.MIMETYPE,
276 MimetypesColumns.MIMETYPE,
283 public static final int MIMETYPE = 1; field
290 String[] COLUMNS = { Data._ID, Data.RAW_CONTACT_ID, Data.MIMETYPE };
294 int MIMETYPE = 2; field
344 + " WHERE " + Data.MIMETYPE + "='" + GroupMembership.CONTENT_ITEM_TYPE
555 sDataProjectionMap.put(Data.MIMETYPE, Data.MIMETYPE); in sDataProjectionMap.put() argument
608 columns.put(Data.MIMETYPE, Data.MIMETYPE); in columns.put() argument
[all …]
DGlobalSearchSupport.java103 MimetypesColumns.MIMETYPE,
115 public static final int MIMETYPE = 4; field
333 String mimetype = c.getString(SearchSuggestionQuery.MIMETYPE); in buildCursorForSearchSuggestions()
DLegacyApiSupport.java174 "(CASE WHEN " + Data.MIMETYPE + "='" + Im.CONTENT_ITEM_TYPE + "'"
906 mValues.put(Data.MIMETYPE, android.provider.Contacts.Extensions.CONTENT_ITEM_TYPE); in insertExtension()
929 mValues.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in insertGroupMembership()
1171 mValues.put(Data.MIMETYPE, Photo.CONTENT_ITEM_TYPE); in updatePhoto()
1223 Data.MIMETYPE + "='" + LegacyPhotoData.CONTENT_ITEM_TYPE + "'" in updateLegacyPhotoData()
1228 mValues.put(Data.MIMETYPE, LegacyPhotoData.CONTENT_ITEM_TYPE); in updateLegacyPhotoData()
1353 mValues2.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in parsePeopleValues()
1367 mValues3.put(Data.MIMETYPE, Note.CONTENT_ITEM_TYPE); in parsePeopleValues()
1375 mValues.put(Data.MIMETYPE, Organization.CONTENT_ITEM_TYPE); in parseOrganizationValues()
1396 mValues.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in parsePhoneValues()
[all …]
DContactAggregator.java76 String MIMETYPE_SELECTION_IN_CLAUSE = MimetypesColumns.MIMETYPE + " IN ('"
83 MimetypesColumns.MIMETYPE, Data.DATA1
86 int MIMETYPE = 0; field
861 selection.append(") AND " + MimetypesColumns.MIMETYPE + "='" in pickBestMatchBasedOnSecondaryData()
918 String mimeType = c.getString(DataMimetypeQuery.MIMETYPE); in updateMatchScoresBasedOnDataMatches()
/packages/apps/Phone/src/com/android/phone/
DSimContacts.java184 builder.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact()
190 builder.withValue(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact()
200 builder.withValue(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact()
210 builder.withValue(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothShare.java124 public static final String MIMETYPE = "mimetype"; field in BluetoothShare
DBluetoothOppManager.java283 values.put(BluetoothShare.MIMETYPE, contentType); in startTransfer()
295 values.put(BluetoothShare.MIMETYPE, mMimeTypeOfSendigFile); in startTransfer()
DBluetoothOppUtility.java103 .getColumnIndexOrThrow(BluetoothShare.MIMETYPE)); in queryRecord()
287 values.put(BluetoothShare.MIMETYPE, transInfo.mFileType); in retryTransfer()
DBluetoothOppProvider.java176 + BluetoothShare.MIMETYPE + " TEXT, " + BluetoothShare.DIRECTION + " INTEGER, " in createTable()
242 copyString(BluetoothShare.MIMETYPE, values, filteredValues); in insert()
DBluetoothOppReceiveFileInfo.java97 BluetoothShare.FILENAME_HINT, BluetoothShare.TOTAL_BYTES, BluetoothShare.MIMETYPE in generateFileInfo()
/packages/apps/Contacts/src/com/android/contacts/ui/
DQuickContactWindow.java338 mHandler.startQuery(TOKEN_DATA, lookupUri, dataUri, DataQuery.PROJECTION, Data.MIMETYPE in show()
339 + "!=? OR (" + Data.MIMETYPE + "=? AND " + Data._ID + "=" + Contacts.PHOTO_ID in show()
343 mHandler.startQuery(TOKEN_DATA, lookupUri, dataUri, DataQuery.PROJECTION, Data.MIMETYPE in show()
752 getAsString(cursor, Data.MIMETYPE)); in DataAction()
1096 final String mimeType = cursor.getString(DataQuery.MIMETYPE); in handleData()
1553 Data.MIMETYPE,
1578 final int MIMETYPE = 12; field
/packages/apps/Mms/src/com/android/mms/util/
DContactInfoCache.java63 + ",?) AND " + Data.MIMETYPE + "='" + Phone.CONTENT_ITEM_TYPE + "'";
86 private static final String EMAIL_SELECTION = Email.DATA + "=? AND " + Data.MIMETYPE + "='"

12