Home
last modified time | relevance | path

Searched defs:jsonObj (Results 1 – 18 of 18) sorted by relevance

/base/security/device_auth/common_lib/impl/src/
Djson_utils.c44 CJson *DuplicateJson(const CJson *jsonObj) in DuplicateJson()
52 void FreeJson(CJson *jsonObj) in FreeJson()
57 void DeleteItemFromJson(CJson *jsonObj, const char *key) in DeleteItemFromJson()
65 void DeleteAllItemExceptOne(CJson *jsonObj, const char *key) in DeleteAllItemExceptOne()
82 void DeleteAllItem(CJson *jsonObj) in DeleteAllItem()
97 CJson *DetachItemFromJson(CJson *jsonObj, const char *key) in DetachItemFromJson()
106 char *PackJsonToString(const CJson *jsonObj) in PackJsonToString()
121 int GetItemNum(const CJson *jsonObj) in GetItemNum()
137 CJson *GetObjFromJson(const CJson *jsonObj, const char *key) in GetObjFromJson()
170 const char *GetStringFromJson(const CJson *jsonObj, const char *key) in GetStringFromJson()
[all …]
/base/security/device_auth/test/unittest/deviceauth/source/
Djson_utils_mock.c98 CJson *DuplicateJson(const CJson *jsonObj) in DuplicateJson()
109 void FreeJson(CJson *jsonObj) in FreeJson()
114 void DeleteItemFromJson(CJson *jsonObj, const char *key) in DeleteItemFromJson()
122 void DeleteAllItemExceptOne(CJson *jsonObj, const char *key) in DeleteAllItemExceptOne()
139 void DeleteAllItem(CJson *jsonObj) in DeleteAllItem()
154 CJson *DetachItemFromJson(CJson *jsonObj, const char *key) in DetachItemFromJson()
163 char *PackJsonToString(const CJson *jsonObj) in PackJsonToString()
179 int GetItemNum(const CJson *jsonObj) in GetItemNum()
195 CJson *GetObjFromJson(const CJson *jsonObj, const char *key) in GetObjFromJson()
228 const char *GetStringFromJson(const CJson *jsonObj, const char *key) in GetStringFromJson()
[all …]
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_provision.c42 cJSON *jsonObj = cJSON_GetObjectItem(root, tag); in GetStringTag() local
82 cJSON *jsonObj = cJSON_GetObjectItem(root, tag); in GetStringArrayTag() local
128 cJSON *jsonObj = cJSON_GetObjectItem(root, "validity"); in GetProfValidity() local
152 cJSON *jsonObj = cJSON_GetObjectItem(root, "bundle-info"); in GetProfBundleInfo() local
188 cJSON *jsonObj = cJSON_GetObjectItem(root, "permissions"); in GetProfPermission() local
200 cJSON *jsonObj = cJSON_GetObjectItem(root, "debug-info"); in GetProfDebugInfo() local
296 cJSON *jsonObj = cJSON_GetObjectItem(root, "version-code"); in ParseProfile() local
/base/security/dlp_permission_service/frameworks/test/mock/
Ddlp_permission_kit.cpp34 unordered_json jsonObj; in GenerateDlpCertificate() local
49 auto jsonObj = nlohmann::json::parse(encJsonStr, nullptr, false); in ParseDlpCertificate() local
/base/notification/common_event_service/test/systemtest/common/resource/
DtestConfigParser.h53 nlohmann::json jsonObj; in ParseFromFile4StressTest() local
/base/security/device_auth/services/frameworks/src/module/
Dversion_util.c105 int32_t AddSingleVersionToJson(CJson *jsonObj, const VersionStruct *version) in AddSingleVersionToJson()
129 int32_t GetSingleVersionFromJson(const CJson* jsonObj, VersionStruct *version) in GetSingleVersionFromJson()
/base/account/os_account/test/systemtest/common/resource/fuzzTest/include/
Dfuzz_config_parser.h49 nlohmann::json jsonObj = nlohmann::json::parse(fin, nullptr, false); in ParseFromFile4FuzzTest() local
/base/startup/appspawn/util/src/
Djson_utils.cpp28 bool JsonUtils::GetJsonObjFromJson(nlohmann::json &jsonObj, const std::string &jsonPath) in GetJsonObjFromJson()
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/bms/src/
Dhks_bms_api_wrap.cpp60 cJSON *jsonObj = cJSON_CreateObject(); in ConvertHapInfoToJson() local
/base/security/device_auth/services/authenticators/src/account_unrelated/
Ddas_version_util.c45 int32_t GetVersionFromJson(const CJson* jsonObj, VersionStruct *minVer, VersionStruct *maxVer) in GetVersionFromJson()
65 int32_t AddVersionToJson(CJson *jsonObj, const VersionStruct *minVer, const VersionStruct *maxVer) in AddVersionToJson()
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/
Ddlp_credential.cpp189 static std::vector<uint8_t> GetOfflineCert(const unordered_json& jsonObj) in GetOfflineCert()
234 …auto jsonObj = unordered_json::parse(policyStr, policyStr + outParams->dataLen + 1, nullptr, false… in DlpRestorePolicyCallback() local
430 auto jsonObj = unordered_json::parse(encDataJsonStr, nullptr, false); in ParseDlpCertificate() local
Ddlp_permission_service.cpp151 unordered_json jsonObj; in GenerateDlpCertificate() local
404 auto jsonObj = nlohmann::json::parse(content); in InitConfig() local
/base/security/appverify/interfaces/innerkits/appverify/src/init/
Djson_parser_utils.cpp26 bool JsonParserUtils::ReadTrustedRootCAFromJson(nlohmann::json& jsonObj, in ReadTrustedRootCAFromJson()
/base/hiviewdfx/hiview/core/
Devent_json_parser.cpp258 bool EventJsonParser::HasIntMember(const Json::Value& jsonObj, const std::string& name) const in HasIntMember() argument
263 bool EventJsonParser::HasStringMember(const Json::Value& jsonObj, const std::string& name) const in HasStringMember() argument
268 bool EventJsonParser::HasBoolMember(const Json::Value& jsonObj, const std::string& name) const in HasBoolMember() argument
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
Dcommon_lib_test.cpp364 CJson *jsonObj = GetObjFromJson(nullptr, "name"); variable
402 CJson *jsonObj = GetObjFromJson(validJson, "name"); variable
479 CJson *jsonObj = CreateJsonFromString(TEST_JSON_STR); variable
/base/security/device_auth/services/key_agree_sdk/src/
Dkey_agree_session.c191 int32_t AddVersionToJson(CJson *jsonObj, const VersionStruct *maxVer) in AddVersionToJson()
221 int32_t GetVersionFromJson(const CJson* jsonObj, VersionStruct *maxVer) in GetVersionFromJson()
/base/notification/common_event_service/services/src/
Dstatic_subscriber_manager.cpp231 nlohmann::json jsonObj = nlohmann::json::parse(profile, nullptr, false); in ParseEvents() local
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_preferences.cpp642 nlohmann::json jsonObj; in GetTemplateSupported() local