/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...] |
/external/libmtp/doc/ |
examples.h | 15 /** \example playlists.c */
|
/external/libmtp/examples/ |
playlists.c | 2 * \file playlists.c 3 * Example program to list the playlists on a device. 53 LIBMTP_playlist_t *playlists; local 65 playlists = LIBMTP_Get_Playlist_List(device); 66 if (playlists == NULL) { 67 printf("No playlists.\n"); 70 pl = playlists;
|
Makefile.am | 2 folders trexist playlists getplaylist \ 15 playlists_SOURCES=playlists.c util.c util.h common.h
|
getplaylist.c | 3 * Example program that lists the abstract playlists on the device.
|
/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...] |
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...] |
ScanningProgress.java | 46 MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerTest.java | 146 // ensure that we don't currently have playlists named ctsmediascanplaylist* 147 res.delete(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 150 res.delete(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, 169 // verify that the two playlists were created correctly; 170 c = res.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, null, 178 c = res.query(MediaStore.Audio.Playlists.Members.getContentUri("external", playlistid), 179 null, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER); 182 long song1a = c.getLong(c.getColumnIndex(MediaStore.Audio.Playlists.Members.AUDIO_ID)); 184 long song1b = c.getLong(c.getColumnIndex(MediaStore.Audio.Playlists.Members.AUDIO_ID)); 191 c = res.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, null [all...] |
/frameworks/base/docs/html/sdk/api_diff/8/changes/ |
android.provider.MediaStore.Audio.Playlists.Members.html | 10 android.provider.MediaStore.Audio.Playlists.Members 74 Class android.provider.<A HREF="../../../../reference/android/provider/MediaStore.Audio.Playlists.Members.html" target="_top"><font size="+2"><code>MediaStore.Audio.Playlists.Members</code></font></A> 86 <A NAME="android.provider.MediaStore.Audio.Playlists.Members.moveItem_added(android.content.ContentResolver, long, int, int)"></A> 87 <nobr><code>boolean</code> <A HREF="../../../../reference/android/provider/MediaStore.Audio.Playlists.Members.html#moveItem(android.content.ContentResolver, long, int, int)" target="_top"><code>moveItem</code></A>(<code>ContentResolver,</nobr> long<nobr>,</nobr> int<nobr>,</nobr> int<nobr><nobr></code>)</nobr>
|
pkg_android.provider.html | 140 <A NAME="MediaStore.Audio.Playlists.Members"></A> 141 <nobr><A HREF="android.provider.MediaStore.Audio.Playlists.Members.html">MediaStore.Audio.Playlists.<br>Members</A></nobr>
|
/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/Music/res/values-de/ |
strings.xml | 59 <string name="playlists_menu" msgid="5382792649771928849">"Playlists"</string> 60 <string name="playlists_title" msgid="5094238486322957927">"Playlists"</string> 67 <string name="no_playlists_title" msgid="4456351945617594418">"Keine Playlists"</string> 145 <string name="working_playlists" msgid="4424950806134653351">"Playlists?"</string>
|
/packages/apps/Music/res/values-en-rGB/ |
strings.xml | 59 <string name="playlists_menu" msgid="5382792649771928849">"Playlists"</string> 60 <string name="playlists_title" msgid="5094238486322957927">"Playlists"</string> 67 <string name="no_playlists_title" msgid="4456351945617594418">"No playlists"</string> 145 <string name="working_playlists" msgid="4424950806134653351">"Playlists?"</string>
|
/packages/apps/Music/res/values/ |
strings.xml | 116 <string name="playlists_menu">Playlists</string> 117 <!-- Playlists screen title --> 118 <string name="playlists_title">Playlists</string> 131 <!-- Title of screen when there are no playlists, or if the SD card is busy --> 132 <string name="no_playlists_title">No playlists</string> 205 <!-- Toasts after adding song(s) to playlists --> 286 <!-- Shown in the title bar while the list of playlists is being retrieved in the background --> 287 <string name="working_playlists">Playlists\u2026</string>
|
/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/docs/html/develop/ |
index.jd | 182 <li>VIDEO PLAYLISTS</li> 322 * Each name inside 'playlist' corresponds to class names for the tab that the playlists belong to (eg: "googleioTab" and "googleioBox" divs). 325 var playlists = { 342 for (var x in playlists) { 343 var ids = playlists[x].ids; 345 var script = "<script type='text/javascript' src='//gdata.youtube.com/feeds/api/playlists/" 357 var script = "<script type='text/javascript' src='//gdata.youtube.com/feeds/api/playlists/"
|
/packages/apps/Music/res/values-fr/ |
strings.xml | 59 <string name="playlists_menu" msgid="5382792649771928849">"Playlists"</string> 60 <string name="playlists_title" msgid="5094238486322957927">"Playlists"</string> 145 <string name="working_playlists" msgid="4424950806134653351">"Playlists?"</string>
|
/packages/apps/Music/res/values-rm/ |
strings.xml | 66 <string name="playlists_menu" msgid="5382792649771928849">"Playlists"</string> 67 <string name="playlists_title" msgid="5094238486322957927">"Playlists"</string> 163 <string name="working_playlists" msgid="4424950806134653351">"Playlists..."</string>
|
/frameworks/base/docs/html/channels/ |
io2013.jd | 330 $.getScript("//gdata.youtube.com/feeds/api/playlists/" 335 $.getScript("//gdata.youtube.com/feeds/api/playlists/" 340 $.getScript("//gdata.youtube.com/feeds/api/playlists/" 346 $.getScript("//gdata.youtube.com/feeds/api/playlists/"
|