Home
last modified time | relevance | path

Searched defs:json (Results 1 – 25 of 25) sorted by relevance

/base/security/appverify/interfaces/innerkits/appverify/src/init/
Djson_parser_utils.cpp51 bool JsonParserUtils::GetJsonString(const nlohmann::json& json, const std::string& key, std::string… in GetJsonString()
62 bool JsonParserUtils::GetJsonInt(const nlohmann::json& json, const std::string& key, int& value) in GetJsonInt()
73 bool JsonParserUtils::GetJsonStringVec(const nlohmann::json& json, const std::string& key, StringVe… in GetJsonStringVec()
84 bool JsonParserUtils::ParseJsonToObjVec(const nlohmann::json& json, const std::string& key, JsonObj… in ParseJsonToObjVec()
95 void JsonParserUtils::ParseJsonToMap(const nlohmann::json& json, JsonMap& jsonMap) in ParseJsonToMap()
/base/hiviewdfx/hiview/plugins/freeze_detector/test/moduletest/common/
Dfreeze_detector_plugin_module_test.cpp93 std::string json = "{\"MSG\":\"UI_BLOCK_6S\",\"PID\":1669,\"UID\":2208," variable
124 std::string json = "{\"MSG\":\"UI_BLOCK_3S\",\"PID\":1669,\"UID\":2208," variable
156 std::string json = "{\"MSG\":\"TRANSPARENT_WINDOWS, isFault = true\",\"PID\":1669,\"UID\":2208," variable
180 std::string json = "{\"MSG\":\"UI_BLOCK_6S\",\"PID\":1669,\"UID\":2208," variable
/base/account/os_account/services/accountmgr/include/
Dohos_account_data_deal.h27 using json = nlohmann::json; variable
/base/hiviewdfx/hiview/utility/smart_parser/rule/
Dcompose_rule.cpp66 void ComposeRule::ParseRule(const Json::Value& json, const string& type, vector<string>& featureIds) in ParseRule()
80 std::map<std::string, std::string> ComposeRule::GetMapFromJson(const Json::Value& json, const strin… in GetMapFromJson()
Dextract_rule.cpp58 void ExtractRule::ParseSegStatusCfg(const Json::Value& json) in ParseSegStatusCfg()
85 void ExtractRule::ParseRule(const string& eventType, const Json::Value& json, const string& path) in ParseRule()
133 std::vector<std::string> ExtractRule::GetJsonArray(const Json::Value& json, const string& param) in GetJsonArray()
/base/startup/init_lite/services/init/
Dinit_service_manager.c229 static char *GetStringValue(const cJSON *json, const char *name, size_t *strLen) in GetStringValue()
237 static int GetStringItem(const cJSON *json, const char *name, char *buffer, int buffLen) in GetStringItem()
290 static int GetUid(cJSON *json, uid_t *uid) in GetUid()
363 static int ParseSocketFamily(cJSON *json, ServiceSocket *sockopt) in ParseSocketFamily()
378 static int ParseSocketType(cJSON *json, ServiceSocket *sockopt) in ParseSocketType()
395 static int ParseSocketProtocol(cJSON *json, ServiceSocket *sockopt) in ParseSocketProtocol()
414 static int ParseSocketOption(cJSON *json, ServiceSocket *sockopt) in ParseSocketOption()
444 static int AddServiceSocket(cJSON *json, Service *service) in AddServiceSocket()
517 static int AddServiceFile(cJSON *json, Service *service) in AddServiceFile()
670 static int GetServiceMode(Service *service, const cJSON *json) in GetServiceMode()
[all …]
Dinit_group_manager.c50 cJSON *json = GetArrayItem(root, &itemNumber, itemName); in ParseGroupCfgItem() local
/base/accessibility/util/src/
Djson_utils.cpp120 bool JsonUtils::GetStringFromJson(const nlohmann::json &json, const std::string &key, std::string &… in GetStringFromJson()
134 bool JsonUtils::GetIntFromJson(const nlohmann::json &json, const std::string &key, int &value) in GetIntFromJson()
148 bool JsonUtils::GetStringVecFromJson(const nlohmann::json &json, const std::string &key, in GetStringVecFromJson()
163 bool JsonUtils::ParseObjVecFromJson(const nlohmann::json &json, const std::string &key, in ParseObjVecFromJson()
/base/security/access_token/services/tokensyncmanager/src/command/
Dsync_remote_hap_token_command.cpp50 SyncRemoteHapTokenCommand::SyncRemoteHapTokenCommand(const std::string &json) in SyncRemoteHapTokenCommand()
Ddelete_remote_token_command.cpp44 DeleteRemoteTokenCommand::DeleteRemoteTokenCommand(const std::string& json) in DeleteRemoteTokenCommand()
Dupdate_remote_hap_token_command.cpp43 UpdateRemoteHapTokenCommand::UpdateRemoteHapTokenCommand(const std::string &json) in UpdateRemoteHapTokenCommand()
Dsync_remote_native_token_command.cpp42 SyncRemoteNativeTokenCommand::SyncRemoteNativeTokenCommand(const std::string &json) in SyncRemoteNativeTokenCommand()
/base/account/os_account/services/accountmgr/src/
Daccount_helper_data.cpp26 using json = nlohmann::json; typedef
/base/security/device_security_level/services/common/
Ddslm_msg_serialize.c96 JsonHandle json = CreateJson(NULL); in SerializeMessage() local
/base/security/deviceauth/services/group_manager/src/group_operation/
Dgroup_operation_common.c352 static int32_t AddGroupNameToReturn(const TrustedGroupEntry *groupInfo, CJson *json) in AddGroupNameToReturn()
366 static int32_t AddGroupIdToReturn(const TrustedGroupEntry *groupInfo, CJson *json) in AddGroupIdToReturn()
380 static int32_t AddGroupOwnerToReturn(const TrustedGroupEntry *groupInfo, CJson *json) in AddGroupOwnerToReturn()
395 static int32_t AddGroupTypeToReturn(const TrustedGroupEntry *groupInfo, CJson *json) in AddGroupTypeToReturn()
405 static int32_t AddGroupVisibilityToReturn(const TrustedGroupEntry *groupInfo, CJson *json) in AddGroupVisibilityToReturn()
415 static int32_t AddAuthIdToReturn(const TrustedDeviceEntry *deviceInfo, CJson *json) in AddAuthIdToReturn()
429 static int32_t AddCredentialTypeToReturn(const TrustedDeviceEntry *deviceInfo, CJson *json) in AddCredentialTypeToReturn()
439 static int32_t AddUserTypeToReturn(const TrustedDeviceEntry *deviceInfo, CJson *json) in AddUserTypeToReturn()
870 CJson *json = CreateJson(); in ConvertGroupIdToJsonStr() local
Dgroup_operation.c72 CJson *json = CreateJsonArray(); in GenerateReturnEmptyArrayStr() local
94 CJson *json = CreateJsonArray(); in GenerateReturnGroupVec() local
144 CJson *json = CreateJsonArray(); in GenerateReturnDeviceVec() local
/base/security/device_security_level/oem_property/ohos/impl/
Ddslm_ohos_verify.c120 static int32_t CopyParamDataFromJson(const JsonHandle json, const char *paramKey, char *dest, uint3… in CopyParamDataFromJson()
139 JsonHandle json = CreateJson((char *)buffer); in GetCredPayloadInfo() local
233 JsonHandle json = CreateJson(jsonBuffer); in ParseNounceOfCertChain() local
378 JsonHandle json = CreateJson((char *)buffer); in ParsePubKeyChain() local
Ddslm_ohos_request.c38 JsonHandle json = CreateJson(NULL); in TransToJsonStr() local
Dexternal_interface_adapter.c353 JsonHandle json = CreateJson(NULL); in GenerateFuncParamJson() local
/base/security/access_token/services/tokensyncmanager/src/remote/
Dsoft_bus_channel.cpp233 std::string json = messageEntity.ToJson(); in PrepareBytes() local
238 int SoftBusChannel::Compress(const std::string &json, const unsigned char *compressedBytes, int &co… in Compress()
419 nlohmann::json json; in FromJson() local
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
DResourceConfiguration.java42 …File json = new File(ResourceConfiguration.class.getResource("/resource/resource_items.json").toUR… in parse() local
/base/security/access_token/services/tokensyncmanager/include/remote/
Dsoft_bus_channel.h319 nlohmann::json json; in ToJson() local
/base/security/access_token/services/tokensyncmanager/test/mock/src/
Dsoft_bus_session_mock.cpp186 void CompressMock(const std::string &json, const unsigned char *compressedBytes, int &compressedLen… in CompressMock()
/base/security/device_security_level/baselib/utils/src/
Dutils_json.c176 void AddFieldJsonToJson(JsonHandle handle, const char *field, JsonHandle json) in AddFieldJsonToJson()
/base/startup/init_lite/services/init/standard/
Dinit_plugin_manager.c326 cJSON *json = GetArrayItem(root, &itemNumber, "modules"); in LoadPluginCfg() local