Home
last modified time | relevance | path

Searched refs:RELATIVE_PATH (Results 1 – 12 of 12) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DFileUtilsTest.java695 values.put(MediaColumns.RELATIVE_PATH, "path/in\0valid/data/"); in testSanitizeValues()
698 assertEquals("path/in_valid/data/", values.get(MediaColumns.RELATIVE_PATH)); in testSanitizeValues()
705 values.put(MediaColumns.RELATIVE_PATH, "/"); in testSanitizeValues_Root()
707 assertEquals("/", values.get(MediaColumns.RELATIVE_PATH)); in testSanitizeValues_Root()
715 values.put(MediaColumns.RELATIVE_PATH, hiddenDirectoryPath); in testSanitizeValues_HiddenFile()
719 assertEquals(hiddenDirectoryPath, values.get(MediaColumns.RELATIVE_PATH)); in testSanitizeValues_HiddenFile()
723 assertEquals("_" + hiddenDirectoryPath, values.get(MediaColumns.RELATIVE_PATH)); in testSanitizeValues_HiddenFile()
898 values.put(MediaColumns.RELATIVE_PATH, "DCIM/My Vacation/"); in testComputeDataFromValues_withAction_trimFileName()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DVideoStore.java44 private static final String RELATIVE_PATH = "relative_path"; field in VideoStore
109 RELATIVE_PATH, in load()
132 relativePathColumn = cursor.getColumnIndexOrThrow(RELATIVE_PATH); in load()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPlaylistPerformanceTest.java132 values.put(MediaColumns.RELATIVE_PATH, mRelativePath); in createPlaylist()
143 values.put(MediaColumns.RELATIVE_PATH, mRelativePath); in createAudio()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java1262 values.remove(MediaColumns.RELATIVE_PATH);
1276 values.put(MediaColumns.RELATIVE_PATH, extractRelativePath(data));
1305 if (!"/".equals(values.getAsString(MediaColumns.RELATIVE_PATH))) {
1346 values.getAsString(MediaColumns.RELATIVE_PATH), resolvedDisplayName);
1352 final String[] relativePath = values.getAsString(MediaColumns.RELATIVE_PATH).split("/");
1356 values.put(MediaColumns.RELATIVE_PATH,
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java695 forward.put(MediaColumns.RELATIVE_PATH, "DCIM/My Vacation/"); in testBuildData_Pending_FromValues()
731 assertEquals("DCIM/My Vacation/", reverse.getAsString(MediaColumns.RELATIVE_PATH)); in testBuildData_Pending_FromData()
743 forward.put(MediaColumns.RELATIVE_PATH, "DCIM/My Vacation/"); in testBuildData_Trashed_FromValues()
779 assertEquals("DCIM/My Vacation/", reverse.getAsString(MediaColumns.RELATIVE_PATH)); in testBuildData_Trashed_FromData()
1241 values.put(MediaStore.Audio.Media.RELATIVE_PATH, relativePath); in testQueryAudioViewsNoItemWithColumn()
1301 assertEquals(relativePath, values.get(ImageColumns.RELATIVE_PATH)); in assertRelativePath()
1325 values.put(MediaColumns.RELATIVE_PATH, relativePath); in buildFile()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppReceiveFileInfo.java178 mediaContentValues.put(MediaStore.MediaColumns.RELATIVE_PATH, in generateFileInfo()
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseHelper.java1466 + " SET " + MediaColumns.RELATIVE_PATH + "=" + MediaColumns.RELATIVE_PATH + "||'/'" in updateRelativePath()
1467 + " WHERE " + MediaColumns.RELATIVE_PATH + " IS NOT NULL" in updateRelativePath()
1468 + " AND " + MediaColumns.RELATIVE_PATH + " NOT LIKE '%/';"); in updateRelativePath()
DMediaProvider.java1977 queryArgs.putString(QUERY_ARG_SQL_SELECTION, MediaColumns.RELATIVE_PATH + in getFilesInDirectoryForFuse()
2893 updateRow(columnNames, MediaColumns.RELATIVE_PATH, row, REDACTED_URI_DIR); in getRedactedUriCursor()
3266 if (TextUtils.isEmpty(values.getAsString(MediaColumns.RELATIVE_PATH))) { in ensureFileColumns()
3268 values.put(MediaColumns.RELATIVE_PATH, in ensureFileColumns()
3271 values.put(MediaColumns.RELATIVE_PATH, in ensureFileColumns()
3312 final String[] relativePath = values.getAsString(MediaColumns.RELATIVE_PATH).split("/"); in ensureFileColumns()
3323 MediaColumns.RELATIVE_PATH, in ensureFileColumns() argument
3338 final String actualPath = values.getAsString(MediaColumns.RELATIVE_PATH); in ensureFileColumns()
3442 relativePaths.add(values.getAsString(MediaColumns.RELATIVE_PATH)); in assertPrivatePathNotInValues()
3596 values.put(FileColumns.RELATIVE_PATH, extractRelativePath(path)); in insertDirectory()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java831 new String[] { DownloadColumns.RELATIVE_PATH, DownloadColumns.DISPLAY_NAME }, in getRelativePathAndDisplayNameForDownload() argument
986 selection.append(DownloadColumns.RELATIVE_PATH + "=?"); in buildSearchSelection()
994 selection.append(DownloadColumns.RELATIVE_PATH + "=?"); in buildSearchSelection()
DDownloadProvider.java985 mediaValues.put(MediaStore.Downloads.RELATIVE_PATH, Helpers.extractRelativePath(filePath)); in convertToMediaProviderValues()
/packages/providers/MediaProvider/apex/framework/api/
Dcurrent.txt350 field public static final String RELATIVE_PATH = "relative_path";
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java1371 public static final String RELATIVE_PATH = "relative_path"; field