Home
last modified time | relevance | path

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

1234

/base/hiviewdfx/hiview/base/event_publish/
Dapp_event_handler.cpp45 …ddVectorToJsonString(const std::string& key, const std::vector<T>& vec, std::stringstream& jsonStr, in AddVectorToJsonString()
59 void AddValueToJsonString(const std::string& key, const T& value, std::stringstream& jsonStr, bool … in AddValueToJsonString()
72 void AddObjectToJsonString(const std::string& name, std::stringstream& jsonStr) in AddObjectToJsonString()
77 void AddTimeToJsonString(std::stringstream& jsonStr) in AddTimeToJsonString()
83 void AddBundleInfoToJsonString(const AppEventHandler::BundleInfo& event, std::stringstream& jsonStr) in AddBundleInfoToJsonString()
89 …d AddProcessInfoToJsonString(const AppEventHandler::ProcessInfo& event, std::stringstream& jsonStr) in AddProcessInfoToJsonString()
94 …d AddAbilityInfoToJsonString(const AppEventHandler::AbilityInfo& event, std::stringstream& jsonStr) in AddAbilityInfoToJsonString()
107 std::stringstream jsonStr; in PostEvent() local
128 std::stringstream jsonStr; in PostEvent() local
157 std::stringstream jsonStr; in PostEvent() local
[all …]
/base/hiviewdfx/hiview/plugins/eventlogger/test/unittest/common/
Devent_logger_test.cpp86 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
111 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
143 auto jsonStr = "{\"domain_\":\"FORM_MANAGER\"}"; variable
177 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
214 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
239 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
270 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
305 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
330 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
348 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
[all …]
Devent_logger_plugin_test.cpp117 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
136 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
/base/hiviewdfx/hiview/base/test/unittest/common/
Dsys_event_test.cpp40 std::string jsonStr = "["; in TransNumberVecToStr() local
56 …std::string jsonStr = R"~({"domain_":"DEMO","name_":"NAME1","type_":1,"tz_":"+0800","time_":162027… in GetOriginTestString() local
156 …std::string jsonStr = R"~({"domain_":"DEMO","name_":"VALUE_PARSE001","type_":1,"tz_":"+0800","time… variable
199 …std::string jsonStr = R"~({"domain_":"DEMO","name_":"VALUE_PARSE001","type_":1,"tz_":"+0800","time… variable
242 std::string jsonStr = R"~({"domain_":"DEMO", "name_":"VALUE_PARSE001", "type_":1, "tz_":"+0800", variable
265 std::string jsonStr = R"~({"domain_":"DEMO", "name_":"VALUE_PARSE001", "type_":1, "tz_":"+0800", variable
311 std::string jsonStr = R"~({"domain_":"DEMO", "name_":"VALUE_PARSE001", "type_":1, "tz_":"+0800", variable
357 std::string jsonStr = R"~({"domain_":"DEMO", "name_":"VALUE_PARSE001", "type_":1, "tz_":"+0800", variable
392 std::string jsonStr = R"~({"domain_":"DEMO", "name_":"VALUE_PARSE001", "type_":1, "tz_":"+0800", variable
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
Djson_parser.cpp39 bool JsonParser::ParseJsonString(Json::Value& eventJson, const std::string& jsonStr) in ParseJsonString()
93 … JsonParser::ParsePluginStatsEvent(std::shared_ptr<LoggerEvent>& event, const std::string& jsonStr) in ParsePluginStatsEvent()
117 bool JsonParser::ParseSysUsageEvent(std::shared_ptr<LoggerEvent>& event, const std::string& jsonStr) in ParseSysUsageEvent()
/base/startup/init/test/unittest/init/
Dservice_unittest.cpp148 …const char *jsonStr = "{\"services\":{\"name\":\"test_service8\",\"path\":[\"/data/init_ut/test_se… variable
191 …const char *jsonStr = "{\"services\":{\"name\":\"test_service1\",\"path\":[\"/data/init_ut/test_se… variable
325 …const char *jsonStr = "{\"services\":{\"name\":\"test_service2\",\"path\":[\"/data/init_ut/test_se… variable
455 …const char *jsonStr = "{\"services\":{\"name\":\"test_service1\",\"path\":[\"/data/init_ut/test_se… variable
478 …const char *jsonStr = "{\"services\":{\"name\":\"test_service1\",\"path\":[\"/data/init_ut/test_se… variable
/base/customization/enterprise_device_management/interfaces/inner_api/common/src/
Ddomain_account_policy.cpp63 bool DomainAccountPolicy::ConvertDomainAccountPolicyToJsonStr(std::string &jsonStr) in ConvertDomainAccountPolicyToJsonStr()
92 bool DomainAccountPolicy::JsonStrToDomainAccountPolicy(const std::string &jsonStr, in JsonStrToDomainAccountPolicy()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/
Dhisysevent_value.h27 HiSysEventValue(std::string jsonStr) in HiSysEventValue()
Dhisysevent_record.h35 HiSysEventRecord(std::string jsonStr) in HiSysEventRecord()
/base/update/updateservice/foundations/ability/utils/include/
Ddupdate_json_utils.h52 static bool ParseAndGetJsonObject(const std::string &jsonStr, nlohmann::json &root) in ParseAndGetJsonObject()
61 static bool ParseAndGetJsonArray(const std::string &jsonStr, nlohmann::json &root) in ParseAndGetJsonArray()
119 template <typename T> static int32_t JsonStrToStruct(const std::string &jsonStr, T &value) in JsonStrToStruct()
/base/sensors/miscdevice/utils/common/src/
Djson_parser.cpp28 std::string jsonStr = ReadJsonFile(filePath); in JsonParser() local
38 std::string jsonStr = ReadFd(rawFd); in JsonParser() local
/base/update/updater/test/unittest/updater_ui_test/view/
Dui_view_api_unittest.cpp61 string jsonStr = R"({"locale":{ variable
/base/update/updater/test/unittest/utils/json/
Dutils_json_visitor_test.cpp86 …id TestInvalidCases(T &obj, const std::array<PairType, N> &replaceData, const std::string &jsonStr) in TestInvalidCases()
326 std::string jsonStr = R"({ variable
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/
Dstring_serializer.cpp24 std::string jsonStr = jsonString; in Deserialize() local
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/
Devent_logger_catcher_test.cpp444 auto jsonStr = "{\"domain_\":\"KERNEL_VENDOR\"}"; variable
490 auto jsonStr = "{\"domain_\":\"KERNEL_VENDOR\"}"; variable
620 auto jsonStr = "{\"domain_\":\"KERNEL_VENDOR\"}"; variable
872 auto jsonStr = "{\"domain_\":\"KERNEL_VENDOR\"}"; variable
/base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/
Dfreeze_detector_test.cpp50 auto jsonStr = "{\"domain_\":\"" + domain + "\"}"; in makeEvent() local
180 auto jsonStr = "{\"domain_\":\"TEST_INPUT\"}"; variable
/base/powermgr/power_manager/test/unittest/src/
Dpower_parsesources_mock_test.cpp76 static const std::string jsonStr = "{\"powerkey\":"; variable
/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
Dfingerprint_policy_serializer.cpp61 char* jsonStr = cJSON_Print(root); in Serialize() local
/base/customization/enterprise_device_management/interfaces/inner_api/restrictions/src/
Dfingerprint_policy_serializer.cpp61 char* jsonStr = cJSON_Print(root); in Serialize() local
/base/security/device_auth/common_lib/impl/src/
Djson_utils.c28 static int32_t GetCjsonMaxDepth(const char *jsonStr) in GetCjsonMaxDepth()
46 CJson *CreateJsonFromString(const char *jsonStr) in CreateJsonFromString()
139 void FreeJsonString(char *jsonStr) in FreeJsonString()
592 void ClearAndFreeJsonString(char *jsonStr) in ClearAndFreeJsonString()
/base/customization/enterprise_device_management/test/unittest/interface/inner_api/common/
Ddomain_account_policy_test.cpp88 std::string jsonStr; variable
/base/security/permission_lite/services/pms/src/
Dpms_impl.c175 static int ParsePermissions(const char *jsonStr, PermissionSaved **perms, int *permNum) in ParsePermissions()
221 const char *jsonStr = cJSON_PrintUnformatted(root); in WritePermissions() local
297 char *jsonStr = NULL; in QueryPermissionString() local
319 const char *jsonStr = QueryPermissionString(identifier, &errCode); in QueryPermission() local
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt_utils/file_manager/
Dvisit_record_file_manager.cpp85 std::string jsonStr = visitRecordJsonManager_->ToString(); in UpdateFile() local
/base/powermgr/power_manager/utils/vibrator/src/
Dvibrator_source_parser.cpp71 std::vector<VibratorSource> VibratorSourceParser::ParseSources(const std::string& jsonStr) in ParseSources()
/base/powermgr/power_manager/services/native/src/wakeup/
Dwakeup_controller.cpp127 std::string jsonStr = SettingHelper::GetSettingWakeupSources(); in RegisterSettingsObserver() local
196 std::string jsonStr = SettingHelper::GetSettingWakeupSources(); in ChangeWakeupSourceConfig() local
305 std::string jsonStr = SettingHelper::GetSettingWakeupSources(); in ChangePickupWakeupSourceConfig() local
344 std::string jsonStr = SettingHelper::GetSettingWakeupSources(); in ChangeLidWakeupSourceConfig() local

1234