Home
last modified time | relevance | path

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

/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DBufferManager.java171 public final String trackId; field in BufferManager.TrackFormat
182 public TrackFormat(String trackId, MediaFormat format) { in TrackFormat() argument
183 this.trackId = trackId; in TrackFormat()
267 ArrayList<PositionHolder> readIndexFile(String trackId) throws IOException; in readIndexFile() argument
425 public void loadTrackFromStorage(String trackId, SamplePool samplePool) throws IOException { in loadTrackFromStorage() argument
426 ArrayList<PositionHolder> keyPositions = mStorageManager.readIndexFile(trackId); in loadTrackFromStorage()
429 SortedMap<Long, Pair<SampleChunk, Integer>> map = mChunkMap.get(trackId); in loadTrackFromStorage()
432 mChunkMap.put(trackId, map); in loadTrackFromStorage()
433 mStartPositionMap.put(trackId, startPositionUs); in loadTrackFromStorage()
434 mPendingDelete.init(trackId); in loadTrackFromStorage()
[all …]
DDvrStorageManager.java255 public ArrayList<BufferManager.PositionHolder> readIndexFile(String trackId) in readIndexFile() argument
257 File file = new File(getBufferDir(), trackId + IDX_FILE_SUFFIX_V2); in readIndexFile()
261 return readOldIndexFile(new File(getBufferDir(), trackId + IDX_FILE_SUFFIX)); in readIndexFile()
340 writeString(out, trackFormat.trackId); in writeTrackInfoFiles()
DTrickplayStorageManager.java135 public ArrayList<BufferManager.PositionHolder> readIndexFile(String trackId) { in readIndexFile() argument
/packages/apps/TV/tests/unit/src/com/android/tv/menu/
DTvOptionsRowAdapterTest.java150 private void waitUntilAudioTrackSelected(String trackId) { in waitUntilAudioTrackSelected() argument
151 waitUntilTrackSelected(TvTrackInfo.TYPE_AUDIO, trackId); in waitUntilAudioTrackSelected()
154 private void waitUntilVideoTrackSelected(String trackId) { in waitUntilVideoTrackSelected() argument
155 waitUntilTrackSelected(TvTrackInfo.TYPE_VIDEO, trackId); in waitUntilVideoTrackSelected()
158 private void waitUntilTrackSelected(int trackType, String trackId) { in waitUntilTrackSelected() argument
164 if (TextUtils.equals(selectedTrackId, trackId)) { in waitUntilTrackSelected()
173 + trackId in waitUntilTrackSelected()
/packages/apps/TV/src/com/android/tv/util/
DTvSettings.java145 String trackId; in getDvrPlaybackTrackSettings() local
149 trackId = pref.getString(PREF_DVR_MULTI_AUDIO_ID, null); in getDvrPlaybackTrackSettings()
150 if (trackId == null) { in getDvrPlaybackTrackSettings()
155 return new TvTrackInfo.Builder(trackType, trackId) in getDvrPlaybackTrackSettings()
160 trackId = pref.getString(PREF_DVR_SUBTITLE_ID, null); in getDvrPlaybackTrackSettings()
161 if (trackId == null) { in getDvrPlaybackTrackSettings()
165 return new TvTrackInfo.Builder(trackType, trackId).setLanguage(language).build(); in getDvrPlaybackTrackSettings()
DCaptionSettings.java92 public void setTrackId(String trackId) { in setTrackId() argument
93 mTrackId = trackId; in setTrackId()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlayer.java402 private void setSelectedTrackId(int trackType, String trackId) { in setSelectedTrackId() argument
404 mSelectedAudioTrackId = trackId; in setSelectedTrackId()
406 mSelectedSubtitleTrackId = trackId; in setSelectedTrackId()
503 public void onTrackSelected(String inputId, int type, String trackId) { in setTvViewCallbacks()
505 setSelectedTrackId(type, trackId); in setTvViewCallbacks()
508 listener.onTrackSelected(trackId); in setTvViewCallbacks()
511 && trackId != null in setTvViewCallbacks()
517 if (trackInfo.getId().equals(trackId)) { in setTvViewCallbacks()
/packages/apps/TV/common/src/com/android/tv/common/support/tis/
DTifSession.java124 public final void notifyTrackSelected(final int type, final String trackId) { in notifyTrackSelected() argument
125 callback.notifyTrackSelected(type, trackId); in notifyTrackSelected()
178 void notifyTrackSelected(final int type, final String trackId); in notifyTrackSelected() argument
/packages/apps/TV/src/com/android/tv/
DMainActivity.java1908 protected void applyMultiAudio(String trackId) {
1916 if (trackId != null) {
1918 if (trackId.equals(track.getId())) {
1958 String trackId = mCaptionSettings.getTrackId();
1962 if (track.getId().equals(trackId)) {
2593 public void selectAudioTrack(String trackId) {
2594 saveMultiAudioSetting(trackId);
2595 applyMultiAudio(trackId);
2598 private void saveMultiAudioSetting(String trackId) {
2602 if (track.getId().equals(trackId)) {
[all …]
DInputSessionManager.java547 public void onTrackSelected(String inputId, int type, String trackId) { in onTrackSelected() argument
548 mDelegate.onTrackSelected(inputId, type, trackId); in onTrackSelected()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java1095 private boolean handleMessageSelectTrack(int type, String trackId) { in handleMessageSelectTrack() argument
1101 doSelectTrack(type, trackId); in handleMessageSelectTrack()
1364 private void doSelectTrack(int type, String trackId) { in doSelectTrack() argument
1366 trackId != null ? Integer.parseInt(trackId.substring(TRACK_PREFIX_SIZE)) : -1; in doSelectTrack()
1368 if (trackId == null) { in doSelectTrack()
1374 mSession.notifyTrackSelected(type, trackId); in doSelectTrack()
1376 if (trackId == null) { in doSelectTrack()
1383 if (track.getId().equals(trackId)) { in doSelectTrack()
1386 mSession.notifyTrackSelected(type, trackId); in doSelectTrack()
DTunerSessionWorker.java1085 private boolean handleMessageSelectTrack(int type, String trackId) { in handleMessageSelectTrack() argument
1091 doSelectTrack(type, trackId); in handleMessageSelectTrack()
1354 private void doSelectTrack(int type, String trackId) { in doSelectTrack() argument
1356 trackId != null ? Integer.parseInt(trackId.substring(TRACK_PREFIX_SIZE)) : -1; in doSelectTrack()
1358 if (trackId == null) { in doSelectTrack()
1364 mSession.notifyTrackSelected(type, trackId); in doSelectTrack()
1366 if (trackId == null) { in doSelectTrack()
1373 if (track.getId().equals(trackId)) { in doSelectTrack()
1376 mSession.notifyTrackSelected(type, trackId); in doSelectTrack()
DTunerSession.java79 public boolean onSelectTrack(int type, String trackId) { in onSelectTrack() argument
80 mSessionWorker.sendMessage(TunerSessionWorker.MSG_SELECT_TRACK, type, 0, trackId); in onSelectTrack()
DTunerSessionExoV2.java77 public boolean onSelectTrack(int type, String trackId) { in onSelectTrack() argument
78 mSessionWorker.sendMessage(TunerSessionWorkerExoV2.MSG_SELECT_TRACK, type, 0, trackId); in onSelectTrack()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DMultiAudioFragment.java86 private MultiAudioOptionItem(String title, String trackId) { in MultiAudioOptionItem() argument
88 mTrackId = trackId; in MultiAudioOptionItem()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrTvView.java132 public void selectTrack(int type, String trackId) { in selectTrack() argument
133 mTvView.selectTrack(type, trackId); in selectTrack()
/packages/apps/TV/src/com/android/tv/ui/
DTunableTvView.java260 public void onTrackSelected(String inputId, int type, String trackId) {
261 if (trackId == null) {
277 if (track.getId().equals(trackId)) {
304 Log.w(TAG, "Invalid track ID: " + trackId);
844 public void selectTrack(int type, String trackId) { in selectTrack() argument
845 mTvView.selectTrack(type, trackId); in selectTrack()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DFileSampleExtractor.java75 ids.add(trackFormat.trackId); in prepare()