Home
last modified time | relevance | path

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

12

/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()
105 void BatteryStatsListener::ProcessCameraEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessCameraEvent()
134 void BatteryStatsListener::ProcessAudioEvent(StatsUtils::StatsData& data, const Json::Value& root) in ProcessAudioEvent()
160 void BatteryStatsListener::ProcessSensorEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessSensorEvent()
184 void BatteryStatsListener::ProcessGnssEvent(StatsUtils::StatsData& data, const Json::Value& root) in ProcessGnssEvent()
202 …BatteryStatsListener::ProcessBluetoothBrEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessBluetoothBrEvent()
232 …atteryStatsListener::ProcessBluetoothBleEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessBluetoothBleEvent()
260 …d BatteryStatsListener::ProcessBluetoothEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessBluetoothEvent()
271 void BatteryStatsListener::ProcessWifiEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessWifiEvent()
[all …]
Dbattery_stats_core.cpp772 void BatteryStatsCore::SaveForHardware(Json::Value& root) in SaveForHardware()
810 void BatteryStatsCore::SaveForSoftware(Json::Value& root) in SaveForSoftware()
818 void BatteryStatsCore::SaveForSoftwareCommon(Json::Value& root, int32_t uid) in SaveForSoftwareCommon()
856 void BatteryStatsCore::SaveForSoftwareConnectivity(Json::Value& root, int32_t uid) in SaveForSoftwareConnectivity()
867 void BatteryStatsCore::SaveForPower(Json::Value& root) in SaveForPower()
889 Json::Value root; in SaveBatteryStatsData() local
915 Json::Value root; in LoadBatteryStatsData() local
Dbattery_stats_parser.cpp59 Json::Value root; in LoadAveragePowerFromFile() local
/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/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_provision.c34 static char *GetStringTag(const cJSON *root, const char *tag) in GetStringTag()
74 static char **GetStringArrayTag(const cJSON *root, const char *tag, int *numReturn) in GetStringArrayTag()
120 static int GetProfValidity(const cJSON *root, ProfValidity *profVal) in GetProfValidity()
144 static int GetProfBundleInfo(const cJSON *root, ProfBundleInfo *profVal) in GetProfBundleInfo()
180 static int GetProfPermission(const cJSON *root, ProfPermission *profVal) in GetProfPermission()
192 static int GetProfDebugInfo(const cJSON *root, ProfDebugInfo *profVal) in GetProfDebugInfo()
208 static int GetProfIssuerInfo(const cJSON *root, ProfileProf *pf) in GetProfIssuerInfo()
287 cJSON *root = cJSON_Parse(pfStr); in ParseProfile() local
/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/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/security/selinux/interfaces/policycoreutils/src/
Dcontexts_trie.c30 static ParamHashNode *GetGroupNode(ParamContextsTrie *root, const char *name, uint32_t len) in GetGroupNode()
39 static ParamHashNode *AddGroupNode(ParamContextsTrie *root, const char *name, ParamContextsTrie *ch… in AddGroupNode()
76 static bool InsertElementToTrie(ParamContextsTrie *root, const char *element, ParamContextsTrie **c… in InsertElementToTrie()
103 static bool InsertParamToTrie(ParamContextsTrie *root, const char *paramPrefix, const char *context… in InsertParamToTrie()
135 const char *SearchFromParamTrie(ParamContextsTrie *root, const char *paraName) in SearchFromParamTrie()
215 ParamContextsTrie *root = (ParamContextsTrie *)calloc(1, sizeof(ParamContextsTrie)); in ReadParamFromSharedMem() local
Dselinux_map.c74 static HashNode *GetHashNodeByNode(HashNode *root, const HashNode *nodeKey) in GetHashNodeByNode()
86 static HashNode *GetHashNodeByKey(HashNode *root, const char *key) in GetHashNodeByKey()
152 static void HashListFree(HashNode *root) in HashListFree()
/base/startup/init/services/init/
Dinit_config.c24 static void ParseInitCfgContents(const char *cfgName, const cJSON *root) in ParseInitCfgContents()
60 static void ParseAllImports(const cJSON *root) in ParseAllImports()
/base/security/appverify/interfaces/innerkits/appverify/src/init/
Dtrusted_root_ca.cpp129 X509* root = FindMatchedRoot(rootCerts, caCert); in FindMatchedRoot() local
143 for (auto root : rootCertMap) { in FindMatchedRoot() local
/base/telephony/data_storage/common/src/
Dparser_util.cpp83 Json::Value root; in ParserPdpProfileJson() local
101 void ParserUtil::ParserPdpProfileInfos(std::vector<PdpProfile> &vec, Json::Value &root) in ParserPdpProfileInfos()
186 Json::Value root; in ParserOpKeyJson() local
204 void ParserUtil::ParserOpKeyInfos(std::vector<OpKey> &vec, Json::Value &root) in ParserOpKeyInfos()
/base/customization/enterprise_device_management/services/edm/src/utils/
Dmap_string_serializer.cpp26 Json::Value root; in Deserialize() local
54 Json::Value root; in Serialize() local
/base/security/device_security_level/oem_property/common/
Ddslm_credential_utils.h35 PublicKey root; member
/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()
98 bool ConditionParser::ParseLogicCondition(const Json::Value& root, const std::string& logic, in ParseLogicCondition()
135 bool ConditionParser::ParseOrCondition(const Json::Value& root, EventStore::Cond& condition) in ParseOrCondition()
140 bool ConditionParser::ParseAndCondition(const Json::Value& root, EventStore::Cond& condition) in ParseAndCondition()
145 bool ConditionParser::ParseQueryConditionJson(const Json::Value& root, EventStore::Cond& condition) in ParseQueryConditionJson()
166 Json::Value root; in ParseQueryCondition() local
/base/startup/init/services/utils/
Dinit_hashmap.c48 static HashNode *GetHashNodeByNode(const HashTab *tab, const HashNode *root, const HashNode *new) in GetHashNodeByNode()
61 static HashNode *GetHashNodeByKey(const HashTab *tab, const HashNode *root, const void *key, HashKe… in GetHashNodeByKey()
135 static void HashListFree(HashTab *tab, HashNode *root) in HashListFree()
/base/telephony/core_service/services/sim/src/
Doperator_file_parser.cpp34 bool OperatorFileParser::WriteOperatorConfigJson(std::string filename, const Json::Value &root) in WriteOperatorConfigJson()
135 void OperatorFileParser::ParseOperatorConfigFromJson(const Json::Value &root, OperatorConfig &opc) in ParseOperatorConfigFromJson()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/
Drbtree.h47 struct RbTreeNode *root; member
/base/hiviewdfx/hiview/utility/smart_parser/rule/
Dcompose_rule.cpp41 Json::Value root; in ParseComposeRule() local
/base/update/updater/services/updater_binary/
Dupdate_partitions.cpp34 cJSON* root = cJSON_Parse(partitionInfo.c_str()); in ParsePartitionInfo() local
/base/startup/init/services/modules/bootevent/
Dbootevent.c150 static int AddItemToJson(cJSON *root, const char *name, double startTime, int pid, double durTime) in AddItemToJson()
164 static int BootEventTraversal(ListNode *node, void *root) in BootEventTraversal()
206 cJSON *root = cJSON_CreateArray(); in SaveServiceBootEvent() local
/base/customization/enterprise_device_management/services/edm/include/
Dipolicy_serializer.h115 Json::Value root; in Deserialize() local
/base/update/updater/services/ui/language/
Dlanguage_ui.cpp89 JsonNode root {std::filesystem::path { file }}; in ParseJson() local
/base/update/updater/services/ui/view/layout/
Dlayout_parser.cpp77 bool ParseViewInfo(const JsonNode &root, std::vector<UxViewInfo> &vec) const in ParseViewInfo() argument
/base/startup/init/interfaces/innerkits/sandbox/
Dsandbox.c283 static int GetSandboxInfo(sandbox_t *sandbox, cJSON *root, const char *itemName) in GetSandboxInfo()
312 static int ParseSandboxConfig(cJSON *root, sandbox_t *sandbox) in ParseSandboxConfig()
355 cJSON *root = cJSON_Parse(contents); in ParseInitSandboxConfigFile() local

12