/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-update.md | 9 | ohos.update | EventId | EVENT_UPGRADE_FAIL | 新增 | 11 | ohos.update | EventId | EVENT_APPLY_START | 新增 | 12 | ohos.update | EventId | EVENT_APPLY_WAIT | 新增 | 37 | ohos.update | Order | APPLY = 4 | 新增 | 38 | ohos.update | Order | INSTALL = 2 | 新增 | 39 | ohos.update | Order | DOWNLOAD = 1 | 新增 | 42 | ohos.update | NetType | CELLULAR = 1 | 新增 | 118 | ohos.update | update | getLocalUpdater(): LocalUpdater; | 新增 | 119 | ohos.update | update | getRestorer(): Restorer; | 新增 | 120 | ohos.update | update | getOnlineUpdater(upgradeInfo: UpgradeInfo): Updater; | 新增 | [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-update.md | 9 | ohos.update | EventId | EVENT_UPGRADE_FAIL | Added| 11 | ohos.update | EventId | EVENT_APPLY_START | Added| 12 | ohos.update | EventId | EVENT_APPLY_WAIT | Added| 37 | ohos.update | Order | APPLY = 4 | Added| 38 | ohos.update | Order | INSTALL = 2 | Added| 39 | ohos.update | Order | DOWNLOAD = 1 | Added| 42 | ohos.update | NetType | CELLULAR = 1 | Added| 118 | ohos.update | update | getLocalUpdater(): LocalUpdater; | Added| 119 | ohos.update | update | getRestorer(): Restorer; | Added| 120 | ohos.update | update | getOnlineUpdater(upgradeInfo: UpgradeInfo): Updater; | Added| [all …]
|
/ohos5.0/base/update/updateservice/services/engine/etc/ |
H A D | updater_sa.cfg | 5 "mkdir /data/service/el1/public/update 0751 update update", 6 "mkdir /data/service/el1/public/update/dupdate_engine 0700 update update", 7 "mkdir /data/service/el1/public/update/dupdate_engine/databases 0700 update update", 8 … "mkdir /data/service/el1/public/update/dupdate_engine/preferences 0700 update update", 9 "mkdir /data/service/el1/public/update/dupdate_engine/files 0700 update update", 12 "mkdir /data/service/el1/public/update/update_service 0700 update update", 13 "mkdir /data/service/el1/public/update/update_service/databases 0700 update update", 14 "mkdir /data/update 0770 update update", 15 "mkdir /data/update/ota_package 0770 update update", 16 "mkdir /data/update/ota_package/firmware 0770 update update", [all …]
|
/ohos5.0/base/update/sys_installer/frameworks/ipc_server/etc/ |
H A D | sys_installer_sa.cfg | 5 "mkdir /data/service/el1/public/update 0751 update update", 6 "mkdir /data/service/el1/public/update/param_service 0751 update update", 7 "mkdir /data/service/el1/public/update/param_service/install 0751 update update", 8 … "mkdir /data/service/el1/public/update/param_service/install/system 0751 update update", 9 … "mkdir /data/service/el1/public/update/param_service/install/vendor 0751 update update", 10 "mkdir /mnt/sys_installer 0700 update update", 11 "mkdir /data/update/upload 0770 update update", 12 "chown update update /data/update/upload", 14 "mkdir /data/updater 0775 update update", 15 "chown update update /data/updater", [all …]
|
H A D | module_update_sa.cfg | 5 "mkdir /data/module_update_package 0771 update update", 6 "mkdir /data/module_update 0775 update update", 7 "mkdir /data/module_update/active 0775 update update", 8 "mkdir /data/module_update/backup 0770 update update", 9 "mkdir /mnt/sys_installer 0700 update update" 17 "gid" : ["update", "system", "root"],
|
/ohos5.0/base/security/asset/test/unittest/inner_kits_rust/src/ |
H A D | update_abnormal.rs | 28 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap_err(), in update_query_without_alias() 42 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap_err(), in update_query_invalid_alias() 48 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap_err(), in update_query_invalid_alias() 62 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap_err(), in update_query_alias_with_unmatched_type() 68 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap_err(), in update_query_alias_with_unmatched_type() 83 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap_err(), in update_query_invalid_accessibility() 97 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap_err(), in update_query_invalid_auth_type() 103 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap_err(), in update_query_invalid_auth_type() 118 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap_err(), in update_query_invalid_sync_type() 260 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap_err(), in update_empty_attrs() [all …]
|
H A D | update.rs | 28 let mut update = AssetMap::new(); in update_same_secret() localVariable 29 update.insert_attr(Tag::Secret, secret.to_owned()); in update_same_secret() 31 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap(); in update_same_secret() 47 let mut update = AssetMap::new(); in update_different_secret() localVariable 48 update.insert_attr(Tag::Secret, secret_new.to_owned()); in update_different_secret() 50 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap(); in update_different_secret() 69 let mut update = AssetMap::new(); in update_attr_normal() localVariable 70 update.insert_attr(Tag::DataLabelNormal1, label_normal.to_owned()); in update_attr_normal() 72 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap(); in update_attr_normal() 88 let mut update = AssetMap::new(); in update_non_exist() localVariable [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-update.md | 3 |删除|类名:update;<br>方法or属性:export type UpdateTypes =<br> 'OTA' \|<br> 'patch';|NA|@ohos… 4 |删除|类名:update;<br>方法or属性:function getUpdater(upgradeFile: string, updateType?: UpdateTypes): Update… 5 |删除|类名:update;<br>方法or属性:function getUpdaterForOther(upgradeFile: string, device: string, updateTyp… 6 |删除|类名:update;<br>方法or属性:function getUpdaterFromOther(upgradeFile: string, device: string, updateTy… 73 |新增|NA|类名:update;<br>方法or属性:function getOnlineUpdater(upgradeInfo: UpgradeInfo): Updater;|@ohos.upd… 74 |新增|NA|类名:update;<br>方法or属性:function getRestorer(): Restorer;|@ohos.update.d.ts| 75 |新增|NA|类名:update;<br>方法or属性:function getLocalUpdater(): LocalUpdater;|@ohos.update.d.ts| 172 |新增|NA|类名:NetType;<br>方法or属性:WIFI = 6|@ohos.update.d.ts| 174 |新增|NA|类名:Order;<br>方法or属性:DOWNLOAD = 1|@ohos.update.d.ts| 175 |新增|NA|类名:Order;<br>方法or属性:INSTALL = 2|@ohos.update.d.ts| [all …]
|
/ohos5.0/docs/en/readme/ |
H A D | update.md | 5 …date subsystem helps you implement over the air \(OTA\) update of OpenHarmony devices. The update … 9 …update packages. It packages each update image, signs the update package, generates the update pac… 11 The update package contains two files: **build\_tools.zip** and **update.bin**. 14 …- **update.bin**: TLV-encoded file, in which update contents are serialized and stored in the TL… 16 …The packaging tool signs the **update.bin** file and the generated update package \(**.zip** fi… 28 3. Starts the update process and parses the update script. 30 …erforms post-processing after the update is complete, for example, deleting the update package and… 41 …update over a wireless connection. The update package is downloaded to the device through a wirele… 45 …l package is actually a complete image. The update subsystem writes the full package to a partitio… 55 base/update # Update subsystem repository [all …]
|
/ohos5.0/base/update/updateservice/interfaces/inner_api/feature/update/model/ |
H A D | model.gni | 17 "../feature/update/model/check", 18 "../feature/update/model/clear", 19 "../feature/update/model/common", 20 "../feature/update/model/download", 21 "../feature/update/model/event", 22 "../feature/update/model/event/on_off", 23 "../feature/update/model/install", 25 "../feature/update/model/policy", 26 "../feature/update/model/subscribe", 27 "../feature/update/model/task", [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202211/ |
H A D | js-apidiff-update.md | 3 |新增(错误码)|NA|方法名 or 属性名:getOnlineUpdater<br>错误码内容:201,11500104|@ohos.update.d.ts| 4 |新增(错误码)|NA|方法名 or 属性名:getRestorer<br>错误码内容:201,11500104|@ohos.update.d.ts| 5 |新增(错误码)|NA|方法名 or 属性名:getLocalUpdater<br>错误码内容:201,11500104|@ohos.update.d.ts| 6 |新增(错误码)|NA|方法名 or 属性名:checkNewVersion<br>错误码内容:201,11500104|@ohos.update.d.ts| 11 |新增(错误码)|NA|方法名 or 属性名:getTaskInfo<br>错误码内容:201,11500104|@ohos.update.d.ts| 12 |新增(错误码)|NA|方法名 or 属性名:download<br>错误码内容:201,401,11500104|@ohos.update.d.ts| 15 |新增(错误码)|NA|方法名 or 属性名:upgrade<br>错误码内容:201,401,11500104|@ohos.update.d.ts| 20 |新增(错误码)|NA|方法名 or 属性名:on<br>错误码内容:201,401,11500104|@ohos.update.d.ts| 21 |新增(错误码)|NA|方法名 or 属性名:off<br>错误码内容:201,401,11500104|@ohos.update.d.ts| 25 |新增(错误码)|NA|方法名 or 属性名:on<br>错误码内容:201,401,11500104|@ohos.update.d.ts| [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta4/ |
H A D | js-apidiff-update.md | 3 |新增(错误码)|NA|方法名 or 属性名:getOnlineUpdater<br>错误码内容:201,11500104|@ohos.update.d.ts| 4 |新增(错误码)|NA|方法名 or 属性名:getRestorer<br>错误码内容:201,11500104|@ohos.update.d.ts| 5 |新增(错误码)|NA|方法名 or 属性名:getLocalUpdater<br>错误码内容:201,11500104|@ohos.update.d.ts| 6 |新增(错误码)|NA|方法名 or 属性名:checkNewVersion<br>错误码内容:201,11500104|@ohos.update.d.ts| 11 |新增(错误码)|NA|方法名 or 属性名:getTaskInfo<br>错误码内容:201,11500104|@ohos.update.d.ts| 12 |新增(错误码)|NA|方法名 or 属性名:download<br>错误码内容:201,401,11500104|@ohos.update.d.ts| 15 |新增(错误码)|NA|方法名 or 属性名:upgrade<br>错误码内容:201,401,11500104|@ohos.update.d.ts| 20 |新增(错误码)|NA|方法名 or 属性名:on<br>错误码内容:201,401,11500104|@ohos.update.d.ts| 21 |新增(错误码)|NA|方法名 or 属性名:off<br>错误码内容:201,401,11500104|@ohos.update.d.ts| 25 |新增(错误码)|NA|方法名 or 属性名:on<br>错误码内容:201,401,11500104|@ohos.update.d.ts| [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-update.md | 3 …eted|Class name: update;<br>Method or attribute name: export type UpdateTypes =<br> 'OTA' \… 4 …Class name: update;<br>Method or attribute name: function getUpdater(upgradeFile: string, updateTy… 5 …update;<br>Method or attribute name: function getUpdaterForOther(upgradeFile: string, device: stri… 6 …update;<br>Method or attribute name: function getUpdaterFromOther(upgradeFile: string, device: str… 73 …Added|NA|Class name: update;<br>Method or attribute name: function getOnlineUpdater(upgradeInfo: U… 74 |Added|NA|Class name: update;<br>Method or attribute name: function getRestorer(): Restorer;|@ohos.… 75 |Added|NA|Class name: update;<br>Method or attribute name: function getLocalUpdater(): LocalUpdater… 172 |Added|NA|Class name: NetType;<br>Method or attribute name: WIFI = 6|@ohos.update.d.ts| 174 |Added|NA|Class name: Order;<br>Method or attribute name: DOWNLOAD = 1|@ohos.update.d.ts| 175 |Added|NA|Class name: Order;<br>Method or attribute name: INSTALL = 2|@ohos.update.d.ts| [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-update.md | 3 …update;<br>方法or属性:function getOnlineUpdater(upgradeInfo: UpgradeInfo): Updater;<br>旧版本信息:|类名:updat… 4 …名:update;<br>方法or属性:function getRestorer(): Restorer;<br>旧版本信息:|类名:update;<br>方法or属性:function getR… 5 …update;<br>方法or属性:function getLocalUpdater(): LocalUpdater;<br>旧版本信息:|类名:update;<br>方法or属性:functio… 128 …>方法or属性:OTA = 1<br>旧版本信息:|类名:ComponentType;<br>方法or属性:OTA = 1<br>新版本信息:systemapi|@ohos.update.d.ts| 133 …法or属性:COLD = 1<br>旧版本信息:|类名:EffectiveMode;<br>方法or属性:COLD = 1<br>新版本信息:systemapi|@ohos.update.d.ts| 134 …法or属性:LIVE = 2<br>旧版本信息:|类名:EffectiveMode;<br>方法or属性:LIVE = 2<br>新版本信息:systemapi|@ohos.update.d.ts| 143 …r属性:CELLULAR = 1<br>旧版本信息:|类名:NetType;<br>方法or属性:CELLULAR = 1<br>新版本信息:systemapi|@ohos.update.d.ts| 146 …;<br>方法or属性:WIFI = 6<br>旧版本信息:|类名:NetType;<br>方法or属性:WIFI = 6<br>新版本信息:systemapi|@ohos.update.d.ts| 149 …法or属性:DOWNLOAD = 1<br>旧版本信息:|类名:Order;<br>方法or属性:DOWNLOAD = 1<br>新版本信息:systemapi|@ohos.update.d.ts| 150 …>方法or属性:INSTALL = 2<br>旧版本信息:|类名:Order;<br>方法or属性:INSTALL = 2<br>新版本信息:systemapi|@ohos.update.d.ts| [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/Beta5 to v3.2-Release/ |
H A D | js-apidiff-update.md | 5 …性:FIRMWARE = 1<br>起始版本:N/A|类名:BusinessSubType<br>方法 or 属性:FIRMWARE = 1<br>起始版本:9|@ohos.update.d.ts| 6 …e<br>方法 or 属性:OTA = 1<br>起始版本:N/A|类名:ComponentType<br>方法 or 属性:OTA = 1<br>起始版本:9|@ohos.update.d.ts| 9 …br>方法 or 属性:COLD = 1<br>起始版本:N/A|类名:EffectiveMode<br>方法 or 属性:COLD = 1<br>起始版本:9|@ohos.update.d.ts| 10 …br>方法 or 属性:LIVE = 2<br>起始版本:N/A|类名:EffectiveMode<br>方法 or 属性:LIVE = 2<br>起始版本:9|@ohos.update.d.ts| 13 …br>方法 or 属性:URI = 1<br>起始版本:N/A|类名:DescriptionType<br>方法 or 属性:URI = 1<br>起始版本:9|@ohos.update.d.ts| 16 …>方法 or 属性:CELLULAR = 1<br>起始版本:N/A|类名:NetType<br>方法 or 属性:CELLULAR = 1<br>起始版本:9|@ohos.update.d.ts| 17 …性:METERED_WIFI = 2<br>起始版本:N/A|类名:NetType<br>方法 or 属性:METERED_WIFI = 2<br>起始版本:9|@ohos.update.d.ts| 19 …tType<br>方法 or 属性:WIFI = 6<br>起始版本:N/A|类名:NetType<br>方法 or 属性:WIFI = 6<br>起始版本:9|@ohos.update.d.ts| 21 …br>方法 or 属性:DOWNLOAD = 1<br>起始版本:N/A|类名:Order<br>方法 or 属性:DOWNLOAD = 1<br>起始版本:9|@ohos.update.d.ts| 22 …r<br>方法 or 属性:INSTALL = 2<br>起始版本:N/A|类名:Order<br>方法 or 属性:INSTALL = 2<br>起始版本:9|@ohos.update.d.ts| [all …]
|
/ohos5.0/base/update/update_app/common/src/main/ets/manager/ |
H A D | UpdateManager.ts | 17 import update from '@ohos.update'; 91 private otaUpdater: update.Updater; 103 let upgradeInfo: update.UpgradeInfo = { 106 vendor: update.BusinessVendor.PUBLIC, 189 let versionDigestInfo: update.VersionDigestInfo = { 192 let descriptionOptions: update.DescriptionOptions = { 226 let options: update.DescriptionOptions = { 287 let versionDigestInfo: update.VersionDigestInfo = { 290 let upgradeOptions: update.UpgradeOptions = { 315 let downloadOptions: update.DownloadOptions = { [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-update-sys.md | 1 # @ohos.update (升级) 20 import { update } from '@kit.BasicServicesKit'; 23 ## update.getOnlineUpdater 60 ## update.getRestorer 80 let restorer = update.getRestorer(); 86 ## update.getLocalUpdater 649 order: update.Order.DOWNLOAD // 下载 702 order: update.Order.DOWNLOAD // 下载 953 order: update.Order.INSTALL // 安装指令 1675 let onTaskUpdate: update.UpgradeTaskCallback = (eventInfo: update.EventInfo) => { [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta3/ |
H A D | js-apidiff-update.md | 9 | ohos.update | Order | INSTALL_AND_APPLY = 6 … 10 | ohos.update | Order | DOWNLOAD_AND_INSTALL = 3 … 11 | ohos.update | NetType | CELLULAR_AND_WIFI = 7 … 12 | ohos.update | NetType | WIFI = 6 … 13 | ohos.update | DescriptionFormat | SIMPLIFIED = 1 … 14 | ohos.update | DescriptionFormat | STANDARD = 0 … 15 | ohos.update | ComponentDescription | descriptionInfo: DescriptionInfo; … 16 | ohos.update | ComponentDescription | componentId: string; … 17 | ohos.update | DescriptionOptions | language: string; … 18 | ohos.update | DescriptionOptions | format: DescriptionFormat; … [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta3/ |
H A D | js-apidiff-update.md | 3 The table below lists the APIs changes of the update subsystem in OpenHarmony 3.2 Beta3 over OpenHa… 9 | ohos.update | Order | INSTALL_AND_APPLY = 6 … 10 | ohos.update | Order | DOWNLOAD_AND_INSTALL = 3 … 11 | ohos.update | NetType | CELLULAR_AND_WIFI = 7 … 12 | ohos.update | NetType | WIFI = 6 … 13 | ohos.update | DescriptionFormat | SIMPLIFIED = 1 … 14 | ohos.update | DescriptionFormat | STANDARD = 0 … 15 | ohos.update | ComponentDescription | descriptionInfo: DescriptionInfo; … 16 | ohos.update | ComponentDescription | componentId: string; … 17 | ohos.update | DescriptionOptions | language: string; … [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/monthly-202211/ |
H A D | js-apidiff-update.md | 3 …added|NA|Method or attribute name: getOnlineUpdater<br>Error code: 201, 11500104|@ohos.update.d.ts| 4 …code added|NA|Method or attribute name: getRestorer<br>Error code: 201, 11500104|@ohos.update.d.ts| 5 … added|NA|Method or attribute name: getLocalUpdater<br>Error code: 201, 11500104|@ohos.update.d.ts| 6 … added|NA|Method or attribute name: checkNewVersion<br>Error code: 201, 11500104|@ohos.update.d.ts| 11 …code added|NA|Method or attribute name: getTaskInfo<br>Error code: 201, 11500104|@ohos.update.d.ts| 12 …de added|NA|Method or attribute name: download<br>Error code: 201, 401, 11500104|@ohos.update.d.ts| 15 …ode added|NA|Method or attribute name: upgrade<br>Error code: 201, 401, 11500104|@ohos.update.d.ts| 20 |Error code added|NA|Method or attribute name: on<br>Error code: 201, 401, 11500104|@ohos.update.d.… 21 |Error code added|NA|Method or attribute name: off<br>Error code: 201, 401, 11500104|@ohos.update.d… 25 |Error code added|NA|Method or attribute name: on<br>Error code: 201, 401, 11500104|@ohos.update.d.… [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta4/ |
H A D | js-apidiff-update.md | 3 …added|NA|Method or attribute name: getOnlineUpdater<br>Error code: 201, 11500104|@ohos.update.d.ts| 4 …code added|NA|Method or attribute name: getRestorer<br>Error code: 201, 11500104|@ohos.update.d.ts| 5 … added|NA|Method or attribute name: getLocalUpdater<br>Error code: 201, 11500104|@ohos.update.d.ts| 6 … added|NA|Method or attribute name: checkNewVersion<br>Error code: 201, 11500104|@ohos.update.d.ts| 11 …code added|NA|Method or attribute name: getTaskInfo<br>Error code: 201, 11500104|@ohos.update.d.ts| 12 …de added|NA|Method or attribute name: download<br>Error code: 201, 401, 11500104|@ohos.update.d.ts| 15 …ode added|NA|Method or attribute name: upgrade<br>Error code: 201, 401, 11500104|@ohos.update.d.ts| 20 |Error code added|NA|Method or attribute name: on<br>Error code: 201, 401, 11500104|@ohos.update.d.… 21 |Error code added|NA|Method or attribute name: off<br>Error code: 201, 401, 11500104|@ohos.update.d… 25 |Error code added|NA|Method or attribute name: on<br>Error code: 201, 401, 11500104|@ohos.update.d.… [all …]
|
/ohos5.0/base/update/sys_installer_lite/ |
H A D | README.md | 11 …update capability. Your devices will be able to support OTA update after secondary development bas… 16 /base/update/sys_installer_lite 18 ├── frameworks # OTA update implementation, including update package parsing, verification,… 26 └── kits # OTA update APIs 41 "subsystem": "update", 49 - Add the **update.json** file to the **build\\lite\\components** directory. 58 "base/update/sys_installer_lite/frameworks", 59 "base/update/sys_installer_lite/interfaces/kits" 62 "//base/update/sys_installer_lite/frameworks:sys_installer_lite" 80 [Update subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/update.md) [all …]
|
/ohos5.0/base/update/sys_installer_lite/frameworks/source/ |
H A D | BUILD.gn | 18 "//base/update/sys_installer_lite/frameworks/source/verify/app_rsa.c", 23 "//base/update/sys_installer_lite/interfaces/kits", 24 "//base/update/sys_installer_lite/hals", 25 "//base/update/sys_installer_lite/frameworks/test/dload", 26 "//base/update/sys_installer_lite/frameworks/source/verify", 38 deps += [ "$ohos_board_adapter_dir/hals/update:hal_update_static" ] 49 "//base/update/sys_installer_lite/interfaces/kits", 50 "//base/update/sys_installer_lite/hals", 51 "//base/update/sys_installer_lite/frameworks/test/dload", 52 "//base/update/sys_installer_lite/frameworks/source/verify", [all …]
|
/ohos5.0/base/update/updater/interfaces/kits/updaterkits/ |
H A D | updaterkits.cpp | 84 std::string pathInfo(updateMsg.update, sizeof(updateMsg.update)); in ParsePkgPath() 138 if (updateOffset > sizeof(msg.update)) { in AddPkgPath() 144 ret = snprintf_s(msg.update + updateOffset, sizeof(msg.update) - updateOffset, in AddPkgPath() 145 sizeof(msg.update) - 1 - updateOffset, "--update_package=%s\n", path.c_str()); in AddPkgPath() 147 ret = snprintf_s(msg.update + updateOffset, sizeof(msg.update) - updateOffset, in AddPkgPath() 148 sizeof(msg.update) - 1 - updateOffset, "%s\n", path.c_str()); in AddPkgPath() 162 … int ret = snprintf_s(msg.update, sizeof(msg.update), sizeof(msg.update) - 1, "--sdcard_update\n"); in RebootAndInstallSdcardPackage() 197 ret = snprintf_s(updateMsg.update, sizeof(updateMsg.update), sizeof(updateMsg.update) - 1, in RebootAndInstallUpgradePackage() 200 ret = snprintf_s(updateMsg.update, sizeof(updateMsg.update), sizeof(updateMsg.update) - 1, in RebootAndInstallUpgradePackage() 231 if (strncpy_s(updateMsg.update, sizeof(updateMsg.update), cmd.c_str(), cmd.size()) != EOK) { in RebootAndCleanUserData()
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.22/ |
H A D | changelogs-crypto_framework.md | 3 ## cl.crypto_architecture.1 Sign.update和Verify.update接口变更 11 当使用DSA算法进行签名或验签,并设置了摘要算法为NoHash时,则不支持update操作,实际该接口返回了成功。 17 变更前,当使用DSA算法进行签名,并设置了摘要算法为NoHash时,如果调用了update接口(即使用了分段签名),该接口会返回成功,但最终得到的签名值是错误的。 19 变更后,当使用DSA算法进行签名,并设置了摘要算法为NoHash时,如果调用了update接口(即使用了分段签名),该接口会抛出异常,错误码为ERR_CRYPTO_OPERATION。 21 变更前,当使用DSA算法对正确的签名数据进行验签,并设置了摘要算法为NoHash时,如果调用了update接口,该接口会返回成功,但最终会验签失败。 23 变更后,当使用DSA算法对正确的签名数据进行验签,并设置了摘要算法为NoHash时,如果调用了update接口,该接口会抛出异常,错误码为ERR_CRYPTO_OPERATION。 35 @ohos.security.cryptoFramework.d.ts中Sign.update和Verify.update接口 39 当使用DSA算法进行签名或验签,并设置了摘要算法为NoHash时,则不能调用update接口。签名时应该调用Sign.init和Sign.sign接口,验签时应该调用Verify.init和Veri…
|