Home
last modified time | relevance | path

Searched refs:extractRelativePath (Results 1 – 7 of 7) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DFileUtilsTest.java43 import static com.android.providers.media.util.FileUtils.extractRelativePath;
532 extractRelativePath(prefix + "foo.jpg")); in testExtractRelativePath()
534 extractRelativePath(prefix + "DCIM/foo.jpg")); in testExtractRelativePath()
536 extractRelativePath(prefix + "DCIM/My Vacation/foo.jpg")); in testExtractRelativePath()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java1090 public static @Nullable String extractRelativePath(@Nullable String data) {
1156 final String relativePath = extractRelativePath(path);
1189 final String relativePath = extractRelativePath(path);
1276 values.put(MediaColumns.RELATIVE_PATH, extractRelativePath(data));
1437 final String[] relativePath = sanitizePath(extractRelativePath(dir.getAbsolutePath()));
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java21 import static com.android.providers.media.util.FileUtils.extractRelativePath;
1233 final String relativePath = extractRelativePath(audio.getAbsolutePath()); in testQueryAudioViewsNoItemWithColumn()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java663 public static @Nullable String extractRelativePath(@Nullable String data) { in extractRelativePath() method in Helpers
DDownloadProvider.java985 mediaValues.put(MediaStore.Downloads.RELATIVE_PATH, Helpers.extractRelativePath(filePath)); in convertToMediaProviderValues()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java73 import static com.android.providers.media.util.FileUtils.extractRelativePath;
2554 final String[] oldRelativePath = sanitizePath(extractRelativePath(oldPath)); in renameForFuse()
2555 final String[] newRelativePath = sanitizePath(extractRelativePath(newPath)); in renameForFuse()
3441 relativePaths.add(extractRelativePath(values.getAsString(MediaColumns.DATA))); in assertPrivatePathNotInValues()
3596 values.put(FileColumns.RELATIVE_PATH, extractRelativePath(path)); in insertDirectory()
8366 values.put(FileColumns.RELATIVE_PATH, extractRelativePath(path));
8606 final String[] relativePath = sanitizePath(extractRelativePath(path));
8672 final String[] relativePath = sanitizePath(extractRelativePath(path));
DTranscodeHelperImpl.java813 && cameraRelativePath.equalsIgnoreCase(FileUtils.extractRelativePath(path)); in supportsTranscode()