Home
last modified time | relevance | path

Searched refs:configFilePath (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_uni_render_judgement_test.cpp80 std::string configFilePath = configPath + configName; variable
82 std::ifstream configFile = std::ifstream(configFilePath.c_str());
87 std::string rsCmd = "touch " + configFilePath;
89 std::ofstream writeFile = std::ofstream(configFilePath.c_str());
94 configFile = std::ifstream(configFilePath.c_str());
98 rsCmd = "rm " + configFilePath;
/ohos5.0/base/web/webview/test/unittest/nweb_config_helper_test/
H A Dnweb_config_helper_test.cpp54 std::string configFilePath = "nonexistent.xml"; variable
55 EXPECT_NO_THROW(NWebConfigHelper::Instance().ParseWebConfigXml(configFilePath, initArgs));
66 std::string configFilePath = "invalid_root.xml"; variable
67 EXPECT_NO_THROW(NWebConfigHelper::Instance().ParseWebConfigXml(configFilePath, initArgs));
78 std::string configFilePath = "valid_init.xml"; variable
79 EXPECT_NO_THROW(NWebConfigHelper::Instance().ParseWebConfigXml(configFilePath, initArgs));
90 std::string configFilePath = "valid_delete.xml"; variable
91 EXPECT_NO_THROW(NWebConfigHelper::Instance().ParseWebConfigXml(configFilePath, initArgs));
102 std::string configFilePath = "valid_performance.xml"; variable
103 EXPECT_NO_THROW(NWebConfigHelper::Instance().ParseWebConfigXml(configFilePath, initArgs));
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_uni_render_judgement_test.cpp79 std::string configFilePath = configPath + configName; variable
81 std::ifstream configFile = std::ifstream(configFilePath.c_str());
86 std::string rsCmd = "touch " + configFilePath;
88 std::ofstream writeFile = std::ofstream(configFilePath.c_str());
93 configFile = std::ifstream(configFilePath.c_str());
97 rsCmd = "rm " + configFilePath;
/ohos5.0/foundation/resourceschedule/qos_manager/common/src/
H A Dconfig_reader.cpp200 char* configFilePath = GetOneCfgFile(configName, buf, PATH_MAX); in GetRealConfigPath() local
202 if (!configFilePath || strlen(configFilePath) == 0 || strlen(configFilePath) > PATH_MAX || in GetRealConfigPath()
203 !realpath(configFilePath, tmpPath)) { in GetRealConfigPath()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/process_group/src/
H A Dcgroup_action.cpp217 char* configFilePath = GetOneCfgFile(CGROUP_SETTING_CONFIG_FILE, buf, PATH_MAX + 1); in ParseConfigFileToJsonObj() local
219 if (!configFilePath || strlen(configFilePath) == 0 || strlen(configFilePath) > PATH_MAX || in ParseConfigFileToJsonObj()
220 !realpath(configFilePath, tmpPath)) { in ParseConfigFileToJsonObj()
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_manager_config_test.cpp143 …auto configFilePath = DisplayManagerConfig::GetConfigPath("etc/window/resources/display_manager_co… variable
144 xmlDocPtr docPtr = xmlReadFile(configFilePath.c_str(), nullptr, XML_PARSE_NOBLANKS);
190 …auto configFilePath = DisplayManagerConfig::GetConfigPath("etc/window/resources/display_manager_co… variable
191 xmlDocPtr docPtr = xmlReadFile(configFilePath.c_str(), nullptr, XML_PARSE_NOBLANKS);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_property_trace.cpp94 std::string configFilePath = ANIMATION_LOG_PATH + CONFIG_FILE_NAME; in InitNodeAndPropertyInfo() local
96 if (!PathToRealPath(configFilePath, newpath)) { in InitNodeAndPropertyInfo()
171 std::string configFilePath = ANIMATION_LOG_PATH + CONFIG_FILE_NAME; in IsNeedRefreshConfig() local
172 if (stat(configFilePath.c_str(), &configFileStatus)) { in IsNeedRefreshConfig()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_uni_render_judgement.cpp63 std::string configFilePath = CONFIG_PATH + UNIRENDER_CONFIG_FILE_NAME; in InitUniRenderWithConfigFile() local
64 std::ifstream configFile = std::ifstream(configFilePath.c_str()); in InitUniRenderWithConfigFile()
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_scene_config_test.cpp164 …auto configFilePath = ScreenSceneConfig::GetConfigPath("etc/window/resources/display_manager_confi… variable
165 xmlDocPtr docPtr = xmlReadFile(configFilePath.c_str(), nullptr, XML_PARSE_NOBLANKS);
206 …auto configFilePath = ScreenSceneConfig::GetConfigPath("etc/window/resources/display_manager_confi… variable
207 xmlDocPtr docPtr = xmlReadFile(configFilePath.c_str(), nullptr, XML_PARSE_NOBLANKS);
253 …auto configFilePath = ScreenSceneConfig::GetConfigPath("etc/window/resources/display_manager_confi… variable
254 xmlDocPtr docPtr = xmlReadFile(configFilePath.c_str(), nullptr, XML_PARSE_NOBLANKS);
/ohos5.0/foundation/window/window_manager/dmserver/src/
H A Ddisplay_manager_config.cpp80 auto configFilePath = GetConfigPath("etc/window/resources/display_manager_config.xml"); in LoadConfigXml() local
84 docPtr = xmlReadFile(configFilePath.c_str(), nullptr, XML_PARSE_NOBLANKS); in LoadConfigXml()
86 WLOGFI("[DmConfig] filePath: %{public}s", configFilePath.c_str()); in LoadConfigXml()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched_executor/plugins/socperf_executor_plugin/framework/src/
H A Dsocperf_executor_config.cpp69 char* configFilePath = GetOneCfgFile(configFile.c_str(), buf, PATH_MAX + 1); in GetRealConfigPath() local
71 if (!configFilePath || strlen(configFilePath) == 0 || strlen(configFilePath) > PATH_MAX || in GetRealConfigPath()
72 !realpath(configFilePath, tmpPath)) { in GetRealConfigPath()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_new_pipe_judgement.cpp117 std::string configFilePath = CONFIG_PATH + ACE_NEW_PIPE_CONFIG_FILE_NAME; in InitAceNewPipeWithConfigFile() local
118 std::ifstream configFile = std::ifstream(configFilePath.c_str()); in InitAceNewPipeWithConfigFile()
/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dwindow_manager_config.cpp163 auto configFilePath = GetConfigPath("etc/window/resources/window_manager_config.xml"); in LoadConfigXml() local
167 docPtr = xmlReadFile(configFilePath.c_str(), nullptr, XML_PARSE_NOBLANKS); in LoadConfigXml()
169 WLOGI("[WmConfig] filePath: %{public}s", configFilePath.c_str()); in LoadConfigXml()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dwindow_scene_config.cpp184 auto configFilePath = GetConfigPath("etc/window/resources/window_manager_config.xml"); in LoadConfigXml() local
188 docPtr = xmlReadFile(configFilePath.c_str(), nullptr, XML_PARSE_NOBLANKS); in LoadConfigXml()
190 WLOGI("filePath: %{public}s", configFilePath.c_str()); in LoadConfigXml()
H A Dscreen_scene_config.cpp146 auto configFilePath = GetConfigPath("etc/window/resources/display_manager_config.xml"); in LoadConfigXml() local
150 docPtr = xmlReadFile(configFilePath.c_str(), nullptr, XML_PARSE_NOBLANKS); in LoadConfigXml()
152 TLOGI(WmsLogTag::DMS, "[SsConfig] filePath: %{public}s", configFilePath.c_str()); in LoadConfigXml()
/ohos5.0/foundation/resourceschedule/soc_perf/services/core/src/
H A Dsocperf_config.cpp98 char* configFilePath = GetOneCfgFile(configFile.c_str(), buf, PATH_MAX + 1); in GetRealConfigPath() local
100 if (!configFilePath || strlen(configFilePath) == 0 || strlen(configFilePath) > PATH_MAX || in GetRealConfigPath()
101 !realpath(configFilePath, tmpPath)) { in GetRealConfigPath()
/ohos5.0/base/web/webview/ohos_nweb/include/
H A Dnweb_config_helper.h43 …void ParseWebConfigXml(const std::string &configFilePath, std::shared_ptr<NWebEngineInitArgsImpl> …
/ohos5.0/foundation/resourceschedule/frame_aware_sched/frameworks/core/frame_aware_policy/src/
H A Dintellisense_server.cpp39 …static std::string configFilePath = "/system/etc/frame_aware_sched/hwrme.xml"; // need To check th… variable
84 if (ParaConfig::IsXmlPrepared(configFilePath)) { in ReadXml()
/ohos5.0/base/web/webview/ohos_nweb/src/
H A Dnweb_config_helper.cpp233 void NWebConfigHelper::ParseWebConfigXml(const std::string& configFilePath, in ParseWebConfigXml() argument
236 xmlDocPtr docPtr = xmlReadFile(configFilePath.c_str(), nullptr, XML_PARSE_NOBLANKS); in ParseWebConfigXml()
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/
H A Dplugin_mgr.cpp194 for (auto configFilePath : configFilePaths) { in GetConfigContent() local
195 if (configFilePath.empty()) { in GetConfigContent()
198 ifs.open(configFilePath, std::ios::in | std::ios::binary); in GetConfigContent()