Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DFileUtilsTest.java718 values.put(MediaColumns.RELATIVE_PATH, "path/in\0valid/data/"); in testSanitizeValues()
721 assertEquals("path/in_valid/data/", values.get(MediaColumns.RELATIVE_PATH)); in testSanitizeValues()
728 values.put(MediaColumns.RELATIVE_PATH, "/"); in testSanitizeValues_Root()
730 assertEquals("/", values.get(MediaColumns.RELATIVE_PATH)); in testSanitizeValues_Root()
738 values.put(MediaColumns.RELATIVE_PATH, hiddenDirectoryPath); in testSanitizeValues_HiddenFile()
742 assertEquals(hiddenDirectoryPath, values.get(MediaColumns.RELATIVE_PATH)); in testSanitizeValues_HiddenFile()
746 assertEquals("_" + hiddenDirectoryPath, values.get(MediaColumns.RELATIVE_PATH)); in testSanitizeValues_HiddenFile()
1184 values.put(MediaColumns.RELATIVE_PATH, "DCIM/My Vacation/"); in testComputeDataFromValues_withAction_trimFileName()
1250 assertEquals("Pictures/", values.getAsString(MediaColumns.RELATIVE_PATH)); in testComputeValuesFromData()
1267 assertEquals("/", values.getAsString(MediaColumns.RELATIVE_PATH)); in testComputeValuesFromData_withTopLevelFile()
[all …]
/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.java134 values.put(MediaColumns.RELATIVE_PATH, mRelativePath); in createPlaylist()
145 values.put(MediaColumns.RELATIVE_PATH, mRelativePath); in createAudio()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java519 values.put(MediaStore.MediaColumns.RELATIVE_PATH, "Download"); in testInsertionWithFilePathOnAnotherUserVolume_throwsIllegalArgumentException()
537 values.put(MediaStore.MediaColumns.RELATIVE_PATH, "Android/media/com.example/"); in testInsertionWithInvalidFilePath_throwsIllegalArgumentException()
553 values.put(MediaStore.MediaColumns.RELATIVE_PATH, "Download"); in testUpdationWithInvalidFilePath_throwsIllegalArgumentException()
900 forward.put(MediaColumns.RELATIVE_PATH, "DCIM/My Vacation/"); in testBuildData_Pending_FromValues()
936 assertEquals("DCIM/My Vacation/", reverse.getAsString(MediaColumns.RELATIVE_PATH)); in testBuildData_Pending_FromData()
948 forward.put(MediaColumns.RELATIVE_PATH, "DCIM/My Vacation/"); in testBuildData_Trashed_FromValues()
984 assertEquals("DCIM/My Vacation/", reverse.getAsString(MediaColumns.RELATIVE_PATH)); in testBuildData_Trashed_FromData()
1487 values.put(MediaStore.Audio.Media.RELATIVE_PATH, relativePath); in testQueryAudioViewsNoItemWithColumn()
1654 assertEquals(relativePath, values.get(ImageColumns.RELATIVE_PATH)); in assertRelativePath()
1678 values.put(MediaColumns.RELATIVE_PATH, relativePath); in buildFile()
DIdleServiceTest.java27 import static android.provider.MediaStore.MediaColumns.RELATIVE_PATH;
250 values.put(RELATIVE_PATH, dir.getName()); in testDetectSpecialFormat()
/packages/providers/MediaProvider/legacy/src/com/android/providers/media/
DLegacyDatabaseHelper.java662 + " SET " + MediaColumns.RELATIVE_PATH + "=" + MediaColumns.RELATIVE_PATH + "||'/'" in updateRelativePath()
663 + " WHERE " + MediaColumns.RELATIVE_PATH + " IS NOT NULL" in updateRelativePath()
664 + " AND " + MediaColumns.RELATIVE_PATH + " NOT LIKE '%/';"); in updateRelativePath()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DExternalDbFacade.java120 private static final String WHERE_RELATIVE_PATH = MediaStore.MediaColumns.RELATIVE_PATH
133 MediaStore.MediaColumns.RELATIVE_PATH
137 + MediaStore.MediaColumns.RELATIVE_PATH
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DFileUtils.java1330 values.remove(MediaColumns.RELATIVE_PATH);
1352 values.put(MediaColumns.RELATIVE_PATH, extractRelativePath(data));
1381 if (!"/".equals(values.getAsString(MediaColumns.RELATIVE_PATH))) {
1423 String relativePath = values.getAsString(MediaColumns.RELATIVE_PATH);
1474 final String[] relativePath = values.getAsString(MediaColumns.RELATIVE_PATH).split("/");
1478 values.put(MediaColumns.RELATIVE_PATH,
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DExternalDbFacadeTest.java823 cv.put(MediaColumns.RELATIVE_PATH, ExternalDbFacade.RELATIVE_PATH_CAMERA); in testQueryMedia_withAlbumAndMimeType()
1122 cv1.put(MediaColumns.RELATIVE_PATH, ExternalDbFacade.RELATIVE_PATH_CAMERA); in testQueryAlbumsMimeType()
1168 cv1.put(MediaColumns.RELATIVE_PATH, ExternalDbFacade.RELATIVE_PATH_CAMERA); in initMediaInAllAlbums()
1174 MediaColumns.RELATIVE_PATH, in initMediaInAllAlbums()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppReceiveFileInfo.java186 MediaStore.MediaColumns.RELATIVE_PATH, Environment.DIRECTORY_DOWNLOADS); in generateFileInfo()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java817 new String[] { DownloadColumns.RELATIVE_PATH, DownloadColumns.DISPLAY_NAME }, in getRelativePathAndDisplayNameForDownload() argument
972 selection.append(DownloadColumns.RELATIVE_PATH + "=?"); in buildSearchSelection()
980 selection.append(DownloadColumns.RELATIVE_PATH + "=?"); in buildSearchSelection()
DDownloadProvider.java1003 mediaValues.put(MediaStore.Downloads.RELATIVE_PATH, Helpers.extractRelativePath(filePath)); in convertToMediaProviderValues()
/packages/providers/MediaProvider/src/com/android/providers/media/
DAccessChecker.java450 options.add(FileColumns.RELATIVE_PATH + " LIKE '" + defaultDir + "/%'"); in getWhereForDefaultDirectoryMatch()
DDatabaseHelper.java1838 + " SET " + MediaColumns.RELATIVE_PATH + "=" + MediaColumns.RELATIVE_PATH + "||'/'" in updateRelativePath()
1839 + " WHERE " + MediaColumns.RELATIVE_PATH + " IS NOT NULL" in updateRelativePath()
1840 + " AND " + MediaColumns.RELATIVE_PATH + " NOT LIKE '%/';"); in updateRelativePath()
DMediaProvider.java2932 queryArgs.putString(QUERY_ARG_SQL_SELECTION, MediaColumns.RELATIVE_PATH + in getFilesInDirectoryForFuse()
4094 updateRow(columnNames, MediaColumns.RELATIVE_PATH, row, getRedactedRelativePath()); in getRedactedUriCursor()
4479 if (TextUtils.isEmpty(values.getAsString(MediaColumns.RELATIVE_PATH))) { in ensureFileColumns()
4481 values.put(MediaColumns.RELATIVE_PATH, in ensureFileColumns()
4484 values.put(MediaColumns.RELATIVE_PATH, in ensureFileColumns()
4554 final String[] relativePath = values.getAsString(MediaColumns.RELATIVE_PATH).split("/"); in ensureFileColumns()
4565 MediaColumns.RELATIVE_PATH, in ensureFileColumns() argument
4580 final String actualPath = values.getAsString(MediaColumns.RELATIVE_PATH); in ensureFileColumns()
4678 relativePaths.add(values.getAsString(MediaColumns.RELATIVE_PATH)); in assertPrivatePathNotInValues()
4840 values.put(FileColumns.RELATIVE_PATH, extractRelativePath(path)); in insertDirectory()
[all …]
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java1760 public static final String RELATIVE_PATH = "relative_path"; field
/packages/providers/MediaProvider/apex/framework/api/
Dcurrent.txt463 field public static final String RELATIVE_PATH = "relative_path";