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

  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Audio_PlaylistsTest.java 30 import android.provider.MediaStore.Audio.Playlists;
35 @TestTargetClass(Playlists.class)
55 Playlists.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null,
61 Playlists.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null,
69 assertNull(mContentResolver.query(Playlists.getContentUri(volume), null, null, null,
77 values.put(Playlists.NAME, "My favourites");
78 values.put(Playlists.DATA, externalPlaylistPath);
81 values.put(Playlists.DATE_MODIFIED, dateModified);
83 Uri uri = mContentResolver.insert(Playlists.EXTERNAL_CONTENT_URI, values);
91 assertEquals("My favourites", c.getString(c.getColumnIndex(Playlists.NAME)))
    [all...]
MediaStore_Audio_Playlists_MembersTest.java 29 import android.provider.MediaStore.Audio.Playlists;
30 import android.provider.MediaStore.Audio.Playlists.Members;
133 assertEquals("content://media/external/audio/playlists/1337/members",
135 assertEquals("content://media/internal/audio/playlists/3007/members",
141 values.put(Playlists.NAME, "My favourites");
142 values.put(Playlists.DATA, "");
144 values.put(Playlists.DATE_ADDED, dateAdded);
146 values.put(Playlists.DATE_MODIFIED, dateModified);
148 Uri uri = mContentResolver.insert(Playlists.EXTERNAL_CONTENT_URI, values);
152 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...]
  /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 43 import android.provider.MediaStore.Audio.Playlists;
133 Audio.Playlists.Members.PLAYLIST_ID, // 0
495 // we don't process playlists in the main scan, so return null
    [all...]
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaProvider.java     [all...]
  /frameworks/base/core/java/android/provider/
MediaStore.java     [all...]
  /frameworks/base/media/java/android/mtp/
MtpDatabase.java 307 // handle abstract playlists separately
322 values.put(Audio.Playlists.DATA, path);
323 values.put(Audio.Playlists.NAME, name);
328 Uri uri = mMediaProvider.insert(Audio.Playlists.EXTERNAL_CONTENT_URI, values);
    [all...]
  /prebuilt/sdk/12/
android.jar 
  /prebuilt/sdk/14/
android.jar 
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/6/
android.jar 

Completed in 720 milliseconds