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.java194 final long mimetypeId1 = mDbHelper.getMimeTypeId("value1"); in testGetMimeTypeId()
195 final long mimetypeId2 = mDbHelper.getMimeTypeId("value2"); in testGetMimeTypeId()
196 final long mimetypeId3 = mDbHelper.getMimeTypeId("value3"); in testGetMimeTypeId()
207 assertEquals(mimetypeId1, mDbHelper.getMimeTypeId("value1")); in testGetMimeTypeId()
218 mDbHelper.getMimeTypeId(commonMimeType)); in testGetCommonMimeTypeIds()
226 mDbHelper.getMimeTypeId(commonMimeType)); in testGetCommonMimeTypeIds()
253 assertTrue(mDbHelper.getMimeTypeId(String.valueOf(now)) > 0); in testGetMimeTypeId_conflict()
322 final long mimeType = mDbHelper.getMimeTypeId( in testUpgradeHashIdForPhoto()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java102 protected long getMimeTypeId() { in getMimeTypeId() method in DataRowHandler
104 mMimetypeId = mDbHelper.getMimeTypeId(mMimetype); in getMimeTypeId()
122 final long mimeTypeId = getMimeTypeId(); in insert()
263 final long mimeTypeId = getMimeTypeId(); in handlePrimaryAndSuperPrimary()
339 long mimeTypeId = getMimeTypeId(); in fixPrimary()
DSearchIndexManager.java349 mSb.append(mDbHelper.getMimeTypeId(Nickname.CONTENT_ITEM_TYPE)); in buildAndInsertIndex()
352 mSb.append(mDbHelper.getMimeTypeId(Organization.CONTENT_ITEM_TYPE)); in buildAndInsertIndex()
355 mSb.append(mDbHelper.getMimeTypeId(StructuredPostal.CONTENT_ITEM_TYPE)); in buildAndInsertIndex()
358 mSb.append(mDbHelper.getMimeTypeId(Email.CONTENT_ITEM_TYPE)); in buildAndInsertIndex()
DDataRowHandlerForGroupMembership.java116 .getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE); in hasFavoritesGroupMembership()
DContactsProvider2.java1930 long photoMimeTypeId = mDbHelper.get().getMimeTypeId(Photo.CONTENT_ITEM_TYPE); in cleanupPhotoStore()
2918 mDbHelper.get().getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE)); in insertDataGroupMembership()
2929 Long.toString(mDbHelper.get().getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE)), in deleteDataGroupMembership()
2965 values.put(DataColumns.MIMETYPE_ID, mDbHelper.get().getMimeTypeId(mimeType)); in insertData()
3778 .getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE); in deleteGroup()
5972 mDbHelper.get().getMimeTypeId(Phone.CONTENT_ITEM_TYPE); in queryLocal()
5974 mDbHelper.get().getMimeTypeId(SipAddress.CONTENT_ITEM_TYPE); in queryLocal()
6045 mDbHelper.get().getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE)); in queryLocal()
6874 .getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE)); in queryLocal()
8699 long photoMimetypeId = mDbHelper.get().getMimeTypeId(Photo.CONTENT_ITEM_TYPE); in openAssetFileInner()
[all …]
DLegacyApiSupport.java510 mMimetypeEmail = mDbHelper.getMimeTypeId(Email.CONTENT_ITEM_TYPE); in LegacyApiSupport()
511 mMimetypeIm = mDbHelper.getMimeTypeId(Im.CONTENT_ITEM_TYPE); in LegacyApiSupport()
512 mMimetypePostal = mDbHelper.getMimeTypeId(StructuredPostal.CONTENT_ITEM_TYPE); in LegacyApiSupport()
DContactsDatabaseHelper.java3882 public long getMimeTypeId(String mimeType) { in getMimeTypeId() method in ContactsDatabaseHelper
4072 long mimetype = getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE); in updateContactVisible()
4146 final long groupMembershipMimetypeId = getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE); in updateCustomContactVisibility()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java388 mMimeTypeIdEmail = mDbHelper.getMimeTypeId(Email.CONTENT_ITEM_TYPE); in AbstractContactAggregator()
389 mMimeTypeIdIdentity = mDbHelper.getMimeTypeId(Identity.CONTENT_ITEM_TYPE); in AbstractContactAggregator()
390 mMimeTypeIdPhoto = mDbHelper.getMimeTypeId(Photo.CONTENT_ITEM_TYPE); in AbstractContactAggregator()
391 mMimeTypeIdPhone = mDbHelper.getMimeTypeId(Phone.CONTENT_ITEM_TYPE); in AbstractContactAggregator()
1632 long photoMimeType = mDbHelper.getMimeTypeId(Photo.CONTENT_ITEM_TYPE); in updatePhotoId()
1847 hasPhoneNumberUpdate.bindLong(1, mDbHelper.getMimeTypeId(Phone.CONTENT_ITEM_TYPE)); in updateHasPhoneNumber()