/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v4.0-beta2/ |
H A D | js-apidiff-bundle.md | 29 |新增|NA|类名:installer;<br>方法or属性:function getBundleInstallerSync(): BundleInstaller;|@ohos.bundle.ins… 31 |新增|NA|类名:BundleInstaller;<br>方法or属性:updateBundleForSelf(hapFilePaths: Array\<string>, callback: As… 32 |新增|NA|类名:BundleInstaller;<br>方法or属性:updateBundleForSelf(hapFilePaths: Array\<string>, installParam… 43 …BundleInstaller;<br>方法or属性:uninstall(uninstallParam: UninstallParam, callback: AsyncCallback\<void… 44 …名:BundleInstaller;<br>方法or属性:uninstall(uninstallParam: UninstallParam): Promise\<void>;<br>旧版本信息:2… 49 …BundleInstaller;<br>方法or属性:uninstall(bundleName: string, callback: AsyncCallback\<void>): void;<br… 50 …BundleInstaller;<br>方法or属性:uninstall(bundleName: string, installParam?: InstallParam): Promise\<vo… 51 …BundleInstaller;<br>方法or属性:uninstall(uninstallParam: UninstallParam, callback: AsyncCallback\<void… 52 …|类名:BundleInstaller;<br>方法or属性:uninstall(uninstallParam: UninstallParam): Promise\<void>;<br>旧版本信息… 54 …BundleInstaller;<br>方法or属性:recover(bundleName: string, callback: AsyncCallback\<void>): void;<br>旧… [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_installer.cpp | 25 BundleInstaller::BundleInstaller(const int64_t installerId, const sptr<IStatusReceiver> &statusRece… in BundleInstaller() function in OHOS::AppExecFwk::BundleInstaller 31 BundleInstaller::~BundleInstaller() in ~BundleInstaller() 36 void BundleInstaller::Install(const std::string &bundleFilePath, const InstallParam &installParam) in Install() 62 void BundleInstaller::Recover(const std::string &bundleName, const InstallParam &installParam) in Recover() 107 void BundleInstaller::InstallByBundleName(const std::string &bundleName, const InstallParam &instal… in InstallByBundleName() 115 void BundleInstaller::Uninstall(const std::string &bundleName, const InstallParam &installParam) in Uninstall() 148 void BundleInstaller::Uninstall(const UninstallParam &uninstallParam) in Uninstall() 157 void BundleInstaller::Uninstall( in Uninstall() 192 void BundleInstaller::UpdateInstallerState(const InstallerState state) in UpdateInstallerState() 201 std::set<int32_t> BundleInstaller::GetExistsCommonUserIds() in GetExistsCommonUserIds() [all …]
|
H A D | bundle_installer_manager.cpp | 188 std::shared_ptr<BundleInstaller> BundleInstallerManager::CreateInstaller(const sptr<IStatusReceiver… in CreateInstaller() 191 auto installer = std::make_shared<BundleInstaller>(installerId, statusReceiver); in CreateInstaller()
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v4.0-beta2/ |
H A D | js-apidiff-bundle.md | 29 …ler;<br>Method or attribute name: function getBundleInstallerSync(): BundleInstaller;|@ohos.bundle… 30 |Added|NA|Class name: BundleInstaller;<br>Method or attribute name: updateBundleForSelf(hapFilePath… 31 |Added|NA|Class name: BundleInstaller;<br>Method or attribute name: updateBundleForSelf(hapFilePath… 32 |Added|NA|Class name: BundleInstaller;<br>Method or attribute name: updateBundleForSelf(hapFilePath… 43 …BundleInstaller;<br>Method or attribute name: uninstall(uninstallParam: UninstallParam, callback: … 44 …BundleInstaller;<br>Method or attribute name: uninstall(uninstallParam: UninstallParam): Promise\<… 49 …BundleInstaller;<br>Method or attribute name: uninstall(bundleName: string, callback: AsyncCallbac… 50 …BundleInstaller;<br>Method or attribute name: uninstall(bundleName: string, installParam?: Install… 52 …BundleInstaller;<br>Method or attribute name: uninstall(uninstallParam: UninstallParam): Promise\<… 54 …BundleInstaller;<br>Method or attribute name: recover(bundleName: string, callback: AsyncCallback\… [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_installer.cpp | 42 BundleInstaller::BundleInstaller(const std::string &codeDirPath, const std::string &dataDirPath) in BundleInstaller() function in OHOS::BundleInstaller 49 BundleInstaller::~BundleInstaller() in ~BundleInstaller() 56 std::string BundleInstaller::GetCodeDirPath() const in GetCodeDirPath() 61 std::string BundleInstaller::GetDataDirPath() const in GetDataDirPath() 81 void BundleInstaller::RestoreInstallEnv(const InstallParam &installParam) in RestoreInstallEnv() 93 uint8_t BundleInstaller::GetHapType(const char *path) in GetHapType() 106 uint8_t BundleInstaller::Install(const char *path, const InstallParam &installParam) in Install() 247 uint8_t BundleInstaller::ReshapeAppId(const char *bundleName, std::string &appId) in ReshapeAppId() 502 uint8_t BundleInstaller::CheckInstallFileIsValid(const char *path) in CheckInstallFileIsValid() 522 bool BundleInstaller::CheckIsThirdSystemBundle(const char *bundleName) in CheckIsThirdSystemBundle() [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-bundle.md | 22 …BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam: InstallParam, callb… 23 …BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): … 24 …BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam?: InstallParam): Pro… 33 …BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam: InstallParam, callb… 34 …BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, callback: AsyncCallback\<void>): … 35 …BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, installParam?: InstallParam): Pro…
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_installer.h | 30 class BundleInstaller : public BaseBundleInstaller { 32 BundleInstaller(const int64_t installerId, const sptr<IStatusReceiver> &statusReceiver); 33 virtual ~BundleInstaller() override; 114 DISALLOW_COPY_AND_MOVE(BundleInstaller);
|
H A D | bundle_installer_manager.h | 116 std::shared_ptr<BundleInstaller> CreateInstaller(const sptr<IStatusReceiver> &statusReceiver);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-installer-sys.md | 46 | callback | AsyncCallback\<BundleInstaller> | 是 | 回调函数,获取BundleInstaller对象,err为null,data为获取到的Bun… 90 | Promise\<BundleInstaller> | Promise对象,返回BundleInstaller对象。 | 122 获取并返回BundleInstaller对象。 131 | BundleInstaller | 返回BundleInstaller对象。 | 156 ## BundleInstaller.install 248 ## BundleInstaller.install 334 ## BundleInstaller.install 432 ## BundleInstaller.uninstall 632 ## BundleInstaller.recover 698 ## BundleInstaller.recover [all …]
|
H A D | js-apis-Bundle-sys.md | 35 getBundleInstaller(): Promise<BundleInstaller> 55 | Promise<[BundleInstaller](js-apis-bundle-BundleInstaller-sys.md)> | Promise对象,返回安装接口对象。 | 74 getBundleInstaller(callback: AsyncCallback<BundleInstaller>): void 94 | callback | AsyncCallback<[BundleInstaller](js-apis-bundle-BundleInstaller-sys.md)> | 是 | 回调函数,返…
|
H A D | js-apis-bundle-BundleInstaller-sys.md | 1 # BundleInstaller (系统接口) 11 ## BundleInstaller.install<sup>(deprecated)<sup> 64 ## BundleInstaller.uninstall<sup>(deprecated)<sup> 116 ## BundleInstaller.recover<sup>(deprecated)<sup>
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-bundle.md | 22 …BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, installParam: … 23 …BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, callback: Asyn… 24 …BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, installParam?:… 33 …BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, installParam: … 34 …BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, callback: Asyn… 35 …BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, installParam?:…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-bundle.md | 46 |新增|NA|类名:installer;<br>方法or属性:function getBundleInstallerSync(): BundleInstaller;|@ohos.bundle.ins… 47 |新增|NA|类名:BundleInstaller;<br>方法or属性:uninstall(uninstallParam: UninstallParam, callback: AsyncCallb… 48 |新增|NA|类名:BundleInstaller;<br>方法or属性:uninstall(uninstallParam: UninstallParam): Promise\<void>;|@oh… 120 |新增(错误码)|类名:BundleInstaller;<br>方法or属性:uninstall(bundleName: string, callback: AsyncCallback\<void>… 121 |新增(错误码)|类名:BundleInstaller;<br>方法or属性:recover(bundleName: string, callback: AsyncCallback\<void>):… 134 …名:BundleInstaller;<br>方法or属性:recover(bundleName: string, installParam?: InstallParam): Promise\<vo… 157 …leInstaller(): Promise\<BundleInstaller>;<br>旧版本信息:|类名:bundle;<br>方法or属性:function getBundleInstall… 177 …问级别有变化|类名:BundleInstaller;<br>方法or属性:install(hapFilePaths: Array\<string>, callback: AsyncCallback… 178 |访问级别有变化|类名:BundleInstaller;<br>方法or属性:uninstall(bundleName: string, callback: AsyncCallback\<void>… 179 |访问级别有变化|类名:BundleInstaller;<br>方法or属性:recover(bundleName: string, callback: AsyncCallback\<void>):… [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-installer-sys.md | 90 | Promise\<BundleInstaller> | Promise used to return the **BundleInstaller** object obtained.| 131 | BundleInstaller | **BundleInstaller** object.| 156 ## BundleInstaller.install 250 ## BundleInstaller.install 338 ## BundleInstaller.install 438 ## BundleInstaller.uninstall 506 ## BundleInstaller.uninstall 566 ## BundleInstaller.uninstall 638 ## BundleInstaller.recover 704 ## BundleInstaller.recover [all …]
|
H A D | js-apis-bundle-BundleInstaller-sys.md | 1 # BundleInstaller (System API) 3 The **BundleInstaller** module provides APIs for you to install, uninstall, and recover bundles on … 11 ## BundleInstaller.install<sup>(deprecated)<sup> 64 ## BundleInstaller.uninstall<sup>(deprecated)<sup> 116 ## BundleInstaller.recover<sup>(deprecated)<sup>
|
H A D | js-apis-Bundle-sys.md | 35 getBundleInstaller(): Promise<BundleInstaller> 55 | Promise<[BundleInstaller](js-apis-bundle-BundleInstaller-sys.md)> | Promise used to return the in… 74 getBundleInstaller(callback: AsyncCallback<BundleInstaller>): void 94 | callback | AsyncCallback<[BundleInstaller](js-apis-bundle-BundleInstaller-sys.md)> | Yes | Callb…
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | bundle_installer.h | 30 class BundleInstaller { 32 BundleInstaller(const std::string &codeDirPath, const std::string &dataDirPath); 33 ~BundleInstaller();
|
H A D | bundle_manager_service.h | 86 BundleInstaller *installer_;
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta5/ |
H A D | js-apidiff-bundle.md | 12 |新增|NA|类名:BundleInstaller<br>方法or属性:install(hapFilePaths: Array<string>, installParam?: InstallPara… 13 |新增|NA|类名:BundleInstaller<br>方法or属性:uninstall(bundleName: string, installParam?: InstallParam) : Pr… 14 |新增|NA|类名:BundleInstaller<br>方法or属性:recover(bundleName: string, installParam?: InstallParam) : Prom…
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/ |
H A D | js-apidiff-bundle.md | 46 …ler;<br>Method or attribute name: function getBundleInstallerSync(): BundleInstaller;|@ohos.bundle… 47 |Added|NA|Class name: BundleInstaller;<br>Method or attribute name: uninstall(uninstallParam: Unins… 48 |Added|NA|Class name: BundleInstaller;<br>Method or attribute name: uninstall(uninstallParam: Unins… 50 |Added|NA|Class name: BundleInstaller;<br>Method or attribute name: updateBundleForSelf(hapFilePath… 51 |Added|NA|Class name: BundleInstaller;<br>Method or attribute name: updateBundleForSelf(hapFilePath… 121 …BundleInstaller;<br>Method or attribute name: recover(bundleName: string, callback: AsyncCallback\… 157 …<BundleInstaller>;<br>Old version information: |Class name: bundle;<br>Method or attribute name: f… 177 …BundleInstaller;<br>Method or attribute name: install(hapFilePaths: Array\<string>, callback: Asyn… 178 …BundleInstaller;<br>Method or attribute name: uninstall(bundleName: string, callback: AsyncCallbac… 179 …BundleInstaller;<br>Method or attribute name: recover(bundleName: string, callback: AsyncCallback\… [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta5/ |
H A D | js-apidiff-bundle.md | 12 |Added|NA|Class name: BundleInstaller<br>Method or attribute name: install(hapFilePaths: Array<stri… 13 |Added|NA|Class name: BundleInstaller<br>Method or attribute name: uninstall(bundleName: string, in… 14 |Added|NA|Class name: BundleInstaller<br>Method or attribute name: recover(bundleName: string, inst…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-bundle.md | 199 |新增|NA|类名:installer;<br>方法or属性:function getBundleInstaller(callback: AsyncCallback\<BundleInstaller… 200 |新增|NA|类名:installer;<br>方法or属性:function getBundleInstaller(): Promise\<BundleInstaller>;|@ohos.bund… 205 |新增|NA|类名:BundleInstaller;<br>方法or属性:uninstall(bundleName: string, callback : AsyncCallback\<void>)… 208 |新增|NA|类名:BundleInstaller;<br>方法or属性:recover(bundleName: string, callback: AsyncCallback\<void>): v… 209 |新增|NA|类名:BundleInstaller;<br>方法or属性:recover(bundleName: string, installParam?: InstallParam) : Pro… 415 …syncCallback\<BundleInstaller>): void;<br>旧版本信息:|类名:bundle;<br>方法or属性:function getBundleInstaller(… 416 …leInstaller(): Promise\<BundleInstaller>;<br>旧版本信息:|类名:bundle;<br>方法or属性:function getBundleInstall… 630 …BundleInstaller;<br>方法or属性:export interface BundleInstaller<br>旧版本信息:|类名:BundleInstaller;<br>方法or属… 631 …BundleInstaller;<br>方法or属性:install(bundleFilePaths: Array\<string>, param: InstallParam, callback:… 632 …BundleInstaller;<br>方法or属性:uninstall(bundleName: string, param: InstallParam, callback: AsyncCallb… [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/test_bundle/otaUpdateTestBasis/entry/src/main/ets/pages/ |
H A D | index.ets | 42 installer.getBundleInstaller().then((data: installer.BundleInstaller) => {
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/test_bundle/otaUpdateTestBasis2/entry/src/main/ets/pages/ |
H A D | index.ets | 42 installer.getBundleInstaller().then((data: installer.BundleInstaller) => {
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/test_bundle/otaUpdateTestSoChanged/entry/src/main/ets/pages/ |
H A D | index.ets | 42 installer.getBundleInstaller().then((data: installer.BundleInstaller) => {
|