Home
last modified time | relevance | path

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

/base/hiviewdfx/hiview/base/
Dsys_event.cpp29 static int GetValueFromJson(const std::string& jsonStr, const std::string& expr, std::string& value) in GetValueFromJson()
40 static int GetValueFromJson(const std::string& jsonStr, const std::string& expr, int16_t& value) in GetValueFromJson()
51 static int GetValueFromJson(const std::string& jsonStr, const std::string& expr, uint16_t& value) in GetValueFromJson()
62 static int GetValueFromJson(const std::string& jsonStr, const std::string& expr, int32_t& value) in GetValueFromJson()
73 static int GetValueFromJson(const std::string& jsonStr, const std::string& expr, uint64_t& value) in GetValueFromJson()
84 …nt::SysEvent(const std::string& sender, PipelineEventProducer* handler, const std::string& jsonStr) in SysEvent()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_base.cpp407 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<bool>& bs) c… in AddVectorToJsonString()
423 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<char>& cs) c… in AddVectorToJsonString()
439 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<short>& shs)… in AddVectorToJsonString()
455 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<int>& is) co… in AddVectorToJsonString()
471 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<long>& ls) c… in AddVectorToJsonString()
487 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<long long>& … in AddVectorToJsonString()
503 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<float>& fs) … in AddVectorToJsonString()
519 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<double>& ds)… in AddVectorToJsonString()
535 void AppEventPack::AddVectorToJsonString(std::stringstream& jsonStr, const std::vector<std::string>… in AddVectorToJsonString()
551 void AppEventPack::AddOthersToJsonString(std::stringstream& jsonStr, const AppEventParam param) con… in AddOthersToJsonString()
[all …]
/base/hiviewdfx/hiview/base/event_store/test/unittest/common/
Dsys_event_dao_test.cpp65 …std::string jsonStr = R"~({"domain_":"demo","name_":"SysEventDaoTest_001","type_":1,"tz_":8,"time_… variable
152 …std::string jsonStr = R"~({"domain_":"demo","name_":"SysEventDaoTest_003","type_":1,"tz_":8,"time_… variable
270 …std::string jsonStr = R"~({"domain_":"demo","name_":"SysEventDaoTest_006","type_":1,"tz_":8,"time_… variable
315 std::string jsonStr; variable
/base/hiviewdfx/hiview/plugins/faultlogger/service/
Dfaultlog_database.cpp40 auto jsonStr = "{\"domain_\":\"RELIABILITY\"}"; in GetSysEventFromFaultLogInfo() local
63 bool ParseFaultLogInfoFromJson(const std::string& jsonStr, FaultLogInfo& info) in ParseFaultLogInfoFromJson()
/base/startup/init_lite/test/unittest/init/
Dservice_unittest.cpp50 …const char *jsonStr = "{\"services\":{\"name\":\"test_service\",\"path\":[\"/data/init_ut/test_ser… variable
72 …const char *jsonStr = "{\"services\":{\"name\":\"test_service1\",\"path\":[\"/data/init_ut/test_se… variable
Dcmds_unittest.cpp211 const char *jsonStr = "{\"jobs\":[{\"name\":\"init\",\"cmds\":[\"sleep 1\"]}]}"; variable
Dgroup_unittest.cpp337 …const char *jsonStr = "{\"services\":{\"name\":\"test_service22\",\"path\":[\"/data/init_ut/test_s… variable
/base/security/appverify/interfaces/innerkits/appverify/src/init/
Djson_parser_utils.cpp42 std::string jsonStr = buf.str(); in ReadTrustedRootCAFromJson() local
/base/security/permission/services/permission_lite/pms/src/
Dpms_impl.c175 static int ParsePermissions(const char *jsonStr, PermissionSaved **perms, int *permNum) in ParsePermissions()
222 const char *jsonStr = cJSON_PrintUnformatted(root); in WritePermissions() local
298 char *jsonStr = NULL; in QueryPermissionString() local
320 const char *jsonStr = QueryPermissionString(identifier, &errCode); in QueryPermission() local
Dpms_server.c139 char *jsonStr = QueryPermissionString(identifier, &ret); in ReplyQueryPermission() local
/base/accessibility/frameworks/asacfwk/test/unittest/
Daccessibility_ability_info_test.cpp67 string jsonStr; in CreateAccessibilityConfig() local
/base/accessibility/services/test/moduletest/aamstest/aams_accessible_ability_channel_test/
Daams_accessible_ability_channel_test.cpp145 string jsonStr; in CreateAccessibilityConfigForTouchGuide() local
184 string jsonStr; in CreateAccessibilityConfigNoCapability() local
/base/security/deviceauth/common_lib/impl/src/
Djson_utils.c26 CJson *CreateJsonFromString(const char *jsonStr) in CreateJsonFromString()
114 void FreeJsonString(char *jsonStr) in FreeJsonString()
519 void ClearAndFreeJsonString(char *jsonStr) in ClearAndFreeJsonString()
/base/hiviewdfx/hiview/plugins/eventservice/
Devent_json_parser.cpp56 std::string jsonStr = event->jsonExtraInfo_; in EventJsonParser() local
/base/security/permission/services/permission_lite/pms_client/
Dperm_client.c212 static int ParsePermissions(const char *jsonStr, PermissionSaved **perms, int *permNum) in ParsePermissions()
297 char *jsonStr = (char *)(buff->buff); in DealQueryReply() local
299 char *jsonStr = (char *)IpcIoPopString(reply, NULL); in DealQueryReply() local
/base/accessibility/services/test/moduletest/aamstest/aams_server_test/
Daams_server_test.cpp128 string jsonStr; in CreateAccessibilityConfigForTouchGuide() local
/base/hiviewdfx/hiview/plugins/eventlogger/test/unittest/common/
Devent_logger_action_test.cpp135 std::string jsonStr = R"~({"domain_":"demo","name_":")~" + name + R"~(","pid_":)~" + in StartCreate() local
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/
Devent_logger_catcher_test.cpp134 std::string jsonStr = R"~({"domain_":"demo","name_":")~" + name + R"~(","pid_":)~" + in StartCreate() local
/base/account/os_account/frameworks/osaccount/native/test/unittest/
Dos_account_info_test.cpp440 std::string jsonStr = osAccountInfo.ToJson().dump(); variable
/base/accessibility/services/test/moduletest/aamstest/aams_accessibility_keyevent_filter_test/
Daams_accessibility_keyevent_filter_test.cpp147 string jsonStr; in CreateAccessibilityConfigForKeyEvent() local
/base/accessibility/services/test/moduletest/aamstest/aams_accessibility_touchEvent_injector_test/
Daams_accessibility_touchEvent_injector_test.cpp157 string jsonStr; in CreateAccessibilityConfigForTouchGuide() local
/base/accessibility/services/test/moduletest/aamstest/aams_accessibility_touch_guider_test/
Daams_accessibility_touch_guider_test.cpp85 string jsonStr; in CreateAccessibilityConfigForTouchGuide() local
/base/security/device_security_level/oem_property/ohos/impl/
Ddslm_ohos_verify.c333 static int32_t VerifyNounceOfCertChain(const char *jsonStr, const struct DeviceIdentify *device, ui… in VerifyNounceOfCertChain()
/base/security/access_token/interfaces/innerkits/nativetoken/src/
Dnativetoken.c357 char *jsonStr = NULL; in WriteToFile() local