Home
last modified time | relevance | path

Searched refs:returnDataStr (Results 1 – 7 of 7) sorted by relevance

/base/security/device_auth/services/group_manager/inc/
Dgroup_operation_common.h78 int32_t GenerateBindSuccessData(const char *peerAuthId, const char *groupId, char **returnDataStr);
79 int32_t GenerateUnbindSuccessData(const char *peerAuthId, const char *groupId, char **returnDataStr
/base/security/device_auth/services/
Ddevice_auth.c614 char *returnDataStr = ProcessRequestCallback(requestId, opCode, NULL, callback); in OpenServerBindSession() local
615 if (returnDataStr == NULL) { in OpenServerBindSession()
619 CJson *context = CreateJsonFromString(returnDataStr); in OpenServerBindSession()
620 FreeJsonString(returnDataStr); in OpenServerBindSession()
832 char *returnDataStr = ProcessRequestCallback(requestId, opCode, NULL, callback); in OpenServerAuthSession() local
833 if (returnDataStr == NULL) { in OpenServerAuthSession()
837 CJson *context = CreateJsonFromString(returnDataStr); in OpenServerAuthSession()
838 FreeJsonString(returnDataStr); in OpenServerAuthSession()
/base/security/device_auth/services/group_manager/src/group_operation/peer_to_peer_group/
Dpeer_to_peer_group.c350 char *returnDataStr = NULL; in HandleLocalUnbind() local
351 result = GenerateUnbindSuccessData(peerAuthId, groupId, &returnDataStr); in HandleLocalUnbind()
355 ProcessFinishCallback(requestId, MEMBER_DELETE, returnDataStr, callback); in HandleLocalUnbind()
356 FreeJsonString(returnDataStr); in HandleLocalUnbind()
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation_common.c985 int32_t GenerateBindSuccessData(const char *peerAuthId, const char *groupId, char **returnDataStr) in GenerateBindSuccessData() argument
987 if ((peerAuthId == NULL) || (groupId == NULL) || (returnDataStr == NULL)) { in GenerateBindSuccessData()
1020 *returnDataStr = jsonDataStr; in GenerateBindSuccessData()
1024 int32_t GenerateUnbindSuccessData(const char *peerAuthId, const char *groupId, char **returnDataStr) in GenerateUnbindSuccessData() argument
1026 if ((peerAuthId == NULL) || (groupId == NULL) || (returnDataStr == NULL)) { in GenerateUnbindSuccessData()
1059 *returnDataStr = jsonDataStr; in GenerateUnbindSuccessData()
/base/security/device_auth/services/session_manager/src/session/
Ddev_session_fwk.c435 char *returnDataStr = PackJsonToString(returnData); in GetSessionReturnData() local
437 if (returnDataStr == NULL) { in GetSessionReturnData()
440 return returnDataStr; in GetSessionReturnData()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/
Dcreds_manager_test.cpp132 char *returnDataStr = PackJsonToString(json); in OnBindRequest() local
134 return returnDataStr; in OnBindRequest()
144 char *returnDataStr = PackJsonToString(json); in OnAuthRequest() local
146 return returnDataStr; in OnAuthRequest()
/base/security/device_auth/test/unittest/deviceauth/source/
Ddeviceauth_standard_test.cpp181 char *returnDataStr = PackJsonToString(json); in OnBindRequest() local
183 return returnDataStr; in OnBindRequest()
193 char *returnDataStr = PackJsonToString(json); in OnAuthRequest() local
195 return returnDataStr; in OnAuthRequest()