Home
last modified time | relevance | path

Searched refs:IsValidPath (Results 1 - 25 of 26) sorted by relevance

12

/foundation/communication/netstack/frameworks/native/tls_socket/src/
H A Dtls_utils.cpp27 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 Dbundle_daemon_handler.cpp264 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 Dbundle_file_utils.cpp176 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 Ddistributed_sched_utils_test.cpp66 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 Dbundle_file_utils.h39 static bool IsValidPath(const std::string &rootDir, const std::string &path);
/foundation/filemanagement/app_file_service/interfaces/common/include/
H A Dsandbox_helper.h40 static bool IsValidPath(const std::string &path);
/foundation/ability/dmsfwk/common/include/
H A Ddistributed_sched_utils.h30 bool IsValidPath(const std::string &inFilePath, std::string &realFilePath);
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dstd_file.h62 bool IsValidPath(const BASE_NS::string_view path);
H A Dstd_file.cpp101 bool StdFile::IsValidPath(const string_view /* path */) in IsValidPath() function in StdFile
/foundation/multimodalinput/input/util/common/src/
H A Dutil.cpp273 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 Ddsched_sync_e2e_test.cpp264 * @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 Ddsched_sync_e2e.h54 bool IsValidPath(const std::string &inFilePath, std::string &realFilePath);
/foundation/ability/dmsfwk/common/src/
H A Ddistributed_sched_utils.cpp69 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 Ddsched_sync_e2e.cpp114 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 Dverify_manager_host_impl.cpp44 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 Dremote_file_share.cpp225 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 Dapp_domain_verify_mgr_client.h145 bool IsValidPath(const std::string& url);
/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/client/src/
H A Dapp_domain_verify_mgr_client.cpp202 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 Dfile_share.cpp149 if (!SandboxHelper::IsValidPath(shareRPath) || !SandboxHelper::IsValidPath(shareRWPath)) { in GetSharePath()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/extend_resource/
H A Dextend_resource_manager_host_impl.cpp46 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 Dinstalld_operator.h146 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 Dbms_install_daemon_operator_test.cpp774 * @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 Ddbm_kv_store.c75 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 Dvirtual_device.cpp71 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 Dapp_domain_verify_mgr_client_test.cpp400 * @tc.desc: Test IsValidPath.
408 EXPECT_TRUE(AppDomainVerifyMgrClient::GetInstance()->IsValidPath(segments[0])); in HWTEST_F()

Completed in 20 milliseconds

12