Searched refs:photoFileId (Results 1 - 6 of 6) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPhotoStoreTest.java105 long photoFileId = mPhotoStore.insert(new PhotoProcessor(photo, 256, 96));
106 assertTrue(photoFileId != 0);
109 File storedFile = new File(mPhotoStore.get(photoFileId).path);
117 PhotoFiles._ID + "=?", new String[]{String.valueOf(photoFileId)}, null, null, null);
133 long photoFileId = mPhotoStore.insert(new PhotoProcessor(photo, 256, 96));
134 PhotoStore.Entry entry = mPhotoStore.get(photoFileId);
137 mPhotoStore.remove(photoFileId);
144 PhotoFiles._ID + "=?", new String[]{String.valueOf(photoFileId)}, null, null, null);
160 long photoFileId = mPhotoStore.insert(
163 resourceIdToPhotoMap.put(resourceId, photoFileId);
[all...]
H A DContactsProvider2Test.java4692 long photoFileId = getStoredLongValue(Data.CONTENT_URI, Data._ID + "=?",
4694 String photoUri = ContentUris.withAppendedId(DisplayPhoto.CONTENT_URI, photoFileId)
4925 String photoFileId = getStoredValue(ContentUris.withAppendedId(Data.CONTENT_URI, dataId),
4938 assertEquals(Uri.withAppendedPath(DisplayPhoto.CONTENT_URI, photoFileId).toString(),
5230 Long photoFileId = getStoredLongValue(contactUri, Contacts.PHOTO_FILE_ID);
5231 assertTrue(photoFileId != null && photoFileId > 0);
/packages/apps/Contacts/src/com/android/contacts/util/
H A DStreamItemPhotoEntry.java37 public StreamItemPhotoEntry(long id, int sortIndex, long photoFileId, String photoUri, argument
41 mPhotoFileId = photoFileId;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForPhoto.java151 long photoFileId = mPhotoStore.insert(processor);
152 if (photoFileId != 0) {
153 values.put(Photo.PHOTO_FILE_ID, photoFileId);
H A DContactAggregator.java1737 long photoFileId = c.getLong(RawContactsQuery.PHOTO_FILE_ID);
1745 PhotoEntry photoEntry = getPhotoMetadata(db, photoFileId);
1753 bestPhotoFileId = photoFileId;
1888 long photoFileId = c.getLong(PhotoIdQuery.PHOTO_FILE_ID);
1890 PhotoEntry photoEntry = getPhotoMetadata(db, photoFileId);
1901 bestPhotoFileId = photoFileId;
1964 private PhotoEntry getPhotoMetadata(SQLiteDatabase db, long photoFileId) { argument
1965 if (photoFileId == 0) {
1972 new String[]{String.valueOf(photoFileId)}, null, null, null);
H A DContactsProvider2.java1745 long photoFileId = c.getLong(1);
1746 usedPhotoFileIds.add(photoFileId);
1747 photoFileIdToDataId.put(photoFileId, dataId);
1773 long photoFileId = c.getLong(2);
1776 usedPhotoFileIds.add(photoFileId);
1777 photoFileIdToStreamItemPhotoId.put(photoFileId, streamItemPhotoId);
1780 streamItemPhotoIdToAccount.put(photoFileId, account);
2819 long photoFileId = mPhotoStore.get().insert(new PhotoProcessor(photoBytes,
2821 if (photoFileId != 0) {
2822 values.put(StreamItemPhotos.PHOTO_FILE_ID, photoFileId);
7219 openDisplayPhotoForRead(long photoFileId) argument
[all...]

Completed in 116 milliseconds