/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/ |
H A D | bms_install_daemon_test.cpp | 67 int CleanBundleDataDir(const std::string &bundleDataDir) const; 152 int BmsInstallDaemonTest::CleanBundleDataDir(const std::string &bundleDataDir) const in CleanBundleDataDir() function in OHOS::BmsInstallDaemonTest 157 return InstalldClient::GetInstance()->CleanBundleDataDir(bundleDataDir); in CleanBundleDataDir() 415 int result1 = CleanBundleDataDir(BUNDLE_DATA_DIR); in HWTEST_F() 516 * @tc.name: Test CleanBundleDataDir, Param is empty 517 * @tc.desc: 1.Test the CleanBundleDataDir of InstalldClient 525 ErrCode ret = InstalldClient::GetInstance()->CleanBundleDataDir(""); in HWTEST_F()
|
H A D | bms_install_daemon_host_impl_test.cpp | 196 * @tc.desc: 1. calling CleanBundleDataDir of hostImpl
204 auto ret = hostImpl->CleanBundleDataDir(TEST_STRING);
in HWTEST_F() 642 * @tc.desc: 1. calling CleanBundleDataDir of hostImpl
650 auto ret = hostImpl->CleanBundleDataDir("");
in HWTEST_F()
|
H A D | bms_install_daemon_ipc_test.cpp | 277 * @tc.desc: 1. calling CleanBundleDataDir of proxy
285 auto ret = proxy->CleanBundleDataDir(TEST_STRING);
in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | installd_client.cpp | 146 ErrCode InstalldClient::CleanBundleDataDir(const std::string &bundleDir) in CleanBundleDataDir() function in OHOS::AppExecFwk::InstalldClient 153 return CallService(&IInstalld::CleanBundleDataDir, bundleDir); in CleanBundleDataDir()
|
H A D | mock_installd_host_impl.cpp | 94 ErrCode InstalldHostImpl::CleanBundleDataDir(const std::string &dataDir)
in CleanBundleDataDir() function in OHOS::AppExecFwk::InstalldHostImpl
|
H A D | mock_install_client.cpp | 108 ErrCode InstalldClient::CleanBundleDataDir(const std::string &bundleDir) in CleanBundleDataDir() function in OHOS::AppExecFwk::InstalldClient
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aging/ |
H A D | recently_unused_bundle_aging_handler.cpp | 138 ErrCode ret = InstalldClient::GetInstance()->CleanBundleDataDir(cache); in CleanCache() 140 APP_LOGE("CleanBundleDataDir failed, path %{private}s", cache.c_str()); in CleanCache()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | installd_client.cpp | 162 ErrCode InstalldClient::CleanBundleDataDir(const std::string &bundleDir) in CleanBundleDataDir() function in OHOS::AppExecFwk::InstalldClient 169 return CallService(&IInstalld::CleanBundleDataDir, bundleDir); in CleanBundleDataDir()
|
H A D | bundle_mgr_host_impl.cpp | 1422 ErrCode ret = InstalldClient::GetInstance()->CleanBundleDataDir(cache); in CleanBundleCacheTaskGetCleanSize() 1424 APP_LOGE("CleanBundleDataDir failed, path: %{public}s", cache.c_str()); in CleanBundleCacheTaskGetCleanSize() 1570 ErrCode ret = InstalldClient::GetInstance()->CleanBundleDataDir(cache); in CleanBundleCacheTask() 1572 APP_LOGE("CleanBundleDataDir failed, path: %{private}s", cache.c_str()); in CleanBundleCacheTask()
|
H A D | bundle_mgr_service_event_handler.cpp | 3910 ErrCode res = InstalldClient::GetInstance()->CleanBundleDataDir(shaderCachePath); in CleanAllBundleShaderCache()
|
H A D | base_bundle_installer.cpp | 5998 return InstalldClient::GetInstance()->CleanBundleDataDir(shaderCachePath); in CleanShaderCache()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/ |
H A D | installd_host_impl.h | 120 virtual ErrCode CleanBundleDataDir(const std::string &bundleDir) override;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | installd_client.h | 101 ErrCode CleanBundleDataDir(const std::string &bundleDir);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/ |
H A D | installd_interface.h | 175 virtual ErrCode CleanBundleDataDir(const std::string &bundleDir) in CleanBundleDataDir() function in OHOS::AppExecFwk::IInstalld
|
H A D | installd_proxy.h | 122 virtual ErrCode CleanBundleDataDir(const std::string &bundlePath) override;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/ |
H A D | bms_installd_client_test.cpp | 567 * @tc.name: CleanBundleDataDir 568 * @tc.desc: Test whether CleanBundleDataDir is called normally.(bundleDir is empty) 574 ErrCode result = installClient_->CleanBundleDataDir(bundleDir); in HWTEST_F() 581 * @tc.name: CleanBundleDataDir 582 * @tc.desc: Test whether CleanBundleDataDir is called normally. 588 ErrCode result = installClient_->CleanBundleDataDir(bundleDir); in HWTEST_F() 589 EXPECT_EQ(result, installClient_->CallService(&IInstalld::CleanBundleDataDir, bundleDir)); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/ |
H A D | installd_host.cpp | 433 ErrCode result = CleanBundleDataDir(bundleDir); in HandleCleanBundleDataDir()
|
H A D | installd_proxy.cpp | 265 ErrCode InstalldProxy::CleanBundleDataDir(const std::string &bundleDir) in CleanBundleDataDir() function in OHOS::AppExecFwk::InstalldProxy
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_host_impl.cpp | 842 ErrCode InstalldHostImpl::CleanBundleDataDir(const std::string &dataDir) in CleanBundleDataDir() function in OHOS::AppExecFwk::InstalldHostImpl 844 LOG_D(BMS_TAG_INSTALLD, "InstalldHostImpl::CleanBundleDataDir start"); in CleanBundleDataDir() 850 LOG_E(BMS_TAG_INSTALLD, "Calling the function CleanBundleDataDir with invalid param"); in CleanBundleDataDir() 855 LOG_E(BMS_TAG_INSTALLD, "CleanBundleDataDir delete files failed errno:%{public}d", errno); in CleanBundleDataDir()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_installer_test.cpp | 2557 * @tc.desc: 1.Test the CleanBundleDataDir of InstalldHostImpl 2562 ErrCode ret = impl.CleanBundleDataDir(""); in HWTEST_F()
|