Home
last modified time | relevance | path

Searched refs:existingId (Results 1 – 3 of 3) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java709 long existingId = -1; in visitFile() local
749 existingId = c.getLong(0); in visitFile()
757 mScannedIds.add(existingId); in visitFile()
761 mFirstId = existingId; in visitFile()
801 op = scanItem(existingId, realFile, attrs, actualMimeType, actualMediaType, in visitFile()
986 private static @Nullable ContentProviderOperation.Builder scanItem(long existingId, File file, in scanItem() argument
994 return scanItemDirectory(existingId, file, attrs, mimeType, volumeName); in scanItem()
999 return scanItemAudio(existingId, file, attrs, mimeType, mediaType, volumeName); in scanItem()
1001 return scanItemVideo(existingId, file, attrs, mimeType, mediaType, volumeName); in scanItem()
1003 return scanItemImage(existingId, file, attrs, mimeType, mediaType, volumeName); in scanItem()
[all …]
/packages/apps/Gallery/src/com/android/camera/gallery/
DBaseImageList.java86 long existingId = ContentUris.parseId(mBaseUri); in contentUri() local
87 if (existingId != id) Log.e(TAG, "id mismatch"); in contentUri()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java165 protected RawContactDelta getRawContact(Long existingId, ContentValues... entries) { in getRawContact() argument
167 if (existingId != null) { in getRawContact()
168 contact.put(RawContacts._ID, existingId); in getRawContact()