Searched refs:mPhotoStore (Results 1 – 3 of 3) sorted by relevance
49 private PhotoStore mPhotoStore; field in PhotoStoreTest57 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 …]
36 private final PhotoStore mPhotoStore; field in DataRowHandlerForPhoto52 mPhotoStore = photoStore; in DataRowHandlerForPhoto()151 long photoFileId = mPhotoStore.insert(processor); in processPhoto()
1391 private final ThreadLocal<PhotoStore> mPhotoStore = new ThreadLocal<PhotoStore>(); field in ContactsProvider21972 Set<Long> missingPhotoIds = mPhotoStore.get().cleanup(usedPhotoFileIds); in cleanupPhotoStore()2166 mPhotoStore.set(mProfilePhotoStore); in switchToProfileMode()2181 mPhotoStore.set(mContactsPhotoStore); in switchToContactMode()3071 long photoFileId = mPhotoStore.get().insert(processor, true); in processStreamItemPhoto()8938 PhotoStore.Entry entry = mPhotoStore.get().get(photoFileId); in openDisplayPhotoForRead()