Home
last modified time | relevance | path

Searched refs:IsDirEmpty (Results 1 - 23 of 23) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp326 ErrCode InstalldClient::IsDirEmpty(const std::string &dir, bool &isDirEmpty) in IsDirEmpty() function in OHOS::AppExecFwk::InstalldClient
328 return CallService(&IInstalld::IsDirEmpty, dir, isDirEmpty); in IsDirEmpty()
H A Dmock_installd_host_impl.cpp189 ErrCode InstalldHostImpl::IsDirEmpty(const std::string &dir, bool &isDirEmpty) in IsDirEmpty() function in OHOS::AppExecFwk::InstalldHostImpl
H A Dmock_install_client.cpp208 ErrCode InstalldClient::IsDirEmpty(const std::string &dir, bool &isDirEmpty) in IsDirEmpty() function in OHOS::AppExecFwk::InstalldClient
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dmedia_file_utils.cpp336 bool MediaFileUtils::IsDirEmpty(const string &path) in IsDirEmpty() function in OHOS::Media::MediaFileUtils
519 if (!IsDirEmpty(dirPath)) { in BackupPhotoDir()
530 if (!IsDirEmpty(recoverPath)) { in RecoverMediaTempDir()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/
H A Dmedia_file_utils_test.cpp44 EXPECT_EQ(MediaFileUtils::IsDirEmpty(dirPath), false); in HWTEST_F()
52 EXPECT_EQ(MediaFileUtils::IsDirEmpty(dirPath), false); in HWTEST_F()
59 EXPECT_EQ(MediaFileUtils::IsDirEmpty(dirPath), true); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp386 ErrCode InstalldClient::IsDirEmpty(const std::string &dir, bool &isDirEmpty) in IsDirEmpty() function in OHOS::AppExecFwk::InstalldClient
388 return CallService(&IInstalld::IsDirEmpty, dir, isDirEmpty); in IsDirEmpty()
H A Dbase_bundle_installer.cpp3603 InstalldClient::GetInstance()->IsDirEmpty(moduleDir, isDirEmpty); in RemoveEmptyDirs()
5805 if (InstalldClient::GetInstance()->IsDirEmpty(tempDir, isDirEmpty) != ERR_OK) { in RemoveTempPathOnlyUsedForSo()
5806 LOG_W(BMS_TAG_INSTALLER, "IsDirEmpty failed"); in RemoveTempPathOnlyUsedForSo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_host_impl.h188 virtual ErrCode IsDirEmpty(const std::string &dir, bool &isDirEmpty) override;
H A Dinstalld_operator.h63 static bool IsDirEmpty(const std::string &dir);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h174 ErrCode IsDirEmpty(const std::string &dir, bool &isDirEmpty);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h325 virtual ErrCode IsDirEmpty(const std::string &dir, bool &isDirEmpty) in IsDirEmpty() function in OHOS::AppExecFwk::IInstalld
H A Dinstalld_proxy.h189 virtual ErrCode IsDirEmpty(const std::string &dir, bool &isDirEmpty) override;
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/include/
H A Dmedia_file_utils.h87 EXPORT static bool IsDirEmpty(const std::string &path);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_ipc_test.cpp462 * @tc.desc: 1. calling IsDirEmpty of proxy
471 auto ret = proxy->IsDirEmpty(TEST_STRING, isDirEmpty); in HWTEST_F()
1064 * @tc.desc: 1. calling IsDirEmpty of proxy
1072 auto ret = proxy->IsDirEmpty(TEST_STRING, isDirEmpty); in HWTEST_F()
H A Dbms_install_daemon_host_impl_test.cpp385 * @tc.desc: 1. calling IsDirEmpty of hostImpl
394 auto ret = hostImpl->IsDirEmpty(TEST_STRING, isDirEmpty); in HWTEST_F()
H A Dbms_install_daemon_operator_test.cpp172 * @tc.desc: 1. calling IsDirEmpty of InstalldOperator
178 auto ret = InstalldOperator::IsDirEmpty(path); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp1062 * @tc.name: IsDirEmpty
1063 * @tc.desc: Test whether IsDirEmpty is called normally.
1070 ErrCode result = installClient_->IsDirEmpty(dir, isDirEmpty); in HWTEST_F()
1071 EXPECT_EQ(result, installClient_->CallService(&IInstalld::IsDirEmpty, dir, isDirEmpty)); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_host_impl.cpp1208 ErrCode InstalldHostImpl::IsDirEmpty(const std::string &dir, bool &isDirEmpty) in IsDirEmpty() function in OHOS::AppExecFwk::InstalldHostImpl
1214 isDirEmpty = InstalldOperator::IsDirEmpty(dir); in IsDirEmpty()
H A Dinstalld_operator.cpp191 bool InstalldOperator::IsDirEmpty(const std::string &dir) in IsDirEmpty() function in OHOS::AppExecFwk::InstalldOperator
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_host.cpp638 ErrCode result = IsDirEmpty(dir, isDirEmpty); in HandleIsDirEmpty()
H A Dinstalld_proxy.cpp536 ErrCode InstalldProxy::IsDirEmpty(const std::string &dir, bool &isDirEmpty) in IsDirEmpty() function in OHOS::AppExecFwk::InstalldProxy
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_object_utils.cpp507 if (!MediaFileUtils::IsDirEmpty(dirVal)) { in DeleteEmptyDirsRecursively()
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dclone_restore.cpp797 if (MediaFileUtils::IsDirectory(filePath) && MediaFileUtils::IsDirEmpty(filePath)) { in IsFilePathExist()

Completed in 48 milliseconds