2 * //******************************************************************
4 * // Copyright 2015 Samsung Electronics All Rights Reserved.
6 * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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
12 * // http://www.apache.org/licenses/LICENSE-2.0
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.
20 * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
22 #include "JniOcStack.h"
23 #include "OCProvisioningManager.h"
24 #include "JniSecureUtils.h"
25 #include "oxmjustworks.h"
26 #include "oxmrandompin.h"
30 #ifndef _Included_org_iotivity_base_OcProvisioning
31 #define _Included_org_iotivity_base_OcProvisioning
35 /* DO NOT EDIT THIS FILE - it is machine generated */
36 /* Header for class org_iotivity_base_OcProvisioning */
42 * Class: org_iotivity_base_OcProvisioning
43 * Method: ownershipTransferCDdata
46 JNIEXPORT void JNICALL Java_org_iotivity_base_OcProvisioning_ownershipTransferCBdata
47 (JNIEnv *, jobject, jint, jobject);
50 * Class: org_iotivity_base_OcProvisioning
51 * Method: discoverUnownedDevices
52 * Signature: (I)[Lorg/iotivity/base/OcSecureResource;
54 JNIEXPORT jobjectArray JNICALL Java_org_iotivity_base_OcProvisioning_discoverUnownedDevices1
55 (JNIEnv *, jclass, jint);
58 * Class: org_iotivity_base_OcProvisioning
59 * Method: provisionInit
60 * Signature: (Ljava/lang/String;)V
62 JNIEXPORT void JNICALL Java_org_iotivity_base_OcProvisioning_provisionInit
63 (JNIEnv *, jclass, jstring);
66 * Class: org_iotivity_base_OcProvisioning
67 * Method: discoverOwnedDevices
68 * Signature: (I)[Lorg/iotivity/base/OcSecureResource;
70 JNIEXPORT jobjectArray JNICALL Java_org_iotivity_base_OcProvisioning_discoverOwnedDevices1
71 (JNIEnv *, jclass, jint);
74 * Class: org_iotivity_base_OcProvisioning
75 * Method: setDisplayPinListener
76 * Signature: (Lorg/iotivity/base/OcProvisioning/DisplayPinListener;)V
78 JNIEXPORT void JNICALL Java_org_iotivity_base_OcProvisioning_setDisplayPinListener
79 (JNIEnv *, jclass, jobject);
82 * Class: org_iotivity_base_OcProvisioning
83 * Method: getDevicestatusLists
84 * Signature: (I)[Lorg/iotivity/base/OcSecureResource;
86 JNIEXPORT jobjectArray JNICALL Java_org_iotivity_base_OcProvisioning_getDeviceStatusList1
87 (JNIEnv *, jclass, jint);