1 /* 2 * Copyright (C) 2011 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 #ifndef JNI_CAMERAANALYZER_AUTOLOCKTEST_H 18 #define JNI_CAMERAANALYZER_AUTOLOCKTEST_H 19 20 #include <jni.h> 21 #include <stdio.h> 22 23 #ifdef __cplusplus 24 extern "C" { 25 #endif 26 27 JNIEXPORT jlong JNICALL 28 Java_com_android_cts_verifier_camera_analyzer_AutoLockTest_createAutoLockTest( 29 JNIEnv* env, 30 jobject thiz); 31 32 JNIEXPORT void JNICALL 33 Java_com_android_cts_verifier_camera_analyzer_AutoLockTest_createAutoLockClass( 34 JNIEnv *env, 35 jobject thiz, 36 jlong inputImageAddress, 37 jlong inputHandlerAddress, 38 jlong checkercenterAddress, 39 jlong checkerradiusAddress); 40 41 JNIEXPORT void JNICALL 42 Java_com_android_cts_verifier_camera_analyzer_AutoLockTest_processAutoLockTest( 43 JNIEnv* env, 44 jobject thiz, 45 jlong inputHandlerAddress, 46 jbooleanArray tempArray); 47 48 #ifdef __cplusplus 49 } 50 #endif 51 52 #endif 53