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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPhotoStoreTest.java132 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false));
133 assertTrue(photoFileId != 0);
135 File storedFile = new File(mPhotoStore.get(photoFileId).path);
146 PhotoFiles._ID + "=?", new String[]{String.valueOf(photoFileId)}, null, null, null);
162 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, true));
163 assertTrue(photoFileId != 0);
167 PhotoFiles._ID + "=?", new String[]{String.valueOf(photoFileId)}, null, null, null);
179 long photoFileId = mPhotoStore.insert(newPhotoProcessor(photo, false));
180 PhotoStore.Entry entry = mPhotoStore.get(photoFileId);
183 mPhotoStore.remove(photoFileId);
[all...]
H A DContactsProvider2Test.java5279 long photoFileId = getStoredLongValue(Data.CONTENT_URI, Data._ID + "=?",
5281 String photoUri = ContentUris.withAppendedId(DisplayPhoto.CONTENT_URI, photoFileId)
5510 String photoFileId = getStoredValue(ContentUris.withAppendedId(Data.CONTENT_URI, dataId),
5523 assertEquals(Uri.withAppendedPath(DisplayPhoto.CONTENT_URI, photoFileId).toString(),
5815 Long photoFileId = getStoredLongValue(contactUri, Contacts.PHOTO_FILE_ID);
5816 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 DContactsProvider2.java1723 long photoFileId = c.getLong(1);
1724 usedPhotoFileIds.add(photoFileId);
1725 photoFileIdToDataId.put(photoFileId, dataId);
1746 long photoFileId = c.getLong(2);
1747 usedPhotoFileIds.add(photoFileId);
1748 photoFileIdToStreamItemPhotoId.put(photoFileId, streamItemPhotoId);
2713 long photoFileId = mPhotoStore.get().insert(new PhotoProcessor(photoBytes,
2715 if (photoFileId != 0) {
2716 values.put(StreamItemPhotos.PHOTO_FILE_ID, photoFileId);
7112 long photoFileId
7340 openDisplayPhotoForRead(long photoFileId) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DContactAggregator.java1895 long photoFileId = c.getLong(RawContactsQuery.PHOTO_FILE_ID);
1903 PhotoEntry photoEntry = getPhotoMetadata(db, photoFileId);
1911 bestPhotoFileId = photoFileId;
2050 long photoFileId = c.getLong(PhotoIdQuery.PHOTO_FILE_ID);
2052 PhotoEntry photoEntry = getPhotoMetadata(db, photoFileId);
2063 bestPhotoFileId = photoFileId;
2126 private PhotoEntry getPhotoMetadata(SQLiteDatabase db, long photoFileId) { argument
2127 if (photoFileId == 0) {
2134 new String[]{String.valueOf(photoFileId)}, null, null, null);

Completed in 134 milliseconds