Home
last modified time | relevance | path

Searched refs:Genres (Results 1 – 18 of 18) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java20 import android.media.tv.TvContract.Programs.Genres;
267 Genres.EDUCATION,
268 Genres.ENTERTAINMENT,
269 Genres.MOVIES,
270 Genres.NEWS,
271 Genres.LIFE_STYLE,
272 Genres.SPORTS,
274 Genres.MOVIES,
276 Genres.FAMILY_KIDS,
277 Genres.DRAMA,
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DGenreItemTest.java21 import android.media.tv.TvContract.Programs.Genres;
58 assertInRange(GenreItems.getId(Genres.FAMILY_KIDS), 1, count - 1); in testGetId_base()
59 assertInRange(GenreItems.getId(Genres.SPORTS), 1, count - 1); in testGetId_base()
60 assertInRange(GenreItems.getId(Genres.SHOPPING), 1, count - 1); in testGetId_base()
61 assertInRange(GenreItems.getId(Genres.MOVIES), 1, count - 1); in testGetId_base()
62 assertInRange(GenreItems.getId(Genres.COMEDY), 1, count - 1); in testGetId_base()
63 assertInRange(GenreItems.getId(Genres.TRAVEL), 1, count - 1); in testGetId_base()
64 assertInRange(GenreItems.getId(Genres.DRAMA), 1, count - 1); in testGetId_base()
65 assertInRange(GenreItems.getId(Genres.EDUCATION), 1, count - 1); in testGetId_base()
66 assertInRange(GenreItems.getId(Genres.ANIMAL_WILDLIFE), 1, count - 1); in testGetId_base()
[all …]
DProgramTest.java18 import static android.media.tv.TvContract.Programs.Genres.COMEDY;
19 import static android.media.tv.TvContract.Programs.Genres.FAMILY_KIDS;
25 import android.media.tv.TvContract.Programs.Genres;
130 .setCanonicalGenres(Genres.encode(Genres.SPORTS, Genres.SHOPPING)) in testParcelable()
/packages/apps/TV/src/com/android/tv/data/
DGenreItems.java20 import android.media.tv.TvContract.Programs.Genres;
29 Genres.FAMILY_KIDS,
30 Genres.SPORTS,
31 Genres.SHOPPING,
32 Genres.MOVIES,
33 Genres.COMEDY,
34 Genres.TRAVEL,
35 Genres.DRAMA,
36 Genres.EDUCATION,
37 Genres.ANIMAL_WILDLIFE,
[all …]
DProgramImpl.java566 TvContract.Programs.Genres.encode(canonicalGenres)); in toContentValues()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java211 Uri contentUri = MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI; in load()
213 MediaStore.Audio.Genres._ID in load()
215 String sortOrder = MediaStore.Audio.Genres._ID; in load()
219 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Genres._ID); in load()
362 Uri contentUri = MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI; in loadData()
363 String[] projection = { MediaStore.Audio.Genres.NAME }; in loadData()
364 String selection = MediaStore.Audio.Genres._ID + " = ?"; in loadData()
370 int nameColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Genres.NAME); in loadData()
455 Uri contentUri = MediaStore.Audio.Genres.Members.getContentUri("external", genre.getId()); in loadAudios()
456 String[] projection = { MediaStore.Audio.Genres.Members.AUDIO_ID }; in loadAudios()
[all …]
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DProgramInfo.java88 TvContract.Programs.Genres.SPORTS,
89 TvContract.Programs.Genres.NEWS,
90 TvContract.Programs.Genres.SHOPPING,
91 TvContract.Programs.Genres.DRAMA,
92 TvContract.Programs.Genres.ENTERTAINMENT
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DDataModel.java64 MediaStore.Audio.Genres.INTERNAL_CONTENT_URI,
65 MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI
126 .setKeyColumn(MediaStore.Audio.Genres._ID) in onQueryByGenre()
127 .setTitleColumn(MediaStore.Audio.Genres.NAME) in onQueryByGenre()
214 MediaStore.Audio.Genres.Members.getContentUri(EXTERNAL, id), in onQueryByKey()
215 MediaStore.Audio.Genres.Members.getContentUri(INTERNAL, id) }); in onQueryByKey()
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java25 import android.media.tv.TvContract.Programs.Genres;
257 : ImmutableList.copyOf(Genres.decode(broadcastGenres))); in setBroadcastGenres()
266 : ImmutableList.copyOf(Genres.decode(canonicalGenres))); in setCanonicalGenres()
471 return genres == null ? null : Genres.encode(genres.toArray(new String[0])); in safeEncode()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DAudioPlayerActivity.java85 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI, in start()
89 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Genres.CONTENT_TYPE); in start()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java30 import android.media.tv.TvContract.Programs.Genres;
762 return getCanonicalGenreIds(Genres.decode(genres)); in getCanonicalGenreIds()
795 return Genres.encode(genres); in getCanonicalGenre()
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
DFakeTvProvider.java54 import androidx.tvprovider.media.tv.TvContractCompat.Programs.Genres;
1963 if (!Genres.isCanonical(genre)) { in createSqlParams()
2096 String[] genres = Genres.decode(canonicalGenres); in checkAndConvertGenre()
2098 if (!Genres.isCanonical(genre)) { in checkAndConvertGenre()
2112 String[] genres = Genres.decode(broadcastGenres); in checkAndConvertGenre()
2115 if (Genres.isCanonical(canonicalGenre)) { in checkAndConvertGenre()
2122 Genres.encode(genreSet.toArray(new String[genreSet.size()]))); in checkAndConvertGenre()
/packages/providers/MediaProvider/apex/framework/api/
Dcurrent.txt143 …public static final class MediaStore.Audio.Genres implements android.provider.BaseColumns android.…
144 ctor public MediaStore.Audio.Genres();
154 …public static final class MediaStore.Audio.Genres.Members implements android.provider.MediaStore.A…
155 ctor public MediaStore.Audio.Genres.Members();
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java45 import android.media.tv.TvContract.Programs.Genres;
1788 if (!Genres.isCanonical(genre)) { in createSqlParams()
1924 String[] genres = Genres.decode(canonicalGenres); in checkAndConvertGenre()
1926 if (!Genres.isCanonical(genre)) { in checkAndConvertGenre()
1940 String[] genres = Genres.decode(broadcastGenres); in checkAndConvertGenre()
1943 if (Genres.isCanonical(canonicalGenre)) { in checkAndConvertGenre()
1949 Genres.encode(genreSet.toArray(new String[genreSet.size()]))); in checkAndConvertGenre()
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseHelper.java1033 + " genre_id AS " + Audio.Genres._ID in createLatestViews()
1034 + ", MIN(genre) AS " + Audio.Genres.NAME in createLatestViews()
DMediaProvider.java715 consumer.accept(Audio.Genres.getContentUri(volumeName)); in acceptWithExpansion()
2311 return Audio.Genres.CONTENT_TYPE; in getType()
2314 return Audio.Genres.ENTRY_CONTENT_TYPE; in getType()
3795 qb.setProjectionMap(getProjectionMap(Audio.Genres.class)); in getQueryBuilderInternal()
3813 qb.setProjectionMap(getProjectionMap(Audio.Genres.class)); in getQueryBuilderInternal()
3829 getProjectionMap(Audio.Genres.Members.class)); in getQueryBuilderInternal()
3830 projectionMap.put(Audio.Genres.Members.AUDIO_ID, in getQueryBuilderInternal()
3831 "_id AS " + Audio.Genres.Members.AUDIO_ID); in getQueryBuilderInternal()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java2743 public static final class Genres implements BaseColumns, GenresColumns { class in MediaStore.Audio
2804 .withAppendedId(Audio.Genres.getContentUri(volumeName), genreId) in getContentUri()
/packages/inputmethods/LatinIME/dictionaries/
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...