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.java762 long existingId = -1; in visitFile() local
802 existingId = c.getLong(0); in visitFile()
810 mScannedIds.add(existingId); in visitFile()
814 mFirstId = existingId; in visitFile()
854 op = scanItem(existingId, realFile, attrs, actualMimeType, actualMediaType, in visitFile()
1037 private static @Nullable ContentProviderOperation.Builder scanItem(long existingId, File file, in scanItem() argument
1045 return scanItemDirectory(existingId, file, attrs, mimeType, volumeName); in scanItem()
1050 return scanItemAudio(existingId, file, attrs, mimeType, mediaType, volumeName); in scanItem()
1052 return scanItemVideo(existingId, file, attrs, mimeType, mediaType, volumeName); in scanItem()
1054 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.java166 protected RawContactDelta getRawContact(Long existingId, ContentValues... entries) { in getRawContact() argument
168 if (existingId != null) { in getRawContact()
169 contact.put(RawContacts._ID, existingId); in getRawContact()