1 /*
2  * Copyright (C) 2023 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 #include <jni.h>
17 /* Header for class com_android_adservices_ActJniWrapper */
18 
19 #ifndef ADSERVICES_SERVICE_CORE_JNI_INCLUDE_ACT_JNI_H_
20 #define ADSERVICES_SERVICE_CORE_JNI_INCLUDE_ACT_JNI_H_
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 /*
25  * Class:     com_android_adservices_ActJniWrapper
26  * Method:    generateClientParameters
27  * Signature: ([B[B)[B
28  */
29 JNIEXPORT jbyteArray JNICALL Java_com_android_adservices_ActJniWrapper_generateClientParameters
30   (JNIEnv *, jclass, jbyteArray, jbyteArray);
31 
32 /*
33 * Class:     com_android_adservices_ActJniWrapper
34 * Method:    generateTokensRequest
35 * Signature: ([B[B[B[B)[B
36 */
37 JNIEXPORT jbyteArray JNICALL Java_com_android_adservices_ActJniWrapper_generateTokensRequest
38 (JNIEnv *, jclass, jbyteArray, jbyteArray, jbyteArray, jbyteArray, jbyteArray);
39 
40 /*
41 * Class:     com_android_adservices_ActJniWrapper
42 * Method:    verifyTokensResponse
43 * Signature: ([B[B[B[B[B[B[B[B)Z
44 */
45 JNIEXPORT jboolean JNICALL Java_com_android_adservices_ActJniWrapper_verifyTokensResponse
46 (JNIEnv *, jclass, jbyteArray, jbyteArray, jbyteArray,
47                                         jbyteArray, jbyteArray, jbyteArray, jbyteArray, jbyteArray);
48 
49 /*
50 * Class:     com_android_adservices_ActJniWrapper
51 * Method:    recoverTokens
52 * Signature: ([B[B[B[B[B[B[B[B)Z
53 */
54 JNIEXPORT jbyteArray JNICALL Java_com_android_adservices_ActJniWrapper_recoverTokens
55 (JNIEnv *, jclass, jbyteArray, jbyteArray, jbyteArray,
56                                         jbyteArray, jbyteArray, jbyteArray, jbyteArray, jbyteArray);
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 #endif
62