Home
last modified time | relevance | path

Searched refs:mCommonMimeTypeIdsCache (Results 1 – 2 of 2) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java217 assertEquals(mDbHelper.mCommonMimeTypeIdsCache.get(commonMimeType).longValue(), in testGetCommonMimeTypeIds()
225 assertEquals(mDbHelper.mCommonMimeTypeIdsCache.get(commonMimeType).longValue(), in testGetCommonMimeTypeIds()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java934 final ArrayMap<String, Long> mCommonMimeTypeIdsCache = new ArrayMap<>(); field in ContactsDatabaseHelper
1096 mCommonMimeTypeIdsCache.clear(); in prepopulateCommonMimeTypes()
1098 mCommonMimeTypeIdsCache.put(commonMimeType, insertMimeType(db, commonMimeType)); in prepopulateCommonMimeTypes()
3546 Long id = mCommonMimeTypeIdsCache.get(mimeType); in lookupMimeTypeId()
3927 if (mimeTypeId == mCommonMimeTypeIdsCache.get(StructuredName.CONTENT_ITEM_TYPE)) { in getDisplayNameSourceForMimeTypeId()
3930 if (mimeTypeId == mCommonMimeTypeIdsCache.get(Email.CONTENT_ITEM_TYPE)) { in getDisplayNameSourceForMimeTypeId()
3933 if (mimeTypeId == mCommonMimeTypeIdsCache.get(Phone.CONTENT_ITEM_TYPE)) { in getDisplayNameSourceForMimeTypeId()
3936 if (mimeTypeId == mCommonMimeTypeIdsCache.get(Organization.CONTENT_ITEM_TYPE)) { in getDisplayNameSourceForMimeTypeId()
3939 if (mimeTypeId == mCommonMimeTypeIdsCache.get(Nickname.CONTENT_ITEM_TYPE)) { in getDisplayNameSourceForMimeTypeId()