Searched refs:mTrackStates (Results 1 – 2 of 2) sorted by relevance
37 private final List<Integer> mTrackStates = new ArrayList<>(); field in MpegTsSampleSource71 mTrackStates.clear(); in prepare()74 mTrackStates.add(i, TRACK_STATE_DISABLED); in prepare()104 Assertions.checkState(mTrackStates.get(track) == TRACK_STATE_DISABLED); in enable()105 mTrackStates.set(track, TRACK_STATE_ENABLED); in enable()113 Assertions.checkState(mTrackStates.get(track) != TRACK_STATE_DISABLED); in disable()116 mTrackStates.set(track, TRACK_STATE_DISABLED); in disable()137 Assertions.checkState(mTrackStates.get(track) != TRACK_STATE_DISABLED); in readData()141 if (mTrackStates.get(track) != TRACK_STATE_FORMAT_SENT) { in readData()143 mTrackStates.set(track, TRACK_STATE_FORMAT_SENT); in readData()[all …]
42 private final List<Integer> mTrackStates = new ArrayList<>(); field in MpegTsMediaPeriod67 Assertions.checkState(mTrackStates.get(track) == TRACK_STATE_DISABLED); in enable()68 mTrackStates.set(track, TRACK_STATE_ENABLED); in enable()74 Assertions.checkState(mTrackStates.get(track) != TRACK_STATE_DISABLED); in disable()77 mTrackStates.set(track, TRACK_STATE_DISABLED); in disable()175 for (int i = 0; i < mTrackStates.size(); ++i) { in seekToUsInternal()176 if (mTrackStates.get(i) != TRACK_STATE_DISABLED) { in seekToUsInternal()192 mTrackStates.clear(); in onPrepared()195 mTrackStates.add(i, TRACK_STATE_DISABLED); in onPrepared()238 Assertions.checkState(mTrackStates.get(mIndex) != TRACK_STATE_DISABLED); in readData()[all …]