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

  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Audio_GenresTest.java 29 import android.provider.MediaStore.Audio.Genres;
32 @TestTargetClass(Genres.class)
53 Genres.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null,
58 Genres.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null,
67 assertNull(mContentResolver.query(Genres.getContentUri(volume), null, null, null, null));
73 values.put(Genres.NAME, "POP");
74 Uri uri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values);
82 assertEquals("POP", c.getString(c.getColumnIndex(Genres.NAME)));
83 assertTrue(c.getLong(c.getColumnIndex(Genres._ID)) > 0);
88 values.put(Genres.NAME, "ROCK")
    [all...]
MediaStore_Audio_Genres_MembersTest.java 29 import android.provider.MediaStore.Audio.Genres;
31 import android.provider.MediaStore.Audio.Genres.Members;
102 values.put(Genres.NAME, Audio1.GENRE);
103 Uri uri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values);
107 long genreId = c.getLong(c.getColumnIndex(Genres._ID));
199 mContentResolver.delete(Genres.EXTERNAL_CONTENT_URI, Genres._ID + "=" + genreId, null);
207 // the internal database can not have genres
209 values.put(Genres.NAME, Audio1.GENRE);
210 Uri uri = mContentResolver.insert(Genres.INTERNAL_CONTENT_URI, values)
    [all...]
  /frameworks/base/media/java/android/media/
MediaScanner.java 39 import android.provider.MediaStore.Audio.Genres;
157 Audio.Genres._ID, // 0
158 Audio.Genres.NAME, // 1
168 // ID3v1 Genres
249 // The following genres are Winamp extensions
565 // handle numeric genres, which PV sometimes encodes like "(20)"
793 GENRE_LOOKUP_PROJECTION, MediaStore.Audio.Genres.NAME + "=?",
798 values.put(MediaStore.Audio.Genres.NAME, genre);
806 uri = Uri.withAppendedPath(uri, Genres.Members.CONTENT_DIRECTORY);
820 values.put(MediaStore.Audio.Genres.Members.AUDIO_ID, Long.valueOf(rowId))
    [all...]
  /packages/apps/Music/src/com/android/music/
TrackBrowserActivity.java 495 MediaStore.Audio.Genres.NAME
498 ContentUris.withAppendedId(MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI, Long.valueOf(mGenre)),
    [all...]
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaProvider.java 520 * Only external media volumes can handle genres, playlists, etc.
536 // Contiains mappings between audio genres and audio files
    [all...]
  /frameworks/base/core/java/android/provider/
MediaStore.java     [all...]
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/6/
android.jar 

Completed in 21 milliseconds