Skip to content

Commit

Permalink
Restyled by whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and joonhaengHeo committed Apr 26, 2024
1 parent 430a8c2 commit f8ec08c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/controller/java/AndroidICDClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@

jobject getICDClientInfo(JNIEnv *env, const char * icdClientInfoSign, jint jFabricIndex);

chip::app::DefaultICDClientStorage * getICDClientStorage();
chip::app::DefaultICDClientStorage * getICDClientStorage();
2 changes: 1 addition & 1 deletion src/controller/java/AndroidInteractionClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ CHIP_ERROR extendableInvoke(JNIEnv * env, jlong handle, jlong callbackHandle, jl
CHIP_ERROR shutdownSubscriptions(JNIEnv * env, jlong handle, jobject fabricIndex, jobject peerNodeId, jobject subscriptionId);

jlong getRemoteDeviceId(jlong devicePtr);
jint getFabricIndex(jlong devicePtr);
jint getFabricIndex(jlong devicePtr);
4 changes: 2 additions & 2 deletions src/controller/java/CHIPICDClient-JNI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
#define JNI_METHOD(RETURN, METHOD_NAME) \
extern "C" JNIEXPORT RETURN JNICALL Java_chip_devicecontroller_ChipICDClient_##METHOD_NAME

JNI_METHOD(jobject, getICDClientInfo)(JNIEnv * env, jobject self, jint jFabricIndex)
JNI_METHOD(jobject, getICDClientInfo)(JNIEnv * env, jobject self, jint jFabricIndex)
{
chip::DeviceLayer::StackLock lock;

return getICDClientInfo(env, "chip/devicecontroller/ICDClientInfo", jFabricIndex);
return getICDClientInfo(env, "chip/devicecontroller/ICDClientInfo", jFabricIndex);
}
2 changes: 1 addition & 1 deletion src/controller/java/CHIPInteractionClient-JNI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,4 @@ JNI_METHOD(jint, getFabricIndex)
(JNIEnv * env, jobject self, jlong devicePtr)
{
return getFabricIndex(devicePtr);
}
}
4 changes: 2 additions & 2 deletions src/controller/java/MatterICDClient-JNI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
#define JNI_METHOD(RETURN, METHOD_NAME) \
extern "C" JNIEXPORT RETURN JNICALL Java_matter_controller_MatterICDClientImpl_##METHOD_NAME

JNI_METHOD(jobject, getICDClientInfo)(JNIEnv * env, jobject self, jint jFabricIndex)
JNI_METHOD(jobject, getICDClientInfo)(JNIEnv * env, jobject self, jint jFabricIndex)
{
chip::DeviceLayer::StackLock lock;

return getICDClientInfo(env, "matter/controller/ICDClientInfo", jFabricIndex);
return getICDClientInfo(env, "matter/controller/ICDClientInfo", jFabricIndex);
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ public static boolean isPeerICDClient(int fabricIndex, long deviceId) {
}

public static native List<ICDClientInfo> getICDClientInfo(int fabricIndex);
}
}

0 comments on commit f8ec08c

Please sign in to comment.