Home
last modified time | relevance | path

Searched refs:TYPE_AUDIO (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/TV/tests/robotests/src/com/android/tv/
DMainActivityRoboTest.java68 TvTrackInfo.TYPE_AUDIO, in testSelectAudioTrack_autoSelect()
69 buildTrackForTesting(TvTrackInfo.TYPE_AUDIO, "EN audio 1", "EN"), in testSelectAudioTrack_autoSelect()
70 buildTrackForTesting(TvTrackInfo.TYPE_AUDIO, "FR audio 1", "FR")); in testSelectAudioTrack_autoSelect()
72 assertThat(mMainActivity.getSelectedTrack(TvTrackInfo.TYPE_AUDIO)).isEqualTo("FR audio 1"); in testSelectAudioTrack_autoSelect()
75 TvTrackInfo.TYPE_AUDIO, in testSelectAudioTrack_autoSelect()
76 buildTrackForTesting(TvTrackInfo.TYPE_AUDIO, "EN audio 2", "EN"), in testSelectAudioTrack_autoSelect()
77 buildTrackForTesting(TvTrackInfo.TYPE_AUDIO, "FR audio 2", "FR"), in testSelectAudioTrack_autoSelect()
78 buildTrackForTesting(TvTrackInfo.TYPE_AUDIO, "FR audio 3", "FR")); in testSelectAudioTrack_autoSelect()
81 assertThat(mMainActivity.getSelectedTrack(TvTrackInfo.TYPE_AUDIO)).isEqualTo("FR audio 2"); in testSelectAudioTrack_autoSelect()
88 TvTrackInfo.TYPE_AUDIO, in testSelectAudioTrack_audioTrackCountChanged()
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ui/playback/
DDvrPlayerTest.java58 mShadowTvView.mTracks.put(TvTrackInfo.TYPE_AUDIO, null); in testGetAudioTracks_null()
65 mShadowTvView.mTracks.put(TvTrackInfo.TYPE_AUDIO, new ArrayList<>()); in testGetAudioTracks_empty()
72 TvTrackInfo info = new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, "fake id").build(); in testGetAudioTracks_nonEmpty()
73 mShadowTvView.mTracks.put(TvTrackInfo.TYPE_AUDIO, Collections.singletonList(info)); in testGetAudioTracks_nonEmpty()
/packages/apps/TV/src/com/android/tv/util/
DTvTrackInfoUtils.java89 lhs.getType() != TvTrackInfo.TYPE_AUDIO in createComparator()
92 rhs.getType() != TvTrackInfo.TYPE_AUDIO in createComparator()
155 if (track.getType() != TvTrackInfo.TYPE_AUDIO) {
223 case TvTrackInfo.TYPE_AUDIO:
245 + (trackType == TvTrackInfo.TYPE_AUDIO
DTvSettings.java116 if (trackType == TvTrackInfo.TYPE_AUDIO) { in setDvrPlaybackTrackSettings()
151 if (trackType == TvTrackInfo.TYPE_AUDIO) { in getDvrPlaybackTrackSettings()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlayer.java295 if (trackType == TvTrackInfo.TYPE_AUDIO) { in setOnTrackSelectedListener()
304 if (trackType == TvTrackInfo.TYPE_AUDIO) { in getOnTrackSelectedListener()
356 List<TvTrackInfo> tracks = mTvView.getTracks(TvTrackInfo.TYPE_AUDIO); in getAudioTracks()
362 if (trackType == TvTrackInfo.TYPE_AUDIO) { in getSelectedTrackId()
408 if (trackType == TvTrackInfo.TYPE_AUDIO) { in setSelectedTrackId()
496 mTvView.getTracks(TvTrackInfo.TYPE_AUDIO).size() > 1; in setTvViewCallbacks()
509 if (type == TvTrackInfo.TYPE_AUDIO || type == TvTrackInfo.TYPE_SUBTITLE) { in setTvViewCallbacks()
DDvrPlaybackOverlayFragment.java197 selectBestMatchedTrack(TvTrackInfo.TYPE_AUDIO); in onActivityCreated()
344 if (trackType == TvTrackInfo.TYPE_AUDIO) { in getTracks()
406 trackType == TvTrackInfo.TYPE_AUDIO in selectBestMatchedTrack()
410 && (trackType == TvTrackInfo.TYPE_AUDIO in selectBestMatchedTrack()
/packages/apps/TV/tests/common/src/com/android/tv/testing/constants/
DConstants.java27 new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, "English Stereo Audio")
32 new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, "Generic Audio").build();
/packages/apps/TV/tests/robotests/src/com/android/tv/util/
DTvTrackInfoUtilsTest.java62 return new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, trackId) in createTvTrackInfo()
311 return new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, TRACK_ID) in createAudioTrackInfo()
325 new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, "track_1") in toString_audioWithDetails()
339 new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, "track_2").build())); in toString_audioWithDefaults()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DRootInfo.java68 TYPE_AUDIO,
82 public static final int TYPE_AUDIO = 4; field in RootInfo
269 derivedType = TYPE_AUDIO; in deriveFields()
349 || derivedType == TYPE_AUDIO in isLibrary()
427 case TYPE_AUDIO: in loadMimeTypeIcon()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DMultiAudioFragment.java49 List<TvTrackInfo> tracks = getMainActivity().getTracks(TvTrackInfo.TYPE_AUDIO); in getItemList()
50 mSelectedTrackId = getMainActivity().getSelectedTrack(TvTrackInfo.TYPE_AUDIO); in getItemList()
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DAudioConfig.java74 super(RtpConfig.TYPE_AUDIO, in); in AudioConfig()
88 super(RtpConfig.TYPE_AUDIO, builder); in AudioConfig()
240 super.writeToParcel(dest, RtpConfig.TYPE_AUDIO); in writeToParcel()
DRtpConfig.java39 public static final int TYPE_AUDIO = 0; field in RtpConfig
301 case TYPE_AUDIO:
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/support/tis/
DTisSessionTest.java60 testSession.notifyTrackSelected(TvTrackInfo.TYPE_AUDIO, "audio_test"); in notifyTrackSelected()
62 .isEqualTo(Pair.create(TvTrackInfo.TYPE_AUDIO, "audio_test")); in notifyTrackSelected()
/packages/apps/TV/tests/unit/src/com/android/tv/menu/
DTvOptionsRowAdapterTest.java133 waitUntilTracksHaveSize(TvTrackInfo.TYPE_AUDIO, expected); in waitUntilAudioTracksHaveSize()
164 waitUntilTrackSelected(TvTrackInfo.TYPE_AUDIO, trackId); in waitUntilAudioTrackSelected()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java71 private static final int TYPE_AUDIO = MetricConsts.TYPE_CHIP_AUDIOS; field in SearchChipViewManager
106 sMimeTypesChipItems.put(TYPE_AUDIO, in sMimeTypesChipItems.put() argument
107 new SearchChipData(TYPE_AUDIO, R.string.chip_title_audio, AUDIO_MIMETYPES)); in sMimeTypesChipItems.put() argument
/packages/apps/TV/interactive/SampleTvInteractiveAppService/src/com/android/tv/samples/sampletvinteractiveappservice/
DTiasSessionImpl.java291 selectTrack(TvTrackInfo.TYPE_AUDIO, null); in onKeyDown()
296 selectTrack(TvTrackInfo.TYPE_AUDIO, mFirstAudioTrackId); in onKeyDown()
544 case TvTrackInfo.TYPE_AUDIO: in updateTrackSelectedView()
613 if (info.getType() == TvTrackInfo.TYPE_AUDIO) { in onTrackInfoList()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/include/
DRtpConfig.h102 const static int32_t TYPE_AUDIO = 0; variable
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaDocumentsProviderTest.java123 MediaDocumentsProvider.TYPE_AUDIO, in testSimple()
148 MediaDocumentsProvider.TYPE_AUDIO, in testOpenFile()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerNativeInterfaceTest.java85 int playerType = AvrcpPlayer.TYPE_AUDIO; // No getter exists in createFromNativePlayerItem()
/packages/apps/TV/src/com/android/tv/interactive/
DIAppManager.java267 case TvTrackInfo.TYPE_AUDIO: in onPlaybackCommandRequest()
395 int[] trackTypes = new int[] {TvTrackInfo.TYPE_AUDIO, in onRequestTrackInfoList()
/packages/apps/Messaging/src/com/android/messaging/util/
DContentType.java30 public static final int TYPE_AUDIO = 2; field in ContentType
/packages/apps/TV/src/com/android/tv/menu/
DTvOptionsRowAdapter.java123 List<TvTrackInfo> audioTracks = getMainActivity().getTracks(TvTrackInfo.TYPE_AUDIO); in updateMultiAudioAction()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java127 static final String TYPE_AUDIO = "audio"; field in MediaDocumentsProvider
252 AUTHORITY, getDocIdForIdent(TYPE_AUDIO, id)); in onMediaStoreDelete()
425 } else if (TYPE_AUDIO.equals(ident.type) && ident.id != -1) { in getUriForDocumentId()
498 case TYPE_AUDIO: in getDocumentMetadataFromIndex()
678 } else if (TYPE_AUDIO.equals(ident.type)) { in queryDocument()
1458 final String docId = getDocIdForIdent(TYPE_AUDIO, id); in includeAudio()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java1992 selectTrack(TvTrackInfo.TYPE_AUDIO, null, UNDEFINED_TRACK_INDEX);
1996 List<TvTrackInfo> tracks = getTracks(TvTrackInfo.TYPE_AUDIO);
2017 String selectedTrack = getSelectedTrack(TvTrackInfo.TYPE_AUDIO);
2019 selectTrack(TvTrackInfo.TYPE_AUDIO, bestTrack, UNDEFINED_TRACK_INDEX);
2658 if (type == TvTrackInfo.TYPE_AUDIO) {
2701 List<TvTrackInfo> tracks = getTracks(TvTrackInfo.TYPE_AUDIO);
2971 allowAutoSelectionOfTrack ? null : getSelectedTrack(TvTrackInfo.TYPE_AUDIO));
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpPlayer.java37 public static final int TYPE_AUDIO = 0; field in AvrcpPlayer

12