Home
last modified time | relevance | path

Searched refs:CleanBundleDataDir (Results 1 - 20 of 20) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_test.cpp67 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 Dbms_install_daemon_host_impl_test.cpp196 * @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 Dbms_install_daemon_ipc_test.cpp277 * @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 Dinstalld_client.cpp146 ErrCode InstalldClient::CleanBundleDataDir(const std::string &bundleDir) in CleanBundleDataDir() function in OHOS::AppExecFwk::InstalldClient
153 return CallService(&IInstalld::CleanBundleDataDir, bundleDir); in CleanBundleDataDir()
H A Dmock_installd_host_impl.cpp94 ErrCode InstalldHostImpl::CleanBundleDataDir(const std::string &dataDir) in CleanBundleDataDir() function in OHOS::AppExecFwk::InstalldHostImpl
H A Dmock_install_client.cpp108 ErrCode InstalldClient::CleanBundleDataDir(const std::string &bundleDir) in CleanBundleDataDir() function in OHOS::AppExecFwk::InstalldClient
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aging/
H A Drecently_unused_bundle_aging_handler.cpp138 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 Dinstalld_client.cpp162 ErrCode InstalldClient::CleanBundleDataDir(const std::string &bundleDir) in CleanBundleDataDir() function in OHOS::AppExecFwk::InstalldClient
169 return CallService(&IInstalld::CleanBundleDataDir, bundleDir); in CleanBundleDataDir()
H A Dbundle_mgr_host_impl.cpp1422 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 Dbundle_mgr_service_event_handler.cpp3910 ErrCode res = InstalldClient::GetInstance()->CleanBundleDataDir(shaderCachePath); in CleanAllBundleShaderCache()
H A Dbase_bundle_installer.cpp5998 return InstalldClient::GetInstance()->CleanBundleDataDir(shaderCachePath); in CleanShaderCache()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_host_impl.h120 virtual ErrCode CleanBundleDataDir(const std::string &bundleDir) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h101 ErrCode CleanBundleDataDir(const std::string &bundleDir);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h175 virtual ErrCode CleanBundleDataDir(const std::string &bundleDir) in CleanBundleDataDir() function in OHOS::AppExecFwk::IInstalld
H A Dinstalld_proxy.h122 virtual ErrCode CleanBundleDataDir(const std::string &bundlePath) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp567 * @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 Dinstalld_host.cpp433 ErrCode result = CleanBundleDataDir(bundleDir); in HandleCleanBundleDataDir()
H A Dinstalld_proxy.cpp265 ErrCode InstalldProxy::CleanBundleDataDir(const std::string &bundleDir) in CleanBundleDataDir() function in OHOS::AppExecFwk::InstalldProxy
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_host_impl.cpp842 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 Dbms_bundle_installer_test.cpp2557 * @tc.desc: 1.Test the CleanBundleDataDir of InstalldHostImpl
2562 ErrCode ret = impl.CleanBundleDataDir(""); in HWTEST_F()

Completed in 54 milliseconds