Home
last modified time | relevance | path

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

/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/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/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/TvProvider/src/com/android/providers/tv/
DTvProvider.java45 import android.media.tv.TvContract.Programs.Genres;
1836 if (!Genres.isCanonical(genre)) { in createSqlParams()
1972 String[] genres = Genres.decode(canonicalGenres); in checkAndConvertGenre()
1974 if (!Genres.isCanonical(genre)) { in checkAndConvertGenre()
1988 String[] genres = Genres.decode(broadcastGenres); in checkAndConvertGenre()
1991 if (Genres.isCanonical(canonicalGenre)) { in checkAndConvertGenre()
1997 Genres.encode(genreSet.toArray(new String[genreSet.size()]))); in checkAndConvertGenre()
/packages/providers/MediaProvider/apex/framework/api/
Dcurrent.txt153 …public static final class MediaStore.Audio.Genres implements android.provider.BaseColumns android.…
154 ctor public MediaStore.Audio.Genres();
164 …public static final class MediaStore.Audio.Genres.Members implements android.provider.MediaStore.A…
165 ctor public MediaStore.Audio.Genres.Members();
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java1260 assertQueryResultNoItems(MediaStore.Audio.Genres.getContentUri(volume)); in testQueryAudioViewsNoItemWithColumn()
1386 assertNull(mp.getRedactedUri(MediaStore.Audio.Genres.getContentUri(volumeName))); in testRedactionForInvalidUris()
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseHelper.java1271 + " genre_id AS " + Audio.Genres._ID in createLatestViews()
1272 + ", MIN(genre) AS " + Audio.Genres.NAME in createLatestViews()
DMediaProvider.java790 consumer.accept(Audio.Genres.getContentUri(volumeName)); in acceptWithExpansion()
3004 return Audio.Genres.CONTENT_TYPE; in getType()
3007 return Audio.Genres.ENTRY_CONTENT_TYPE; in getType()
4731 qb.setProjectionMap(getProjectionMap(Audio.Genres.class)); in getQueryBuilderInternal()
4749 qb.setProjectionMap(getProjectionMap(Audio.Genres.class)); in getQueryBuilderInternal()
4765 getProjectionMap(Audio.Genres.Members.class)); in getQueryBuilderInternal()
4766 projectionMap.put(Audio.Genres.Members.AUDIO_ID, in getQueryBuilderInternal()
4767 "_id AS " + Audio.Genres.Members.AUDIO_ID); in getQueryBuilderInternal()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java3068 public static final class Genres implements BaseColumns, GenresColumns { class in MediaStore.Audio
3129 .withAppendedId(Audio.Genres.getContentUri(volumeName), genreId) in getContentUri()
/packages/inputmethods/LatinIME/dictionaries/
Dde_wordlist.combined.gz