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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPhotoStoreTest.java49 private PhotoStore mPhotoStore; field in class:PhotoStoreTest
57 mPhotoStore = mProvider.getPhotoStore();
65 mPhotoStore.clear();
72 assertEquals(0, mPhotoStore.insert(newPhotoProcessor(photo, false)));
130 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false));
133 File storedFile = new File(mPhotoStore.get(photoFileId).path);
154 assertEquals(expectedStoredVersion.length, mPhotoStore.getTotalSize());
160 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, true));
177 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false));
178 PhotoStore.Entry entry = mPhotoStore
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForPhoto.java36 private final PhotoStore mPhotoStore; field in class:DataRowHandlerForPhoto
52 mPhotoStore = photoStore;
151 long photoFileId = mPhotoStore.insert(processor);
H A DContactsProvider2.java1439 private final ThreadLocal<PhotoStore> mPhotoStore = new ThreadLocal<PhotoStore>(); field in class:ContactsProvider2
2019 Set<Long> missingPhotoIds = mPhotoStore.get().cleanup(usedPhotoFileIds);
2213 mPhotoStore.set(mProfilePhotoStore);
2228 mPhotoStore.set(mContactsPhotoStore);
3113 long photoFileId = mPhotoStore.get().insert(processor, true);
8980 PhotoStore.Entry entry = mPhotoStore.get().get(photoFileId);

Completed in 380 milliseconds