Searched refs:extractRelativePath (Results 1 – 8 of 8) sorted by relevance
20 import static com.android.providers.media.util.FileUtils.extractRelativePath;67 + extractRelativePath(path) + extractDisplayName(path); in getFileAttributesFromXAttr()
1115 public static @Nullable String extractRelativePath(@Nullable String data) {1197 final String relativePath = extractRelativePath(path);1257 final String relativePath = extractRelativePath(path);1352 values.put(MediaColumns.RELATIVE_PATH, extractRelativePath(data));1606 final String[] relativePath = sanitizePath(extractRelativePath(dir.getAbsolutePath()));
45 import static com.android.providers.media.util.FileUtils.extractRelativePath;547 extractRelativePath(prefix + "foo.jpg")); in testExtractRelativePath()549 extractRelativePath(prefix + "DCIM/foo.jpg")); in testExtractRelativePath()551 extractRelativePath(prefix + "DCIM/My Vacation/foo.jpg")); in testExtractRelativePath()553 extractRelativePath(prefix + "DCIM/../Pictures/.//foo.jpg")); in testExtractRelativePath()555 extractRelativePath(prefix + "DCIM/Pictures/./..//..////foo.jpg")); in testExtractRelativePath()557 extractRelativePath(prefix + "DCIM/foo.jpg/.//../../Android/data/poc")); in testExtractRelativePath()560 assertEquals(null, extractRelativePath("/sdcard/\\\u0000")); in testExtractRelativePath()
746 public static @Nullable String extractRelativePath(@Nullable String data) { in extractRelativePath() method in Helpers
1003 mediaValues.put(MediaStore.Downloads.RELATIVE_PATH, Helpers.extractRelativePath(filePath)); in convertToMediaProviderValues()
21 import static com.android.providers.media.util.FileUtils.extractRelativePath;1479 final String relativePath = extractRelativePath(audio.getAbsolutePath()); in testQueryAudioViewsNoItemWithColumn()
140 import static com.android.providers.media.util.FileUtils.extractRelativePath;3531 final String[] oldRelativePath = sanitizePath(extractRelativePath(oldPath)); in renameForFuse()3532 final String[] newRelativePath = sanitizePath(extractRelativePath(newPath)); in renameForFuse()4677 relativePaths.add(extractRelativePath(values.getAsString(MediaColumns.DATA))); in assertPrivatePathNotInValues()4840 values.put(FileColumns.RELATIVE_PATH, extractRelativePath(path)); in insertDirectory()10252 values.put(FileColumns.RELATIVE_PATH, extractRelativePath(path));10541 final String[] relativePath = sanitizePath(extractRelativePath(path));
852 final String relativePath = FileUtils.extractRelativePath(path); in supportsTranscode()