Home
last modified time | relevance | path

Searched refs:CheckDir (Results 1 - 10 of 10) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_daemon/utils/test/common/
H A Dhelp_utils.cpp76 bool StorageTestUtils::CheckDir(const std::string &path) in CheckDir() function in OHOS::StorageDaemon::StorageTest::StorageTestUtils
94 if (CheckDir(realPath) == false) { in CheckUserDir()
101 if (CheckDir(realPath) == false) { in CheckUserDir()
112 if (CheckDir(path) == false) { in CheckUserDir()
121 if (CheckDir(path) == false) { in CheckUserDir()
130 if (CheckDir(path) == false) { in CheckUserDir()
H A Dhelp_utils.h46 static bool CheckDir(const std::string &path);
/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dmove_file.cpp39 static bool CheckDir(const string &path) in CheckDir() function
47 static bool CheckDir(const string &path)
149 if (CheckDir(src)) { in MoveFile()
153 if (CheckDir(dest)) { in MoveFile()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dmove.cpp38 static bool CheckDir(const string &path) in CheckDir() function
47 static bool CheckDir(const string &path)
64 if (!resGetFirstArg || CheckDir(string(src.get()))) { in ParseJsOperand()
69 if (!resGetSecondArg || CheckDir(string(dest.get()))) { in ParseJsOperand()
/foundation/filemanagement/storage_service/services/storage_daemon/utils/test/
H A Dfile_utils_test.cpp116 ASSERT_TRUE(StorageTest::StorageTestUtils::CheckDir(PATH_CHOWN)); in HWTEST_F()
155 ASSERT_TRUE(StorageTest::StorageTestUtils::CheckDir(PATH_MKDIR)) << "check the dir"; in HWTEST_F()
178 ASSERT_TRUE(StorageTest::StorageTestUtils::CheckDir(PATH_RMDIR)); in HWTEST_F()
182 EXPECT_TRUE(StorageTest::StorageTestUtils::CheckDir(PATH_RMDIR) == false); in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/
H A Dstorage_daemon_test.cpp68 if (!StorageTest::StorageTestUtils::CheckDir(path)) { in SetUpTestCase()
512 if (!StorageTest::StorageTestUtils::CheckDir(backupSaBundleDir)) { in HWTEST_F()
546 if (StorageTest::StorageTestUtils::CheckDir(backupSaBundleDir)) { in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_daemon/quota/test/
H A Dquota_manager_test.cpp286 if (!StorageTest::StorageTestUtils::CheckDir(backupSaBundleDir)) { in HWTEST_F()
320 if (StorageTest::StorageTestUtils::CheckDir(backupSaBundleDir)) { in HWTEST_F()
/foundation/filemanagement/user_file_service/utils/
H A Dfile_util.h110 static bool CheckDir(const string &path) in CheckDir() function
/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp554 if (CheckDir(dirent)) { in RecoverDir()
631 if (!CheckDir(path)) { in Recover()
/foundation/filemanagement/storage_service/services/storage_daemon/user/test/
H A Duser_manager_test.cpp60 if (!StorageTest::StorageTestUtils::CheckDir(path)) { in SetUpTestCase()

Completed in 7 milliseconds