Home
last modified time | relevance | path

Searched defs:root (Results 1 – 25 of 132) sorted by relevance

123456

/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_listener.cpp59 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 …]
Dbattery_stats_core.cpp782 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/
Dwidget_client_test.cpp144 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 …]
Dwidget_json_test.cpp176 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/
Dlogger_event.cpp28 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/
Dreminder_affected.cpp23 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()
Dsmart_reminder_center.cpp45 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/
Dapp_provision.c41 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/
Ddispatch_rule_parser.cpp33 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/
Djson_node.cpp57 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/
Djson_parser.cpp73 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/
Doperator_file_parser.cpp34 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/
Dschedule_config.cpp30 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/
Dcontexts_trie.c33 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
Dselinux_map.c69 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()
Dsehap_contexts_trie.cpp88 SehapContextsTrie* root = this; in Search() local
116 SehapContextsTrie* root = this; in Clear() local
/base/update/sys_installer/services/module_update/util/src/
Dmodule_update_verify.cpp35 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/
Dfirmware_check_analyze_utils.cpp40 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/
Dnotification_config_parse.cpp74 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/
Dpassword_policy_serializer.cpp32 cJSON* root = cJSON_Parse(jsonString.c_str()); in Deserialize() local
54 cJSON* root = nullptr; in Serialize() local
/base/startup/init/services/init/
Dinit_config.c38 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/
Dpower_policy_plugin.cpp104 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/
Dconfig_parser_base.cpp137 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/
Dtrusted_root_ca.cpp136 X509* root = FindMatchedRoot(rootCerts, caCert); in FindMatchedRoot() local
150 for (auto root : rootCertMap) { in FindMatchedRoot() local
/base/update/updater/services/ui/view/layout/
Dauto_layout.cpp40 void AutoLayout::SetJsonLocation(JsonNode &root) in SetJsonLocation()

123456