Home
last modified time | relevance | path

Searched refs:bundleInstaller (Results 1 - 6 of 6) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aging/
H A Drecently_unused_bundle_aging_handler.cpp201 auto bundleInstaller = bms->GetBundleInstaller(); in UnInstallBundle() local
202 if (bundleInstaller == nullptr) { in UnInstallBundle()
203 APP_LOGE("bundleInstaller is null"); in UnInstallBundle()
221 bundleInstaller->Uninstall(bundleName, installParam, unInstallReceiverImpl); in UnInstallBundle()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dstatus_receiver_proxy.cpp705 sptr<IBundleInstaller> bundleInstaller = DelayedSingleton<BundleMgrService>::GetInstance()->GetBundleInstaller(); in CloseStreamInstaller() local
706 if (bundleInstaller == nullptr) { in CloseStreamInstaller()
710 bundleInstaller->DestoryBundleStreamInstaller(installerId); in CloseStreamInstaller()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.cpp89 auto bundleInstaller = ConnectBundleInstaller(); in InstallSandboxApp() local
90 if (bundleInstaller == nullptr) { in InstallSandboxApp()
96 return bundleInstaller->InstallSandboxApp(bundleName, dlpType, userId, appIndex); in InstallSandboxApp()
106 auto bundleInstaller = ConnectBundleInstaller(); in UninstallSandboxApp() local
107 if (bundleInstaller == nullptr) { in UninstallSandboxApp()
113 return bundleInstaller->UninstallSandboxApp(bundleName, appIndex, userId); in UninstallSandboxApp()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_installer_test.cpp5208 SharedBundleInstaller bundleInstaller(installParam, appType); in HWTEST_F()
5218 auto res = bundleInstaller.CheckDependency(innerBundleInfo); in HWTEST_F()
5231 SharedBundleInstaller bundleInstaller(installParam, appType); in HWTEST_F()
5236 auto res = bundleInstaller.FindDependencyInInstalledBundles(dependency); in HWTEST_F()
5249 SharedBundleInstaller bundleInstaller(installParam, appType); in HWTEST_F()
5254 bundleInstaller.GetCallingEventInfo(eventInfo); in HWTEST_F()
6229 SharedBundleInstaller bundleInstaller(installParam, appType); in HWTEST_F()
6233 ErrCode ret = bundleInstaller.Install(eventTemplate); in HWTEST_F()
6240 * @tc.desc: test CheckSystemFreeSizeAndClean of bundleInstaller
6259 SharedBundleInstaller bundleInstaller(installPara in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_data_mgr_test.cpp4757 auto bundleInstaller = DelayedSingleton<BundleMgrService>::GetInstance()->installer_; in HWTEST_F() local
4761 ASSERT_NE(bundleInstaller, nullptr); in HWTEST_F()
4762 DelayedSingleton<BundleMgrService>::GetInstance()->installer_ = bundleInstaller; in HWTEST_F()
4773 auto bundleInstaller = DelayedSingleton<BundleMgrService>::GetInstance()->installer_; in HWTEST_F() local
4777 ASSERT_NE(bundleInstaller, nullptr); in HWTEST_F()
4778 DelayedSingleton<BundleMgrService>::GetInstance()->installer_ = bundleInstaller; in HWTEST_F()
4793 auto bundleInstaller = DelayedSingleton<BundleMgrService>::GetInstance()->installer_; in HWTEST_F() local
4800 ASSERT_NE(bundleInstaller, nullptr); in HWTEST_F()
4801 DelayedSingleton<BundleMgrService>::GetInstance()->installer_ = bundleInstaller; in HWTEST_F()
H A Dbms_bundle_kit_service_test.cpp13614 std::shared_ptr<IBundleInstaller> bundleInstaller = std::make_shared<IBundleInstallerTest>(); in HWTEST_F() local
13615 ASSERT_NE(bundleInstaller, nullptr); in HWTEST_F()
13618 EXPECT_TRUE(bundleInstaller->UninstallAndRecover("", installParam, statusReceiver)); in HWTEST_F()
13628 std::shared_ptr<IBundleInstaller> bundleInstaller = std::make_shared<IBundleInstallerTest>(); in HWTEST_F() local
13629 ASSERT_NE(bundleInstaller, nullptr); in HWTEST_F()
13631 auto ret = bundleInstaller->InstallCloneApp("", DEFAULT_USERID, appIndex); in HWTEST_F()
13642 std::shared_ptr<IBundleInstaller> bundleInstaller = std::make_shared<IBundleInstallerTest>(); in HWTEST_F() local
13643 ASSERT_NE(bundleInstaller, nullptr); in HWTEST_F()
13644 auto ret = bundleInstaller->UninstallCloneApp("", DEFAULT_USERID, APP_INDEX); in HWTEST_F()

Completed in 49 milliseconds