HomeSort by relevance Sort by last modified time
    Searched refs:Playlists (Results 1 - 24 of 24) sorted by null

  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Audio_PlaylistsTest.java 26 import android.provider.MediaStore.Audio.Playlists;
44 Playlists.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null,
51 Playlists.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null,
60 assertNull(mContentResolver.query(Playlists.getContentUri(volume), null, null, null,
68 values.put(Playlists.NAME, "My favourites");
69 values.put(Playlists.DATA, externalPlaylistPath);
72 values.put(Playlists.DATE_MODIFIED, dateModified);
74 Uri uri = mContentResolver.insert(Playlists.EXTERNAL_CONTENT_URI, values);
82 assertEquals("My favourites", c.getString(c.getColumnIndex(Playlists.NAME)));
84 c.getString(c.getColumnIndex(Playlists.DATA)))
    [all...]
MediaStore_Audio_Playlists_MembersTest.java 26 import android.provider.MediaStore.Audio.Playlists;
27 import android.provider.MediaStore.Audio.Playlists.Members;
136 assertEquals("content://media/external/audio/playlists/1337/members",
138 assertEquals("content://media/internal/audio/playlists/3007/members",
187 values.put(Playlists.NAME, "My favourites");
188 values.put(Playlists.DATA, "");
190 values.put(Playlists.DATE_ADDED, dateAdded);
192 values.put(Playlists.DATE_MODIFIED, dateModified);
194 Uri uri = mContentResolver.insert(Playlists.EXTERNAL_CONTENT_URI, values);
198 long playlistId = c.getLong(c.getColumnIndex(Playlists._ID))
    [all...]
  /packages/apps/Music/src/com/android/music/
CreatePlaylist.java 102 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
103 new String[] { MediaStore.Audio.Playlists._ID },
104 MediaStore.Audio.Playlists.NAME + "=?",
106 MediaStore.Audio.Playlists.NAME);
134 MediaStore.Audio.Playlists.NAME
137 String whereclause = MediaStore.Audio.Playlists.NAME + " != ''";
138 Cursor c = resolver.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
140 MediaStore.Audio.Playlists.NAME);
151 // you have playlists named "New Playlist 1"/10/2/3/4/5/6/7/8/9, where
179 uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, id)
    [all...]
RenamePlaylist.java 122 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
123 new String[] { MediaStore.Audio.Playlists._ID },
124 MediaStore.Audio.Playlists.NAME + "=?",
126 MediaStore.Audio.Playlists.NAME);
139 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
140 new String[] { MediaStore.Audio.Playlists.NAME },
141 MediaStore.Audio.Playlists._ID + "=?",
143 MediaStore.Audio.Playlists.NAME);
173 values.put(MediaStore.Audio.Playlists.NAME, name);
174 resolver.update(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI
    [all...]
PlaylistBrowserActivity.java 154 new String[] { MediaStore.Audio.Playlists.NAME},
316 MediaStore.Audio.Playlists.NAME)));
334 MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, mi.id);
464 MediaStore.Audio.Playlists._ID,
465 MediaStore.Audio.Playlists.NAME
471 where.append(MediaStore.Audio.Playlists.NAME + " != ''");
485 where.append(MediaStore.Audio.Playlists.NAME + " LIKE ?");
493 async.startQuery(0, null, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
494 mCols, whereclause, keywords, MediaStore.Audio.Playlists.NAME);
498 c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI
    [all...]
ScanningProgress.java 46 MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
TrackBrowserActivity.java 45 import android.provider.MediaStore.Audio.Playlists;
149 MediaStore.Audio.Playlists.Members._ID,
156 MediaStore.Audio.Playlists.Members.PLAY_ORDER,
157 MediaStore.Audio.Playlists.Members.AUDIO_ID,
485 MediaStore.Audio.Playlists.NAME
488 ContentUris.withAppendedId(Playlists.EXTERNAL_CONTENT_URI, Long.valueOf(mPlaylist)),
533 MediaStore.Audio.Playlists.Members.moveItem(getContentResolver(),
567 MediaStore.Audio.Playlists.Members._ID);
570 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri("external",
662 MediaStore.Audio.Playlists.Members.AUDIO_ID)
    [all...]
