3b8fa0b44cd0b99c3e10f43ed9d142c4a9a0a313
[platform/upstream/iotivity.git] / android / android_api / base / jni / JniOcProvisioning.h
1 /*
2 * //******************************************************************
3 * //
4 * // Copyright 2015 Samsung Electronics All Rights Reserved.
5 * //
6 * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
7 * //
8 * // Licensed under the Apache License, Version 2.0 (the "License");
9 * // you may not use this file except in compliance with the License.
10 * // You may obtain a copy of the License at
11 * //
12 * //      http://www.apache.org/licenses/LICENSE-2.0
13 * //
14 * // Unless required by applicable law or agreed to in writing, software
15 * // distributed under the License is distributed on an "AS IS" BASIS,
16 * // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * // See the License for the specific language governing permissions and
18 * // limitations under the License.
19 * //
20 * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
21 */
22 #include "JniOcStack.h"
23 #include "OCProvisioningManager.hpp"
24 #include "JniSecureUtils.h"
25 #include "oxmjustworks.h"
26 #include "oxmrandompin.h"
27 #include <jni.h>
28 #include <mutex>
29
30 #ifndef _Included_org_iotivity_base_OcProvisioning
31 #define _Included_org_iotivity_base_OcProvisioning
32
33 using namespace OC;
34
35 /* DO NOT EDIT THIS FILE - it is machine generated */
36 /* Header for class org_iotivity_base_OcProvisioning */
37
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 /*
42  * Class:     org_iotivity_base_OcProvisioning
43  * Method:    ownershipTransferCDdata
44  * Signature: (I)V
45  */
46 JNIEXPORT void JNICALL Java_org_iotivity_base_OcProvisioning_ownershipTransferCBdata
47   (JNIEnv *, jobject, jint, jobject);
48
49 /*
50  * Class:     org_iotivity_base_OcProvisioning
51  * Method:    discoverUnownedDevices
52  * Signature: (I)[Lorg/iotivity/base/OcSecureResource;
53  */
54 JNIEXPORT jobjectArray JNICALL Java_org_iotivity_base_OcProvisioning_discoverUnownedDevices1
55   (JNIEnv *, jclass, jint);
56
57 /*
58  * Class:     org_iotivity_base_OcProvisioning
59  * Method:    provisionInit
60  * Signature: (Ljava/lang/String;)V
61  */
62 JNIEXPORT void JNICALL Java_org_iotivity_base_OcProvisioning_provisionInit
63   (JNIEnv *, jclass, jstring);
64
65 /*
66  * Class:     org_iotivity_base_OcProvisioning
67  * Method:    discoverOwnedDevices
68  * Signature: (I)[Lorg/iotivity/base/OcSecureResource;
69  */
70 JNIEXPORT jobjectArray JNICALL Java_org_iotivity_base_OcProvisioning_discoverOwnedDevices1
71   (JNIEnv *, jclass, jint);
72
73 /*
74  * Class:     org_iotivity_base_OcProvisioning
75  * Method:    setDisplayPinListener
76  * Signature: (Lorg/iotivity/base/OcProvisioning/DisplayPinListener;)V
77  */
78 JNIEXPORT void JNICALL Java_org_iotivity_base_OcProvisioning_setDisplayPinListener
79   (JNIEnv *, jclass, jobject);
80
81 /*
82  * Class:     org_iotivity_base_OcProvisioning
83  * Method:    getDevicestatusLists
84  * Signature: (I)[Lorg/iotivity/base/OcSecureResource;
85  */
86 JNIEXPORT jobjectArray JNICALL Java_org_iotivity_base_OcProvisioning_getDeviceStatusList1
87   (JNIEnv *, jclass, jint);
88 /*
89  * Class:     org_iotivity_base_OcProvisioning
90  * Method:    saveTrustCertChain1
91  * Signature: ()I
92  */
93 JNIEXPORT jint JNICALL Java_org_iotivity_base_OcProvisioning_saveTrustCertChain1
94     (JNIEnv *, jobject, jbyteArray, jint);
95 #ifdef __cplusplus
96 }
97 #endif
98 #endif