Home
last modified time | relevance | path

Searched refs:ChannelState (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TV/tests/common/src/com/android/tv/testing/testinput/
DChannelState.java28 public class ChannelState { class
50 public static final ChannelState DEFAULT = new ChannelState(CHANNEL_VERSION_DEFAULT,
56 private ChannelState(int version, ChannelStateData channelStateData) { in ChannelState() method in ChannelState
111 public ChannelState next(ChannelStateData data) { in next()
112 return new ChannelState(mVersion + 1, data); in next()
DChannelStateData.java43 public int mTuneStatus = ChannelState.TUNE_STATUS_VIDEO_AVAILABLE;
44 public String mSelectedAudioTrackId = ChannelState.DEFAULT_AUDIO_TRACK.getId();
45 public String mSelectedVideoTrackId = ChannelState.DEFAULT_VIDEO_TRACK.getId();
48 mTvTrackInfos.add(ChannelState.DEFAULT_VIDEO_TRACK); in ChannelStateData()
49 mTvTrackInfos.add(ChannelState.DEFAULT_AUDIO_TRACK); in ChannelStateData()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestInputControl.java27 import com.android.tv.testing.testinput.ChannelState;
48 private final LongSparseArray<ChannelState> mOrigId2StateMap = new LongSparseArray<>();
84 public ChannelState getChannelState(int originalNetworkId) { in getChannelState()
85 return mOrigId2StateMap.get(originalNetworkId, ChannelState.DEFAULT); in getChannelState()
91 ChannelState state; in updateChannelState()
92 ChannelState orig = getChannelState(origId); in updateChannelState()
DTestTvInputService.java39 import com.android.tv.testing.testinput.ChannelState;
81 private ChannelState mCurrentState = null;
275 ChannelState oldState; in run()
276 ChannelState newState = null; in run()
305 private void update(ChannelState oldState, ChannelState newState, in update()
310 if (newState.getTuneStatus() == ChannelState.TUNE_STATUS_VIDEO_AVAILABLE) { in update()