1 /******************************************************************
3 * Copyright 2014 Samsung Electronics All Rights Reserved.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
19 ******************************************************************/
20 #ifndef _SSMCore_JNI_H_
21 #define _SSMCore_JNI_H_
29 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_InitializeSSMCore
30 (JNIEnv *env, jclass clz, jstring jstrXmlDescription);
32 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_StartSSMCore
33 (JNIEnv *env, jclass clz);
35 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_StopSSMCore
36 (JNIEnv *env, jclass clz);
38 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_TerminateSSMCore
39 (JNIEnv *env, jclass clz);
41 JNIEXPORT jobject JNICALL Java_com_sec_android_ssmcore_CoreController_CreateQueryEngine
42 (JNIEnv *env, jclass clz);
44 JNIEXPORT jint JNICALL Java_com_sec_android_ssmcore_CoreController_ReleaseQueryEngine
45 (JNIEnv *env, jclass clz, jobject queryEngine);
47 JNIEXPORT jint JNICALL Java_com_sec_android_ssmcore_CoreController_ExecuteContextQuery
48 (JNIEnv *env, jclass clz, jint pQueryEngineInstance, jstring jstrContextQuery);
50 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_RegisterQueryEvent
51 (JNIEnv *env, jclass clz, jint pQueryEngineInstance, jobject queryEngineEvent);
53 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_KillContextQuery
54 (JNIEnv *env, jclass clz, jint pQueryEngineInstance, jint cqid);
56 JNIEXPORT jint JNICALL Java_com_sec_android_ssmcore_CoreController_Release
57 (JNIEnv *env, jclass clz, jint pQueryEngineInstance);
59 JNIEXPORT jint JNICALL Java_com_sec_android_ssmcore_CoreController_GetDataId
60 (JNIEnv *env, jclass clz, jint pDataReaderInstance);
62 JNIEXPORT jobject JNICALL Java_com_sec_android_ssmcore_CoreController_GetAffectedModels
63 (JNIEnv *env, jclass clz, jint pDataReaderInstance);
65 JNIEXPORT jint JNICALL Java_com_sec_android_ssmcore_CoreController_GetModelDataCount
66 (JNIEnv *env, jclass clz, jint pDataReaderInstance, jstring jstrModelName);
68 JNIEXPORT jobject JNICALL Java_com_sec_android_ssmcore_CoreController_GetModelData
69 (JNIEnv *env, jclass clz, jint pDataReaderInstance, jstring jstrModelName, jint jintDataIndex );
71 JNIEXPORT jint JNICALL Java_com_sec_android_ssmcore_CoreController_GetPropertyCount
72 (JNIEnv *env, jclass clz, jint pIModelDataInstance );
74 JNIEXPORT jstring JNICALL Java_com_sec_android_ssmcore_CoreController_GetPropertyName
75 (JNIEnv *env, jclass clz, jint pIModelDataInstance, jint propertyIndex );
77 JNIEXPORT jstring JNICALL Java_com_sec_android_ssmcore_CoreController_GetPropertyValue
78 (JNIEnv *env, jclass clz, jint pIModelDataInstance, jint propertyIndex );
80 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_RegisterReportReceiver
81 (JNIEnv *env, jclass clz, jobject reportReceiver );