/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | installd_client.cpp | 326 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 D | mock_installd_host_impl.cpp | 189 ErrCode InstalldHostImpl::IsDirEmpty(const std::string &dir, bool &isDirEmpty)
in IsDirEmpty() function in OHOS::AppExecFwk::InstalldHostImpl
|
H A D | mock_install_client.cpp | 208 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 D | media_file_utils.cpp | 336 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 D | media_file_utils_test.cpp | 44 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 D | installd_client.cpp | 386 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 D | base_bundle_installer.cpp | 3603 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 D | installd_host_impl.h | 188 virtual ErrCode IsDirEmpty(const std::string &dir, bool &isDirEmpty) override;
|
H A D | installd_operator.h | 63 static bool IsDirEmpty(const std::string &dir);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | installd_client.h | 174 ErrCode IsDirEmpty(const std::string &dir, bool &isDirEmpty);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/ |
H A D | installd_interface.h | 325 virtual ErrCode IsDirEmpty(const std::string &dir, bool &isDirEmpty) in IsDirEmpty() function in OHOS::AppExecFwk::IInstalld
|
H A D | installd_proxy.h | 189 virtual ErrCode IsDirEmpty(const std::string &dir, bool &isDirEmpty) override;
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/include/ |
H A D | media_file_utils.h | 87 EXPORT static bool IsDirEmpty(const std::string &path);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/ |
H A D | bms_install_daemon_ipc_test.cpp | 462 * @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 D | bms_install_daemon_host_impl_test.cpp | 385 * @tc.desc: 1. calling IsDirEmpty of hostImpl
394 auto ret = hostImpl->IsDirEmpty(TEST_STRING, isDirEmpty);
in HWTEST_F()
|
H A D | bms_install_daemon_operator_test.cpp | 172 * @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 D | bms_installd_client_test.cpp | 1062 * @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 D | installd_host_impl.cpp | 1208 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 D | installd_operator.cpp | 191 bool InstalldOperator::IsDirEmpty(const std::string &dir) in IsDirEmpty() function in OHOS::AppExecFwk::InstalldOperator
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/ |
H A D | installd_host.cpp | 638 ErrCode result = IsDirEmpty(dir, isDirEmpty); in HandleIsDirEmpty()
|
H A D | installd_proxy.cpp | 536 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 D | medialibrary_object_utils.cpp | 507 if (!MediaFileUtils::IsDirEmpty(dirVal)) { in DeleteEmptyDirsRecursively()
|
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | clone_restore.cpp | 797 if (MediaFileUtils::IsDirectory(filePath) && MediaFileUtils::IsDirEmpty(filePath)) { in IsFilePathExist()
|