Home
last modified time | relevance | path

Searched refs:demo (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-security-selinux-sample-domain.md15 "name" : "demo",
17 "uid" : "demo",
18 "gid" : ["demo"],
24 2. 在type.te中定义SELinux标签u:r:demo:s0中的SELinux类型demo,使u:r:demo:s0是合法的。
26 如果demo是由init孵化,则定义:
30 如果demo是由chipset_init孵化,则定义:
47 "name" : "demo",
49 "uid" : "demo",
56 2. 在type.te中定义SELinux标签u:r:demo:s0中的SELinux类型demo,使u:r:demo:s0是合法的。
75 "uid" : "demo",
[all …]
/ohos5.0/docs/zh-cn/design/ux-design/
H A Dgesture-animation.md26 ![4-1-1_点击(抽象demo)](figures/4-1-1_点击(抽象demo).gif)
33 ![4-2-1_滑动(抽象demo)](figures/4-2-1_滑动(抽象demo).gif)
40 ![4-3-1_翻动(抽象demo)_4](figures/4-3-1_翻动(抽象demo)_4.gif)
47 ![4-4-1_夹捏(抽象demo)_2](figures/4-4-1_夹捏(抽象demo)_2.gif)
65 ![4-5-1_拖拽-标题联动(抽象demo)_1](figures/4-5-1_拖拽-标题联动(抽象demo)_1.gif)
72 ![4-5-2_拖拽-卡片左右滑(抽象demo)_1](figures/4-5-2_拖拽-卡片左右滑(抽象demo)_1.gif)
79 ![4-5-3_拖拽-下拉返回(抽象demo)_1](figures/4-5-3_拖拽-下拉返回(抽象demo)_1.gif)
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-security-selinux-sample-domain.md15 "name" : "demo",
17 "uid" : "demo",
18 "gid" : ["demo"],
24 …the **type.te** file, define the SELinux type **demo** in **SELinux tag u:r:demo:s0** to make **u:…
47 "name" : "demo",
49 "uid" : "demo",
56 …the **type.te** file, define the SELinux type **demo** in **SELinux tag u:r:demo:s0** to make **u:…
58 type demo, sadomain, domain;
73 "name" : "demo",
75 "uid" : "demo",
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/e2e_demo/
H A Davcodec_e2e_demo_api10.cpp79 AVCodecE2EDemoAPI10 *demo = static_cast<AVCodecE2EDemoAPI10*>(userData); in OnDecInputDataAvailable() local
81 OH_AVDemuxer_ReadSample(demo->demuxer, demo->videoTrackID, data, &info); in OnDecInputDataAvailable()
104 AVCodecE2EDemoAPI10 *demo = static_cast<AVCodecE2EDemoAPI10*>(userData); in OnDecOutputDataAvailable() local
112 OH_VideoEncoder_NotifyEndOfStream(demo->enc); in OnDecOutputDataAvailable()
115 sortFrame(codec, index, attr->pts, demo->frameDuration); in OnDecOutputDataAvailable()
134 AVCodecE2EDemoAPI10 *demo = static_cast<AVCodecE2EDemoAPI10*>(userData); in OnEncOutputDataAvailable() local
136 demo->isFinish.store(true); in OnEncOutputDataAvailable()
137 demo->waitCond.notify_all(); in OnEncOutputDataAvailable()
140 OH_AVMuxer_WriteSample(demo->muxer, demo->videoTrackID, data, *attr); in OnEncOutputDataAvailable()
H A Davcodec_e2e_demo.cpp69 AVCodecE2EDemo *demo = static_cast<AVCodecE2EDemo*>(userData); in OnDecInputBufferAvailable() local
70 OH_AVDemuxer_ReadSampleBuffer(demo->demuxer, demo->videoTrackID, buffer); in OnDecInputBufferAvailable()
83 AVCodecE2EDemo *demo = static_cast<AVCodecE2EDemo*>(userData); in OnDecOutputBufferAvailable() local
87 OH_VideoEncoder_NotifyEndOfStream(demo->enc); in OnDecOutputBufferAvailable()
108 AVCodecE2EDemo *demo = static_cast<AVCodecE2EDemo*>(userData); in OnEncOutputBufferAvailable() local
112 demo->isFinish.store(true); in OnEncOutputBufferAvailable()
113 demo->waitCond.notify_all(); in OnEncOutputBufferAvailable()
116 OH_AVMuxer_WriteSampleBuffer(demo->muxer, demo->videoTrackID, buffer); in OnEncOutputBufferAvailable()
/ohos5.0/docs/zh-cn/device-dev/porting/
H A DReadme-CN.md60 - [带屏解决方案之恒玄芯片移植案例](porting-bes2600w-on-minisystem-display-demo.md)
61 - [Combo解决方案之ASR芯片移植案例](porting-asr582x-combo-demo.md)
62 - [物联网解决方案之芯海cst85芯片移植案例](porting-cst85f01-combo-demo.md)
64 - [Combo解决方案之W800芯片移植案例](porting-w800-combo-demo.md)
68 - [标准系统方案之瑞芯微RK3568移植案例](porting-dayu200-on_standard-demo.md)
69 …tee.com/openharmony/vendor_kaihong/blob/master/khdvk_3566b/porting-khdvk_3566b-on_standard-demo.md)
70 - [标准系统方案之扬帆移植案例](porting-yangfan-on_standard-demo.md)
/ohos5.0/docs/zh-cn/device-dev/guide/
H A DReadme-CN.md11 - [拍照开发指导](device-camera-control-demo-photoguide.md)
12 - [录像开发指导](device-camera-control-demo-videoguide.md)
13 - [预览开发指导](device-camera-control-demo-previewguide.md)
26 - [平台驱动开发示例](device-driver-demo.md)
27 - [外设驱动开发示例](device-outerdriver-demo.md)
/ohos5.0/docs/zh-cn/device-dev/hpm-part/
H A Dhpm-part-reference.md82 "name": "@myorg/demo-bundle",
244 +--demo@1.0.0
246 | +--@demo/sport_hi3518ev300_liteos_a@1.0.0
247 | | +--@demo/app@4.0.1
248 | | | +--@demo/build@4.0.1
249 | | | +--@demo/arm_harmonyeabi_gcc@4.0.0
250 | | +--@demo/liteos_a@4.0.0
251 | | | +--@demo/third_party_fatfs@4.0.0
252 | | | +--@demo/arm_harmonyeabi_gcc@4.0.0
253 | | +--@demo/init@4.0.0
[all …]
/ohos5.0/docs/en/design/ux-design/
H A Dgesture-animation.md26 ![4-1-1_touch-(abstract-demo)](figures/4-1-1_touch-(abstract-demo).gif)
33 ![4-2-1_swipe-(abstract-demo)](figures/4-2-1_swipe-(abstract-demo).gif)
40 ![4-3-1_flip-(abstract-demo)_4](figures/4-3-1_flip-(abstract-demo)_4.gif)
47 ![4-4-1_pinch-(abstract-demo)_2](figures/4-4-1_pinch-(abstract-demo)_2.gif)
65 ![4-5-1_drag-title-linkage-(abstract-demo)_1](figures/4-5-1_drag-title-linkage-(abstract-demo)_1.gi…
72 …5-2_drag-widget-horizontal-swipe-(abstract-demo)_1](figures/4-5-2_drag-widget-horizontal-swipe-(ab…
79 ![4-5-3_drag-pull-to-return-(abstract-demo)_1](figures/4-5-3_drag-pull-to-return-(abstract-demo).gi…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-test-kit/
H A Djs-apis-uitest.md820 async function demo() {
850 async function demo() {
880 async function demo() {
916 async function demo() {
952 async function demo() {
988 async function demo() {
1024 async function demo() {
1060 async function demo() {
1096 async function demo() {
1136 async function demo() {
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/
H A DREADME_zh.md6demo旨在介绍TensorFlow Lite推理框架如何接入NNRt,并在专有芯片上加速推理,接入OpenHarmony社区生态。
47 3. 根据demo的运行命令解析模型是否需要动态输入,如果需要,则调用ResizeInputTensor接口更改模型输入大小。
63demo主要文件目录结构如下图:
229 3. 用cmake编译北向demo
297 4. 在开发板上运行北向demo
304 hdc_std file send push_files/ /data/demo/
307 - 执行demo
309 进入开发板,执行demo前需要添加环境变量,文件执行权限等:
315 cd /data/demo
319 export LD_LIBRARY_PATH=/data/demo:$LD_LIBRARY_PATH
[all …]
/ohos5.0/docs/en/device-dev/guide/
H A DReadme-EN.md11 - [Photographing](device-camera-control-demo-photoguide.md)
12 - [Video Recording](device-camera-control-demo-videoguide.md)
13 - [Previewing](device-camera-control-demo-previewguide.md)
26 - [Development Example for Platform Drivers](device-driver-demo.md)
27 - [Development Example for Peripheral Drivers](device-outerdriver-demo.md)
/ohos5.0/docs/zh-cn/device-dev/
H A Ddevice-dev-guide.md42demo.md)<br/> - [Combo解决方案之ASR芯片移植案例](porting/porting-asr582x-combo-demo.md)<br/> - [物联网解决方案…
53 …md)<br/>-&nbsp;[平台驱动开发示例](guide/device-driver-demo.md)<br/>-&nbsp;[外设驱动开发示例](guide/device-outerdri…
54 …d-demo.md) <br/>-&nbsp;[标准系统方案之瑞芯微RK3566移植案例](https://gitee.com/openharmony/vendor_kaihong/blob/ma…
H A DReadme-CN.md20 - [带屏解决方案之恒玄芯片移植案例](porting/porting-bes2600w-on-minisystem-display-demo.md)
21 - [Combo解决方案之ASR芯片移植案例](porting/porting-asr582x-combo-demo.md)
22 - [物联网解决方案之芯海cst85芯片移植案例](porting/porting-cst85f01-combo-demo.md)
24 - [Combo解决方案之W800芯片移植案例](porting/porting-w800-combo-demo.md)
28 - [标准系统方案之瑞芯微RK3568移植案例](porting/porting-dayu200-on_standard-demo.md)
29 …ee.com/openharmony/vendor_kaihong/blob/master/khdvk_3566b/porting-khdvk_3566b-on_standard-demo.md)
/ohos5.0/foundation/arkui/advanced_ui_component/doc/
H A Dts-composite-components-subheader.md90 promptAction.showToast({ message: 'demo' })
116 promptAction.showToast({ message: 'demo' })
142 promptAction.showToast({ message: 'demo' })
149 promptAction.showToast({ message: 'demo' })
154 promptAction.showToast({ message: 'demo' })
159 promptAction.showToast({ message: 'demo' })
/ohos5.0/docs/zh-cn/application-dev/file-management/
H A Dnative-fileuri-guidelines.md56 …printf("pathUri=%s", uriResult); // 应用a获取到的URI为:file://com.example.demo/data/storage/el2/base/file…
70 char *uri = "file://com.example.demo/data/storage/el2/base/files/test.txt";
89 char *uri = "file://com.example.demo/data/storage/el2/base/files/test.txt";
94 … printf("pathUri=%s",uriResult);//URI所在路径的URI:file://com.example.demo/data/storage/el2/base/files/
108 char *uri = "file://com.example.demo/data/storage/el2/base/files/test.txt";
121 char *uri = "file://com.example.demo/data/storage/el2/base/files/test.txt";
/ohos5.0/docs/zh-cn/application-dev/tools/
H A Drestool.md71 restool -i entry/src/main -j entry/src/main/module.json -p com.ohos.demo -o out -r out/ResourceTabl…
84 restool -i out1 -i out2 -o out -p com.ohos.demo -r out/ResourceTable.txt -j entry/src/main/module.j…
96 restool -i entry/src/main -j entry/src/main/module.json -p com.ohos.demo -o out -r out/ResourceTabl…
118 restool -i entry/src/main -j entry/src/main/module.json -p com.ohos.demo -o out1 -r out1/ResourceTa…
123 restool -i entry/src/main -j entry/src/main/module.json -p com.ohos.demo -o out1 -r out1/ResourceTa…
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/
H A Dindex.js20 demo: Demo.WEBGL1_SHADOW_DEMO,
28 if (this.demo.toUpperCase().startsWith('WEBGL1')) {
41 main(gl, this.demo);
/ohos5.0/docs/en/device-dev/porting/
H A DReadme-EN.md61 …Devices with Screens – Bestechnic SoC Porting Case](porting-bes2600w-on-minisystem-display-demo.md)
62 - [Combo Solution – ASR Chip Porting Case](porting-asr582x-combo-demo.md)
63 - [IoT Solution - Chipsea CST85 Chip Porting Case](porting-cst85f01-combo-demo.md)
65 - [Combo Solution – W800 Chip Porting Case](porting-w800-combo-demo.md)
69 - [Standard System Solution – Rockchip RK3568 Porting Case](porting-dayu200-on_standard-demo.md)
70 …tee.com/openharmony/vendor_kaihong/blob/master/khdvk_3566b/porting-khdvk_3566b-on_standard-demo.md)
71 - [Standard System Solution – Yangfan Porting Case](porting-yangfan-on_standard-demo.md)
/ohos5.0/docs/zh-cn/application-dev/napi/
H A Dbuild-with-ndk-cmake.md82 应用开发者可以通过NDK开发包快速的开发出Native动态库、静态库与可执行文件。NDK开发包提供CMake编译构建工具脚本,下面通过编写一个C/C++ demo工程来演示适配过程。
85 ### demo工程内容
87 下面是一个CMake的demo工程内容,此工程包含两个目录,include目录包含此库的头文件,src目录包含全部源码;src目录包含两个文件,sum.cpp的算法文件,以及main.cpp的调用算…
89 **demo目录图**
92 demo
174 ### 编译构建demo工程
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dohos-arkui-advanced-SubHeader.md129 promptAction.showToast({ message: 'demo' });
158 promptAction.showToast({ message: 'demo' });
187 promptAction.showToast({ message: 'demo' });
195 promptAction.showToast({ message: 'demo' })
200 promptAction.showToast({ message: 'demo' });
205 promptAction.showToast({ message: 'demo' });
239 promptAction.showToast({ message: 'demo' });
268 promptAction.showToast({ message: 'demo' });
339 promptAction.showToast({ message: 'demo' });
373 promptAction.showToast({ message: 'demo' });
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-standard-newip.md259 | nip_addr.c | New IP可变长地址配置demo代码(可配置任意有效New IP地址) |
260 | nip_route.c | New IP路由配置demo代码(可配置任意有效New IP地址) |
289 | nip_addr_cfg_demo.c | New IP可变长地址配置demo代码 |
290 | nip_route_cfg_demo.c | New IP路由配置demo代码 |
291 | nip_udp_server_demo.c | New IP UDP收发包服务端demo代码 |
292 | nip_udp_client_demo.c | New IP UDP收发包客户端demo代码 |
293 | nip_tcp_server_demo.c | New IP TCP收发包服务端demo代码 |
294 | nip_tcp_client_demo.c | New IP TCP收发包客户端demo代码 |
295 | nip_lib.c | 接口索引获取等API接口demo代码 |
301 1. 将demo代码拷贝到Linux编译机上,make clean,make all编译demo代码。
[all …]
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-camera-des.md587demo目录下有一个关于Camera的demo,开机后会在/vendor/bin下生成可执行文件ohos_camera_demo,该demo可以完成Camera的预览,拍照等基础功能。下面我们就以…
627 CAMERA_LOGD("demo test: InitSensors enter");
639 CAMERA_LOGE("demo test: ICameraHost::Get error");
654 CAMERA_LOGD("demo test: InitSensors exit");
667 CAMERA_LOGD("demo test: InitCameraDevice enter");
710 CAMERA_LOGD("demo test: InitCameraDevice exit");
764 CAMERA_LOGD("demo test: CreateStream enter");
798 CAMERA_LOGD("demo test: CreateStream exit");
865 CAMERA_LOGD("demo test: CaptureON exit");
871 3. ManuList()函数从控制台通过fgets()接口获取字符,不同字符所对应demo支持的功能不同,并打印出该demo所支持功能的菜单。
[all …]
/ohos5.0/docs/en/application-dev/file-management/
H A Dnative-fileuri-guidelines.md56 …", uriResult); // The URI obtained by application a is file://com.example.demo/data/storage/el2/ba…
70 char *uri = "file://com.example.demo/data/storage/el2/base/files/test.txt";
89 char *uri = "file://com.example.demo/data/storage/el2/base/files/test.txt";
94 …printf("pathUri= %s",uriResult);// The URI obtained is file://com.example.demo/data/storage/el2/ba…
108 char *uri = "file://com.example.demo/data/storage/el2/base/files/test.txt";
121 char *uri = "file://com.example.demo/data/storage/el2/base/files/test.txt";
/ohos5.0/docs/zh-cn/application-dev/ai/mindspore/
H A Dmindspore-lite-guidelines.md263 add_executable(demo main.c)
266 demo
278 - 使用hdc_std连接设备,并将demo和mobilenetv2.ms推送到设备中的相同目录。
279 - 使用hdc_std shell进入设备,并进入demo所在的目录执行如下命令,即可得到结果。
282 ./demo mobilenetv2.ms
288 # ./demo ./mobilenetv2.ms

12345678910>>...12