/ohos5.0/base/update/updater/test/unittest/package/ |
H A D | BUILD.gn | 37 "${updater_path}/interfaces/kits/packages/package.cpp", 44 "${updater_path}/services/package/pkg_manager/pkg_stream.cpp", 45 "${updater_path}/services/package/pkg_manager/pkg_utils.cpp", 48 "${updater_path}/services/package/pkg_package/pkg_lz4file.cpp", 52 "${updater_path}/services/package/pkg_verify/cert_verify.cpp", 62 "${updater_path}/interfaces/kits/include/package", 65 "${updater_path}/services/include/package", 68 "${updater_path}/services/package/pkg_algorithm", 69 "${updater_path}/services/package/pkg_manager", 70 "${updater_path}/services/package/pkg_package", [all …]
|
/ohos5.0/base/update/packaging_tools/ |
H A D | README.md | 10 The packaging tool is used to prepare an update package. It provides the following functions: 12 - Creating a full update package: The update package contains only the data necessary for full imag… 14 - Creating a differential update package: The update package contains only the data necessary for d… 16 - Creating an update package with changeable partitions: The update package contains the partition … 31 ├── update_package.py # Update package format management and update package writing 46 - bsdiff executable program, which performs differential calculation to generate the patch package 56 target_package Target package file path. 57 update_package Update package file path. 60 -s SOURCE_PACKAGE, --source_package SOURCE_PACKAGE Source package file path. 68 Example code for creating a full update package: [all …]
|
/ohos5.0/base/customization/enterprise_device_management/interfaces/inner_api/system_manager/src/ |
H A D | update_policy_utils.cpp | 75 for (auto package : packageInfo.packages) { in WriteUpgradePackageInfo() local 77 data.WriteString(package.path); in WriteUpgradePackageInfo() 78 data.WriteFileDescriptor(package.fd); in WriteUpgradePackageInfo() 92 Package package; in ReadUpgradePackageInfo() local 94 data.ReadString(package.path); in ReadUpgradePackageInfo() 95 package.fd = data.ReadFileDescriptor(); in ReadUpgradePackageInfo() 96 packageInfo.packages.push_back(package); in ReadUpgradePackageInfo() 120 for (auto &package : packages) { in ClosePackagesFileHandle() local 121 if (package.fd >= 0) { in ClosePackagesFileHandle() 122 close(package.fd); in ClosePackagesFileHandle() [all …]
|
/ohos5.0/base/update/updater/test/unittest/ |
H A D | BUILD.gn | 69 "${updater_path}/interfaces/kits/packages/package.cpp", 89 "${updater_path}/services/package/pkg_manager/pkg_stream.cpp", 90 "${updater_path}/services/package/pkg_manager/pkg_utils.cpp", 92 "${updater_path}/services/package/pkg_package/pkg_lz4file.cpp", 117 "${updater_path}/interfaces/kits/include/package", 122 "${updater_path}/services/include/package", 132 "${updater_path}/services/package/pkg_algorithm", 133 "${updater_path}/services/package/pkg_manager", 134 "${updater_path}/services/package/pkg_package", 135 "${updater_path}/services/package/pkg_verify", [all …]
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-ota-guide.md | 16 - Full package: an update package that packs all images of the target version. 18 - Differential package: an update package that packs the differential images between the source ver… 36 …and small systems support update using a full package, but not a differential package or an update… 53 <a href="#making-an-update-package">2. Use the packaging tool to generate an update package.</a> 59 <a href="#uploading-the-update package">3. Upload the update package to the vendor's OTA server.</a> 61 <a href="#downloading-the-update-package">4. Download the update package from the vendor's OTA serv… 120 <package> 129 </package> 168 6. Generate the update package. 260 8. Generate the update package. [all …]
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/ |
H A D | appevent_packageholder_impl.cpp | 79 RetAppEventPackage package; in TakeNext() local 82 return {ret, package}; in TakeNext() 86 return {ret, package}; in TakeNext() 103 return {ret, package}; in TakeNext() 107 return {ret, package}; in TakeNext() 109 package.packageId = packageId_++; in TakeNext() 110 package.row = static_cast<int>(eventStrs.size()); in TakeNext() 111 package.size = static_cast<int>(totalSize); in TakeNext() 112 package.events = ConvertArrString(eventStrs); in TakeNext() 114 return {ret, package}; in TakeNext()
|
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/util/ |
H A D | options.cpp | 214 std::string package = packagePath.substr(0, index); in AddPackagePath() local 221 auto it = packagePathMap.find(package); in AddPackagePath() 227 packagePathMap[package] = path; in AddPackagePath() 305 if (StringHelper::StartWith(package, packageRoot.first)) { in GetRootPackage() 318 std::string Options::GetRootPath(const std::string &package) const in GetRootPath() 322 if (StringHelper::StartWith(package, packageRoot.first)) { in GetRootPath() 335 std::string Options::GetSubPackage(const std::string &package) const in GetSubPackage() 337 std::string rootPackage = GetRootPackage(package); in GetSubPackage() 339 return package; in GetSubPackage() 342 return package.substr(rootPackage.size() + 1); in GetSubPackage() [all …]
|
/ohos5.0/docs/en/application-dev/basic-services/update/ |
H A D | sample-server-overview.md | 9 - Update package query: The server returns the version information of the update package. 11 - Update package download: The server returns the download link of the update package. 19 …ions the package search service through the TCP connection and the SSL protocol. The sample server… 23 - update.serverip.search: a system parameter that indicates the IP address of the package search se… 27 …dicates the SHA-256 value of the update package, and the **size** field indicates the size of the … 44 "content": "This package is used for update."
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-system-package.md | 1 # @system.package (应用管理) 15 import package from '@system.package'; 19 ## package.hasInstalled<sup>(deprecated)</sup> 39 package.hasInstalled({ 42 console.log('package has installed: ' + data); 45 console.log('query package fail, code: ' + code + ', data: ' + data);
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/ |
H A D | hisysevent.yaml | 18 APP_UID: {type: INT32, desc: package uid} 20 APP_NAME: {type: STRING, desc: package name} 26 APP_UID: {type: INT32, desc: package uid} 28 APP_NAME: {type: STRING, desc: package name} 33 APP_UID: {type: INT32, desc: package uid} 35 APP_NAME: {type: STRING, desc: package name} 36 ABILITY: {type: STRING, desc: package ability} 42 APP_UID: {type: INT32, desc: package uid} 44 APP_NAME: {type: STRING, desc: package name} 45 ABILITY: {type: STRING, desc: package ability}
|
/ohos5.0/docs/en/readme/ |
H A D | update.md | 9 …pdate image, signs the update package, generates the update package execution script, and finally … 11 The update package contains two files: **build\_tools.zip** and **update.bin**. 16 …The packaging tool signs the **update.bin** file and the generated update package \(**.zip** fi… 27 2. Decompresses the update package and verifies its validity. 30 …rocessing after the update is complete, for example, deleting the update package and recording the… 41 …OTA is an implementation of update over a wireless connection. The update package is downloaded to… 43 - Full package 45 …A full package is actually a complete image. The update subsystem writes the full package to a par… 47 - Differential package 49 …A differential package is created based on the difference data of two specific versions \(source v…
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
H A D | napi_app_event_holder.cpp | 165 auto package = holder->TakeNext(); in NapiTakeNext() local 166 if (package == nullptr) { in NapiTakeNext() 171 NapiUtil::SetNamedProperty(env, packageObj, "row", NapiUtil::CreateInt32(env, package->row)); in NapiTakeNext() 172 NapiUtil::SetNamedProperty(env, packageObj, "size", NapiUtil::CreateInt32(env, package->size)); in NapiTakeNext() 209 auto package = std::make_shared<AppEventPackage>(); in TakeNext() local 220 package->events.emplace_back(event); in TakeNext() 231 package->packageId = packageId_++; in TakeNext() 232 package->row = static_cast<int>(eventStrs.size()); in TakeNext() 233 package->size = static_cast<int>(totalSize); in TakeNext() 234 package->data = eventStrs; in TakeNext() [all …]
|
/ohos5.0/base/update/updater/test/fuzztest/package_fuzzer/ |
H A D | BUILD.gn | 31 "${updater_path}/interfaces/kits/include/package", 32 "${updater_path}/services/package/pkg_algorithm", 33 "${updater_path}/services/package/pkg_manager", 34 "${updater_path}/services/package/pkg_package", 35 "${updater_path}/services/package/pkg_verify", 38 "${updater_path}/services/include/package", 47 "${updater_path}/services/package:libupdaterpackage", 68 "${updater_path}/interfaces/kits/packages/package.cpp",
|
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/ |
H A D | build_hdi_files_info.py | 191 package = "" variable in ModuleInfo 289 self.package = "" 303 "package": self.package, 378 idl_detail.package = source_idl_detail.package 477 ModuleInfo.package = idl_detail.package 500 def get_sub_package(package): argument 504 return package 507 def get_package_path(package): argument 521 def get_version(package): argument 629 package = "" [all …]
|
/ohos5.0/base/sensors/miscdevice/test/unittest/vibrator/native/ |
H A D | vibrator_agent_test.cpp | 965 VibratorPackage package; variable 990 VibratorPackage package; variable 1015 VibratorPackage package; variable 1040 VibratorPackage package; variable 1065 VibratorPackage package; variable 1090 VibratorPackage package; variable 1115 VibratorPackage package; variable 1140 VibratorPackage package; variable 1165 VibratorPackage package; variable 1194 VibratorPackage package; variable [all …]
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/build/ |
H A D | hisysevent.yaml | 55 PACKAGE_NAME: { type: STRING, desc: package name } 60 PACKAGE_NAME: { type: STRING, desc: package name } 66 PACKAGE_NAME: { type: STRING, desc: package name } 71 PACKAGE_NAME: { type: STRING, desc: package name } 76 PACKAGE_NAME: { type: STRING, desc: package name } 82 PACKAGE_NAME: { type: STRING, desc: package name } 87 PACKAGE_NAME: { type: STRING, desc: package name } 92 PACKAGE_NAME: { type: STRING, desc: package name } 163 BUNDLE_NAME: {type: STRING, desc: package name} 172 BUNDLE_NAME: {type: STRING, desc: package name} [all …]
|
/ohos5.0/drivers/hdf_core/framework/model/input/driver/ |
H A D | event_hub.c | 42 EventPackage package = {0}; in PushOnePackage() local 51 package.type = type; in PushOnePackage() 52 package.code = code; in PushOnePackage() 53 package.value = value; in PushOnePackage() 55 package.time = time.sec * SEC_TO_USEC + time.usec; in PushOnePackage() 57 if (!HdfSbufWriteBuffer(inputDev->pkgBuf, &package, sizeof(EventPackage))) { in PushOnePackage()
|
/ohos5.0/base/startup/appspawn/service/hnp/installer/ |
H A D | README_zh.md | 25 …usage:hnp <command> <args> [-u <user id>][-p <hap package name>][-i <hap install path>][-f][-s <ha… 29 install: install one hap package 30 hnp install <-u [user id]> <-p [hap package name]> <-i [hap install path]> <-f> 32 -p : [required] hap package name 36 … : [optional] if provided, the hnp package will be installed forcely, ignoring old versions of… 38 uninstall: uninstall one hap package 39 hnp uninstall <-u [user id]> <-p [hap package name]> 41 -p : [required] hap package name 149 * Install native software package. 211 * Uninstall native software package.
|
/ohos5.0/foundation/resourceschedule/work_scheduler/ |
H A D | hisysevent.yaml | 18 UID: {type: INT32, desc: package uid} 20 NAME: {type: STRING, desc: call package name} 28 UID: {type: INT32, desc: package uid} 30 NAME: {type: STRING, desc: call package name} 35 UID: {type: INT32, desc: package uid} 37 NAME: {type: STRING, desc: call package name} 46 UID: {type: INT32, desc: package uid} 48 NAME: {type: STRING, desc: call package name}
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-system-package.md | 1 # @system.package (Bundle Management) 15 import package from '@system.package'; 19 ## package.hasInstalled<sup>(deprecated)</sup> 39 package.hasInstalled({ 42 console.log('package has installed: ' + data); 45 console.log('query package fail, code: ' + code + ', data: ' + data);
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | options.cpp | 282 std::string package = packagePath.substr(0, index); in AddPackagePath() local 289 auto it = packagePathMap.find(package); in AddPackagePath() 295 packagePathMap[package] = path; in AddPackagePath() 695 if (StringHelper::StartWith(package, packageRoot.first)) { in GetRootPackage() 708 std::string Options::GetRootPath(const std::string &package) const in GetRootPath() 712 if (StringHelper::StartWith(package, packageRoot.first)) { in GetRootPath() 725 std::string Options::GetSubPackage(const std::string &package) const in GetSubPackage() 727 std::string rootPackage = GetRootPackage(package); in GetSubPackage() 729 return package; in GetSubPackage() 732 return package.substr(rootPackage.size() + 1); in GetSubPackage() [all …]
|
/ohos5.0/base/sensors/sensor/ |
H A D | hisysevent.yaml | 19 PKG_NAME: {type: STRING, desc: package name} 25 PKG_NAME: {type: STRING, desc: package name} 30 PKG_NAME: {type: STRING, desc: package name} 35 PKG_NAME: {type: STRING, desc: package name} 40 PKG_NAME: {type: STRING, desc: package name} 45 PKG_NAME: {type: STRING, desc: package name} 50 PKG_NAME: {type: STRING, desc: package name}
|
/ohos5.0/base/update/updater/interfaces/kits/packages/ |
H A D | BUILD.gn | 23 "${updater_path}/services/include/package", 24 "${updater_path}/services/package/pkg_verify", 29 sources = [ "package.cpp" ] 42 "${updater_path}/services/package:libupdaterpackage_shared", 62 sources = [ "package.cpp" ] 75 "${updater_path}/services/package:libupdaterpackage",
|
/ohos5.0/base/update/updater/services/flow_update/update_bin/ |
H A D | BUILD.gn | 32 "${updater_path}/services/include/package", 34 "${updater_path}/services/package", 35 "${updater_path}/services/package/pkg_algorithm", 36 "${updater_path}/services/package/pkg_manager", 37 "${updater_path}/services/package/pkg_package", 46 "${updater_path}/services/package:libupdaterpackage",
|
/ohos5.0/foundation/multimedia/image_effect/ |
H A D | hisysevent.yaml | 18 PNAMEID: {type: STRING, desc: package name} 25 PNAMEID: {type: STRING, desc: package name} 31 PNAMEID: {type: STRING, desc: package name} 38 PNAMEID: {type: STRING, desc: package name} 44 PNAMEID: {type: STRING, desc: package name} 50 PNAMEID: {type: STRING, desc: package name} 57 PNAMEID: {type: STRING, desc: package name} 62 PNAMEID: {type: STRING, desc: package name}
|