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.java218 assertEquals(mDbHelper.mCommonMimeTypeIdsCache.get(commonMimeType).longValue(), in testGetCommonMimeTypeIds()
226 assertEquals(mDbHelper.mCommonMimeTypeIdsCache.get(commonMimeType).longValue(), in testGetCommonMimeTypeIds()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java990 final ArrayMap<String, Long> mCommonMimeTypeIdsCache = new ArrayMap<>(); field in ContactsDatabaseHelper
1083 mCommonMimeTypeIdsCache.clear(); in prepopulateCommonMimeTypes()
1085 mCommonMimeTypeIdsCache.put(commonMimeType, insertMimeType(db, commonMimeType)); in prepopulateCommonMimeTypes()
3537 Long id = mCommonMimeTypeIdsCache.get(mimeType); in lookupMimeTypeId()
3918 if (mimeTypeId == mCommonMimeTypeIdsCache.get(StructuredName.CONTENT_ITEM_TYPE)) { in getDisplayNameSourceForMimeTypeId()
3921 if (mimeTypeId == mCommonMimeTypeIdsCache.get(Email.CONTENT_ITEM_TYPE)) { in getDisplayNameSourceForMimeTypeId()
3924 if (mimeTypeId == mCommonMimeTypeIdsCache.get(Phone.CONTENT_ITEM_TYPE)) { in getDisplayNameSourceForMimeTypeId()
3927 if (mimeTypeId == mCommonMimeTypeIdsCache.get(Organization.CONTENT_ITEM_TYPE)) { in getDisplayNameSourceForMimeTypeId()
3930 if (mimeTypeId == mCommonMimeTypeIdsCache.get(Nickname.CONTENT_ITEM_TYPE)) { in getDisplayNameSourceForMimeTypeId()