Searched refs:mPhotoStore (Results 1 – 3 of 3) sorted by relevance
50 private PhotoStore mPhotoStore; field in PhotoStoreTest58 mPhotoStore = mProvider.getPhotoStore(); in setUp()66 mPhotoStore.clear(); in tearDown()73 assertEquals(0, mPhotoStore.insert(newPhotoProcessor(photo, false))); in testStoreThumbnailPhoto()131 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false)); in runStorageTestForResource()134 File storedFile = new File(mPhotoStore.get(photoFileId).path); in runStorageTestForResource()155 assertEquals(expectedStoredVersion.length, mPhotoStore.getTotalSize()); in runStorageTestForResource()161 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, true)); in runStorageTestForResourceWithCrop()178 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false)); in testRemoveEntry()179 PhotoStore.Entry entry = mPhotoStore.get(photoFileId); in testRemoveEntry()[all …]
36 private final PhotoStore mPhotoStore; field in DataRowHandlerForPhoto52 mPhotoStore = photoStore; in DataRowHandlerForPhoto()151 long photoFileId = mPhotoStore.insert(processor); in processPhoto()
1423 private final ThreadLocal<PhotoStore> mPhotoStore = new ThreadLocal<PhotoStore>(); field in ContactsProvider22109 Set<Long> missingPhotoIds = mPhotoStore.get().cleanup(usedPhotoFileIds); in cleanupPhotoStore()2341 mPhotoStore.set(mProfilePhotoStore); in switchToProfileMode()2356 mPhotoStore.set(mContactsPhotoStore); in switchToContactMode()3400 long photoFileId = mPhotoStore.get().insert(processor, true); in processStreamItemPhoto()9465 PhotoStore.Entry entry = mPhotoStore.get().get(photoFileId); in openDisplayPhotoForRead()