import exynos 7570 bsp
[GitHub/LineageOS/android_hardware_samsung_slsi_exynos7580.git] / mobicore / rootpa / Code / Android / app / jni / CommonPAWrapper / com_gd_mobicore_pa_jni_CommonPAWrapper.h
1 /*
2 * Copyright (c) 2013 TRUSTONIC LIMITED
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer.
10 *
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 *
15 * 3. Neither the name of the TRUSTONIC LIMITED nor the names of its
16 * contributors may be used to endorse or promote products derived from
17 * this software without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */
31
32 /* DO NOT EDIT THIS FILE - it is machine generated */
33 #include <jni.h>
34 /* Header for class com_gd_mobicore_pa_jni_CommonPAWrapper */
35
36 #ifndef _Included_com_gd_mobicore_pa_jni_CommonPAWrapper
37 #define _Included_com_gd_mobicore_pa_jni_CommonPAWrapper
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_IMEI_ESN_INDEX
42 #define com_gd_mobicore_pa_jni_CommonPAWrapper_IMEI_ESN_INDEX 0L
43 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_MNO_INDEX
44 #define com_gd_mobicore_pa_jni_CommonPAWrapper_MNO_INDEX 1L
45 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_BRAND_INDEX
46 #define com_gd_mobicore_pa_jni_CommonPAWrapper_BRAND_INDEX 2L
47 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_MANUFACTURER_INDEX
48 #define com_gd_mobicore_pa_jni_CommonPAWrapper_MANUFACTURER_INDEX 3L
49 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_HARDWARE_INDEX
50 #define com_gd_mobicore_pa_jni_CommonPAWrapper_HARDWARE_INDEX 4L
51 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_MODEL_INDEX
52 #define com_gd_mobicore_pa_jni_CommonPAWrapper_MODEL_INDEX 5L
53 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_VERSION_INDEX
54 #define com_gd_mobicore_pa_jni_CommonPAWrapper_VERSION_INDEX 6L
55 #undef com_gd_mobicore_pa_jni_CommonPAWrapper_RESPONSE_ARRAY_SIZE
56 #define com_gd_mobicore_pa_jni_CommonPAWrapper_RESPONSE_ARRAY_SIZE 7L
57 /*
58 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
59 * Method: openSession
60 * Signature: ()I
61 */
62 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_openSession
63 (JNIEnv *, jobject);
64
65 /*
66 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
67 * Method: closeSession
68 * Signature: ()V
69 */
70 JNIEXPORT void JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_closeSession
71 (JNIEnv *, jobject);
72
73 /*
74 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
75 * Method: executeCmpCommands
76 * Signature: (ILjava/util/List;Ljava/util/List;)I
77 */
78 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_executeCmpCommands
79 (JNIEnv *, jobject, jint, jobject, jobject);
80
81 /*
82 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
83 * Method: getVersion
84 * Signature: ([BLjava/util/List;Ljava/util/List;)I
85 */
86 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_getVersion
87 (JNIEnv *, jobject, jbyteArray, jobject, jobject);
88
89 /*
90 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
91 * Method: getSuid
92 * Signature: ([B)I
93 */
94 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_getSuid
95 (JNIEnv *, jobject, jbyteArray);
96
97 /*
98 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
99 * Method: isRootContainerRegistered
100 * Signature: ([Z)I
101 */
102 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_isRootContainerRegistered
103 (JNIEnv *, jobject, jbooleanArray);
104
105 /*
106 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
107 * Method: isSpContainerRegistered
108 * Signature: (I[Z)I
109 */
110 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_isSpContainerRegistered
111 (JNIEnv *, jobject, jint, jbooleanArray);
112
113 /*
114 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
115 * Method: getSPContainerState
116 * Signature: (I[I)I
117 */
118 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_getSPContainerState
119 (JNIEnv *, jobject, jint, jintArray);
120
121 /*
122 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
123 * Method: getSPContainerStructure
124 * Signature: (I[I[[B[I)I
125 */
126 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_getSPContainerStructure
127 (JNIEnv *, jobject, jint, jintArray, jobjectArray, jintArray);
128
129 /*
130 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
131 * Method: doProvisioning
132 * Signature: (II[B)I
133 */
134 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_doProvisioning
135 (JNIEnv *, jobject, jint, jint, jbyteArray);
136
137 /*
138 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
139 * Method: installTrustlet
140 */
141 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_installTrustlet
142 (JNIEnv *, jobject, jint, jbyteArray, jint, jbyteArray, jint, jbyteArray, jint, jint, jint, jbyteArray);
143
144 /*
145 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
146 * Method: unregisterRootContainer
147 * Signature: ([B)I
148 */
149 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_unregisterRootContainer
150 (JNIEnv *, jobject, jbyteArray);
151
152 /*
153 * Class: com_gd_mobicore_pa_jni_CommonPAWrapper
154 * Method: setEnvironmentVariable
155 * Signature: ([B[B)I
156 */
157 JNIEXPORT void JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_setEnvironmentVariable
158 (JNIEnv *, jobject, jbyteArray, jbyteArray);
159
160
161 JNIEXPORT jint JNICALL Java_com_gd_mobicore_pa_jni_CommonPAWrapper_storeTA
162 (JNIEnv *, jobject, jint, jbyteArray, jbyteArray);
163
164
165 #ifdef __cplusplus
166 }
167 #endif
168 #endif