Home
last modified time | relevance | path

Searched refs:mPhotoStore (Results 1 – 3 of 3) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoStoreTest.java49 private PhotoStore mPhotoStore; field in PhotoStoreTest
57 mPhotoStore = mProvider.getPhotoStore(); in setUp()
65 mPhotoStore.clear(); in tearDown()
72 assertEquals(0, mPhotoStore.insert(newPhotoProcessor(photo, false))); in testStoreThumbnailPhoto()
130 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false)); in runStorageTestForResource()
133 File storedFile = new File(mPhotoStore.get(photoFileId).path); in runStorageTestForResource()
154 assertEquals(expectedStoredVersion.length, mPhotoStore.getTotalSize()); in runStorageTestForResource()
160 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, true)); in runStorageTestForResourceWithCrop()
177 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false)); in testRemoveEntry()
178 PhotoStore.Entry entry = mPhotoStore.get(photoFileId); in testRemoveEntry()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForPhoto.java36 private final PhotoStore mPhotoStore; field in DataRowHandlerForPhoto
52 mPhotoStore = photoStore; in DataRowHandlerForPhoto()
151 long photoFileId = mPhotoStore.insert(processor); in processPhoto()
DContactsProvider2.java1449 private final ThreadLocal<PhotoStore> mPhotoStore = new ThreadLocal<PhotoStore>(); field in ContactsProvider2
2030 Set<Long> missingPhotoIds = mPhotoStore.get().cleanup(usedPhotoFileIds); in cleanupPhotoStore()
2224 mPhotoStore.set(mProfilePhotoStore); in switchToProfileMode()
2239 mPhotoStore.set(mContactsPhotoStore); in switchToContactMode()
3129 long photoFileId = mPhotoStore.get().insert(processor, true); in processStreamItemPhoto()
9082 PhotoStore.Entry entry = mPhotoStore.get().get(photoFileId); in openDisplayPhotoForRead()