1 /* 2 * Copyright (C) 2015 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package com.android.tv.testing.testinput; 17 18 import com.android.tv.testing.data.ChannelInfo; 19 20 /** Constants for interacting with TvTestInput. */ 21 public final class TvTestInputConstants { 22 23 /** 24 * Channel 1. 25 * 26 * <p>By convention Channel 1 should not be changed. Test often start by tuning to this channel. 27 */ 28 public static final ChannelInfo CH_1_DEFAULT_DONT_MODIFY = ChannelInfo.create(null, 1); 29 /** 30 * Channel 2. 31 * 32 * <p>By convention the state of Channel 2 is changed by tests. Testcases should explicitly set 33 * the state of this channel before using it in tests. 34 */ 35 public static final ChannelInfo CH_2 = ChannelInfo.create(null, 2); 36 } 37