Home
last modified time | relevance | path

Searched refs:extractDisplayName (Results 1 – 8 of 8) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DXAttrUtils.java19 import static com.android.providers.media.util.FileUtils.extractDisplayName;
67 + extractRelativePath(path) + extractDisplayName(path); in getFileAttributesFromXAttr()
DFileUtils.java766 public static @Nullable String extractDisplayName(@Nullable String data) {
779 data = extractDisplayName(data);
791 data = extractDisplayName(data);
1353 final String displayName = extractDisplayName(data);
1797 final String displayName = extractDisplayName(expiredFilePath);
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DFileUtilsTest.java40 import static com.android.providers.media.util.FileUtils.extractDisplayName;
643 assertEquals(probe, "foo.bar.baz", extractDisplayName(probe)); in testExtractDisplayName()
1191 final String result = FileUtils.extractDisplayName(data); in testComputeDataFromValues_withAction_trimFileName()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java20 import static com.android.providers.media.util.FileUtils.extractDisplayName;
487 final String result = FileUtils.extractDisplayName(data); in testActionLongFileNameItemHasTrimmedFileName()
502 final String result = FileUtils.extractDisplayName(data); in testActionLongFileNameItemHasTrimmedFileName()
1480 final String displayName = extractDisplayName(audio.getAbsolutePath()); in testQueryAudioViewsNoItemWithColumn()
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java1703 mAlertBuilder.setContentText(FileUtils.extractDisplayName(filePath));
1737 mProgressBuilder.setContentText(FileUtils.extractDisplayName(filePath));
1754 mAlertBuilder.setContentText(FileUtils.extractDisplayName(filePath));
DMediaProvider.java135 import static com.android.providers.media.util.FileUtils.extractDisplayName;
2941 fileNamesList.add(extractDisplayName(cursor.getString(0))); in getFilesInDirectoryForFuse()
3442 if (extractDisplayName(oldPath).equals(".nomedia")) { in renameFileForFuse()
3445 if (extractDisplayName(newPath).equals(".nomedia")) { in renameFileForFuse()
3540 final String displayName = extractDisplayName(oldPath); in renameForFuse()
4841 values.put(FileColumns.DISPLAY_NAME, extractDisplayName(path)); in insertDirectory()
9890 FileUtils.PATTERN_EXPIRES_FILE.matcher(extractDisplayName(file.getName()));
10253 values.put(FileColumns.DISPLAY_NAME, extractDisplayName(path));
10560 && FileUtils.isDefaultDirectoryName(extractDisplayName(path))) {
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java767 public static @Nullable String extractDisplayName(@Nullable String data) { in extractDisplayName() method in Helpers
DDownloadProvider.java1004 mediaValues.put(MediaStore.Downloads.DISPLAY_NAME, Helpers.extractDisplayName(filePath)); in convertToMediaProviderValues()