/ohos5.0/docs/zh-cn/device-dev/hpm-part/ |
H A D | hpm-part-reference.md | 1 # HPM Part参考 7 ### Part划分原则 13 - 耦合性:如果Part必须依赖其他的Part,才能对外提供服务,应考虑和被依赖的Part合并为一个Part。 15 - 相关性:如果一组Part共同完成一项功能,且没有被其他Part依赖,未来也没有被依赖的可能,则可以考虑合并为一个Part。 18 ### Part类型 20 Part是为复用而生,一切可以复用的部件都可以定义为Part,可以分为: 61 Part的代码文件和普通的代码目录没有差异。但要注意的是,Part中对外暴露的接口(头文件),会被其他Part所引用,需要单独在bundle.json的dirs中声明。 127 - dependencies:定义Part的依赖Part。 135 - segment: 仅针对code-segment类型的Part,定义Part的目标路径(即安装后,Part包中包含的文件复制到的目标路径) 195 - 可选依赖:是在Part A在完成某个功能时,可以引入Part C,也可以引入Part D。C和D可以相互替换,称C和D为A的可选依赖。 [all …]
|
H A D | hpm-part-about.md | 1 # HPM Part介绍 4 本章节将介绍OpenHarmony中的HPM Part相关概念,开发者可熟悉以下内容帮助进行HPM Part开发。 7 ## Part介绍 10 ### Part分类 14 - **部件级Part**:用于描述模块、部件级别的Part,强调可复用性,分发的内容可以是源代码或二进制文件,通常部件级Part和一个代码仓对应,是代码仓的发布件。 16 - **发行版级Part**:用于描述某一款操作系统发行版的Part,是由一组依赖的Part清单及如何编译构建该发行版的脚本构成,发行版中包含了一个完整操作系统的各类部件(如驱动、内核、框架、应用)… 19 ### Part构成 21 一个Part中包含包说明和包内容两部分: 43 **图1** 部件Part和发行版Part的关系 52 通过构建统一的中央仓作为分发渠道,以Part作为载体,提供方发布Part,消费方下载使用Part,实现平台上的供需双方共赢。 [all …]
|
H A D | hpm-part-development.md | 1 # HPM Part开发指导 4 ## HPM Part开发指导概述 77 ## 创建HPM Part 82 ### 使用模板创建HPM Part 119 > - name:为要创建的Part名称。 126 ### 将现有工程定义为Part 324 > - 为避免Part名称冲突,发布的Part的名称需限定在组织范围内,即命名为\@org_name/bundle_name的格式。 331 ## 使用HPM Part 334 ### 使用Part 380 您也可以一次性在此文件中编辑多个Part的依赖 [all …]
|
H A D | Readme-CN.md | 1 # HPM Part 3 - [HPM Part介绍](hpm-part-about.md) 4 - [HPM Part开发指导](hpm-part-development.md) 5 - [HPM Part参考](hpm-part-reference.md)
|
/ohos5.0/docs/en/device-dev/hpm-part/ |
H A D | hpm-part-reference.md | 1 # HPM Part Reference 4 This section describes the HPM Part division rules, HPM Part types, HPM Part composition, metadata … 7 ### HPM Part Division Rules 13 - Coupling: If an HPM Part must depend on another one to provide services, they can be coupled to o… 18 ### HPM Part Type 22 **Table 1** HPM Part types 34 ### HPM Part Composition 36 An HPM Part contains the following: 42 - **README.md** file for describing the HPM Part. 135 … path of the code-segment HPM Part, that is, the destination path of the files contained in the HP… [all …]
|
H A D | hpm-part-about.md | 1 # HPM Part Overview 4 This section describes the basic concepts related to HPM Part in OpenHarmony. 7 ## Introduction to HPM Part 10 ### HPM Part Category 12 An HPM Part is used as a distribution unit in OpenHarmony. There are two types of HPM Parts: 14 …Part/Module-level HPM Part**: used to achieve module or part reusability. The distributed content … 19 ### HPM Part Composition 21 An HPM Part consists of two types of files: description file and content file. 43 **Figure 1** Relationship between the part/module-level HPM Part and distribution-level HPM Part 54 - The provider declares the attributes of an HPM Part and publishes it to the platform. [all …]
|
H A D | hpm-part-development.md | 1 # HPM Part Development 4 ## HPM Part Development Overview 78 ## Creating an HPM Part 80 You can create an HPM Part by using a template or define an existing project as an HPM Part. 83 ### Creating an HPM Part Using a Template 218 ## Building an HPM Part 302 ## Publishing an HPM Part 318 In the directory where the HPM Part is located, run the following command to pack and publish the H… 327 > - To avoid HPM Part name conflicts, name an HPM Part in the format of **\@org_name/bundle_name**. 334 ## Using an HPM Part [all …]
|
H A D | Readme-EN.md | 1 # HPM Part 3 - [HPM Part Overview](hpm-part-about.md) 4 - [HPM Part Development](hpm-part-development.md) 5 - [HPM Part Reference](hpm-part-reference.md)
|
/ohos5.0/docs/zh-cn/device-dev/quick-start/ |
H A D | quickstart-pkg-3516-burn.md | 30 …<Part Sel="1" PartitionName="fastboot" FlashType="emmc" FileSystem="none" Start="0" Length="1M" Se… 31 …<Part Sel="1" PartitionName="" FlashType="emmc" FileSystem="none" Start="1M" Length="9M" SelectFil… 32 …<Part Sel="1" PartitionName="" FlashType="emmc" FileSystem="none" Start="10M" Length="50M" SelectF… 33 …<Part Sel="1" PartitionName="" FlashType="emmc" FileSystem="none" Start="60M" Length="50M" SelectF… 41 …<Part Sel="1" PartitionName="fastboot" FlashType="emmc" FileSystem="none" Start="0" Length="1M" Se… 42 …<Part Sel="1" PartitionName="ohos_image" FlashType="emmc" FileSystem="none" Start="1M" Length="9M"… 43 …<Part Sel="1" PartitionName="rootfs" FlashType="emmc" FileSystem="ext3/4" Start="10M" Length="50M"… 44 …<Part Sel="1" PartitionName="userfs" FlashType="emmc" FileSystem="ext3/4" Start="60M" Length="50M"… 45 …<Part Sel="1" PartitionName="userdata" FlashType="emmc" FileSystem="ext3/4" Start="110M" Length="1…
|
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/examples/ |
H A D | post_multipart.rs | 18 use ylong_http_client::async_impl::{Client, Downloader, MultiPart, Part, Uploader}; 28 .part(Part::new().name("name").body("xiaoming")) // Adds your parts. in main() 29 .part(Part::new().name("password").body("123456789")) in main() 31 Part::new() in main()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/ |
H A D | simple.rs | 37 parts: Vec<Part>, 276 pub struct Part { struct 284 impl Part { argument 395 impl Default for Part { implementation 593 use crate::body::{MultiPart, Part}; 615 let part = Part::new(); in ut_part_new() 631 let part = Part::default(); in ut_part_default() 648 let part = Part::new() in ut_part_set() 689 Part::new() in ut_multipart_set() 730 Part::new() in multipart_poll_data() [all …]
|
H A D | mod.rs | 33 pub use simple::{MultiPart, MultiPartBase, Part};
|
/ohos5.0/docs/zh-cn/device-dev/ |
H A D | device-dev-guide.md | 43 …M Part 介绍](hpm-part/hpm-part-about.md)<br/>- [HPM Part 开发指导](hpm-part/hpm… 55 …M Part 介绍](hpm-part/hpm-part-about.md)<br/>- [HPM Part 开发指导](hpm-part/hpm…
|
/ohos5.0/docs/en/device-dev/quick-start/ |
H A D | quickstart-pkg-3516-burn.md | 32 …<Part Sel="1" PartitionName="fastboot" FlashType="emmc" FileSystem="none" Start="0" Length="1M" Se… 33 …<Part Sel="1" PartitionName="" FlashType="emmc" FileSystem="none" Start="1M" Length="9M" SelectFil… 34 …<Part Sel="1" PartitionName="" FlashType="emmc" FileSystem="none" Start="10M" Length="50M" SelectF… 35 …<Part Sel="1" PartitionName="" FlashType="emmc" FileSystem="none" Start="60M" Length="50M" SelectF… 45 …<Part Sel="1" PartitionName="fastboot" FlashType="emmc" FileSystem="none" Start="0" Length="1M" Se… 46 …<Part Sel="1" PartitionName="ohos_image" FlashType="emmc" FileSystem="none" Start="1M" Length="9M"… 47 …<Part Sel="1" PartitionName="rootfs" FlashType="emmc" FileSystem="ext3/4" Start="10M" Length="50M"… 48 …<Part Sel="1" PartitionName="userfs" FlashType="emmc" FileSystem="ext3/4" Start="60M" Length="50M"… 49 …<Part Sel="1" PartitionName="userdata" FlashType="emmc" FileSystem="ext3/4" Start="110M" Length="1…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | _o_h___drawing___line_metrics.md | 20 | double [ascender](#ascender) | Part of a lowercase letter that extends beyond the meanline.| 21 | double [descender](#descender) | Part of a lowercase letter that extends below the baseline.| 44 Part of a lowercase letter that extends beyond the meanline. 66 Part of a lowercase letter that extends below the baseline.
|
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/uploader/ |
H A D | multipart.rs | 35 parts: Vec<Part>, 68 pub fn part(mut self, part: Part) -> Self { in part() 246 pub struct Part { struct 254 impl Part { argument 376 impl Default for Part { implementation
|
/ohos5.0/docs/en/device-dev/ |
H A D | device-dev-guide.md | 40 … | - [HPM Part Overview](hpm-part/hpm-part-about.md)<br>- [HPM Part Development](hpm-part/h… 53 …nHarmony| - [HPM Part Overview](hpm-part/hpm-part-about.md)<br>- [HPM Part Development](hpm-part/h…
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
H A D | mod.rs | 52 pub use ylong_http::body::{MultiPart, Part};
|
H A D | request.rs | 459 use ylong_http::body::{MultiPart, Part}; in ut_client_request_builder_body() 466 Part::new() in ut_client_request_builder_body()
|
/ohos5.0/docs/en/ |
H A D | readme.md | 12 - [OpenHarmony Part and API Design Reference](./design)
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/ |
H A D | multi.rs | 201 self.list.push(XPart::Part(part)); in add_part() 552 Part(MimePart<'a>), enumerator
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/ |
H A D | mod.rs | 203 use ylong_http::body::{MultiPart, Part}; 242 let multipart = MultiPart::new().part(Part::new().name("name").body("xiaoming")); in upload()
|
/ohos5.0/commonlibrary/rust/ylong_http/docs/ |
H A D | user_guide.md | 112 use ylong_http_client::async_impl::{Multipart, Part}; 117 let part = Part::new()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/decode/ |
H A D | multi.rs | 131 MultiStage::Part(part_decoder) => self.part_decode(part_decoder, remains), in decode() 193 self.stages.push(MultiStage::Part(decoder)); in push_new_part_stage() 206 self.stages.push(MultiStage::Part(part_decoder)); in part_decode() 366 Part(MimePartDecoder), enumerator
|
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/ |
H A D | mod.rs | 23 pub use uploader::{MultiPart, Part, UploadOperator, Uploader, UploaderBuilder};
|