Home
last modified time | relevance | path

Searched refs:configPath (Results 1 - 25 of 33) sorted by relevance

12

/foundation/ability/ability_runtime/services/common/src/
H A Djson_utils.cpp30 std::string configPath = GetConfigPath(path, defaultPath); in LoadConfiguration() local
31 TAG_LOGD(AAFwkTag::ABILITYMGR, "config path is: %{public}s", configPath.c_str()); in LoadConfiguration()
32 if (!ReadFileInfoJson(configPath, jsonBuf)) { in LoadConfiguration()
41 char *configPath = GetOneCfgFile(path.c_str(), buf, MAX_PATH_LEN); in GetConfigPath() local
42 if (configPath == nullptr || configPath[0] == '\0' || strlen(configPath) > MAX_PATH_LEN) { in GetConfigPath()
45 return configPath; in GetConfigPath()
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/base/
H A Dintell_voice_sensibility.h27 const std::string &configPath);
34 const std::string &configPath);
H A Dintell_voice_sensibility.cpp38 const std::string &configPath) in GetDspSensibility()
55 return ParseWakeupConfigDspSensibility(wakeupPhrase, static_cast<uint32_t>(index), configPath); in GetDspSensibility()
59 const std::string &configPath) in ParseWakeupConfigDspSensibility()
61 std::ifstream jsonStrm(configPath); in ParseWakeupConfigDspSensibility()
37 GetDspSensibility(const std::string &sensibility, const std::string &dspFeature, const std::string &configPath) GetDspSensibility() argument
58 ParseWakeupConfigDspSensibility(const std::string &wakeupPhrase, uint32_t index, const std::string &configPath) ParseWakeupConfigDspSensibility() argument
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/text/
H A Dfont_mgr_test.cpp290 std::string configPath = JSON_CONFIG_PATH; in HWTEST_F() local
291 std::ifstream configFile(configPath, std::ios::in); in HWTEST_F()
294 int ret = fontMgr->ParseInstallFontConfig(configPath, fontPathVec); in HWTEST_F()
310 std::string configPath = ERROR_JSON_CONFIG_PATH; in HWTEST_F() local
311 int ret = fontMgr->ParseInstallFontConfig(configPath, fontPathVec); in HWTEST_F()
325 std::string configPath = ""; in HWTEST_F() local
326 int ret = fontMgr->ParseInstallFontConfig(configPath, fontPathVec); in HWTEST_F()
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dutils.cpp30 auto configPath = packagePathStr + fileName; in GetStringFromFile() local
32 if (realpath(configPath.c_str(), realPath) == nullptr) { in GetStringFromFile()
33 LOGE("realpath fail! filePath: %{private}s, fail reason: %{public}s", configPath.c_str(), strerror(errno)); in GetStringFromFile()
38 LOGE("open file failed, filePath: %{private}s, fail reason: %{public}s", configPath.c_str(), strerror(errno)); in GetStringFromFile()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dextension_config.cpp43 char *configPath = GetOneCfgFile(EXTENSION_CONFIG_FILE_PATH, buf, MAX_PATH_LEN); in GetExtensionConfigPath() local
44 if (configPath == nullptr || configPath[0] == '\0' || strlen(configPath) > MAX_PATH_LEN) { in GetExtensionConfigPath()
47 return configPath; in GetExtensionConfigPath()
/foundation/window/window_manager/dmserver/src/
H A Ddisplay_manager_config.cpp69 char* configPath = GetOneCfgFile(configFileName.c_str(), buf, PATH_MAX + 1); in GetConfigPath() local
71 if (!configPath || strlen(configPath) == 0 || strlen(configPath) > PATH_MAX || !realpath(configPath, tmpPath)) { in GetConfigPath()
/foundation/ability/ability_runtime/services/abilitymgr/src/deeplink_reserve/
H A Ddeeplink_reserve_config.cpp50 char *configPath = GetOneCfgFile(CONFIG_PATH.c_str(), buf, MAX_PATH_LEN); in GetConfigPath() local
51 if (configPath == nullptr || configPath[0] == '\0' || strlen(configPath) > MAX_PATH_LEN) { in GetConfigPath()
54 return configPath; in GetConfigPath()
60 std::string configPath = GetConfigPath(); in LoadConfiguration() local
61 TAG_LOGD(AAFwkTag::ABILITYMGR, "Deeplink reserve config path is: %{public}s", configPath.c_str()); in LoadConfiguration()
63 if (!ReadFileInfoJson(configPath, jsonBuf)) { in LoadConfiguration()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_uni_render_judgement_test.cpp78 const std::string configPath = "/data/"; in HWTEST_F() local
80 std::string configFilePath = configPath + configName; in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_graphic_config.cpp101 char* configPath = GetOneCfgFile(configFileName.c_str(), buf, PATH_MAX); in GetConfigPath() local
103 if (!configPath || strlen(configPath) == 0 || strlen(configPath) >= PATH_MAX || !realpath(configPath, tmpPath)) { in GetConfigPath()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_uni_render_judgement_test.cpp77 const std::string configPath = "/data/"; in HWTEST_F() local
79 std::string configFilePath = configPath + configName; in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/
H A Dasset_font_manager.cpp118 int DynamicFontManager::ParseInstallFontConfig(const std::string& configPath, in ParseInstallFontConfig() argument
122 int ret = fontConfigJson.ParseInstallConfig(configPath.c_str(), fontPathVec); in ParseInstallFontConfig()
H A Dasset_font_manager.h74 int ParseInstallFontConfig(const std::string& configPath, std::vector<std::string>& fontPathVec);
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/
H A Dfont_mgr.cpp121 int FontMgr::ParseInstallFontConfig(const std::string& configPath, std::vector<std::string>& fontPathVec) in ParseInstallFontConfig() argument
126 return fontMgrImpl_->ParseInstallFontConfig(configPath, fontPathVec); in ParseInstallFontConfig()
/foundation/resourceschedule/qos_manager/common/src/
H A Dconfig_reader.cpp197 void ConfigReader::GetRealConfigPath(const char* configName, std::string& configPath) in GetRealConfigPath() argument
209 configPath = ""; in GetRealConfigPath()
212 configPath = tmpPath; in GetRealConfigPath()
/foundation/resourceschedule/qos_manager/common/include/
H A Dconfig_reader.h29 void GetRealConfigPath(const char* configName, std::string& configPath);
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dwindow_scene_config.cpp120 char* configPath = GetOneCfgFile(configFileName.c_str(), buf, PATH_MAX + 1); in GetConfigPath() local
122 if (!configPath || strlen(configPath) == 0 || strlen(configPath) > PATH_MAX || !realpath(configPath, tmpPath)) { in GetConfigPath()
/foundation/window/window_manager/wmserver/src/
H A Dwindow_manager_config.cpp100 char* configPath = GetOneCfgFile(configFileName.c_str(), buf, PATH_MAX + 1); in GetConfigPath() local
102 if (!configPath || strlen(configPath) == 0 || strlen(configPath) > PATH_MAX || !realpath(configPath, tmpPath)) { in GetConfigPath()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_parser.h106 static ErrCode ParseNoDisablingList(const std::string &configPath, std::vector<std::string> &noDisablingList);
H A Dbundle_util.h190 static void MakeFsConfig(const std::string &bundleName, int32_t bundleId, const std::string &configPath);
191 static void RemoveFsConfig(const std::string &bundleName, const std::string &configPath);
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dfont_mgr_impl.h49 virtual int ParseInstallFontConfig(const std::string& configPath, std::vector<std::string>& fontPathVec) = 0;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_parser.cpp354 ErrCode BundleParser::ParseNoDisablingList(const std::string &configPath, std::vector<std::string> &noDisablingList) in ParseNoDisablingList() argument
357 if (!ReadFileIntoJson(configPath, object)) { in ParseNoDisablingList()
358 APP_LOGI_NOFUNC("Parse file %{public}s failed", configPath.c_str()); in ParseNoDisablingList()
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_scene_config.cpp134 char* configPath = GetOneCfgFile(configFileName.c_str(), buf, PATH_MAX + 1); in GetConfigPath() local
136 if (!configPath || strlen(configPath) == 0 || strlen(configPath) > PATH_MAX || !realpath(configPath, tmpPath)) { in GetConfigPath()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/
H A Dfont_mgr.h144 * @param configPath The path to the configuration file
149 int ParseInstallFontConfig(const std::string& configPath, std::vector<std::string>& fontPathVec);
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_font_mgr.h59 int ParseInstallFontConfig(const std::string& configPath, std::vector<std::string>& fontPathVec) override;

Completed in 12 milliseconds

12