• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * Copyright 2020, 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 
17 package android.media.tv.tuner;
18 
19 import android.media.tv.tuner.TunerFrontendCapabilities;
20 
21 /**
22  * FrontendInfo interface that carries tuner frontend information.
23  *
24  * <p>This is used to update the TunerResourceManager and pass Frontend
25  * information from HAL to the client side.
26  *
27  * {@hide}
28  */
29 parcelable TunerFrontendInfo {
30     /**
31      * Frontend Handle
32      */
33     int handle;
34 
35     /**
36      * Frontend Type
37      */
38     int type;
39 
40     /**
41      * Minimum Frequency in Hertz
42      */
43     int minFrequency;
44 
45     /**
46      * Maximum Frequency in Hertz
47      */
48     int maxFrequency;
49 
50     /**
51      * Minimum symbols per second
52      */
53     int minSymbolRate;
54 
55     /**
56      * Maximum symbols per second
57      */
58     int maxSymbolRate;
59 
60     /**
61      * Range in Hertz
62      */
63     int acquireRange;
64 
65     /**
66      * Frontends are assigned with the same exclusiveGroupId if they can't
67      * function at same time. For instance, they share same hardware module.
68      */
69     int exclusiveGroupId;
70 
71     /**
72      * A list of supported status types which client can inquiry
73      */
74     int[] statusCaps;
75 
76     /**
77      * Frontend Capabilities
78      */
79     TunerFrontendCapabilities caps;
80 }
81