• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.ChannelInfo;
19 
20 /**
21  * Constants for interacting with TvTestInput.
22  */
23 public final class TvTestInputConstants {
24 
25     /**
26      * Channel 1.
27      *
28      * <p> By convention Channel 1 should not be changed.  Test often start by tuning to this
29      * channel.
30      */
31     public static final ChannelInfo CH_1_DEFAULT_DONT_MODIFY = ChannelInfo.create(null, 1);
32     /**
33      * Channel 2.
34      *
35      * <p> By convention the state of Channel 2 is changed by tests. Testcases should explicitly
36      * set the state of this channel before using it in tests.
37      */
38     public static final ChannelInfo CH_2 = ChannelInfo.create(null, 2);
39 }
40