summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b8f116b)
Change-Id: I9e992a42f275dd6f36e43a0eb98a32688c686ba9
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10577
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
JNIEXPORT void JNICALL JNI_OnUnload(JavaVM *vm, void *reserved)
{
LOGI("JNI_OnUnload");
JNIEXPORT void JNICALL JNI_OnUnload(JavaVM *vm, void *reserved)
{
LOGI("JNI_OnUnload");
if (vm->GetEnv((void **)&env, JNI_CURRENT_VERSION) != JNI_OK)
{
if (vm->GetEnv((void **)&env, JNI_CURRENT_VERSION) != JNI_OK)
{
void JniOnDPDevicesFoundListener::directPairingDevicesCallback(PairedDevices paringDevicesList, DPFunc func)
{
void JniOnDPDevicesFoundListener::directPairingDevicesCallback(PairedDevices paringDevicesList, DPFunc func)
{
JNIEnv *env = GetJNIEnv(ret);
if (nullptr == env)
{
JNIEnv *env = GetJNIEnv(ret);
if (nullptr == env)
{
void JniOnResourceFoundListener::findResourceErrorCallback(const std::string& uri, const int eCode)
{
LOGI("findResource error callback value : %d", eCode);
void JniOnResourceFoundListener::findResourceErrorCallback(const std::string& uri, const int eCode)
{
LOGI("findResource error callback value : %d", eCode);
JNIEnv *env = GetJNIEnv(ret);
if (nullptr == env)
{
JNIEnv *env = GetJNIEnv(ret);
if (nullptr == env)
{
-
- OIC_LOG(INFO, TAG, "Exit OCHandleResponse");
}
void HandleCAResponses(const CAEndpoint_t* endPoint, const CAResponseInfo_t* responseInfo)
}
void HandleCAResponses(const CAEndpoint_t* endPoint, const CAResponseInfo_t* responseInfo)
return OC_STACK_KEEP_TRANSACTION;
}
return OC_STACK_KEEP_TRANSACTION;
}
ListenOCContainer container(clientWrapper, clientResponse->devAddr,
reinterpret_cast<OCDiscoveryPayload*>(clientResponse->payload));
// loop to ensure valid construction of all resources
ListenOCContainer container(clientWrapper, clientResponse->devAddr,
reinterpret_cast<OCDiscoveryPayload*>(clientResponse->payload));
// loop to ensure valid construction of all resources
- catch (std::exception &e){
+ catch (std::exception &e)
+ {
oclog() << "Exception in listCallback, ignoring response: "
<< e.what() << std::flush;
}
oclog() << "Exception in listCallback, ignoring response: "
<< e.what() << std::flush;
}
return OC_STACK_DELETE_TRANSACTION;
}
return OC_STACK_DELETE_TRANSACTION;
}
ListenOCContainer container(clientWrapper, clientResponse->devAddr,
(OCRepPayload *) clientResponse->payload);
ListenOCContainer container(clientWrapper, clientResponse->devAddr,
(OCRepPayload *) clientResponse->payload);
- catch (std::exception &e){
+ catch (std::exception &e)
+ {
oclog() << "Exception in listCallback, ignoring response: "
<< e.what() << std::flush;
}
oclog() << "Exception in listCallback, ignoring response: "
<< e.what() << std::flush;
}
return OC_STACK_DELETE_TRANSACTION;
}
return OC_STACK_DELETE_TRANSACTION;
}
if (OC_STACK_OK == result ||
OC_STACK_RESOURCE_CREATED == result)
{
if (OC_STACK_OK == result ||
OC_STACK_RESOURCE_CREATED == result)
{
- catch (std::exception &e){
+ catch (std::exception &e)
+ {
oclog() << "Exception in createMQTopicCallback, ignoring response: "
<< e.what() << std::flush;
}
oclog() << "Exception in createMQTopicCallback, ignoring response: "
<< e.what() << std::flush;
}