/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_installer.h | 48 void Install(const std::string &bundleFilePath, const InstallParam &installParam); 55 void Recover(const std::string &bundleName, const InstallParam &installParam); 62 void Install(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam); 69 void InstallByBundleName(const std::string &bundleName, const InstallParam &installParam); 76 void Uninstall(const std::string &bundleName, const InstallParam &installParam); 84 void Uninstall(const std::string &bundleName, const std::string &modulePackage, const InstallParam &installParam); 98 void UpdateBundleForSelf(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam); 100 void UninstallAndRecover(const std::string &bundleName, const InstallParam &installParam); 110 void InstallDriverForAllUsers(const std::string &bundleFilePath, const InstallParam &installParam); 112 void InstallDriverForAllUsers(const std::vector<std::string> &bundleFilePaths, const InstallParam [all...] |
H A D | bundle_installer_host.h | 49 virtual bool Install(const std::string &bundleFilePath, const InstallParam &installParam, 58 virtual bool Recover(const std::string &bundleName, const InstallParam &installParam, 69 virtual bool Install(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam, 78 virtual bool Uninstall(const std::string &bundleName, const InstallParam &installParam, 89 const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) override; 100 virtual bool InstallByBundleName(const std::string &bundleName, const InstallParam &installParam, 121 virtual sptr<IBundleStreamInstaller> CreateStreamInstaller(const InstallParam &installParam, 124 virtual ErrCode StreamInstall(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam, 126 bool UpdateBundleForSelf(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam, 128 bool UninstallAndRecover(const std::string &bundleName, const InstallParam [all...] |
H A D | bundle_installer_manager.h | 44 void CreateInstallTask(const std::string &bundleFilePath, const InstallParam &installParam, 53 void CreateInstallByBundleNameTask(const std::string &bundleName, const InstallParam &installParam, 62 void CreateRecoverTask(const std::string &bundleName, const InstallParam &installParam, 71 void CreateInstallTask(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam, 81 const std::string &bundleName, const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver); 91 const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver); 100 void CreateUninstallAndRecoverTask(const std::string &bundleName, const InstallParam &installParam,
|
H A D | system_bundle_installer.h | 36 InstallParam &installParam, 45 bool InstallSystemSharedBundle(InstallParam &installParam, bool isOTA, Constants::AppType appType); 55 InstallParam &installParam, 67 InstallParam &installParam, 77 bool UninstallSystemBundle(const std::string &bundleName, const InstallParam &installParam);
|
H A D | base_bundle_installer.h | 88 const std::string &bundlePath, const InstallParam &installParam, const Constants::AppType appType); 97 ErrCode InstallBundle(const std::vector<std::string> &bundlePaths, const InstallParam &installParam, 105 ErrCode UninstallBundle(const std::string &bundleName, const InstallParam &installParam); 114 const std::string &bundleName, const std::string &modulePackage, const InstallParam &installParam); 157 ErrCode Recover(const std::string &bundleName, const InstallParam &installParam); 164 ErrCode InstallBundleByBundleName(const std::string &bundleName, const InstallParam &installParam); 201 ErrCode ProcessBundleInstall(const std::vector<std::string> &bundlePaths, const InstallParam &installParam, 205 InnerBundleInfo &oldInfo, const InstallParam &installParam, int32_t &uid); 214 ErrCode ProcessBundleUninstall(const std::string &bundleName, const InstallParam &installParam, int32_t &uid); 224 const InstallParam [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_installer_interface.h | 39 virtual bool Install(const std::string &bundleFilePath, const InstallParam &installParam, 48 virtual bool Recover(const std::string &bundleName, const InstallParam &installParam, 60 virtual bool Install(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam, 70 virtual bool Uninstall(const std::string &bundleName, const InstallParam &installParam, 84 const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) = 0; 92 virtual bool InstallByBundleName(const std::string &bundleName, const InstallParam &installParam, in InstallByBundleName() 118 virtual sptr<IBundleStreamInstaller> CreateStreamInstaller(const InstallParam &installParam, 121 virtual ErrCode StreamInstall(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam, 124 virtual bool UpdateBundleForSelf(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam, in UpdateBundleForSelf() 130 virtual bool UninstallAndRecover(const std::string &bundleName, const InstallParam [all...] |
H A D | bundle_installer_proxy.h | 40 virtual bool Install(const std::string &bundleFilePath, const InstallParam &installParam, 49 virtual bool Recover(const std::string &bundleName, const InstallParam &installParam, 60 virtual bool Install(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam, 69 virtual bool Uninstall(const std::string &bundleName, const InstallParam &installParam, 80 const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) override; 106 virtual sptr<IBundleStreamInstaller> CreateStreamInstaller(const InstallParam &installParam, 110 virtual ErrCode StreamInstall(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam, 113 virtual bool UninstallAndRecover(const std::string &bundleName, const InstallParam &installParam, 140 const InstallParam &installParam); 143 const InstallParam [all...] |
/foundation/ability/ability_runtime/test/mock/common/include/ |
H A D | mock_bundle_installer_service.h | 30 bool(const std::string &, const AppExecFwk::InstallParam &, const sptr<AppExecFwk::IStatusReceiver> &)); 33 bool(const std::string &, const AppExecFwk::InstallParam &, const sptr<AppExecFwk::IStatusReceiver> &)); 34 MOCK_METHOD3(Install, bool(const std::vector<std::string> &, const AppExecFwk::InstallParam &, 37 bool(const std::string &, const AppExecFwk::InstallParam &, const sptr<AppExecFwk::IStatusReceiver> &)); 38 MOCK_METHOD4(Uninstall, bool(const std::string &, const std::string &, const AppExecFwk::InstallParam &, 43 MOCK_METHOD2(CreateStreamInstaller, sptr<AppExecFwk::IBundleStreamInstaller>(const AppExecFwk::InstallParam &, 46 MOCK_METHOD3(StreamInstall, ErrCode(const std::vector<std::string> &, const AppExecFwk::InstallParam &,
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_service_fwk/ |
H A D | app_service_fwk_installer.h | 38 const std::vector<std::string> &hspPaths, InstallParam &installParam); 44 const std::vector<std::string> &hspPaths, InstallParam &installParam); 51 const std::vector<std::string> &hspPaths, InstallParam &installParam); 53 const std::vector<std::string> &hspPaths, InstallParam &installParam, 57 InstallParam &installParam); 63 const InstallParam &installParam, InstallScene preBundleScene, ErrCode errCode); 83 const InstallParam &installParam) const; 89 const std::unordered_map<std::string, InnerBundleInfo> &newInfos, const InstallParam &installParam); 92 InstallParam &installParam); 99 const std::string &hspPath, const InstallParam [all...] |
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/installparam_fuzzer/ |
H A D | installparam_fuzzer.cpp | 30 InstallParam info; in DoSomethingInterestingWithMyAPI() 35 auto infoPtr = InstallParam::Unmarshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI() 41 InstallParam *realInfo = new (std::nothrow) InstallParam(); in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_tool/test/mock/ |
H A D | mock_bundle_installer_host.h | 54 bool Install(const std::string &bundleFilePath, const InstallParam &installParam, 56 bool Install(const std::vector<std::string> &bundleFilePath, const InstallParam &installParam, 59 const std::string &bundleName, const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver); 61 bool Uninstall(const std::string &bundleName, const std::string &modulePackage, const InstallParam &installParam, 66 bool Recover(const std::string &bundleName, const InstallParam &installParam, 69 ErrCode StreamInstall(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam, 77 sptr<IBundleStreamInstaller> CreateStreamInstaller(const InstallParam &installParam,
|
H A D | mock_bundle_installer_host.cpp | 32 const std::string &bundleFilePath, const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in Install() 44 bool MockBundleInstallerHost::Install(const std::vector<std::string> &bundleFilePath, const InstallParam &installParam, in Install() 60 const std::string &bundleName, const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in Uninstall() 73 const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in Uninstall() 86 bool MockBundleInstallerHost::Recover(const std::string &bundleName, const InstallParam &installParam, in Recover() 97 const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in StreamInstall() 115 sptr<IBundleStreamInstaller> MockBundleInstallerHost::CreateStreamInstaller(const InstallParam &installParam, in CreateStreamInstaller()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/ |
H A D | mock_system_bundle_installer.cpp | 39 InstallParam &installParam, in InstallSystemBundle() 62 InstallParam &installParam, in OTAInstallSystemBundle() 93 InstallParam installParam; in UninstallSystemBundle() 121 InstallParam installParam; in UninstallSystemBundle() 150 InstallParam installParam; in UninstallSystemBundle() 171 bool SystemBundleInstaller::UninstallSystemBundle(const std::string &bundleName, const InstallParam &installParam) in UninstallSystemBundle() 189 InstallParam &installParam, in InstallSystemSharedBundle() 205 InstallParam &installParam, in OTAInstallSystemBundleNeedCheckUser()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_multiuser_install_test/ |
H A D | bms_bundle_multiuser_install_ipc_test.cpp | 115 bool Install(const std::string &bundleFilePath, const InstallParam &installParam, in Install() 120 bool Recover(const std::string &bundleName, const InstallParam &installParam, in Recover() 125 bool Install(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam, in Install() 130 bool Uninstall(const std::string &bundleName, const InstallParam &installParam, in Uninstall() 141 const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver) in Uninstall() 145 bool InstallByBundleName(const std::string &bundleName, const InstallParam &installParam, in InstallByBundleName() 159 sptr<IBundleStreamInstaller> CreateStreamInstaller(const InstallParam &installParam, in CreateStreamInstaller() 168 ErrCode StreamInstall(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam, in StreamInstall()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/installparamunmarshalling_fuzzer/ |
H A D | installparamunmarshalling_fuzzer.cpp | 27 InstallParam oldInstallParam; in fuzzinstallparamunmarshalling() 31 InstallParam *info = new (std::nothrow) InstallParam(); in fuzzinstallparamunmarshalling()
|
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_code_signature_test/ |
H A D | bundle_mgr_code_signature_system_test.cpp | 117 static int32_t InstallBundle(const std::vector<std::string> &bundleFilePaths, InstallParam installParam,
177 const std::vector<std::string> &bundleFilePaths, InstallParam installParam,
in InstallBundle() 202 InstallParam installParam;
in UninstallBundle() 236 InstallParam installParam;
in HWTEST_F() 254 InstallParam installParam;
in HWTEST_F() 273 InstallParam installParam;
in HWTEST_F() 291 InstallParam installParam;
in HWTEST_F() 309 InstallParam installParam;
in HWTEST_F() 330 InstallParam installParam;
in HWTEST_F() 352 InstallParam installPara in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_installer_host.cpp | 117 std::unique_ptr<InstallParam> installParam(data.ReadParcelable<InstallParam>()); in HandleInstallMessage() 119 LOG_E(BMS_TAG_INSTALLER, "ReadParcelable<InstallParam> failed"); in HandleInstallMessage() 137 std::unique_ptr<InstallParam> installParam(data.ReadParcelable<InstallParam>()); in HandleRecoverMessage() 139 LOG_E(BMS_TAG_INSTALLER, "ReadParcelable<InstallParam> failed"); in HandleRecoverMessage() 170 std::unique_ptr<InstallParam> installParam(data.ReadParcelable<InstallParam>()); in HandleInstallMultipleHapsMessage() 172 LOG_E(BMS_TAG_INSTALLER, "ReadParcelable<InstallParam> failed"); in HandleInstallMultipleHapsMessage() 190 std::unique_ptr<InstallParam> installPara in HandleUninstallMessage() [all...] |
H A D | bundle_installer.cpp | 36 void BundleInstaller::Install(const std::string &bundleFilePath, const InstallParam &installParam) in Install() 63 void BundleInstaller::Recover(const std::string &bundleName, const InstallParam &installParam) in Recover() 84 void BundleInstaller::Install(const std::vector<std::string> &bundleFilePaths, const InstallParam &installParam) in Install() 110 void BundleInstaller::InstallByBundleName(const std::string &bundleName, const InstallParam &installParam) in InstallByBundleName() 118 void BundleInstaller::Uninstall(const std::string &bundleName, const InstallParam &installParam) in Uninstall() 162 const std::string &bundleName, const std::string &modulePackage, const InstallParam &installParam) in Uninstall() 222 void BundleInstaller::InstallDriverForAllUsers(const std::string &bundleFilePath, const InstallParam &installParam) in InstallDriverForAllUsers() 229 const InstallParam &installParam) in InstallDriverForAllUsers() 256 void BundleInstaller::RecoverDriverForAllUsers(const std::string &bundleName, const InstallParam &installParam) in RecoverDriverForAllUsers() 279 void BundleInstaller::UninstallAndRecover(const std::string &bundleName, const InstallParam [all...] |
H A D | system_bundle_installer.cpp | 37 InstallParam &installParam, in InstallSystemBundle() 52 InstallParam &installParam, in InstallSystemSharedBundle() 68 InstallParam &installParam, in OTAInstallSystemBundle() 98 InstallParam &installParam, in OTAInstallSystemBundleNeedCheckUser() 151 InstallParam installParam; in UninstallSystemBundle() 178 InstallParam installParam; in UninstallSystemBundle() 205 InstallParam installParam; in UninstallSystemBundle() 226 bool SystemBundleInstaller::UninstallSystemBundle(const std::string &bundleName, const InstallParam &installParam) in UninstallSystemBundle() 267 InstallParam installParam; in CheckUninstallSystemHsp()
|
/foundation/bundlemanager/bundle_framework/test/benchmarktest/install_param_test/ |
H A D | install_param_test.cpp | 33 InstallParam info; in BenchmarkTestForReadFromParcel() 50 InstallParam info; in BenchmarkTestForMarshalling() 66 InstallParam info; in BenchmarkTestForUnmarshalling()
|
/foundation/bundlemanager/bundle_framework_lite/interfaces/inner_api/bundlemgr_lite/ |
H A D | bundle_service_interface.h | 45 InstallParam *bundleInstallParam;
51 bool (*Install)(const char *hapPath, const InstallParam *installParam, InstallerCallback installerCallback);
52 bool (*Uninstall)(const char *bundleName, const InstallParam *installParam, InstallerCallback installerCallback);
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | install_param.cpp | 27 bool InstallParam::ReadFromParcel(Parcel &parcel) in ReadFromParcel() 81 InstallParam *InstallParam::Unmarshalling(Parcel &parcel) in Unmarshalling() 83 InstallParam *info = new (std::nothrow) InstallParam(); in Unmarshalling() 92 bool InstallParam::Marshalling(Parcel &parcel) const in Marshalling() 157 bool InstallParam::CheckPermission() const in CheckPermission()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_manager_test/ |
H A D | bms_bundle_installer_manager_test.cpp | 89 InstallParam installParam; in HWTEST_F() 107 InstallParam installParam; in HWTEST_F() 125 InstallParam installParam; in HWTEST_F() 145 InstallParam installParam; in HWTEST_F() 163 InstallParam installParam; in HWTEST_F() 181 InstallParam installParam; in HWTEST_F() 201 InstallParam installParam; in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_proxy_test/ |
H A D | bms_bundle_installer_proxy_test.cpp | 69 InstallParam installParam; in HWTEST_F() 88 InstallParam installParam; in HWTEST_F() 110 InstallParam installParam; in HWTEST_F() 131 InstallParam installParam; in HWTEST_F() 151 InstallParam installParam; in HWTEST_F() 170 InstallParam installParam; in HWTEST_F() 189 InstallParam installParam; in HWTEST_F() 208 InstallParam installParam; in HWTEST_F() 227 InstallParam installParam; in HWTEST_F() 247 InstallParam installPara in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installers_test/ |
H A D | bms_bundle_installers_test.cpp | 135 InstallParam installParam; in HWTEST_F() 159 InstallParam installParam; in HWTEST_F() 183 InstallParam installParam; in HWTEST_F() 213 InstallParam installParam; in HWTEST_F() 230 InstallParam installParam; in HWTEST_F() 256 InstallParam installParam; in HWTEST_F() 295 InstallParam installParam; in HWTEST_F() 319 InstallParam installParam; in HWTEST_F() 343 InstallParam installParam; in HWTEST_F() 366 InstallParam installPara in HWTEST_F() [all...] |