Home
last modified time | relevance | path

Searched refs:partialPath (Results 1 - 16 of 16) sorted by relevance

/foundation/multimedia/media_foundation/src/osal/utils/
H A Dutil.cpp66 bool ConvertFullPath(const std::string& partialPath, std::string& fullPath) in ConvertFullPath() argument
68 if (partialPath.empty() || partialPath.length() >= PATH_MAX) { in ConvertFullPath()
72 if (realpath(partialPath.c_str(), tmpPath) == nullptr) { in ConvertFullPath()
/foundation/multimedia/media_foundation/engine/foundation/osal/utils/
H A Dutil.cpp56 bool ConvertFullPath(const std::string& partialPath, std::string& fullPath) in ConvertFullPath() argument
58 if (partialPath.empty() || partialPath.length() >= PATH_MAX) { in ConvertFullPath()
62 if (realpath(partialPath.c_str(), tmpPath) == nullptr) { in ConvertFullPath()
/foundation/resourceschedule/work_scheduler/utils/native/src/
H A Dwork_sched_utils.cpp83 bool WorkSchedUtils::ConvertFullPath(const std::string& partialPath, std::string& fullPath) in ConvertFullPath() argument
85 if (partialPath.empty() || partialPath.length() >= PATH_MAX) { in ConvertFullPath()
89 if (realpath(partialPath.c_str(), tmpPath) == nullptr) { in ConvertFullPath()
/foundation/multimedia/media_foundation/engine/include/foundation/osal/utils/
H A Dutil.h25 bool ConvertFullPath(const std::string& partialPath, std::string& fullPath);
/foundation/resourceschedule/device_standby/utils/policy/src/
H A Djson_utils.cpp210 bool JsonUtils::GetRealPath(const std::string& partialPath, std::string& fullPath) in GetRealPath() argument
213 if (partialPath.size() > PATH_MAX || !realpath(partialPath.c_str(), tmpPath)) { in GetRealPath()
/foundation/resourceschedule/background_task_mgr/services/common/src/
H A Ddata_storage_helper.cpp211 bool DataStorageHelper::ConvertFullPath(const std::string& partialPath, std::string& fullPath) in ConvertFullPath() argument
213 if (partialPath.empty() || partialPath.length() >= PATH_MAX) { in ConvertFullPath()
217 if (realpath(partialPath.c_str(), tmpPath) == nullptr) { in ConvertFullPath()
/foundation/multimedia/media_foundation/interface/inner_api/osal/utils/
H A Dutil.h36 bool ConvertFullPath(const std::string& partialPath, std::string& fullPath);
/foundation/resourceschedule/work_scheduler/frameworks/test/unittest/src/
H A Dworkinfo_test.cpp661 std::string partialPath; in HWTEST_F() local
663 bool res = WorkSchedUtils::ConvertFullPath(partialPath, fullPath); in HWTEST_F()
670 partialPath = "partialPath"; in HWTEST_F()
671 res = WorkSchedUtils::ConvertFullPath(partialPath, fullPath); in HWTEST_F()
674 partialPath = "/data"; in HWTEST_F()
675 res = WorkSchedUtils::ConvertFullPath(partialPath, fullPath); in HWTEST_F()
/foundation/resourceschedule/background_task_mgr/services/common/include/
H A Ddata_storage_helper.h41 bool ConvertFullPath(const std::string &partialPath, std::string &fullPath);
/foundation/resourceschedule/device_standby/utils/policy/include/
H A Djson_utils.h117 static bool GetRealPath(const std::string& partialPath, std::string& fullPath);
/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_utils_unit_test.cpp191 std::string partialPath (PATH_MAX + 1, 'a'); in HWTEST_F()
193 EXPECT_FALSE(JsonUtils::GetRealPath(partialPath, fullPath)); in HWTEST_F()
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/include/
H A Dplugin_mgr.h237 bool CheckRealPath(const std::string& partialPath, std::string& fullPath);
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/
H A Dplugin_mgr.cpp240 bool PluginMgr::CheckRealPath(const std::string& partialPath, std::string& fullPath) in CheckRealPath() argument
243 if (partialPath.size() > PATH_MAX || !realpath(partialPath.c_str(), tmpPath)) { in CheckRealPath()
/foundation/ability/ability_runtime/test/unittest/ability_manager_service_third_test/
H A Dability_manager_service_third_test.cpp2358 std::string partialPath = ""; in HWTEST_F() local
2360 EXPECT_EQ(abilityMs_->ConvertFullPath(partialPath, fullPath), false); in HWTEST_F()
2362 partialPath = "hello"; in HWTEST_F()
2363 EXPECT_NE(abilityMs_->ConvertFullPath(partialPath, fullPath), true); in HWTEST_F()
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dability_manager_service.h2394 bool ConvertFullPath(const std::string& partialPath, std::string& fullPath);
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_manager_service.cpp11600 bool AbilityManagerService::ConvertFullPath(const std::string& partialPath, std::string& fullPath) in ConvertFullPath() argument
11602 if (partialPath.empty() || partialPath.length() >= PATH_MAX) { in ConvertFullPath()
11606 if (realpath(partialPath.c_str(), tmpPath) == nullptr) { in ConvertFullPath()

Completed in 41 milliseconds