| /base/hiviewdfx/hiview/core/ |
| D | flat_json_parser.cpp | 70 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/ |
| D | event_logger_plugin_test.cpp | 118 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/ |
| D | json_parser.cpp | 40 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/ |
| D | hiappevent_base.cpp | 385 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/ |
| D | service_unittest.cpp | 62 …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/ |
| D | hisysevent_value.h | 27 HiSysEventValue(std::string jsonStr) in HiSysEventValue()
|
| D | hisysevent_record.h | 35 HiSysEventRecord(std::string jsonStr) in HiSysEventRecord()
|
| D | hisysevent_record_c.h | 44 char* jsonStr; member
|
| /base/sensors/miscdevice/utils/src/ |
| D | json_parser.cpp | 31 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/ |
| D | json_utils.h | 55 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/ |
| D | ui_view_api_unittest.cpp | 61 string jsonStr = R"({"locale":{ variable
|
| /base/msdp/device_status/services/interaction/coordination/src/ |
| D | coordination_softbus_adapter.cpp | 313 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/ |
| D | hks_bms_api_wrap.cpp | 72 char *jsonStr = cJSON_PrintUnformatted(jsonObj); in ConvertHapInfoToJson() local
|
| /base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/ |
| D | string_serializer.cpp | 24 std::string jsonStr = jsonString; in Deserialize() local
|
| /base/update/updater/test/unittest/utils/json/ |
| D | utils_json_visitor_test.cpp | 86 …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/ |
| D | sys_event.cpp | 97 …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/ |
| D | power_parsesources_mock_test.cpp | 75 static const std::string jsonStr = "{\"powerkey\":"; variable
|
| /base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/ |
| D | freeze_detector_test.cpp | 50 auto jsonStr = "{\"domain_\":\"" + domain + "\"}"; in makeEvent() local 180 auto jsonStr = "{\"domain_\":\"TEST_INPUT\"}"; variable
|
| /base/security/dlp_permission_service/services/dlp_permission/sa/adapt/ |
| D | visit_record_file_manager.cpp | 75 std::string jsonStr = visitRecordJsonManager_->ToString(); in UpdateFile() local
|
| /base/security/appverify/interfaces/innerkits/appverify/src/init/ |
| D | json_parser_utils.cpp | 42 std::string jsonStr = buf.str(); in ReadTrustedRootCAFromJson() local
|
| /base/security/security_component_manager/interfaces/inner_api/security_component/test/unittest/src/ |
| D | sec_comp_kit_test.cpp | 113 std::string jsonStr = jsonRes.dump(); variable
|
| /base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/ |
| D | event_logger_catcher_test.cpp | 143 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/ |
| D | pms_impl.c | 175 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/ |
| D | suspend_source_parser.cpp | 89 std::shared_ptr<SuspendSources> SuspendSourceParser::ParseSources(const std::string& jsonStr) in ParseSources()
|
| /base/powermgr/power_manager/services/native/src/wakeup/ |
| D | wakeup_source_parser.cpp | 90 std::shared_ptr<WakeupSources> WakeupSourceParser::ParseSources(const std::string& jsonStr) in ParseSources()
|