/foundation/ability/ability_runtime/services/common/src/ |
H A D | json_utils.cpp | 30 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 D | intell_voice_sensibility.h | 27 const std::string &configPath); 34 const std::string &configPath);
|
H A D | intell_voice_sensibility.cpp | 38 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 D | font_mgr_test.cpp | 290 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 D | utils.cpp | 30 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 D | extension_config.cpp | 43 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 D | display_manager_config.cpp | 69 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 D | deeplink_reserve_config.cpp | 50 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 D | rs_uni_render_judgement_test.cpp | 78 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 D | rs_graphic_config.cpp | 101 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 D | rs_uni_render_judgement_test.cpp | 77 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 D | asset_font_manager.cpp | 118 int DynamicFontManager::ParseInstallFontConfig(const std::string& configPath, in ParseInstallFontConfig() argument 122 int ret = fontConfigJson.ParseInstallConfig(configPath.c_str(), fontPathVec); in ParseInstallFontConfig()
|
H A D | asset_font_manager.h | 74 int ParseInstallFontConfig(const std::string& configPath, std::vector<std::string>& fontPathVec);
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/ |
H A D | font_mgr.cpp | 121 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 D | config_reader.cpp | 197 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 D | config_reader.h | 29 void GetRealConfigPath(const char* configName, std::string& configPath);
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | window_scene_config.cpp | 120 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 D | window_manager_config.cpp | 100 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 D | bundle_parser.h | 106 static ErrCode ParseNoDisablingList(const std::string &configPath, std::vector<std::string> &noDisablingList);
|
H A D | bundle_util.h | 190 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 D | font_mgr_impl.h | 49 virtual int ParseInstallFontConfig(const std::string& configPath, std::vector<std::string>& fontPathVec) = 0;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_parser.cpp | 354 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 D | screen_scene_config.cpp | 134 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 D | font_mgr.h | 144 * @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 D | skia_font_mgr.h | 59 int ParseInstallFontConfig(const std::string& configPath, std::vector<std::string>& fontPathVec) override;
|