MusicUtils.java 318 colidx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Playlists.Members.AUDIO_ID);
361 final String[] ccols = new String[] { MediaStore.Audio.Playlists.Members.AUDIO_ID };
362 Cursor cursor = query(context, MediaStore.Audio.Playlists.Members.getContentUri("external", plid),
363 ccols, null, null, MediaStore.Audio.Playlists.Members.DEFAULT_SORT_ORDER);
405 * any existing playlists. When the user selects an item, the
415 MediaStore.Audio.Playlists._ID,
416 MediaStore.Audio.Playlists.NAME
422 String whereclause = MediaStore.Audio.Playlists.NAME + " != ''";
423 Cursor cur = resolver.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
425 MediaStore.Audio.Playlists.NAME)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
MediaScannerTest.java 154 // ensure that we don't currently have playlists named ctsmediascanplaylist*
155 res.delete(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
158 res.delete(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
177 // verify that the two playlists were created correctly;
178 c = res.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, null,
186 c = res.query(MediaStore.Audio.Playlists.Members.getContentUri("external", playlistid),
187 null, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER);
190 long song1a = c.getLong(c.getColumnIndex(MediaStore.Audio.Playlists.Members.AUDIO_ID));
192 long song1b = c.getLong(c.getColumnIndex(MediaStore.Audio.Playlists.Members.AUDIO_ID));
199 c = res.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, null
    [all...]
  /packages/apps/Music/tests/src/com/android/music/functional/
TestPlaylist.java 131 MediaStore.Audio.Playlists.NAME
138 String whereclause = MediaStore.Audio.Playlists.NAME + " = '" + playlistname +"'";
139 mCursor = resolver.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
141 MediaStore.Audio.Playlists.NAME);
TestSongs.java 67 * Add 10 new playlists with unsorted title order
125 MediaStore.Audio.Playlists.NAME
131 String whereclause = MediaStore.Audio.Playlists.NAME + " != ''";
132 mCursor = resolver.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
134 MediaStore.Audio.Playlists.NAME);
  /packages/apps/SoundRecorder/src/com/android/soundrecorder/
SoundRecorder.java 541 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri("external", playlistId);
547 values.put(MediaStore.Audio.Playlists.Members.PLAY_ORDER, Integer.valueOf(base + audioId));
548 values.put(MediaStore.Audio.Playlists.Members.AUDIO_ID, audioId);
556 Uri uri = MediaStore.Audio.Playlists.getContentUri("external");
557 final String[] ids = new String[] { MediaStore.Audio.Playlists._ID };
558 final String where = MediaStore.Audio.Playlists.NAME + "=?";
580 cv.put(MediaStore.Audio.Playlists.NAME, res.getString(R.string.audio_db_playlist_name));
581 Uri uri = resolver.insert(MediaStore.Audio.Playlists.getContentUri("external"), cv);
  /frameworks/base/media/java/android/media/
MediaScanner.java 38 import android.provider.MediaStore.Audio.Playlists;
136 Audio.Playlists.Members.PLAYLIST_ID, // 0
492 // we don't process playlists in the main scan, so return null
    [all...]
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaProvider.java 76 import android.provider.MediaStore.Audio.Playlists;
231 Playlists.Members.PLAYLIST_ID,
232 Playlists.Members.PLAY_ORDER
    [all...]
  /frameworks/base/core/java/android/provider/
MediaStore.java     [all...]
  /frameworks/base/media/java/android/mtp/
MtpDatabase.java 308 // handle abstract playlists separately
323 values.put(Audio.Playlists.DATA, path);
324 values.put(Audio.Playlists.NAME, name);
330 Audio.Playlists.EXTERNAL_CONTENT_URI, values);
    [all...]
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 97 milliseconds