Searched refs:extractRelativePath (Results 1 – 7 of 7) sorted by relevance
43 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()
1090 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()));
21 import static com.android.providers.media.util.FileUtils.extractRelativePath;1233 final String relativePath = extractRelativePath(audio.getAbsolutePath()); in testQueryAudioViewsNoItemWithColumn()
663 public static @Nullable String extractRelativePath(@Nullable String data) { in extractRelativePath() method in Helpers
985 mediaValues.put(MediaStore.Downloads.RELATIVE_PATH, Helpers.extractRelativePath(filePath)); in convertToMediaProviderValues()
73 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));
813 && cameraRelativePath.equalsIgnoreCase(FileUtils.extractRelativePath(path)); in supportsTranscode()