/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/config/ |
H A D | audio_policy_parser.h | 56 PipeType GetPipeInfoTypeAsInt(xmlNode &node); 60 StreamType GetStreamTypeAsInt(xmlNode &node); 62 bool ParseInternal(xmlNode &node); 63 void ParseAdapters(xmlNode &node); 64 void ParseAdapter(xmlNode &node); 74 void ParseGlobalConfigs(xmlNode& node); 75 void ParsePAConfigs(xmlNode& node); 76 void ParseDefaultMaxInstances(xmlNode& node); 77 void ParseOutputMaxInstances(xmlNode& node); 78 void ParseInputMaxInstances(xmlNode& node); [all …]
|
H A D | audio_focus_parser.h | 47 void ParseFocusChildrenMap(xmlNode *node, const std::string &curStream, 49 …void ParseFocusMap(xmlNode *node, const std::string &curStream, std::map<std::pair<AudioFocusType,… 51 void ParseStreams(xmlNode *node, std::map<std::pair<AudioFocusType, AudioFocusType>, 53 void AddAllowedFocusEntry(xmlNode *currNode, const std::string &curStream, 55 void ParseAllowedStreams(xmlNode *node, const std::string &curStream, 57 void AddRejectedFocusEntry(xmlNode *currNode, const std::string &curStream, 59 void ParseRejectedStreams(xmlNode *node, const std::string &curStream,
|
H A D | audio_device_parser.h | 75 DeviceNodeName GetDeviceNodeNameAsInt(xmlNode *node); 76 bool ParseInternal(xmlNode *node); 77 void ParseDevicePrivacyInfo(xmlNode *node, std::list<DevicePrivacyInfo> &deviceLists); 78 void ParserDevicePrivacyInfoList(xmlNode *node, std::list<DevicePrivacyInfo> &deviceLists); 79 void ParseAudioDevicePrivacyType(xmlNode *node, AudioDevicePrivacyType &deviceType); 83 std::string ExtractPropertyValue(const std::string &propName, xmlNode *node);
|
H A D | audio_volume_parser.h | 46 void ParseStreamInfos(xmlNode *node, StreamVolumeInfoMap &streamVolumeInfoMap); 47 void ParseStreamVolumeInfoAttr(xmlNode *node, std::shared_ptr<StreamVolumeInfo> &streamVolInfo); 48 void ParseDeviceVolumeInfos(xmlNode *node, std::shared_ptr<StreamVolumeInfo> &streamVolInfo); 49 void ParseVolumePoints(xmlNode *node, std::shared_ptr<DeviceVolumeInfo> &deviceVolInfo);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/config/ |
H A D | xml_parser.h | 50 static int32_t GetHgmXmlNodeAsInt(xmlNode &node); 51 bool ParseInternal(xmlNode &node); 52 int32_t ParseParam(xmlNode &node); 53 int32_t ParseParams(xmlNode &node); 54 int32_t ParseStrategyConfig(xmlNode &node); 55 int32_t ParseScreenConfig(xmlNode &node); 60 int32_t ParseSceneList(xmlNode &node, PolicyConfigData::SceneConfigMap &sceneList); 63 int32_t ParseVideoFrameVoteConfig(xmlNode &node); 64 std::string ExtractPropertyValue(const std::string &propName, xmlNode &node); 66 int32_t ParseSubSequentParams(xmlNode &node, std::string ¶Name); [all …]
|
H A D | xml_parser.cpp | 77 bool XMLParser::ParseInternal(xmlNode &node) in ParseInternal() 80 xmlNode *currNode = &node; in ParseInternal() 105 int32_t XMLParser::ParseParam(xmlNode &node) in ParseParam() 209 xmlNode *currNode = &node; in ParseStrategyConfig() 255 xmlNode *currNode = &node; in ParseAppBufferList() 308 xmlNode *currNode = &node; in ParseScreenConfig() 336 xmlNode *thresholdNode = &node; in ParseSubScreenConfig() 376 xmlNode *currNode = &node; in ParseSimplex() 407 xmlNode *currNode = &node; in ParserDynamicSetting() 448 xmlNode *currNode = &node; in ParseSceneList() [all …]
|
/ohos5.0/foundation/resourceschedule/soc_perf/services/core/include/ |
H A D | socperf_config.h | 48 … bool ParseBoostXmlFile(const xmlNode* rootNode, const std::string& realConfigFile, xmlDoc* file); 49 …bool ParseResourceXmlFile(const xmlNode* rootNode, const std::string& realConfigFile, xmlDoc* file… 50 bool LoadResource(xmlNode* rootNode, const std::string& configFile); 51 bool TraversalFreqResource(xmlNode* grandson, const std::string& configFile); 52 …bool LoadFreqResourceContent(int32_t persistMode, xmlNode* greatGrandson, const std::string& confi… 54 int32_t GetXmlIntProp(const xmlNode* xmlNode, const char* propName) const; 55 bool LoadGovResource(xmlNode* rootNode, const std::string& configFile); 56 …bool TraversalGovResource(int32_t persistMode, xmlNode* greatGrandson, const std::string& configFi… 58 void LoadInfo(xmlNode* child, const std::string& configFile); 59 bool LoadCmd(const xmlNode* rootNode, const std::string& configFile); [all …]
|
/ohos5.0/foundation/multimedia/player_framework/services/engine/common/recorder_profiles/ |
H A D | recorder_profiles_xml_parser.h | 43 bool ParseInternal(xmlNode *node) override; 48 RecorderProfilesNodeName GetNodeNameAsInt(xmlNode *node); 59 bool ParseRecorderCapsData(xmlNode *node); 60 bool ParseRecorderContainerFormatData(xmlNode *node); 61 bool ParseRecorderEncodeCapsData(xmlNode *node, bool isVideo); 62 bool ParseRecorderProfilesData(xmlNode *node); 63 bool ParseRecorderProfilesSourceData(const std::string &sourceType, xmlNode *node); 64 bool ParseRecorderProfileSettingsData(xmlNode *node, RecorderProfilesData &capabilityData); 71 xmlNode *node, RecorderProfilesData &capabilityData, const std::string &capabilityKey); 73 xmlNode *node, RecorderProfilesData &capabilityData, const std::string &capabilityKey); [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/effect/ |
H A D | audio_effect_config_parser.cpp | 121 xmlNode *currNode = secondNode; in LoadLibrary() 177 xmlNode *currNode = thirdNode->xmlChildrenNode; in LoadEffectProperty() 207 xmlNode *currNode = secondNode; in LoadEffect() 295 xmlNode *currNode = secondNode; in LoadEffectChain() 428 xmlNode *currNode = thirdNode; in LoadPreStreamScenes() 496 xmlNode *currNode = secondNode; in LoadPreProcessCfg() 546 xmlNode *currNode = thirdNode; in LoadStreamUsageMapping() 655 xmlNode *currNode = thirdNode; in LoadPostStreamScenes() 741 xmlNode *currNode = secondNode; in LoadPostProcessCfg() 813 xmlNode *rootElement = nullptr; in LoadEffectConfig() [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/ |
H A D | audio_policy_parser.cpp | 118 xmlNode *currNode = &node; in ParseInternal() 145 xmlNode *currNode = nullptr; in ParseAdapters() 453 xmlNode *configNode = nullptr; in ParseConfigs() 491 xmlNode *currNode = nullptr; in ParseDevices() 522 xmlNode *currNode = nullptr; in ParseGroups() 535 xmlNode *currNode = nullptr; in ParseGroup() 549 xmlNode *currNode = nullptr; in ParseGroupSink() 611 xmlNode *currNode = nullptr; in ParsePAConfigs() 662 xmlNode *currNode = nullptr; in ParseOutputMaxInstances() 681 xmlNode *currNode = nullptr; in ParseInputMaxInstances() [all …]
|
H A D | audio_device_parser.cpp | 42 xmlNode *root = xmlDocGetRootElement(mDoc_); in Parse() 60 bool AudioDeviceParser::ParseInternal(xmlNode *node) in ParseInternal() 62 xmlNode *currNode = node; in ParseInternal() 78 void AudioDeviceParser::ParseDevicePrivacyInfo(xmlNode *node, std::list<DevicePrivacyInfo> &deviceL… in ParseDevicePrivacyInfo() 80 xmlNode *deviceNode = node; in ParseDevicePrivacyInfo() 124 void AudioDeviceParser::ParserDevicePrivacyInfoList(xmlNode *node, std::list<DevicePrivacyInfo> &de… in ParserDevicePrivacyInfoList() 126 xmlNode *currentNode = node; in ParserDevicePrivacyInfoList() 136 void AudioDeviceParser::ParseAudioDevicePrivacyType(xmlNode *node, AudioDevicePrivacyType &deviceTy… in ParseAudioDevicePrivacyType() 138 xmlNode *currNode = node; in ParseAudioDevicePrivacyType() 172 std::string AudioDeviceParser::ExtractPropertyValue(const std::string &propName, xmlNode *node) in ExtractPropertyValue() [all …]
|
H A D | audio_volume_parser.cpp | 56 xmlNode *rootElement = nullptr; in ParseVolumeConfig() 63 xmlNode *currNode = rootElement; in ParseVolumeConfig() 134 void AudioVolumeParser::ParseStreamInfos(xmlNode *node, StreamVolumeInfoMap &streamVolumeInfoMap) in ParseStreamInfos() 136 xmlNode *currNode = node; in ParseStreamInfos() 151 void AudioVolumeParser::ParseStreamVolumeInfoAttr(xmlNode *node, std::shared_ptr<StreamVolumeInfo> … in ParseStreamVolumeInfoAttr() 153 xmlNode *currNode = node; in ParseStreamVolumeInfoAttr() 180 void AudioVolumeParser::ParseDeviceVolumeInfos(xmlNode *node, std::shared_ptr<StreamVolumeInfo> &st… in ParseDeviceVolumeInfos() 182 xmlNode *currNode = node; in ParseDeviceVolumeInfos() 201 void AudioVolumeParser::ParseVolumePoints(xmlNode *node, std::shared_ptr<DeviceVolumeInfo> &deviceV… in ParseVolumePoints() 203 xmlNode *currNode = node; in ParseVolumePoints()
|
H A D | audio_focus_parser.cpp | 141 xmlNode *rootElement = nullptr; in LoadConfig() 158 xmlNode *currNode = rootElement; in LoadConfig() 197 xmlNode *sNode = node; in ParseFocusChildrenMap() 210 void AudioFocusParser::ParseFocusMap(xmlNode *node, const std::string &curStream, in ParseFocusMap() 213 xmlNode *currNode = node; in ParseFocusMap() 225 void AudioFocusParser::ParseStreams(xmlNode *node, in ParseStreams() 228 xmlNode *currNode = node; in ParseStreams() 271 void AudioFocusParser::ParseRejectedStreams(xmlNode *node, const std::string &curStream, in ParseRejectedStreams() 274 xmlNode *currNode = node; in ParseRejectedStreams() 328 void AudioFocusParser::ParseAllowedStreams(xmlNode *node, const std::string &curStream, in ParseAllowedStreams() [all …]
|
H A D | audio_tone_parser.cpp | 36 xmlNode *rootElement = nullptr; in LoadConfig() 41 xmlNode *currNode = rootElement; in LoadConfig() 76 void AudioToneParser::ParseToneInfoAttribute(xmlNode *sNode, std::shared_ptr<ToneInfo> ltoneDesc) in ParseToneInfoAttribute() 121 void AudioToneParser::ParseToneInfo(xmlNode *node, std::unordered_map<int32_t, in ParseToneInfo() 124 xmlNode *currNode = node; in ParseToneInfo() 139 xmlNode *sNode = currNode->xmlChildrenNode; in ParseToneInfo() 148 void AudioToneParser::ParseSegment(xmlNode *node, int SegInx, std::shared_ptr<ToneInfo> ltoneDesc) in ParseSegment() 150 xmlNode *currNode = node; in ParseSegment()
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_xml_utils.cpp | 36 static xmlNode *CreateElementNode(Element &element); 37 static xmlNode *CreatePrimitiveNode(Element &element); 38 static xmlNode *CreateStringNode(Element &element); 39 static xmlNode *CreateArrayNode(Element &element); 161 const xmlNode *cur = nullptr; in ReadSettingXml() 267 const xmlNode *children = node->children; in ParseArrayNodeElement() 274 const xmlNode *cur = nullptr; in ParseArrayNodeElement() 383 xmlNode *CreateElementNode(Element &element) in CreateElementNode() 406 xmlNode *CreatePrimitiveNode(Element &element) in CreatePrimitiveNode() 423 xmlNode *CreateStringNode(Element &element) in CreateStringNode() [all …]
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched_executor/plugins/socperf_executor_plugin/framework/include/ |
H A D | socperf_executor_config.h | 43 …bool ParseResourceXmlFile(const xmlNode* rootNode, const std::string& realConfigFile, xmlDoc* file… 44 bool LoadResource(xmlNode* rootNode, const std::string& configFile); 45 bool TraversalFreqResource(xmlNode* grandson, const std::string& configFile); 46 …bool LoadFreqResourceContent(int32_t persistMode, xmlNode* greatGrandson, const std::string& confi… 48 int32_t GetXmlIntProp(const xmlNode* xmlNode, const char* propName) const; 49 bool LoadGovResource(xmlNode* rootNode, const std::string& configFile); 50 …bool TraversalGovResource(int32_t persistMode, xmlNode* greatGrandson, const std::string& configFi…
|
/ohos5.0/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | rule_cluster.cpp | 83 xmlNode* root = xmlDocGetRootElement(doc); in ParseRuleFile() 91 for (xmlNode* node = root; node; node = node->next) { in ParseRuleFile() 106 void FreezeRuleCluster::ParseTagFreeze(xmlNode* tag) in ParseTagFreeze() 108 for (xmlNode* node = tag->children; node; node = node->next) { in ParseTagFreeze() 115 void FreezeRuleCluster::ParseTagRules(xmlNode* tag) in ParseTagRules() 117 for (xmlNode* node = tag->children; node; node = node->next) { in ParseTagRules() 124 void FreezeRuleCluster::ParseTagRule(xmlNode* tag) in ParseTagRule() 139 for (xmlNode* node = tag->children; node; node = node->next) { in ParseTagRule() 153 void FreezeRuleCluster::ParseTagLinks(xmlNode* tag, FreezeRule& rule) in ParseTagLinks() 155 for (xmlNode* node = tag->children; node; node = node->next) { in ParseTagLinks() [all …]
|
H A D | rule_cluster.h | 170 void ParseTagFreeze(xmlNode* tag); 171 void ParseTagRules(xmlNode* tag); 172 void ParseTagRule(xmlNode* tag); 173 void ParseTagLinks(xmlNode* tag, FreezeRule& rule); 174 void ParseTagEvent(xmlNode* tag, FreezeResult& result); 175 void ParseTagResult(xmlNode* tag, FreezeResult& result); 176 void ParseTagRelevance(xmlNode* tag, FreezeResult& result); 178 T GetAttributeValue(xmlNode* node, const std::string& name);
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/src/config/ |
H A D | audio_param_parser.cpp | 65 xmlNode *root = xmlDocGetRootElement(doc); in LoadConfiguration() 81 bool AudioParamParser::ParseInternal(xmlNode *node, in ParseInternal() 84 xmlNode *currNode = node; in ParseInternal() 102 void AudioParamParser::ParseMainKeys(xmlNode *node, in ParseMainKeys() 105 xmlNode* mainKeysNode = node->xmlChildrenNode; in ParseMainKeys() 114 void AudioParamParser::ParseMainKey(xmlNode *node, in ParseMainKey() 123 xmlNode *mainKeyNode = node->xmlChildrenNode; in ParseMainKey() 132 void AudioParamParser::ParseSubKeys(xmlNode *node, std::string &mainKeyName, in ParseSubKeys() 137 xmlNode *subKeyNode = node->xmlChildrenNode; in ParseSubKeys() 156 std::string AudioParamParser::ExtractPropertyValue(const std::string &propName, xmlNode &node) in ExtractPropertyValue()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/include/ |
H A D | config_reader.h | 51 static bool IsInvalidNode(const xmlNode& currNode); 52 void ParseProperties(const xmlNode& currNode, std::map<std::string, std::string>& properties); 53 void ParseSubItem(const xmlNode& currNode, Item& item); 54 void ParseItem(const xmlNode& parentNode, PluginConfig& pluginConfig); 55 void ParseConfig(const xmlNode& parentNode, PluginConfigMap& pluginConfigMap); 58 …bool ParsePluginConfig(const xmlNode& currNode, std::map<std::string, PluginConfigMap>& pluginConf…
|
/ohos5.0/foundation/resourceschedule/qos_manager/common/include/ |
H A D | config_reader.h | 35 bool IsValidNode(const xmlNode* currNode); 38 bool FillinUidInfo(const xmlNode* currNode); 39 bool FillinBundleNameInfo(const xmlNode* currNode); 40 void ParseAuth(const xmlNode* currNode); 41 void ParsePowerMode(const xmlNode* currNode);
|
/ohos5.0/foundation/resourceschedule/soc_perf/services/core/src/ |
H A D | socperf_config.cpp | 120 xmlNode* rootNode = xmlDocGetRootElement(file); in LoadConfigXmlFile() 179 xmlNode* child = rootNode->children; in ParseResourceXmlFile() 198 xmlNode* grandson = child->children; in LoadResource() 229 xmlNode* greatGrandson = grandson->children; in TraversalFreqResource() 295 xmlNode* grandson = child->children; in LoadGovResource() 310 xmlNode* greatGrandson = grandson->children; in LoadGovResource() 340 xmlNode* grandson = child->children; in LoadInfo() 394 xmlNode* child = rootNode->children; in LoadCmd() 406 xmlNode* grandson = child->children; in LoadCmd() 502 int32_t SocPerfConfig::GetXmlIntProp(const xmlNode* xmlNode, const char* propName) const in GetXmlIntProp() argument [all …]
|
/ohos5.0/base/powermgr/thermal_manager/test/unittest/include/ |
H A D | thermal_config_file_parser.h | 59 … const std::string& name, const xmlNode* cur, std::shared_ptr<ThermalConfigSensorCluster>& sc); 60 …void ParseSensorInfo(const std::string& name, const xmlNode* cur, std::shared_ptr<ThermalConfigSen… 61 std::vector<AuxLevelItem> ParseAuxSensorSubnodeInfo(const xmlNode* cur, 63 …bool ParseAuxSensorSubnodeInfoTrigerRange(const xmlNode* subNode, std::vector<std::string>& auxSen… 65 …void ParseSensorSubnodeInfo(const xmlNode* cur, std::vector<LevelItem>& vItem, std::vector<std::st… 67 void ParsePolicySubnode(const xmlNode* cur, PolicyConfig& policyConfig);
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/include/config/ |
H A D | audio_param_parser.h | 42 bool ParseInternal(xmlNode *node, 44 void ParseMainKeys(xmlNode *node, 46 void ParseMainKey(xmlNode *node, 48 void ParseSubKeys(xmlNode *node, std::string &className, 51 std::string ExtractPropertyValue(const std::string &propName, xmlNode &node);
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched_executor/plugins/socperf_executor_plugin/framework/src/ |
H A D | socperf_executor_config.cpp | 91 xmlNode* rootNode = xmlDocGetRootElement(file); in LoadConfigXmlFile() 115 bool SocPerfConfig::ParseResourceXmlFile(const xmlNode* rootNode, const std::string& realConfigFile… in ParseResourceXmlFile() 117 xmlNode* child = rootNode->children; in ParseResourceXmlFile() 132 bool SocPerfConfig::LoadResource(xmlNode* child, const std::string& configFile) in LoadResource() 134 xmlNode* grandson = child->children; in LoadResource() 150 bool SocPerfConfig::TraversalFreqResource(xmlNode* grandson, const std::string& configFile) in TraversalFreqResource() 165 xmlNode* greatGrandson = grandson->children; in TraversalFreqResource() 224 bool SocPerfConfig::LoadGovResource(xmlNode* child, const std::string& configFile) in LoadGovResource() 226 xmlNode* grandson = child->children; in LoadGovResource() 241 xmlNode* greatGrandson = grandson->children; in LoadGovResource() [all …]
|