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.java50 private PhotoStore mPhotoStore; field in PhotoStoreTest
58 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 …]
/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.java1423 private final ThreadLocal<PhotoStore> mPhotoStore = new ThreadLocal<PhotoStore>(); field in ContactsProvider2
2109 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()