/base/security/device_auth/common_lib/impl/src/ |
D | json_utils.c | 44 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/ |
D | json_utils_mock.c | 98 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/ |
D | app_provision.c | 42 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/ |
D | dlp_permission_kit.cpp | 34 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/ |
D | testConfigParser.h | 53 nlohmann::json jsonObj; in ParseFromFile4StressTest() local
|
/base/security/device_auth/services/frameworks/src/module/ |
D | version_util.c | 105 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/ |
D | fuzz_config_parser.h | 49 nlohmann::json jsonObj = nlohmann::json::parse(fin, nullptr, false); in ParseFromFile4FuzzTest() local
|
/base/startup/appspawn/util/src/ |
D | json_utils.cpp | 28 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/ |
D | hks_bms_api_wrap.cpp | 60 cJSON *jsonObj = cJSON_CreateObject(); in ConvertHapInfoToJson() local
|
/base/security/device_auth/services/authenticators/src/account_unrelated/ |
D | das_version_util.c | 45 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/ |
D | dlp_credential.cpp | 189 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
|
D | dlp_permission_service.cpp | 151 unordered_json jsonObj; in GenerateDlpCertificate() local 404 auto jsonObj = nlohmann::json::parse(content); in InitConfig() local
|
/base/security/appverify/interfaces/innerkits/appverify/src/init/ |
D | json_parser_utils.cpp | 26 bool JsonParserUtils::ReadTrustedRootCAFromJson(nlohmann::json& jsonObj, in ReadTrustedRootCAFromJson()
|
/base/hiviewdfx/hiview/core/ |
D | event_json_parser.cpp | 258 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/ |
D | common_lib_test.cpp | 364 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/ |
D | key_agree_session.c | 191 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/ |
D | static_subscriber_manager.cpp | 231 nlohmann::json jsonObj = nlohmann::json::parse(profile, nullptr, false); in ParseEvents() local
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | notification_preferences.cpp | 642 nlohmann::json jsonObj; in GetTemplateSupported() local
|