/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/ |
D | BufferManager.java | 175 public final String trackId; field in BufferManager.TrackFormat 187 public TrackFormat(String trackId, MediaFormat mediaFormat) { in TrackFormat() argument 188 this.trackId = trackId; in TrackFormat() 273 ArrayList<PositionHolder> readIndexFile(String trackId) throws IOException; in readIndexFile() argument 431 public void loadTrackFromStorage(String trackId, InputBufferPool inputBufferPool) in loadTrackFromStorage() argument 433 ArrayList<PositionHolder> keyPositions = mStorageManager.readIndexFile(trackId); in loadTrackFromStorage() 436 SortedMap<Long, Pair<SampleChunk, Integer>> map = mChunkMap.get(trackId); in loadTrackFromStorage() 439 mChunkMap.put(trackId, map); in loadTrackFromStorage() 440 mStartPositionMap.put(trackId, startPositionUs); in loadTrackFromStorage() 441 mPendingDelete.init(trackId); in loadTrackFromStorage() [all …]
|
D | DvrStorageManager.java | 254 public ArrayList<BufferManager.PositionHolder> readIndexFile(String trackId) in readIndexFile() argument 256 File file = new File(getBufferDir(), trackId + IDX_FILE_SUFFIX_V2); in readIndexFile() 260 return readOldIndexFile(new File(getBufferDir(), trackId + IDX_FILE_SUFFIX)); in readIndexFile() 339 writeString(out, trackFormat.trackId); in writeTrackInfoFiles()
|
D | TrickplayStorageManager.java | 135 public ArrayList<BufferManager.PositionHolder> readIndexFile(String trackId) { in readIndexFile() argument
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | BufferManager.java | 174 public final String trackId; field in BufferManager.TrackFormat 185 public TrackFormat(String trackId, MediaFormat format) { in TrackFormat() argument 186 this.trackId = trackId; in TrackFormat() 270 ArrayList<PositionHolder> readIndexFile(String trackId) throws IOException; in readIndexFile() argument 428 public void loadTrackFromStorage(String trackId, SamplePool samplePool) throws IOException { in loadTrackFromStorage() argument 429 ArrayList<PositionHolder> keyPositions = mStorageManager.readIndexFile(trackId); in loadTrackFromStorage() 432 SortedMap<Long, Pair<SampleChunk, Integer>> map = mChunkMap.get(trackId); in loadTrackFromStorage() 435 mChunkMap.put(trackId, map); in loadTrackFromStorage() 436 mStartPositionMap.put(trackId, startPositionUs); in loadTrackFromStorage() 437 mPendingDelete.init(trackId); in loadTrackFromStorage() [all …]
|
D | DvrStorageManager.java | 254 public ArrayList<BufferManager.PositionHolder> readIndexFile(String trackId) in readIndexFile() argument 256 File file = new File(getBufferDir(), trackId + IDX_FILE_SUFFIX_V2); in readIndexFile() 260 return readOldIndexFile(new File(getBufferDir(), trackId + IDX_FILE_SUFFIX)); in readIndexFile() 339 writeString(out, trackFormat.trackId); in writeTrackInfoFiles()
|
D | TrickplayStorageManager.java | 135 public ArrayList<BufferManager.PositionHolder> readIndexFile(String trackId) { in readIndexFile() argument
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ |
D | ShadowTvView.java | 59 public void selectTrack(int type, String trackId) { in selectTrack() argument 60 mSelectedTracks.put(type, trackId); in selectTrack() 61 int infoIndex = findTrackIndex(type, trackId); in selectTrack() 68 mCallback.onTrackSelected("fakeInputId", type, trackId); in selectTrack() 81 private int findTrackIndex(int type, String trackId) { in findTrackIndex() argument 88 if (info.getId().equals(trackId)) { in findTrackIndex()
|
/packages/apps/TV/tests/unit/src/com/android/tv/menu/ |
D | TvOptionsRowAdapterTest.java | 163 private void waitUntilAudioTrackSelected(String trackId) { in waitUntilAudioTrackSelected() argument 164 waitUntilTrackSelected(TvTrackInfo.TYPE_AUDIO, trackId); in waitUntilAudioTrackSelected() 167 private void waitUntilVideoTrackSelected(String trackId) { in waitUntilVideoTrackSelected() argument 168 waitUntilTrackSelected(TvTrackInfo.TYPE_VIDEO, trackId); in waitUntilVideoTrackSelected() 171 private void waitUntilTrackSelected(int trackType, String trackId) { in waitUntilTrackSelected() argument 177 if (TextUtils.equals(selectedTrackId, trackId)) { in waitUntilTrackSelected() 186 + trackId in waitUntilTrackSelected()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | TvSettings.java | 145 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()
|
D | CaptionSettings.java | 123 public void setTrackId(String trackId) { in setTrackId() argument 124 mTrackId = trackId; in setTrackId()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlayer.java | 407 private void setSelectedTrackId(int trackType, String trackId) { in setSelectedTrackId() argument 409 mSelectedAudioTrackId = trackId; in setSelectedTrackId() 411 mSelectedSubtitleTrackId = trackId; in setSelectedTrackId() 508 public void onTrackSelected(String inputId, int type, String trackId) { in setTvViewCallbacks() 510 setSelectedTrackId(type, trackId); in setTvViewCallbacks() 513 listener.onTrackSelected(trackId); in setTvViewCallbacks() 516 && trackId != null in setTvViewCallbacks() 522 if (trackInfo.getId().equals(trackId)) { in setTvViewCallbacks()
|
/packages/apps/TV/common/src/com/android/tv/common/support/tis/ |
D | TifSession.java | 124 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/ |
D | MainActivity.java | 1929 protected void applyMultiAudio(String trackId) { 1937 if (trackId != null) { 1939 if (trackId.equals(track.getId())) { 1977 String trackId = mCaptionSettings.getTrackId(); 1980 findBestCaptionTrackIndex(tracks, language, preferredLanguages, trackId); 2630 public void selectAudioTrack(String trackId) { 2631 saveMultiAudioSetting(trackId); 2632 applyMultiAudio(trackId); 2635 private void saveMultiAudioSetting(String trackId) { 2639 if (track.getId().equals(trackId)) { [all …]
|
D | InputSessionManager.java | 547 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/ |
D | TunerSessionWorkerExoV2.java | 1083 private boolean handleMessageSelectTrack(int type, String trackId) { in handleMessageSelectTrack() argument 1089 doSelectTrack(type, trackId); in handleMessageSelectTrack() 1345 private void doSelectTrack(int type, String trackId) { in doSelectTrack() argument 1347 trackId != null ? Integer.parseInt(trackId.substring(TRACK_PREFIX_SIZE)) : -1; in doSelectTrack() 1349 if (trackId == null) { in doSelectTrack() 1355 mSession.notifyTrackSelected(type, trackId); in doSelectTrack() 1357 if (trackId == null) { in doSelectTrack() 1364 if (track.getId().equals(trackId)) { in doSelectTrack() 1367 mSession.notifyTrackSelected(type, trackId); in doSelectTrack()
|
D | TunerSessionWorker.java | 1136 private boolean handleMessageSelectTrack(int type, String trackId) { in handleMessageSelectTrack() argument 1142 doSelectTrack(type, trackId); in handleMessageSelectTrack() 1412 private void doSelectTrack(int type, String trackId) { in doSelectTrack() argument 1414 trackId != null ? Integer.parseInt(trackId.substring(TRACK_PREFIX_SIZE)) : -1; in doSelectTrack() 1416 if (trackId == null) { in doSelectTrack() 1422 mSession.notifyTrackSelected(type, trackId); in doSelectTrack() 1424 if (trackId == null) { in doSelectTrack() 1431 if (track.getId().equals(trackId)) { in doSelectTrack() 1434 mSession.notifyTrackSelected(type, trackId); in doSelectTrack()
|
D | TunerSession.java | 86 public boolean onSelectTrack(int type, String trackId) { in onSelectTrack() argument 87 mSessionWorker.sendMessage(TunerSessionWorker.MSG_SELECT_TRACK, type, 0, trackId); in onSelectTrack()
|
D | TunerSessionExoV2.java | 84 public boolean onSelectTrack(int type, String trackId) { in onSelectTrack() argument 85 mSessionWorker.sendMessage(TunerSessionWorkerExoV2.MSG_SELECT_TRACK, type, 0, trackId); in onSelectTrack()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | MultiAudioFragment.java | 86 private MultiAudioOptionItem(String title, String trackId) { in MultiAudioOptionItem() argument 88 mTrackId = trackId; in MultiAudioOptionItem()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrTvView.java | 132 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/ |
D | TunableTvView.java | 265 public void onTrackSelected(String inputId, int type, String trackId) { 266 if (trackId == null) { 282 if (track.getId().equals(trackId)) { 309 Log.w(TAG, "Invalid track ID: " + trackId); 860 public void selectTrack(int type, String trackId) { in selectTrack() argument 861 mTvView.selectTrack(type, trackId); in selectTrack()
|
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/support/tis/ |
D | TisSessionTest.java | 142 public void notifyTrackSelected(int type, String trackId) { in notifyTrackSelected() argument 143 this.trackSelected = Pair.create(type, trackId); in notifyTrackSelected()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/util/ |
D | TvTrackInfoUtilsTest.java | 61 private TvTrackInfo createTvTrackInfo(String trackId, String language, int audioChannelCount) { in createTvTrackInfo() argument 62 return new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, trackId) in createTvTrackInfo()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | FileSampleExtractor.java | 91 ids.add(trackFormat.trackId); in prepare()
|
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/exoplayer/tests/ |
D | SampleSourceExtractorTest.java | 245 public ArrayList<BufferManager.PositionHolder> readIndexFile(String trackId) in readIndexFile() argument
|