Searched refs:ChannelState (Results 1 – 5 of 5) sorted by relevance
24 public class ChannelState { class42 public static final ChannelState DEFAULT =43 new ChannelState(CHANNEL_VERSION_DEFAULT, new ChannelStateData());48 private ChannelState(int version, ChannelStateData channelStateData) { in ChannelState() method in ChannelState98 public ChannelState next(ChannelStateData data) { in next()99 return new ChannelState(mVersion + 1, data); in next()
41 public int mTuneStatus = ChannelState.TUNE_STATUS_VIDEO_AVAILABLE;42 public String mSelectedAudioTrackId = ChannelState.DEFAULT_AUDIO_TRACK.getId();43 public String mSelectedVideoTrackId = ChannelState.DEFAULT_VIDEO_TRACK.getId();46 mTvTrackInfos.add(ChannelState.DEFAULT_VIDEO_TRACK); in ChannelStateData()47 mTvTrackInfos.add(ChannelState.DEFAULT_AUDIO_TRACK); in ChannelStateData()
26 import com.android.tv.testing.testinput.ChannelState;46 private final LongSparseArray<ChannelState> mOrigId2StateMap = new LongSparseArray<>();86 public ChannelState getChannelState(int originalNetworkId) { in getChannelState()87 return mOrigId2StateMap.get(originalNetworkId, ChannelState.DEFAULT); in getChannelState()93 ChannelState state; in updateChannelState()94 ChannelState orig = getChannelState(origId); in updateChannelState()
46 import com.android.tv.testing.testinput.ChannelState;102 private ChannelState mCurrentState = null;312 ChannelState oldState; in run()313 ChannelState newState = null; in run()363 ChannelState oldState, ChannelState newState, ChannelInfo currentChannel) { in update()367 if (newState.getTuneStatus() == ChannelState.TUNE_STATUS_VIDEO_AVAILABLE) { in update()
35 import com.android.tv.testing.testinput.ChannelState;68 waitUntilAudioTrackSelected(ChannelState.DEFAULT.getSelectedAudioTrackId()); in setUp()117 data.mTvTrackInfos.add(ChannelState.DEFAULT_VIDEO_TRACK); in testUpdateAudioAction_noTracks()118 data.mSelectedVideoTrackId = ChannelState.DEFAULT_VIDEO_TRACK.getId(); in testUpdateAudioAction_noTracks()