Home
last modified time | relevance | path

Searched refs:extractFileName (Results 1 – 6 of 6) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDumpFileProvider.java68 private static String extractFileName(Uri uri) { in extractFileName() method in DumpFileProvider
80 final String fileName = extractFileName(uri); in openFile()
93 final String fileName = extractFileName(uri); in query()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSyntheticPathUtils.java23 import static com.android.providers.media.util.FileUtils.extractFileName;
66 final String fileName = extractFileName(path); in isRedactedPath()
DFileUtils.java777 public static @Nullable String extractFileName(@Nullable String data) {
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DFileUtilsTest.java42 import static com.android.providers.media.util.FileUtils.extractFileName;
657 assertEquals(probe, "foo", extractFileName(probe)); in testExtractFileName()
670 assertEquals(probe, "", extractFileName(probe)); in testExtractFileName_empty()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java1099 op.withValue(MediaColumns.TITLE, FileUtils.extractFileName(file.getName())); in withGenericValues()
1309 op.withValue(PlaylistsColumns.NAME, FileUtils.extractFileName(file.getName())); in scanItemPlaylist()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java137 import static com.android.providers.media.util.FileUtils.extractFileName;
2389 final String fileName = extractFileName(path); in handleRedactedFileLookup()
2551 final String mediaId = extractFileName(fileName); in preparePickerMediaIdPathSegment()
5059 title = extractFileName(path); in insertFile()
7739 final String name = FileUtils.extractFileName(thumbFile.getName());
10005 redactedUriId = extractFileName(path);