1 /* DO NOT EDIT THIS FILE - it is machine generated */
2 #include <jni.h>
3 /* Header for class com_android_tv_tuner_TunerHal */
4 
5 #ifndef _Included_com_android_tv_tuner_TunerHal
6 #define _Included_com_android_tv_tuner_TunerHal
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 #undef com_android_tv_tuner_TunerHal_DEBUG
11 #define com_android_tv_tuner_TunerHal_DEBUG 0L
12 #undef com_android_tv_tuner_TunerHal_FILTER_TYPE_OTHER
13 #define com_android_tv_tuner_TunerHal_FILTER_TYPE_OTHER 0L
14 #undef com_android_tv_tuner_TunerHal_FILTER_TYPE_AUDIO
15 #define com_android_tv_tuner_TunerHal_FILTER_TYPE_AUDIO 1L
16 #undef com_android_tv_tuner_TunerHal_FILTER_TYPE_VIDEO
17 #define com_android_tv_tuner_TunerHal_FILTER_TYPE_VIDEO 2L
18 #undef com_android_tv_tuner_TunerHal_FILTER_TYPE_PCR
19 #define com_android_tv_tuner_TunerHal_FILTER_TYPE_PCR 3L
20 #undef com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_UNDEFINED
21 #define com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_UNDEFINED 0L
22 #undef com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_ATSC
23 #define com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_ATSC 1L
24 #undef com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_DVBC
25 #define com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_DVBC 2L
26 #undef com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_DVBS
27 #define com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_DVBS 3L
28 #undef com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_DVBS2
29 #define com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_DVBS2 4L
30 #undef com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_DVBT
31 #define com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_DVBT 5L
32 #undef com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_DVBT2
33 #define com_android_tv_tuner_TunerHal_DELIVERY_SYSTEM_DVBT2 6L
34 #undef com_android_tv_tuner_TunerHal_TUNER_TYPE_BUILT_IN
35 #define com_android_tv_tuner_TunerHal_TUNER_TYPE_BUILT_IN 1L
36 #undef com_android_tv_tuner_TunerHal_TUNER_TYPE_USB
37 #define com_android_tv_tuner_TunerHal_TUNER_TYPE_USB 2L
38 #undef com_android_tv_tuner_TunerHal_TUNER_TYPE_NETWORK
39 #define com_android_tv_tuner_TunerHal_TUNER_TYPE_NETWORK 3L
40 #undef com_android_tv_tuner_TunerHal_PID_PAT
41 #define com_android_tv_tuner_TunerHal_PID_PAT 0L
42 #undef com_android_tv_tuner_TunerHal_PID_ATSC_SI_BASE
43 #define com_android_tv_tuner_TunerHal_PID_ATSC_SI_BASE 8187L
44 #undef com_android_tv_tuner_TunerHal_PID_DVB_SDT
45 #define com_android_tv_tuner_TunerHal_PID_DVB_SDT 17L
46 #undef com_android_tv_tuner_TunerHal_PID_DVB_EIT
47 #define com_android_tv_tuner_TunerHal_PID_DVB_EIT 18L
48 #undef com_android_tv_tuner_TunerHal_DEFAULT_VSB_TUNE_TIMEOUT_MS
49 #define com_android_tv_tuner_TunerHal_DEFAULT_VSB_TUNE_TIMEOUT_MS 2000L
50 #undef com_android_tv_tuner_TunerHal_DEFAULT_QAM_TUNE_TIMEOUT_MS
51 #define com_android_tv_tuner_TunerHal_DEFAULT_QAM_TUNE_TIMEOUT_MS 4000L
52 #undef com_android_tv_tuner_TunerHal_BUILT_IN_TUNER_TYPE_LINUX_DVB
53 #define com_android_tv_tuner_TunerHal_BUILT_IN_TUNER_TYPE_LINUX_DVB 1L
54 #undef com_android_tv_tuner_TunerHal_BUILT_IN_TUNER_TYPE_ARCHER
55 #define com_android_tv_tuner_TunerHal_BUILT_IN_TUNER_TYPE_ARCHER 100L
56 /*
57  * Class:     com_android_tv_tuner_TunerHal
58  * Method:    nativeFinalize
59  * Signature: (J)V
60  */
61 JNIEXPORT void JNICALL Java_com_android_tv_tuner_TunerHal_nativeFinalize
62   (JNIEnv *, jobject, jlong);
63 
64 /*
65  * Class:     com_android_tv_tuner_TunerHal
66  * Method:    nativeTune
67  * Signature: (JILjava/lang/String;I)Z
68  */
69 JNIEXPORT jboolean JNICALL
70     Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I
71         (JNIEnv *, jobject, jlong, jint, jstring, jint);
72 
73 /*
74  * Class:     com_android_tv_tuner_TunerHal
75  * Method:    nativeTune
76  * Signature: Signature: (JIILjava/lang/String;I)Z
77  */
78 JNIEXPORT jboolean JNICALL
79     Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I
80         (JNIEnv *, jobject, jlong, jint, jint, jstring, jint);
81 
82 /*
83  * Class:     com_android_tv_tuner_TunerHal
84  * Method:    nativeAddPidFilter
85  * Signature: (JII)V
86  */
87 JNIEXPORT void JNICALL Java_com_android_tv_tuner_TunerHal_nativeAddPidFilter
88   (JNIEnv *, jobject, jlong, jint, jint);
89 
90 /*
91  * Class:     com_android_tv_tuner_TunerHal
92  * Method:    nativeCloseAllPidFilters
93  * Signature: (J)V
94  */
95 JNIEXPORT void JNICALL
96 Java_com_android_tv_tuner_TunerHal_nativeCloseAllPidFilters
97   (JNIEnv *, jobject, jlong);
98 
99 /*
100  * Class:     com_android_tv_tuner_TunerHal
101  * Method:    nativeSetHasPendingTune
102  * Signature: (JZ)V
103  */
104 JNIEXPORT void JNICALL
105 Java_com_android_tv_tuner_TunerHal_nativeSetHasPendingTune
106   (JNIEnv *, jobject, jlong, jboolean);
107 
108 /*
109  * Class:     com_android_tv_tuner_TunerHal
110  * Method:    nativeGetDeliverySystemType
111  * Signature: (J)I
112  */
113 JNIEXPORT jint JNICALL
114 Java_com_android_tv_tuner_TunerHal_nativeGetDeliverySystemType
115   (JNIEnv *, jobject, jlong);
116 
117 /*
118  * Class:     com_android_tv_tuner_TunerHal
119  * Method:    nativeGetDeliverySystemTypes
120  * Signature: (J)I
121  */
122 JNIEXPORT jintArray JNICALL
123 Java_com_android_tv_tuner_TunerHal_nativeGetDeliverySystemTypes
124   (JNIEnv *, jobject, jlong);
125 
126 /*
127  * Class:     com_android_tv_tuner_TunerHal
128  * Method:    nativeGetSignalStrength
129  * Signature: (J)I
130  */
131 JNIEXPORT jint JNICALL
132 Java_com_android_tv_tuner_TunerHal_nativeGetSignalStrength
133   (JNIEnv *, jobject, jlong);
134 
135 /*
136  * Class:     com_android_tv_tuner_TunerHal
137  * Method:    nativeStopTune
138  * Signature: (J)V
139  */
140 JNIEXPORT void JNICALL Java_com_android_tv_tuner_TunerHal_nativeStopTune
141   (JNIEnv *, jobject, jlong);
142 
143 /*
144  * Class:     com_android_tv_tuner_TunerHal
145  * Method:    nativeWriteInBuffer
146  * Signature: (J[BI)I
147  */
148 JNIEXPORT jint JNICALL Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer
149   (JNIEnv *, jobject, jlong, jbyteArray, jint);
150 
151 #ifdef __cplusplus
152 }
153 #endif
154 #endif
155