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.java370 long existingId = -1; in visitFile() local
376 existingId = c.getLong(0); in visitFile()
383 mScannedIds.add(existingId); in visitFile()
387 mFirstResult = MediaStore.Files.getContentUri(mVolumeName, existingId); in visitFile()
404 op = scanItem(existingId, file.toFile(), attrs, mVolumeName); in visitFile()
475 private static @Nullable ContentProviderOperation scanItem(long existingId, File file, in scanItem() argument
492 return scanItemDirectory(existingId, file, attrs, mimeType, volumeName); in scanItem()
494 return scanItemPlaylist(existingId, file, attrs, mimeType, volumeName); in scanItem()
496 return scanItemAudio(existingId, file, attrs, mimeType, volumeName); in scanItem()
498 return scanItemVideo(existingId, file, attrs, mimeType, 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()