Home
last modified time | relevance | path

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

1234

/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_listener.cpp48 Json::Value root; in OnEvent() local
59 void BatteryStatsListener::ProcessHiSysEvent(const std::string& eventName, const Json::Value& root) in ProcessHiSysEvent()
108 void BatteryStatsListener::ProcessCameraEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessCameraEvent()
137 void BatteryStatsListener::ProcessAudioEvent(StatsUtils::StatsData& data, const Json::Value& root) in ProcessAudioEvent()
163 void BatteryStatsListener::ProcessSensorEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessSensorEvent()
187 void BatteryStatsListener::ProcessGnssEvent(StatsUtils::StatsData& data, const Json::Value& root) in ProcessGnssEvent()
205 …BatteryStatsListener::ProcessBluetoothBrEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessBluetoothBrEvent()
235 …atteryStatsListener::ProcessBluetoothBleEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessBluetoothBleEvent()
263 …d BatteryStatsListener::ProcessBluetoothEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessBluetoothEvent()
274 void BatteryStatsListener::ProcessWifiEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessWifiEvent()
[all …]
Dbattery_stats_core.cpp776 void BatteryStatsCore::SaveForHardware(Json::Value& root) in SaveForHardware()
814 void BatteryStatsCore::SaveForSoftware(Json::Value& root) in SaveForSoftware()
822 void BatteryStatsCore::SaveForSoftwareCommon(Json::Value& root, int32_t uid) in SaveForSoftwareCommon()
860 void BatteryStatsCore::SaveForSoftwareConnectivity(Json::Value& root, int32_t uid) in SaveForSoftwareConnectivity()
871 void BatteryStatsCore::SaveForPower(Json::Value& root) in SaveForPower()
893 Json::Value root; in SaveBatteryStatsData() local
916 void BatteryStatsCore::UpdateStatsEntity(Json::Value &root) in UpdateStatsEntity()
959 Json::Value root; in LoadBatteryStatsData() local
/base/useriam/user_auth_framework/test/unittest/services/src/
Dwidget_client_test.cpp143 nlohmann::json root = widgetNotice; variable
154 nlohmann::json root = widgetNotice; variable
165 nlohmann::json root = widgetNotice; variable
176 nlohmann::json root = widgetNotice; variable
190 nlohmann::json root = widgetNotice; variable
206 nlohmann::json root = widgetNotice; variable
222 nlohmann::json root = widgetNotice; variable
238 nlohmann::json root = widgetNotice; variable
254 nlohmann::json root = widgetNotice; variable
270 nlohmann::json root = widgetNotice; variable
[all …]
Dwidget_json_test.cpp176 nlohmann::json root = widgetCommand; variable
207 nlohmann::json root = widgetCommand; variable
246 nlohmann::json root = widgetCmdParameters; variable
276 nlohmann::json root = widgetCmdParameters; variable
295 nlohmann::json root = widgetNotice; variable
304 auto root = nlohmann::json::parse("", nullptr, false); variable
312 auto root = nlohmann::json::parse(data, nullptr, false); variable
320 auto root = nlohmann::json::parse(data, nullptr, false); variable
329 auto root = nlohmann::json::parse("{\"payload\":123}", nullptr, false); variable
336 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/hiviewdfx/hiview/base/
Ddispatch_config.cpp34 Json::Value root; in HiviewRuleParser() local
61 void HiviewRuleParser::ParseEventTypes(const Json::Value &root) in HiviewRuleParser()
83 void HiviewRuleParser::ParseTagEvents(const Json::Value &root) in HiviewRuleParser()
102 void HiviewRuleParser::ParseEvents(const Json::Value &root) in HiviewRuleParser()
121 void HiviewRuleParser::ParseDomainRule(const Json::Value &root) in HiviewRuleParser()
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_provision.c40 static char *GetStringTag(const cJSON *root, const char *tag) in GetStringTag()
80 static char **GetStringArrayTag(const cJSON *root, const char *tag, int32_t *numReturn) in GetStringArrayTag()
126 static int32_t GetProfValidity(const cJSON *root, ProfValidity *profVal) in GetProfValidity()
150 static int32_t GetProfBundleInfo(const cJSON *root, ProfBundleInfo *profVal) in GetProfBundleInfo()
186 static int32_t GetProfPermission(const cJSON *root, ProfPermission *profVal) in GetProfPermission()
198 static int32_t GetProfDebugInfo(const cJSON *root, ProfDebugInfo *profVal) in GetProfDebugInfo()
214 static int32_t GetProfIssuerInfo(const cJSON *root, ProfileProf *pf) in GetProfIssuerInfo()
293 cJSON *root = cJSON_Parse(pfStr); in ParseProfile() local
/base/update/updater/utils/json/
Djson_node.cpp57 cJSON *root = cJSON_Parse(content.c_str()); in JsonNode() local
66 JsonNode::JsonNode(const cJSON *root, bool needDelete) in JsonNode()
77 void JsonNode::Init(const cJSON *root, bool needDelete) in Init()
88 void JsonNode::Parse(const cJSON *root) in Parse()
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
Djson_parser.cpp74 void JsonParser::ParseUInt32Vec(const Json::Value& root, std::vector<uint32_t>& vec) in ParseUInt32Vec()
84 void JsonParser::ParseStringVec(const Json::Value& root, std::vector<std::string>& vec) in ParseStringVec()
97 Json::Value root; in ParsePluginStatsEvent() local
121 Json::Value root; in ParseSysUsageEvent() local
/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()
121 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/updateservice/services/firmware/utils/src/
Dfirmware_check_analyze_utils.cpp41 nlohmann::json root; in DoAnalyze() local
66 int32_t FirmwareCheckAnalyzeUtils::AnalyzeBlVersionCheckResults(nlohmann::json &root, BlCheckRespon… in AnalyzeBlVersionCheckResults()
106 int32_t FirmwareCheckAnalyzeUtils::AnalyzeComponents(nlohmann::json &root) in AnalyzeComponents()
/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/update/updater/services/ui/view/layout/
Dauto_layout.cpp40 void AutoLayout::SetJsonLocation(JsonNode &root) in SetJsonLocation()
/base/customization/enterprise_device_management/services/edm_plugin/src/
Dpower_policy_plugin.cpp103 Json::Value root; in DealPowerSuspendPolicy() local
126 bool PowerPolicyPlugin::UpdateSuspendSettingsData(Json::Value &root, const std::string &key, in UpdateSuspendSettingsData()
144 bool PowerPolicyPlugin::SetPowerPolicyObject(Json::Value &root, std::string &key, PowerPolicy &powe… in SetPowerPolicyObject()
/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/updateservice/services/core/ability/adapter/src/
Dconfig_parse.cpp61 nlohmann::json root = nlohmann::json::parse(rawJson, nullptr, false); in LoadConfigInfo() local
/base/hiviewdfx/hiview/base/event_store/config/src/
Devent_store_config.cpp35 uint32_t ParseUint32(const Json::Value& root, const std::string& key) in ParseUint32()
47 Json::Value root; in Init() local
/base/powermgr/display_manager/brightness_manager/src/
Dcalculation_config_parser.cpp35 const Json::Value root = ConfigParserBase::Get().LoadConfigRoot(displayId, CONFIG_NAME); in ParseConfig() local
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/
Dmap_string_serializer.cpp26 Json::Value root; in Deserialize() local
59 Json::Value root; in Serialize() local
/base/telephony/telephony_data/common/src/
Dparser_util.cpp114 Json::Value root; in ParserPdpProfileJson() local
133 void ParserUtil::ParserPdpProfileInfos(std::vector<PdpProfile> &vec, Json::Value &root) in ParserPdpProfileInfos()
238 Json::Value root; in ParserOpKeyJson() local
257 void ParserUtil::ParserOpKeyInfos(std::vector<OpKey> &vec, Json::Value &root) in ParserOpKeyInfos()
357 Json::Value root; in ParserNumMatchJson() local
375 void ParserUtil::ParserNumMatchInfos(std::vector<NumMatch> &vec, Json::Value &root) in ParserNumMatchInfos()
424 Json::Value root; in ParserEccDataJson() local
/base/update/updateservice/services/firmware/check/include/
Dfirmware_icheck.h106 nlohmann::json root = nlohmann::json::parse(response.content, nullptr, false); in DoAction() local
121 cJSON *root = cJSON_Parse(buffer.data()); in ParseJsonFile() local
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Devent_query_wrapper_builder.cpp67 bool ConditionParser::ParseJsonString(const Json::Value& root, const std::string& key, std::string&… in ParseJsonString()
96 bool ConditionParser::ParseLogicCondition(const Json::Value& root, const std::string& logic, in ParseLogicCondition()
133 bool ConditionParser::ParseAndCondition(const Json::Value& root, EventStore::Cond& condition) in ParseAndCondition()
138 bool ConditionParser::ParseQueryConditionJson(const Json::Value& root, EventStore::Cond& condition) in ParseQueryConditionJson()
156 Json::Value root; in ParseQueryCondition() local

1234