Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSource.java78 CharSequence displayName = extractDisplayName(context, serviceInfo, packageName); in create()
133 private static CharSequence extractDisplayName(@NonNull Context context, in extractDisplayName() method in MediaSource
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java764 public static @Nullable String extractDisplayName(@Nullable String data) {
777 data = extractDisplayName(data);
789 data = extractDisplayName(data);
1277 final String displayName = extractDisplayName(data);
1607 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;
620 assertEquals(probe, "foo.bar.baz", extractDisplayName(probe)); in testExtractDisplayName()
905 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;
355 final String result = FileUtils.extractDisplayName(data); in testActionLongFileNameItemHasTrimmedFileName()
370 final String result = FileUtils.extractDisplayName(data); in testActionLongFileNameItemHasTrimmedFileName()
1234 final String displayName = extractDisplayName(audio.getAbsolutePath()); in testQueryAudioViewsNoItemWithColumn()
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java1629 mAlertBuilder.setContentText(FileUtils.extractDisplayName(filePath));
1663 mProgressBuilder.setContentText(FileUtils.extractDisplayName(filePath));
1680 mAlertBuilder.setContentText(FileUtils.extractDisplayName(filePath));
DMediaProvider.java69 import static com.android.providers.media.util.FileUtils.extractDisplayName;
1985 fileNamesList.add(extractDisplayName(cursor.getString(0))); in getFilesInDirectoryForFuse()
2466 if (extractDisplayName(oldPath).equals(".nomedia")) { in renameFileForFuse()
2469 if (extractDisplayName(newPath).equals(".nomedia")) { in renameFileForFuse()
2563 final String displayName = extractDisplayName(oldPath); in renameForFuse()
3597 values.put(FileColumns.DISPLAY_NAME, extractDisplayName(path)); in insertDirectory()
8044 FileUtils.PATTERN_EXPIRES_FILE.matcher(extractDisplayName(file.getName()));
8367 values.put(FileColumns.DISPLAY_NAME, extractDisplayName(path));
8612 if (forCreate && FileUtils.isDefaultDirectoryName(extractDisplayName(path))) {
8680 if (FileUtils.isDefaultDirectoryName(extractDisplayName(path))) {
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java684 public static @Nullable String extractDisplayName(@Nullable String data) { in extractDisplayName() method in Helpers
DDownloadProvider.java986 mediaValues.put(MediaStore.Downloads.DISPLAY_NAME, Helpers.extractDisplayName(filePath)); in convertToMediaProviderValues()