/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetregisterinfo_fuzzer/ |
D | devauthservgetregisterinfo_fuzzer.cpp | 44 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/ |
D | base_group.h | 24 int32_t (*createGroup)(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr); 25 int32_t (*deleteGroup)(int32_t osAccountId, CJson *jsonParams, char **returnJsonStr);
|
D | group_operation_common.h | 77 int32_t ConvertGroupIdToJsonStr(const char *groupId, char **returnJsonStr);
|
/base/security/device_auth/test/unittest/deviceauth/source/ |
D | group_operation_common_test.cpp | 304 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/ |
D | group_operation.c | 387 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 …]
|
D | group_operation_common.c | 954 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/ |
D | peer_to_peer_group.c | 423 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/ |
D | identical_account_group.c | 519 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/ |
D | across_account_group.c | 528 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/ |
D | mock_device_manager_impl.cpp | 160 std::string &returnJsonStr) in RequestCredential() argument
|