Home
last modified time | relevance | path

Searched refs:playlistFile (Results 1 – 3 of 3) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseHelper.java1263 File playlistFile = new File(data); in migrateFromLegacy() local
1265 if (!playlistFile.exists()) { in migrateFromLegacy()
1266 if (LOGV) Log.v(TAG, "Migrating playlist file " + playlistFile); in migrateFromLegacy()
1370 File playlistFile = new File(data); in migratePlaylistFiles() local
1371 if (playlistFile.exists()) { in migratePlaylistFiles()
1391 File parentFile = playlistFile.getParentFile(); in migratePlaylistFiles()
1401 playlistFile = FileUtils.buildUniqueFile(parentFile, mimeType, playlistName); in migratePlaylistFiles()
1403 Log.e(TAG, "Couldn't create unique file for " + playlistFile + in migratePlaylistFiles()
1410 createPlaylistFile(client, playlistMemberUri, playlistFile); in migratePlaylistFiles()
1411 return playlistFile.getAbsolutePath(); in migratePlaylistFiles()
[all …]
DMediaProvider.java8692 final File playlistFile = queryForDataFile(playlistUri, null);
8696 playlist.read(playlistFile);
8698 playlistFile.toPath().getParent().relativize(audioFile.toPath()));
8699 playlist.write(playlistFile);
8700 invalidateFuseDentry(playlistFile);
8726 final File playlistFile = queryForDataFile(playlistUri, null);
8728 playlist.read(playlistFile);
8738 playlistFile.toPath().getParent().relativize(audioFile.toPath()));
8740 playlist.write(playlistFile);
8763 final File playlistFile = queryForDataFile(playlistUri, null);
[all …]
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DLegacyProviderMigrationTest.java273 File playlistFile = new File(playlist.getAsString(MediaColumns.DATA)); in testLegacy_PlaylistMap() local
275 playlistFile.delete(); in testLegacy_PlaylistMap()
329 playlistFile = new File(musicDir, playlistName + "." in testLegacy_PlaylistMap()
332 pollForFile(playlistFile); in testLegacy_PlaylistMap()
335 MediaStore.scanFile(context.getContentResolver(), playlistFile); in testLegacy_PlaylistMap() local