| /base/powermgr/battery_statistics/services/native/src/ |
| D | battery_stats_listener.cpp | 59 Json::Value root; in OnEvent() local 70 void BatteryStatsListener::ProcessHiSysEvent(const std::string& eventName, const Json::Value& root) in ProcessHiSysEvent() 119 void BatteryStatsListener::ProcessCameraEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessCameraEvent() 148 void BatteryStatsListener::ProcessAudioEvent(StatsUtils::StatsData& data, const Json::Value& root) in ProcessAudioEvent() 174 void BatteryStatsListener::ProcessSensorEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessSensorEvent() 198 void BatteryStatsListener::ProcessGnssEvent(StatsUtils::StatsData& data, const Json::Value& root) in ProcessGnssEvent() 216 …BatteryStatsListener::ProcessBluetoothBrEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessBluetoothBrEvent() 250 …atteryStatsListener::ProcessBluetoothBleEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessBluetoothBleEvent() 280 …d BatteryStatsListener::ProcessBluetoothEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessBluetoothEvent() 291 void BatteryStatsListener::ProcessWifiEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessWifiEvent() [all …]
|
| D | battery_stats_core.cpp | 782 void BatteryStatsCore::SaveForHardware(Json::Value& root) in SaveForHardware() 820 void BatteryStatsCore::SaveForSoftware(Json::Value& root) in SaveForSoftware() 828 void BatteryStatsCore::SaveForSoftwareCommon(Json::Value& root, int32_t uid) in SaveForSoftwareCommon() 866 void BatteryStatsCore::SaveForSoftwareConnectivity(Json::Value& root, int32_t uid) in SaveForSoftwareConnectivity() 877 void BatteryStatsCore::SaveForPower(Json::Value& root) in SaveForPower() 899 Json::Value root; in SaveBatteryStatsData() local 922 void BatteryStatsCore::UpdateStatsEntity(Json::Value &root) in UpdateStatsEntity() 965 Json::Value root; in LoadBatteryStatsData() local
|
| /base/useriam/user_auth_framework/test/unittest/services/src/ |
| D | widget_client_test.cpp | 144 nlohmann::json root = widgetNotice; variable 155 nlohmann::json root = widgetNotice; variable 166 nlohmann::json root = widgetNotice; variable 177 nlohmann::json root = widgetNotice; variable 191 nlohmann::json root = widgetNotice; variable 207 nlohmann::json root = widgetNotice; variable 223 nlohmann::json root = widgetNotice; variable 239 nlohmann::json root = widgetNotice; variable 255 nlohmann::json root = widgetNotice; variable 271 nlohmann::json root = widgetNotice; variable [all …]
|
| D | widget_json_test.cpp | 176 nlohmann::json root = widgetCommand; variable 206 nlohmann::json root = widgetCommand; variable 245 nlohmann::json root = widgetCmdParameters; variable 274 nlohmann::json root = widgetCmdParameters; variable 293 nlohmann::json root = widgetNotice; variable 302 auto root = nlohmann::json::parse("", nullptr, false); variable 310 auto root = nlohmann::json::parse(data, nullptr, false); variable 318 auto root = nlohmann::json::parse(data, nullptr, false); variable 327 auto root = nlohmann::json::parse("{\"payload\":123}", nullptr, false); variable 334 auto root = nlohmann::json::parse("{\"payload\":{\"type\":123}}", nullptr, false); variable [all …]
|
| /base/hiviewdfx/hiview/base/event_report/event/ |
| D | logger_event.cpp | 28 void AddUint8Value(Json::Value &root, const std::string &name, const ParamValue& value) in AddUint8Value() 33 void AddUint16Value(Json::Value &root, const std::string &name, const ParamValue& value) in AddUint16Value() 38 void AddUint32Value(Json::Value &root, const std::string &name, const ParamValue& value) in AddUint32Value() 43 void AddUint64Value(Json::Value &root, const std::string &name, const ParamValue& value) in AddUint64Value() 48 void AddStringValue(Json::Value &root, const std::string &name, const ParamValue& value) in AddStringValue() 53 void AddUint32VecValue(Json::Value &root, const std::string &name, const ParamValue& value) in AddUint32VecValue() 61 void AddStringVecValue(Json::Value &root, const std::string &name, const ParamValue& value) in AddStringVecValue() 87 Json::Value root; in ToJsonString() local
|
| /base/notification/distributed_notification_service/services/ans/src/notification_smart_reminder/ |
| D | reminder_affected.cpp | 23 bool ReminderAffected::FromJson(const nlohmann::json &root) in FromJson() 43 const nlohmann::json &root, std::vector<std::pair<std::string, std::string>> &affectedBy) in ValidAndGetAffectedBy() 76 bool ReminderAffected::ValidStatus(const nlohmann::json &root, std::string &status) in ValidStatus()
|
| D | smart_reminder_center.cpp | 45 nlohmann::json root; in GetMultiDeviceReminder() local 94 void SmartReminderCenter::ParseReminderFilterDevice(const nlohmann::json &root, const string &devic… in ParseReminderFilterDevice() 133 const nlohmann::json &root, in ParseReminderFilterSlot() 176 const nlohmann::json &root, in ParseReminderFilterContent() 216 const nlohmann::json &root, in ParseReminderFilterCode()
|
| /base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
| D | app_provision.c | 41 static char *GetStringTag(const cJSON *root, const char *tag) in GetStringTag() 81 static char **GetStringArrayTag(const cJSON *root, const char *tag, int32_t *numReturn) in GetStringArrayTag() 128 static int32_t GetProfValidity(const cJSON *root, ProfValidity *profVal) in GetProfValidity() 152 static int32_t GetProfBundleInfo(const cJSON *root, ProfBundleInfo *profVal) in GetProfBundleInfo() 188 static int32_t GetProfPermission(const cJSON *root, ProfPermission *profVal) in GetProfPermission() 200 static int32_t GetProfDebugInfo(const cJSON *root, ProfDebugInfo *profVal) in GetProfDebugInfo() 216 static int32_t GetProfIssuerInfo(const cJSON *root, ProfileProf *pf) in GetProfIssuerInfo() 295 cJSON *root = cJSON_Parse(pfStr); in ParseProfile() local
|
| /base/hiviewdfx/hiview/base/ |
| D | dispatch_rule_parser.cpp | 33 Json::Value root; in DispatchRuleParser() local 60 void DispatchRuleParser::ParseEventTypes(const Json::Value& root) in DispatchRuleParser() 82 void DispatchRuleParser::ParseTagEvents(const Json::Value& root) in DispatchRuleParser() 101 void DispatchRuleParser::ParseEvents(const Json::Value& root) in DispatchRuleParser() 120 void DispatchRuleParser::ParseDomainRule(const Json::Value& root) in DispatchRuleParser()
|
| /base/update/updater/utils/json/ |
| D | json_node.cpp | 57 cJSON *root = cJSON_Parse(content.c_str()); in JsonNode() local 67 JsonNode::JsonNode(const cJSON *root, bool needDelete) in JsonNode() 78 void JsonNode::Init(const cJSON *root, bool needDelete) in Init() 89 void JsonNode::Parse(const cJSON *root) in Parse()
|
| /base/hiviewdfx/hiview/plugins/usage_event_report/cache/ |
| D | json_parser.cpp | 73 void JsonParser::ParseUInt32Vec(const Json::Value& root, std::vector<uint32_t>& vec) in ParseUInt32Vec() 83 void JsonParser::ParseStringVec(const Json::Value& root, std::vector<std::string>& vec) in ParseStringVec() 96 Json::Value root; in ParsePluginStatsEvent() local 120 Json::Value root; in ParseSysUsageEvent() local
|
| /base/telephony/core_service/services/sim/src/ |
| D | operator_file_parser.cpp | 34 bool OperatorFileParser::WriteOperatorConfigJson(std::string filename, const cJSON *root) in WriteOperatorConfigJson() 99 bool OperatorFileParser::ParseFromCustomSystem(int32_t slotId, OperatorConfig &opc, cJSON *root) in ParseFromCustomSystem() 131 void OperatorFileParser::CreateJsonFromOperatorConfig(cJSON *root) in CreateJsonFromOperatorConfig() 143 OperatorConfig &opc, const std::string &path, cJSON *root, bool needSaveTempOpc) in ParseOperatorConfigFromFile() 163 void OperatorFileParser::ParseOperatorConfigFromJson(const cJSON *root, OperatorConfig &opc, bool n… in ParseOperatorConfigFromJson()
|
| /base/update/updateservice/services/startup/manage/src/ |
| D | schedule_config.cpp | 30 nlohmann::json root = in InitConfig() local 52 uint64_t ScheduleConfig::ParseConfig(nlohmann::json &root, const std::string &key, uint64_t default… in ParseConfig()
|
| /base/security/selinux_adapter/interfaces/policycoreutils/src/ |
| D | contexts_trie.c | 33 static ParamHashNode *GetGroupNode(ParamContextsTrie *root, const char *name, uint32_t len) in GetGroupNode() 42 static ParamHashNode *AddGroupNode(ParamContextsTrie *root, const char *name, ParamContextsTrie *ch… in AddGroupNode() 79 static bool InsertElementToTrie(ParamContextsTrie *root, const char *element, ParamContextsTrie **c… in InsertElementToTrie() 107 static bool InsertParamToTrie(ParamContextsTrie *root, const char *paramPrefix, const char *context… in InsertParamToTrie() 139 const char *SearchFromParamTrie(ParamContextsTrie *root, const char *paraName) in SearchFromParamTrie() 175 int GetLabelIndex(ParamContextsTrie *root, const char *paraName) in GetLabelIndex() 261 static bool ReadParamFromSharedMemInit(ParamContextsTrie **root, ParamContextsList **listPtr, Share… in ReadParamFromSharedMemInit() 296 ParamContextsTrie *root = NULL; in ReadParamFromSharedMem() local
|
| D | selinux_map.c | 69 static HashNode *GetHashNodeByNode(HashNode *root, const HashNode *nodeKey) in GetHashNodeByNode() 81 static HashNode *GetHashNodeByKey(HashNode *root, const char *key) in GetHashNodeByKey() 125 static void HashListFree(HashNode *root) in HashListFree()
|
| D | sehap_contexts_trie.cpp | 88 SehapContextsTrie* root = this; in Search() local 116 SehapContextsTrie* root = this; in Clear() local
|
| /base/update/sys_installer/services/module_update/util/src/ |
| D | module_update_verify.cpp | 35 bool GetHmpType(const JsonNode &root, std::string &type) in GetHmpType() 75 bool GetPackInfoVer(const JsonNode &root, const std::string &key, std::string &version) in GetPackInfoVer() 92 JsonNode root(packInfo); in CheckPackInfoVer() local
|
| /base/update/updateservice/services/firmware/utils/src/ |
| D | firmware_check_analyze_utils.cpp | 40 nlohmann::json root; in DoAnalyze() local 65 int32_t FirmwareCheckAnalyzeUtils::AnalyzeBlVersionCheckResults(nlohmann::json &root, BlCheckRespon… in AnalyzeBlVersionCheckResults() 105 int32_t FirmwareCheckAnalyzeUtils::AnalyzeComponents(nlohmann::json &root) in AnalyzeComponents()
|
| /base/notification/distributed_notification_service/services/ans/src/common/ |
| D | notification_config_parse.cpp | 74 nlohmann::json root; in GetCurrentSlotReminder() local 150 nlohmann::json root; in GetFlowCtrlConfigFromCCM() local 186 nlohmann::json root; in GetReportTrustListConfig() local
|
| /base/customization/enterprise_device_management/services/edm_plugin/src/utils/ |
| D | password_policy_serializer.cpp | 32 cJSON* root = cJSON_Parse(jsonString.c_str()); in Deserialize() local 54 cJSON* root = nullptr; in Serialize() local
|
| /base/startup/init/services/init/ |
| D | init_config.c | 38 static void ParseInitCfgContents(const char *cfgName, const cJSON *root) in ParseInitCfgContents() 68 static void ParseAllImports(const cJSON *root) in ParseAllImports()
|
| /base/customization/enterprise_device_management/services/edm_plugin/src/ |
| D | power_policy_plugin.cpp | 104 Json::Value root; in DealPowerSuspendPolicy() local 127 bool PowerPolicyPlugin::UpdateSuspendSettingsData(Json::Value &root, const std::string &key, in UpdateSuspendSettingsData() 145 bool PowerPolicyPlugin::SetPowerPolicyObject(Json::Value &root, std::string &key, PowerPolicy &powe… in SetPowerPolicyObject()
|
| /base/powermgr/display_manager/brightness_manager/src/ |
| D | config_parser_base.cpp | 137 Json::Value root; in LoadConfigRoot() local 147 const Json::Value& root, const std::string& name, std::vector<PointXy>& data) const in ParsePointXy() argument 191 void ConfigParserBase::ParseScreenData(const Json::Value& root, const std::string& name, in ParseScreenData()
|
| /base/security/appverify/interfaces/innerkits/appverify/src/init/ |
| D | trusted_root_ca.cpp | 136 X509* root = FindMatchedRoot(rootCerts, caCert); in FindMatchedRoot() local 150 for (auto root : rootCertMap) { in FindMatchedRoot() local
|
| /base/update/updater/services/ui/view/layout/ |
| D | auto_layout.cpp | 40 void AutoLayout::SetJsonLocation(JsonNode &root) in SetJsonLocation()
|