Home
last modified time | relevance | path

Searched refs:getMimeTypeId (Results 1 – 8 of 8) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java196 final long mimetypeId1 = mDbHelper.getMimeTypeId("value1"); in testGetMimeTypeId()
197 final long mimetypeId2 = mDbHelper.getMimeTypeId("value2"); in testGetMimeTypeId()
198 final long mimetypeId3 = mDbHelper.getMimeTypeId("value3"); in testGetMimeTypeId()
209 assertEquals(mimetypeId1, mDbHelper.getMimeTypeId("value1")); in testGetMimeTypeId()
220 mDbHelper.getMimeTypeId(commonMimeType)); in testGetCommonMimeTypeIds()
228 mDbHelper.getMimeTypeId(commonMimeType)); in testGetCommonMimeTypeIds()
255 assertTrue(mDbHelper.getMimeTypeId(String.valueOf(now)) > 0); in testGetMimeTypeId_conflict()
324 final long mimeType = mDbHelper.getMimeTypeId( in testUpgradeHashIdForPhoto()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java106 protected long getMimeTypeId() { in getMimeTypeId() method in DataRowHandler
108 mMimetypeId = mDbHelper.getMimeTypeId(mMimetype); in getMimeTypeId()
126 final long mimeTypeId = getMimeTypeId(); in insert()
262 final long mimeTypeId = getMimeTypeId(); in handlePrimaryAndSuperPrimary()
337 long mimeTypeId = getMimeTypeId(); in fixPrimary()
DSearchIndexManager.java350 mSb.append(mDbHelper.getMimeTypeId(Nickname.CONTENT_ITEM_TYPE)); in buildAndInsertIndex()
353 mSb.append(mDbHelper.getMimeTypeId(Organization.CONTENT_ITEM_TYPE)); in buildAndInsertIndex()
356 mSb.append(mDbHelper.getMimeTypeId(StructuredPostal.CONTENT_ITEM_TYPE)); in buildAndInsertIndex()
359 mSb.append(mDbHelper.getMimeTypeId(Email.CONTENT_ITEM_TYPE)); in buildAndInsertIndex()
DDataRowHandlerForGroupMembership.java116 .getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE); in hasFavoritesGroupMembership()
DLegacyApiSupport.java512 mMimetypeEmail = mDbHelper.getMimeTypeId(Email.CONTENT_ITEM_TYPE); in LegacyApiSupport()
513 mMimetypeIm = mDbHelper.getMimeTypeId(Im.CONTENT_ITEM_TYPE); in LegacyApiSupport()
514 mMimetypePostal = mDbHelper.getMimeTypeId(StructuredPostal.CONTENT_ITEM_TYPE); in LegacyApiSupport()
DContactsProvider2.java2067 long photoMimeTypeId = mDbHelper.get().getMimeTypeId(Photo.CONTENT_ITEM_TYPE); in cleanupPhotoStore()
3247 mDbHelper.get().getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE)); in insertDataGroupMembership()
3258 Long.toString(mDbHelper.get().getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE)), in deleteDataGroupMembership()
3294 values.put(DataColumns.MIMETYPE_ID, mDbHelper.get().getMimeTypeId(mimeType)); in insertData()
4088 .getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE); in deleteGroup()
6456 mDbHelper.get().getMimeTypeId(Phone.CONTENT_ITEM_TYPE); in queryLocal()
6458 mDbHelper.get().getMimeTypeId(SipAddress.CONTENT_ITEM_TYPE); in queryLocal()
6529 mDbHelper.get().getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE)); in queryLocal()
7367 .getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE)); in queryLocal()
9222 long photoMimetypeId = mDbHelper.get().getMimeTypeId(Photo.CONTENT_ITEM_TYPE); in openAssetFileInner()
[all …]
DContactsDatabaseHelper.java3986 public long getMimeTypeId(String mimeType) { in getMimeTypeId() method in ContactsDatabaseHelper
4330 long mimetype = getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE); in updateContactVisible()
4398 final long groupMembershipMimetypeId = getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE); in updateCustomContactVisibility()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java384 mMimeTypeIdEmail = mDbHelper.getMimeTypeId(Email.CONTENT_ITEM_TYPE); in AbstractContactAggregator()
385 mMimeTypeIdIdentity = mDbHelper.getMimeTypeId(Identity.CONTENT_ITEM_TYPE); in AbstractContactAggregator()
386 mMimeTypeIdPhoto = mDbHelper.getMimeTypeId(Photo.CONTENT_ITEM_TYPE); in AbstractContactAggregator()
387 mMimeTypeIdPhone = mDbHelper.getMimeTypeId(Phone.CONTENT_ITEM_TYPE); in AbstractContactAggregator()
1623 long photoMimeType = mDbHelper.getMimeTypeId(Photo.CONTENT_ITEM_TYPE); in updatePhotoId()
1838 hasPhoneNumberUpdate.bindLong(1, mDbHelper.getMimeTypeId(Phone.CONTENT_ITEM_TYPE)); in updateHasPhoneNumber()