Home
last modified time | relevance | path

Searched refs:reqJsonStr (Results 1 – 13 of 13) sorted by relevance

/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetregisterinfo_fuzzer/
Ddevauthservgetregisterinfo_fuzzer.cpp41 char *reqJsonStr = PackJsonToString(reqJson); in FuzzDoGetRegisterInfo() local
45 LOGI("reqJsonStr: %s", reqJsonStr); in FuzzDoGetRegisterInfo()
46 gmInstance->getRegisterInfo(reqJsonStr, &returnJsonStr); in FuzzDoGetRegisterInfo()
50 ClearAndFreeJsonString(reqJsonStr); in FuzzDoGetRegisterInfo()
/base/security/device_auth/test/fuzztest/group_manage/getregisterinfo_fuzzer/
Dgetregisterinfo_fuzzer.cpp28 std::string reqJsonStr(reinterpret_cast<const char *>(data), size); in FuzzDoGetRegisterInfo()
30 gmInstance->getRegisterInfo(reqJsonStr.c_str(), &returnRegisterInfo); in FuzzDoGetRegisterInfo()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetpkinfolist_fuzzer/
Ddevauthservgetpkinfolist_fuzzer.cpp100 char *reqJsonStr = PackJsonToString(reqJson); in FuzzDoGetPkInfoList() local
104 gmInstance->getPkInfoList(0, appId.c_str(), reqJsonStr, &queryResult, &resultNum); in FuzzDoGetPkInfoList()
108 ClearAndFreeJsonString(reqJsonStr); in FuzzDoGetPkInfoList()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetgroupinfo_fuzzer/
Ddevauthservgetgroupinfo_fuzzer.cpp100 char *reqJsonStr = PackJsonToString(reqJson); in FuzzDoGetGroupInfo() local
104 gmInstance->getGroupInfo(0, appId.c_str(), reqJsonStr, &returnGroupVec, &groupNum); in FuzzDoGetGroupInfo()
108 ClearAndFreeJsonString(reqJsonStr); in FuzzDoGetGroupInfo()
/base/security/device_auth/services/group_manager/src/
Dgroup_manager.c74 int32_t GetRegisterInfoImpl(const char *reqJsonStr, char **returnRegisterInfo) in GetRegisterInfoImpl() argument
77 … return IsGroupSupport() ? GetGroupImplInstance()->getRegisterInfo(reqJsonStr, returnRegisterInfo) in GetRegisterInfoImpl()
/base/security/device_auth/services/group_manager/inc/
Dgroup_manager.h38 int32_t GetRegisterInfoImpl(const char *reqJsonStr, char **returnRegisterInfo);
Dgroup_operation.h39 int32_t (*getRegisterInfo)(const char *reqJsonStr, char **returnRegisterInfo);
/base/security/device_auth/interfaces/inner_api/
Ddevice_auth_ext.h122 int32_t (*getRegisterInfo)(const char *reqJsonStr, char **returnRegisterInfo);
Ddevice_auth.h246 int32_t (*getRegisterInfo)(const char *reqJsonStr, char **returnRegisterInfo);
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/
Dmock_device_manager_impl.cpp159 …2_t DeviceManagerImpl::RequestCredential(const std::string &pkgName, const std::string &reqJsonStr, in RequestCredential() argument
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation.c659 static int32_t GetRegisterInfo(const char *reqJsonStr, char **returnRegisterInfo) in GetRegisterInfo() argument
661 if ((reqJsonStr == NULL) || (returnRegisterInfo == NULL)) { in GetRegisterInfo()
665 CJson *requestJson = CreateJsonFromString(reqJsonStr); in GetRegisterInfo()
/base/security/device_auth/frameworks/src/
Dipc_service.c475 const char *reqJsonStr = NULL; in IpcServiceGmApplyRegisterInfo() local
479 …ret = GetIpcRequestParamByType(ipcParams, paramNum, PARAM_TYPE_REQ_JSON, (uint8_t *)&reqJsonStr, N… in IpcServiceGmApplyRegisterInfo()
480 if ((reqJsonStr == NULL) || (ret != HC_SUCCESS)) { in IpcServiceGmApplyRegisterInfo()
484 callRet = g_devGroupMgrMethod.getRegisterInfo(reqJsonStr, &registerInfo); in IpcServiceGmApplyRegisterInfo()
Dipc_sdk.c667 static int32_t IpcGmGetRegisterInfo(const char *reqJsonStr, char **registerInfo) in IpcGmGetRegisterInfo() argument
673 if (IsStrInvalid(reqJsonStr) || (registerInfo == NULL)) { in IpcGmGetRegisterInfo()
682 …equestParamInfo(callCtx, PARAM_TYPE_REQ_JSON, (const uint8_t *)reqJsonStr, strlen(reqJsonStr) + 1); in IpcGmGetRegisterInfo()