Home
last modified time | relevance | path

Searched refs:returnJsonStr (Results 1 – 10 of 10) sorted by relevance

/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetregisterinfo_fuzzer/
Ddevauthservgetregisterinfo_fuzzer.cpp44 char *returnJsonStr = nullptr; in FuzzDoGetRegisterInfo() local
46 gmInstance->getRegisterInfo(reqJsonStr, &returnJsonStr); in FuzzDoGetRegisterInfo()
47 if (returnJsonStr != nullptr) { in FuzzDoGetRegisterInfo()
48 gmInstance->destroyInfo(&returnJsonStr); in FuzzDoGetRegisterInfo()
/base/security/device_auth/services/group_manager/inc/
Dbase_group.h24 int32_t (*createGroup)(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr);
25 int32_t (*deleteGroup)(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr);
Dgroup_operation_common.h77 int32_t ConvertGroupIdToJsonStr(const char *groupId, char **returnJsonStr);
/base/security/device_auth/test/unittest/deviceauth/source/
Dgroup_operation_common_test.cpp304 char *returnJsonStr = nullptr; variable
305 int32_t ret = ConvertGroupIdToJsonStr(nullptr, &returnJsonStr);
317 char *returnJsonStr = nullptr; variable
318 int32_t ret = GenerateBindSuccessData(nullptr, NORMAL_STR, &returnJsonStr);
324 char *returnJsonStr = nullptr; variable
325 int32_t ret = GenerateBindSuccessData(NORMAL_STR, nullptr, &returnJsonStr);
337 char *returnJsonStr = nullptr; variable
338 int32_t ret = GenerateUnbindSuccessData(nullptr, NORMAL_STR, &returnJsonStr);
344 char *returnJsonStr = nullptr; variable
345 int32_t ret = GenerateUnbindSuccessData(NORMAL_STR, nullptr, &returnJsonStr);
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation.c387 static int32_t CreateGroup(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr) in CreateGroup() argument
399 return instance->createGroup(osAccountId, jsonParams, returnJsonStr); in CreateGroup()
402 static int32_t DeleteGroup(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr) in DeleteGroup() argument
416 return instance->deleteGroup(osAccountId, jsonParams, returnJsonStr); in DeleteGroup()
436 char *returnJsonStr = NULL; in DoCreateGroup() local
437 int32_t result = CreateGroup(task->osAccountId, task->params, &returnJsonStr); in DoCreateGroup()
441 ProcessFinishCallback(task->reqId, GROUP_CREATE, returnJsonStr, task->cb); in DoCreateGroup()
442 FreeJsonString(returnJsonStr); in DoCreateGroup()
452 char *returnJsonStr = NULL; in DoDeleteGroup() local
453 int32_t result = DeleteGroup(task->osAccountId, task->params, &returnJsonStr); in DoDeleteGroup()
[all …]
Dgroup_operation_common.c954 int32_t ConvertGroupIdToJsonStr(const char *groupId, char **returnJsonStr) in ConvertGroupIdToJsonStr() argument
956 if ((groupId == NULL) || (returnJsonStr == NULL)) { in ConvertGroupIdToJsonStr()
970 *returnJsonStr = PackJsonToString(json); in ConvertGroupIdToJsonStr()
972 if (*returnJsonStr == NULL) { in ConvertGroupIdToJsonStr()
/base/security/device_auth/services/group_manager/src/group_operation/peer_to_peer_group/
Dpeer_to_peer_group.c423 static int32_t CreateGroup(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr) in CreateGroup() argument
426 if ((jsonParams == NULL) || (returnJsonStr == NULL)) { in CreateGroup()
435 result = ConvertGroupIdToJsonStr(groupId, returnJsonStr); in CreateGroup()
444 static int32_t DeleteGroup(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr) in DeleteGroup() argument
447 if ((jsonParams == NULL) || (returnJsonStr == NULL)) { in DeleteGroup()
456 ((result = ConvertGroupIdToJsonStr(groupId, returnJsonStr)) != HC_SUCCESS)) { in DeleteGroup()
/base/security/device_auth/services/group_manager/src/group_operation/identical_account_group/
Didentical_account_group.c519 static int32_t CreateGroup(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr) in CreateGroup() argument
522 if ((jsonParams == NULL) || (returnJsonStr == NULL)) { in CreateGroup()
532 ((result = ConvertGroupIdToJsonStr(groupId, returnJsonStr)) != HC_SUCCESS)) { in CreateGroup()
541 static int32_t DeleteGroup(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr) in DeleteGroup() argument
544 if ((jsonParams == NULL) || (returnJsonStr == NULL)) { in DeleteGroup()
552 ((result = ConvertGroupIdToJsonStr(groupId, returnJsonStr)) != HC_SUCCESS)) { in DeleteGroup()
/base/security/device_auth/services/group_manager/src/group_operation/across_account_group/
Dacross_account_group.c528 static int32_t CreateGroup(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr) in CreateGroup() argument
531 if ((jsonParams == NULL) || (returnJsonStr == NULL)) { in CreateGroup()
542 ((result = ConvertGroupIdToJsonStr(groupId, returnJsonStr)) != HC_SUCCESS)) { in CreateGroup()
551 static int32_t DeleteGroup(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr) in DeleteGroup() argument
554 if ((jsonParams == NULL) || (returnJsonStr == NULL)) { in DeleteGroup()
562 ((result = ConvertGroupIdToJsonStr(groupId, returnJsonStr)) != HC_SUCCESS)) { in DeleteGroup()
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/
Dmock_device_manager_impl.cpp160 std::string &returnJsonStr) in RequestCredential() argument