Home
last modified time | relevance | path

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

12

/base/hiviewdfx/hiview/core/
Dflat_json_parser.cpp70 FlatJsonParser::FlatJsonParser(const std::string& jsonStr) in FlatJsonParser()
76 void FlatJsonParser::Parse(const std::string& jsonStr) in Parse()
93 std::string jsonStr = "{"; in Print() local
104 std::string FlatJsonParser::ParseKey(const std::string& jsonStr) in ParseKey()
119 std::string FlatJsonParser::ParseValue(const std::string& jsonStr) in ParseValue()
150 std::string FlatJsonParser::ParseNumer(const std::string& jsonStr) in ParseNumer()
163 std::string FlatJsonParser::ParseString(const std::string& jsonStr) in ParseString()
179 std::string FlatJsonParser::ParseBrackets(const std::string& jsonStr, char leftBracket) in ParseBrackets()
/base/hiviewdfx/hiview/plugins/eventlogger/test/unittest/common/
Devent_logger_plugin_test.cpp118 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
137 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
169 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
195 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
221 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
247 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; variable
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
Djson_parser.cpp40 bool JsonParser::ParseJsonString(Json::Value& eventJson, const std::string& jsonStr) in ParseJsonString()
94 … JsonParser::ParsePluginStatsEvent(std::shared_ptr<LoggerEvent>& event, const std::string& jsonStr) in ParsePluginStatsEvent()
118 bool JsonParser::ParseSysUsageEvent(std::shared_ptr<LoggerEvent>& event, const std::string& jsonStr) in ParseSysUsageEvent()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_base.cpp385 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<bool>& bs) c… in AddVectorToJsonString()
401 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<char>& cs) c… in AddVectorToJsonString()
417 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<int16_t>& sh… in AddVectorToJsonString()
433 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<int>& is) co… in AddVectorToJsonString()
449 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<int64_t>& ll… in AddVectorToJsonString()
465 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<float>& fs) … in AddVectorToJsonString()
481 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<double>& ds)… in AddVectorToJsonString()
497 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<std::string>… in AddVectorToJsonString()
513 void AppEventPack::AddOthersToJsonString(std::stringstream& jsonStr, const AppEventParam param) con… in AddOthersToJsonString()
555 std::stringstream jsonStr; in GetJsonString() local
/base/startup/init/test/unittest/init/
Dservice_unittest.cpp62 …const char *jsonStr = "{\"services\":{\"name\":\"test_service\",\"path\":[\"/data/init_ut/test_ser… variable
86 …const char *jsonStr = "{\"services\":{\"name\":\"test_service8\",\"path\":[\"/data/init_ut/test_se… variable
129 …const char *jsonStr = "{\"services\":{\"name\":\"test_service1\",\"path\":[\"/data/init_ut/test_se… variable
257 …const char *jsonStr = "{\"services\":{\"name\":\"test_service2\",\"path\":[\"/data/init_ut/test_se… variable
/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()
Dhisysevent_record_c.h44 char* jsonStr; member
/base/sensors/miscdevice/utils/src/
Djson_parser.cpp31 std::string jsonStr = ReadJsonFile(filePath); in JsonParser() local
41 std::string jsonStr = ReadFd(rawFd); in JsonParser() local
/base/update/updateservice/services/core/ability/utils/include/
Djson_utils.h55 static bool ParseAndGetJsonObject(const std::string &jsonStr, nlohmann::json &root) in ParseAndGetJsonObject()
64 static bool ParseAndGetJsonArray(const std::string &jsonStr, nlohmann::json &root) in ParseAndGetJsonArray()
/base/update/updater/test/unittest/updater_ui_test/view/
Dui_view_api_unittest.cpp61 string jsonStr = R"({"locale":{ variable
/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination_softbus_adapter.cpp313 cJSON *jsonStr = cJSON_CreateObject(); in StartRemoteCoordination() local
347 cJSON *jsonStr = cJSON_CreateObject(); in StartRemoteCoordinationResult() local
374 cJSON *jsonStr = cJSON_CreateObject(); in StopRemoteCoordination() local
399 cJSON *jsonStr = cJSON_CreateObject(); in StopRemoteCoordinationResult() local
424 cJSON *jsonStr = cJSON_CreateObject(); in NotifyUnchainedResult() local
451 cJSON *jsonStr = cJSON_CreateObject(); in NotifyFilterAdded() local
476 cJSON *jsonStr = cJSON_CreateObject(); in StartCoordinationOtherResult() local
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/bms/src/
Dhks_bms_api_wrap.cpp72 char *jsonStr = cJSON_PrintUnformatted(jsonObj); in ConvertHapInfoToJson() local
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/
Dstring_serializer.cpp24 std::string jsonStr = jsonString; in Deserialize() local
/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/hiviewdfx/hiview/base/
Dsys_event.cpp97 …nt::SysEvent(const std::string& sender, PipelineEventProducer* handler, const std::string& jsonStr) in SysEvent()
145 std::shared_ptr<EventRaw::RawData> SysEvent::TansJsonStrToRawData(const std::string& jsonStr) in TansJsonStrToRawData()
260 std::string jsonStr = event.AsJsonStr(); in AsJsonStr() local
/base/powermgr/power_manager/test/unittest/src/
Dpower_parsesources_mock_test.cpp75 static const std::string jsonStr = "{\"powerkey\":"; 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/security/dlp_permission_service/services/dlp_permission/sa/adapt/
Dvisit_record_file_manager.cpp75 std::string jsonStr = visitRecordJsonManager_->ToString(); in UpdateFile() local
/base/security/appverify/interfaces/innerkits/appverify/src/init/
Djson_parser_utils.cpp42 std::string jsonStr = buf.str(); in ReadTrustedRootCAFromJson() local
/base/security/security_component_manager/interfaces/inner_api/security_component/test/unittest/src/
Dsec_comp_kit_test.cpp113 std::string jsonStr = jsonRes.dump(); variable
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/
Devent_logger_catcher_test.cpp143 std::string jsonStr = R"~({"domain_":"demo","name_":")~" + name + R"~(","pid_":)~" + in StartCreate() local
501 auto jsonStr = "{\"domain_\":\"KERNEL_VENDOR\"}"; 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/powermgr/power_manager/services/native/src/suspend/
Dsuspend_source_parser.cpp89 std::shared_ptr<SuspendSources> SuspendSourceParser::ParseSources(const std::string& jsonStr) in ParseSources()
/base/powermgr/power_manager/services/native/src/wakeup/
Dwakeup_source_parser.cpp90 std::shared_ptr<WakeupSources> WakeupSourceParser::ParseSources(const std::string& jsonStr) in ParseSources()

12