/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
Constants.java | 29 TvTrackInfo.TYPE_AUDIO, "English Stereo Audio").setLanguage("en") 32 TvTrackInfo.TYPE_AUDIO, "Generic Audio").build();
|
/frameworks/base/media/java/android/media/tv/ |
TvTrackInfo.java | 39 @IntDef({TYPE_AUDIO, TYPE_VIDEO, TYPE_SUBTITLE}) 45 public static final int TYPE_AUDIO = 0; 106 * {@link #TYPE_AUDIO}, {@link #TYPE_VIDEO} and {@link #TYPE_SUBTITLE}. 136 * Returns the audio channel count. Valid only for {@link #TYPE_AUDIO} tracks. 141 if (mType != TYPE_AUDIO) { 148 * Returns the audio sample rate, in the unit of Hz. Valid only for {@link #TYPE_AUDIO} tracks. 153 if (mType != TYPE_AUDIO) { 277 && (mType == TYPE_AUDIO 329 * @throws IllegalArgumentException if the type is not any of {@link #TYPE_AUDIO}, 333 if (type != TYPE_AUDIO [all...] |
TvInputManager.java | 399 * {@link TvTrackInfo#TYPE_AUDIO}, {@link TvTrackInfo#TYPE_VIDEO} or [all...] |
/packages/apps/TV/src/com/android/tv/util/ |
TvTrackInfoUtils.java | 60 boolean lhsCountMatch = lhs.getType() != TvTrackInfo.TYPE_AUDIO 62 boolean rhsCountMatch = rhs.getType() != TvTrackInfo.TYPE_AUDIO
|
TvSettings.java | 103 if (trackType == TvTrackInfo.TYPE_AUDIO) { 131 if (trackType == TvTrackInfo.TYPE_AUDIO) {
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
MultiAudioFragment.java | 51 List<TvTrackInfo> tracks = getMainActivity().getTracks(TvTrackInfo.TYPE_AUDIO); 52 mSelectedTrackId = getMainActivity().getSelectedTrack(TvTrackInfo.TYPE_AUDIO);
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
TvTrackInfoTest.java | 34 final TvTrackInfo info = new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, "id_audio") 40 assertEquals(TvTrackInfo.TYPE_AUDIO, info.getType()); 53 assertEquals(TvTrackInfo.TYPE_AUDIO, infoFromParcel.getType());
|
StubTunerTvInputService.java | 153 if (track.getType() == TvTrackInfo.TYPE_AUDIO) { 154 notifyTrackSelected(TvTrackInfo.TYPE_AUDIO, track.getId());
|
TvViewTest.java | 310 case TvTrackInfo.TYPE_AUDIO: 335 new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, "audio-stereo-eng") 337 TvTrackInfo audioTrack2 = new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, "audio-mono-esp") 361 return mTvView.getTracks(TvTrackInfo.TYPE_AUDIO) != null; 364 final int[] types = { TvTrackInfo.TYPE_AUDIO, TvTrackInfo.TYPE_VIDEO,
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
DvrPlayer.java | 308 * @param trackType should be either {@link TvTrackInfo#TYPE_AUDIO} 312 if (trackType == TvTrackInfo.TYPE_AUDIO) { 323 if (trackType == TvTrackInfo.TYPE_AUDIO) { 384 return new ArrayList<>(mTvView.getTracks(TvTrackInfo.TYPE_AUDIO)); 391 if (trackType == TvTrackInfo.TYPE_AUDIO) { 435 if (trackType == TvTrackInfo.TYPE_AUDIO) { 511 boolean hasMultiAudio = mTvView.getTracks(TvTrackInfo.TYPE_AUDIO).size() > 1; 523 if (type == TvTrackInfo.TYPE_AUDIO || type == TvTrackInfo.TYPE_SUBTITLE) {
|
DvrPlaybackOverlayFragment.java | 173 selectBestMatchedTrack(TvTrackInfo.TYPE_AUDIO); 304 * or {@link TvTrackInfo#TYPE_AUDIO}. Or returns {@code null}. 307 if (trackType == TvTrackInfo.TYPE_AUDIO) { 326 * or {@link TvTrackInfo#TYPE_AUDIO}. 336 * or {@link TvTrackInfo#TYPE_AUDIO}. 364 trackType == TvTrackInfo.TYPE_AUDIO ? selectedTrack.getAudioChannelCount() : 0); 365 if (bestMatchedTrack != null && (trackType == TvTrackInfo.TYPE_AUDIO || Utils
|
DvrPlaybackControlHelper.java | 139 trackType = TvTrackInfo.TYPE_AUDIO;
|
/packages/apps/TV/tests/unit/src/com/android/tv/menu/ |
TvOptionsRowAdapterTest.java | 117 waitUntilTracksHaveSize(TvTrackInfo.TYPE_AUDIO, expected); 143 waitUntilTrackSelected(TvTrackInfo.TYPE_AUDIO, trackId);
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
UtilsTest_GetMultiAudioString.java | 90 return new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, TRACK_ID)
|
TvTrackInfoUtilsTest.java | 51 return new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, id)
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
RootInfo.java | 64 TYPE_AUDIO, 77 public static final int TYPE_AUDIO = 3; 228 derivedType = TYPE_AUDIO; 284 || derivedType == TYPE_AUDIO
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/player/ |
TvInputPlayer.java | 295 AdaptationSet.TYPE_AUDIO); 307 audioTrackList.add(new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, 330 mTvTracks[TvTrackInfo.TYPE_AUDIO] = tracks; 331 mSelectedTvTracks[TvTrackInfo.TYPE_AUDIO] = 0; 332 mMultiTrackSources[TvTrackInfo.TYPE_AUDIO] = audioChunkSource;
|
/frameworks/av/media/libstagefright/httplive/ |
M3UParser.cpp | 35 TYPE_AUDIO, 126 case TYPE_AUDIO: 164 if (mType != TYPE_SUBS && mType != TYPE_AUDIO) { 204 if (mType == TYPE_AUDIO) { 388 groupType = MediaGroup::TYPE_AUDIO; 1026 MediaGroup::Type groupType = MediaGroup::TYPE_AUDIO; 1079 groupType = MediaGroup::TYPE_AUDIO; [all...] |
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/ |
RichTvInputService.java | 140 Collections.addAll(tracks, mPlayer.getTracks(TvTrackInfo.TYPE_AUDIO)); 145 notifyTrackSelected(TvTrackInfo.TYPE_AUDIO, mPlayer.getSelectedTrack( 146 TvTrackInfo.TYPE_AUDIO));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
MultipleTracksTestActivity.java | 109 MockTvInputService.expectSelectTrack(TvTrackInfo.TYPE_AUDIO,
|
MockTvInputService.java | 82 new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, "audio_eng") 88 new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, "audio_spa") 371 notifyTrackSelected(TvTrackInfo.TYPE_AUDIO, sEngAudioTrack.getId());
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
ContentType.java | 30 public static final int TYPE_AUDIO = 2;
|
/packages/apps/TV/src/com/android/tv/menu/ |
TvOptionsRowAdapter.java | 97 List<TvTrackInfo> audioTracks = getMainActivity().getTracks(TvTrackInfo.TYPE_AUDIO);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaDocumentsProvider.java | 94 private static final String TYPE_AUDIO = "audio"; 155 AUTHORITY, getDocIdForIdent(TYPE_AUDIO, id)); 198 } else if (TYPE_AUDIO.equals(ident.type) && ident.id != -1) { 301 } else if (TYPE_AUDIO.equals(ident.type)) { [all...] |
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
TunerSessionWorker.java | [all...] |