/foundation/communication/netstack/frameworks/native/tls_socket/src/ |
H A D | tls_utils.cpp | 27 bool IsValidPath(const std::string &filePath) in IsValidPath() function 40 if (!IsValidPath(tmpPath)) { in CheckFilePath()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/ |
H A D | bundle_daemon_handler.cpp | 264 return BundleFileUtils::IsValidPath(STORAGE + HAP_CODE_PATH, codePath) || in IsValideCodePath() 265 BundleFileUtils::IsValidPath(SDCARD + HAP_CODE_PATH, codePath); in IsValideCodePath() 273 return BundleFileUtils::IsValidPath(STORAGE + HAP_DATA_PATH, dataPath) || in IsValideDataPath() 274 BundleFileUtils::IsValidPath(SDCARD + HAP_DATA_PATH, dataPath); in IsValideDataPath() 282 return BundleFileUtils::IsValidPath(STORAGE + JSON_PATH, jsonPath); in IsValideJsonPath() 290 return BundleFileUtils::IsValidPath(SYSTEM_HAP_PATH, path) || in IsValideSystemPath() 291 BundleFileUtils::IsValidPath(THIRD_HAP_PATH, path); in IsValideSystemPath()
|
H A D | bundle_file_utils.cpp | 176 bool BundleFileUtils::IsValidPath(const std::string &rootDir, const std::string &path) in IsValidPath() function in OHOS::BundleFileUtils
|
/foundation/ability/dmsfwk/common/test/unittest/src/ |
H A D | distributed_sched_utils_test.cpp | 66 EXPECT_FALSE(IsValidPath(inFilePath, realFilePath)); in HWTEST_F() 70 EXPECT_FALSE(IsValidPath(inFilePath, realFilePath)); in HWTEST_F() 89 EXPECT_TRUE(IsValidPath(inFilePath, realFilePath)); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/include/ |
H A D | bundle_file_utils.h | 39 static bool IsValidPath(const std::string &rootDir, const std::string &path);
|
/foundation/filemanagement/app_file_service/interfaces/common/include/ |
H A D | sandbox_helper.h | 40 static bool IsValidPath(const std::string &path);
|
/foundation/ability/dmsfwk/common/include/ |
H A D | distributed_sched_utils.h | 30 bool IsValidPath(const std::string &inFilePath, std::string &realFilePath);
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | std_file.h | 62 bool IsValidPath(const BASE_NS::string_view path);
|
H A D | std_file.cpp | 101 bool StdFile::IsValidPath(const string_view /* path */) in IsValidPath() function in StdFile
|
/foundation/multimodalinput/input/util/common/src/ |
H A D | util.cpp | 273 static bool IsValidPath(const std::string &rootDir, const std::string &filePath) in IsValidPath() function 280 return IsValidPath(DATA_PATH, filePath) || IsValidPath(INPUT_PATH, filePath); in IsValidJsonPath() 285 return IsValidPath(KEY_PATH, filePath); in IsValidProPath() 290 return IsValidPath(KEY_PATH, filePath); in IsValidTomlPath()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/mission/ |
H A D | dsched_sync_e2e_test.cpp | 264 * @tc.desc: test IsValidPath
276 bool ret = dmsKvSyncE2E_->GetInstance()->IsValidPath(inFilePath, realFilePath);
in HWTEST_F() 280 ret = dmsKvSyncE2E_->GetInstance()->IsValidPath(inFilePath, realFilePath);
in HWTEST_F()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/include/mission/ |
H A D | dsched_sync_e2e.h | 54 bool IsValidPath(const std::string &inFilePath, std::string &realFilePath);
|
/foundation/ability/dmsfwk/common/src/ |
H A D | distributed_sched_utils.cpp | 69 bool IsValidPath(const std::string &inFilePath, std::string &realFilePath) in IsValidPath() function 138 (g_continueCfgFullPath.empty() || !IsValidPath(tempPath, g_continueCfgFullPath))) { in LoadContinueConfig() 159 if (!IsValidPath(tempPath, g_continueCfgFullPath)) { in LoadContinueConfig()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
H A D | dsched_sync_e2e.cpp | 114 bool DmsKvSyncE2E::IsValidPath(const std::string &inFilePath, std::string &realFilePath)
in IsValidPath() function in OHOS::DistributedSchedule::DmsKvSyncE2E 181 if ((continueCfgFullPath_.empty() || !IsValidPath(tempPath, continueCfgFullPath_))) {
in LoadContinueConfig() 196 if (!IsValidPath(tempPath, continueCfgFullPath_)) {
in LoadContinueConfig()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/verify/ |
H A D | verify_manager_host_impl.cpp | 44 bool IsValidPath(const std::string &path) in IsValidPath() function 301 if (!IsValidPath(abcPath)) { in CheckFileParam() 501 if (!IsValidPath(path)) { in DeleteAbc()
|
/foundation/filemanagement/app_file_service/interfaces/innerkits/native/remote_file_share/src/ |
H A D | remote_file_share.cpp | 225 if (!SandboxHelper::IsValidPath(PACKAGE_PATH)) { in CreateSharePath() 282 if (!SandboxHelper::IsValidPath(sandboxPath) || uri.GetScheme() != FILE_SCHEME) { in GetPhysicalPath() 494 if (!SandboxHelper::IsValidPath(sandboxPath) || uri.GetScheme() != FILE_SCHEME) { in TransRemoteUriToLocal()
|
/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/client/include/ |
H A D | app_domain_verify_mgr_client.h | 145 bool IsValidPath(const std::string& url);
|
/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/client/src/ |
H A D | app_domain_verify_mgr_client.cpp | 202 bool AppDomainVerifyMgrClient::IsValidPath(const std::string& path) in IsValidPath() function in OHOS::AppDomainVerify::AppDomainVerifyMgrClient 244 if (!IsValidPath(segments[0])) { in IsValidUrl()
|
/foundation/filemanagement/app_file_service/interfaces/innerkits/native/file_share/src/ |
H A D | file_share.cpp | 149 if (!SandboxHelper::IsValidPath(shareRPath) || !SandboxHelper::IsValidPath(shareRWPath)) { in GetSharePath()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/extend_resource/ |
H A D | extend_resource_manager_host_impl.cpp | 46 bool IsValidPath(const std::string &path) in IsValidPath() function 141 if (!IsValidPath(filePath)) { in CheckFileParam()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/ |
H A D | installd_operator.h | 146 static bool IsValidPath(const std::string &rootDir, const std::string &path);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/ |
H A D | bms_install_daemon_operator_test.cpp | 774 * @tc.desc: 1. calling IsValidPath of InstalldOperator
779 auto ret = InstalldOperator::IsValidPath("", "");
in HWTEST_F() 781 ret = InstalldOperator::IsValidPath("/test/", "");
in HWTEST_F() 783 ret = InstalldOperator::IsValidPath("/test", "");
in HWTEST_F() 785 ret = InstalldOperator::IsValidPath("..test", "");
in HWTEST_F() 787 ret = InstalldOperator::IsValidPath("//", "..");
in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/native/dbm_kv_store/src/kv_store_impl_hal/ |
H A D | dbm_kv_store.c | 75 static boolean IsValidPath(const char* path) in IsValidPath() function 683 if (!IsValidPath(storeFullPath)) { in DBM_GetKVStore() 1357 if (!IsValidPath(storeFullPath)) { in DBM_DeleteKVStore()
|
/foundation/multimodalinput/input/tools/vuinput/src/ |
H A D | virtual_device.cpp | 71 static inline bool IsValidPath(const std::string& rootDir, const std::string& filePath) in IsValidPath() function 78 return IsValidPath(PROC_PATH, filePath); in IsValidUinputPath()
|
/foundation/bundlemanager/app_domain_verify/test/unittest/client/app_domain_verify_mgr_client_test/ |
H A D | app_domain_verify_mgr_client_test.cpp | 400 * @tc.desc: Test IsValidPath. 408 EXPECT_TRUE(AppDomainVerifyMgrClient::GetInstance()->IsValidPath(segments[0])); in HWTEST_F()
|