提交 6f6340a0 编写于 作者: G guyuanzhang 提交者: Gitee

Merge branch 'master' of gitee.com:openharmony/docs into 0324

- - # Device
- [Device Development Guide](device-dev-guide.md)
- Quick Start
- Mini and Small Systems
- [Overview](quick-start/quickstart-lite-overview.md)
- Introduction
- [Hi3861 Development Board](quick-start/quickstart-lite-introduction-hi3861.md)
- [Hi3516 Development Board](quick-start/quickstart-lite-introduction-hi3516.md)
- [Hi3518 Development Board](quick-start/quickstart-lite-introduction-hi3518.md)
- Environment Setup
- [Overview](quick-start/quickstart-lite-env-setup-overview.md)
- [Setting Up Windows Development Environment](quick-start/quickstart-lite-env-setup-windows.md)
- [Setting Up Ubuntu Development Environment](quick-start/quickstart-lite-env-setup-linux.md)
- [FAQs](quick-start/quickstart-lite-env-setup-faqs.md)
- How to Develop
- Hi3861
- [Setting Up the Environment](quick-start/quickstart-lite-steps-hi3861-setting.md)
- [Setting Up WLAN Connection](quick-start/quickstart-lite-steps-hi3861-connection.md)
- [Running a Hello World Program](quick-start/quickstart-lite-steps-hi3861-running.md)
- [FAQs](quick-start/quickstart-lite-steps-hi3861-faqs.md)
- Hi3516
- [Setting Up the Environment](quick-start/quickstart-lite-steps-hi3516-setting.md)
- [Running a Hello OHOS Program](quick-start/quickstart-lite-steps-hi3516-running.md)
- [Developing a Driver](quick-start/quickstart-lite-steps-hi3516-program.md)
- [FAQs](quick-start/quickstart-lite-steps-hi3516-faqs.md)
- Hi3518
- [Setting Up the Environment](quick-start/quickstart-lite-steps-hi3518-setting.md)
- [Running a Hello OHOS Program](quick-start/quickstart-lite-steps-hi3518-running.md)
- [FAQs](quick-start/quickstart-lite-steps-hi3518-faqs.md)
- Standard System
- [Introduction](quick-start/quickstart-standard-overview.md)
- [Setting Up Windows Development Environment](quick-start/quickstart-standard-windows-environment.md)
- [Setting Up Ubuntu Development Environment in Docker Mode](quick-start/quickstart-standard-docker-environment.md)
- [Setting Up Ubuntu Development Environment with Installation Package](quick-start/quickstart-standard-package-environment.md)
- [Burning Images](quick-start/quickstart-standard-burn.md)
- [Running an Image](quick-start/quickstart-standard-running.md)
- [FAQs](quick-start/quickstart-standard-faqs.md)
- Compatibility and Security
- [Privacy Protection](security/security-privacy-protection.md)
- [Security Guidelines](security/security-guidelines-overall.md)
- Porting
- Mini System SoC Porting Guide
- Porting Preparations
- [Before You Start](porting/oem_transplant_chip_prepare_knows.md)
- [Building Adaptation Process](porting/porting-chip-prepare-process.md)
- Kernel Porting
- [Overview](porting/porting-chip-kernel-overview.md)
- [Basic Kernel Adaptation](porting/porting-chip-kernel-adjustment.md)
- [Kernel Porting Verification](porting/porting-chip-kernel-verify.md)
- Board-Level OS Porting
- [Overview](porting/porting-chip-board-overview.md)
- [Board-Level Driver Adaptation](porting/porting-chip-board-driver.md)
- [Implementation of APIs at the HAL](porting/porting-chip-board-hal.md)
- [System Modules](porting/porting-chip-board-component.md)
- [lwIP Module Adaptation](porting/porting-chip-board-lwip.md)
- [Third-party Module Adaptation](porting/porting-chip-board-bundle.md)
- [XTS](porting/porting-chip-board-xts.md)
- [FAQ](porting/porting-chip-faqs.md)
- Small System SoC Porting Guide
- Porting Preparations
- [Before You Start](porting/porting-smallchip-prepare-needs.md)
- [Compilation and Building](porting/porting-smallchip-prepare-building.md)
- Kernel Porting
- [LiteOS Cortex-A](porting/porting-smallchip-kernel-a.md)
- [Linux Kernel](porting/porting-smallchip-kernel-linux.md)
- Driver Porting
- [Overview](porting/porting-smallchip-driver-overview.md)
- [Platform Driver Porting](porting/porting-smallchip-driver-plat.md)
- [Device Driver Porting](porting/porting-smallchip-driver-oom.md)
- Standard System SoC Porting Guide
- [Standard System Porting Guide](porting/standard-system-porting-guide.md)
- [A Method for Rapidly Porting the OpenHarmony Linux Kernel](porting/porting-linux-kernel.md)
- Third-Party Library Porting Guide for Mini and Small Systems
- [Overview](porting/porting-thirdparty-overview.md)
- [Porting a Library Built Using CMake](porting/porting-thirdparty-cmake.md)
- [Porting a Library Built Using Makefile](porting/porting-thirdparty-makefile.md)
- Subsystem Development
- Kernel
- Kernel for Mini Systems
- [Kernel Overview](kernel/kernel-mini-overview.md)
- Basic Kernel
- [Interrupt Management](kernel/kernel-mini-basic-interrupt.md)
- [Task Management](kernel/kernel-mini-basic-task.md)
- Memory Management
- [Basic Concepts](kernel/kernel-mini-basic-memory-basic.md)
- [Static Memory](kernel/kernel-mini-basic-memory-static.md)
- [Dynamic Memory](kernel/kernel-mini-basic-memory-dynamic.md)
- Kernel Communication Mechanisms
- [Event](kernel/kernel-mini-basic-ipc-event.md)
- [Mutex](kernel/kernel-mini-basic-ipc-mutex.md)
- [Queue](kernel/kernel-mini-basic-ipc-queue.md)
- [Semaphore](kernel/kernel-mini-basic-ipc-sem.md)
- [Time Management](kernel/kernel-basic-mini-time.md)
- [Software Timer](kernel/kernel-mini-basic-soft.md)
- Extended Components
- [C++ Support](kernel/kernel-mini-extend-support.md)
- [CPUP](kernel/kernel-mini-extend-cpup.md)
- [Dynamic Loading](kernel/kernel-mini-extend-dynamic-loading.md)
- File System
- [FAT](kernel/kernel-mini-extend-file-fat.md)
- [LittleFS](kernel/kernel-mini-extend-file-lit.md)
- Kernel Debugging
- Memory Debugging
- [Memory Information Statistics](kernel/kernel-mini-memory-debug-mes.md)
- [Memory Leak Check](kernel/kernel-mini-imemory-debug-det.md)
- [Memory Corruption Check](kernel/kernel-mini-memory-debug-cet.md)
- [Exception Debugging](kernel/kernel-mini-memory-exception.md)
- [Trace](kernel/kernel-mini-memory-trace.md)
- [LMS](kernel/kernel-mini-memory-lms.md)
- Appendix
- [Kernel Coding Specification](kernel/kernel-mini-appx-code.md)
- Basic Data Structure
- [Doubly Linked List](kernel/kernel-mini-appx-data-list.md)
- Standard Libraries
- [CMSIS Support](kernel/kernel-mini-appx-lib-cmsis.md)
- [POSIX Support](kernel/kernel-mini-appx-lib-posix.md)
- Kernel for Small Systems
- [Kernel Overview](kernel/kernel-small-overview.md)
- Kernel Startup
- [Startup in Kernel Space](kernel/kernel-small-start-kernel.md)
- [Startup in User Space](kernel/kernel-small-start-user.md)
- Basic Kernel
- [Interrupt and Exception Handling](kernel/kernel-small-basic-interrupt.md)
- Process Management
- [Process](kernel/kernel-small-basic-process-process.md)
- [Task](kernel/kernel-small-basic-process-thread.md)
- [Scheduler](kernel/kernel-small-basic-process-scheduler.md)
- Memory Management
- [Heap Memory Management](kernel/kernel-small-basic-memory-heap.md)
- [Physical Memory Management](kernel/kernel-small-basic-memory-physical.md)
- [Virtual Memory Management](kernel/kernel-small-basic-memory-virtual.md)
- [Virtual-to-Physical Mapping](kernel/kernel-small-basic-inner-reflect.md)
- Kernel Communication Mechanisms
- [Event](kernel/kernel-small-basic-trans-event.md)
- [Semaphore](kernel/kernel-small-basic-trans-semaphore.md)
- [Mutex](kernel/kernel-small-basic-trans-mutex.md)
- [Queue](kernel/kernel-small-basic-trans-queue.md)
- [RW Lock](kernel/kernel-small-basic-trans-rwlock.md)
- [Futex](kernel/kernel-small-basic-trans-user-mutex.md)
- [Signal](kernel/kernel-small-basic-trans-user-signal.md)
- [Time Management](kernel/kernel-small-basic-time.md)
- [Software Timer](kernel/kernel-small-basic-softtimer.md)
- [Atomic Operation](kernel/kernel-small-basic-atomic.md)
- Extension Components
- [System Call](kernel/kernel-small-bundles-system.md)
- [Dynamic Loading and Linking](kernel/kernel-small-bundles-linking.md)
- [Virtual Dynamic Shared Object](kernel/kernel-small-bundles-share.md)
- [LiteIPC](kernel/kernel-small-bundles-ipc.md)
- File Systems
- [Virtual File System](kernel/kernel-small-bundles-fs-virtual.md)
- Supported File Systems
- [FAT](kernel/kernel-small-bundles-fs-support-fat.md)
- [JFFS2](kernel/kernel-small-bundles-fs-support-jffs2.md)
- [NFS](kernel/kernel-small-bundles-fs-support-nfs.md)
- [Ramfs](kernel/kernel-small-bundles-fs-support-ramfs.md)
- [procfs](kernel/kernel-small-bundles-fs-support-procfs.md)
- [File System Adaptation](kernel/kernel-small-bundles-fs-new.md)
- Debugging and Tools
- Shell
- [Introduction to the Shell](kernel/kernel-small-debug-shell-overview.md)
- [Shell Command Development Guidelines](kernel/kernel-small-debug-shell-guide.md)
- [Shell Command Programming Example](kernel/kernel-small-debug-shell-build.md)
- Shell Command Reference
- System Commands
- [cpup](kernel/kernel-small-debug-shell-cmd-cpup.md)
- [date](kernel/kernel-small-debug-shell-cmd-date.md)
- [dmesg](kernel/kernel-small-debug-shell-cmd-dmesg.md)
- [exec](kernel/kernel-small-debug-shell-cmd-exec.md)
- [free](kernel/kernel-small-debug-shell-cmd-free.md)
- [help](kernel/kernel-small-debug-shell-cmd-help.md)
- [hwi](kernel/kernel-small-debug-shell-cmd-hwi.md)
- [kill](kernel/kernel-small-debug-shell-cmd-kill.md)
- [log](kernel/kernel-small-debug-shell-cmd-log.md)
- [memcheck](kernel/kernel-small-debug-shell-cmd-memcheck.md)
- [oom](kernel/kernel-small-debug-shell-cmd-oom.md)
- [pmm](kernel/kernel-small-debug-shell-cmd-pmm.md)
- [reset](kernel/kernel-small-debug-shell-cmd-reset.md)
- [sem](kernel/kernel-small-debug-shell-cmd-sem.md)
- [stack](kernel/kernel-small-debug-shell-cmd-stack.md)
- [su](kernel/kernel-small-debug-shell-cmd-su.md)
- [swtmr](kernel/kernel-small-debug-shell-cmd-swtmr.md)
- [systeminfo](kernel/kernel-small-debug-shell-cmd-sysinfo.md)
- [task](kernel/kernel-small-debug-shell-cmd-task.md)
- [uname](kernel/kernel-small-debug-shell-cmd-uname.md)
- [vmm](kernel/kernel-small-debug-shell-cmd-vmm.md)
- [watch](kernel/kernel-small-debug-shell-cmd-watch.md)
- File Commands
- [cat](kernel/kernel-small-debug-shell-file-cat.md)
- [cd](kernel/kernel-small-debug-shell-file-cd.md)
- [chgrp](kernel/kernel-small-debug-shell-file-chgrp.md)
- [chmod](kernel/kernel-small-debug-shell-file-chmod.md)
- [chown](kernel/kernel-small-debug-shell-file-chown.md)
- [cp](kernel/kernel-small-debug-shell-file-cp.md)
- [format](kernel/kernel-small-debug-shell-file-format.md)
- [ls](kernel/kernel-small-debug-shell-file-ls.md)
- [lsfd](kernel/kernel-small-debug-shell-file-lsfd.md)
- [mkdir](kernel/kernel-small-debug-shell-file-mkdir.md)
- [mount](kernel/kernel-small-debug-shell-file-mount.md)
- [partinfo](kernel/kernel-small-debug-shell-file-partinfo.md)
- [partition](kernel/kernel-small-debug-shell-file-partition.md)
- [pwd](kernel/kernel-small-debug-shell-file-pwd.md)
- [rm](kernel/kernel-small-debug-shell-file-rm.md)
- [rmdir](kernel/kernel-small-debug-shell-file-rmdir.md)
- [statfs](kernel/kernel-small-debug-shell-file-statfs.md)
- [sync](kernel/kernel-small-debug-shell-file-sync.md)
- [touch](kernel/kernel-small-debug-shell-file-touch.md)
- [writeproc](kernel/kernel-small-debug-shell-file-write.md)
- [umount](kernel/kernel-small-debug-shell-file-umount.md)
- Network Commands
- [arp](kernel/kernel-small-debug-shell-net-arp.md)
- [dhclient](kernel/kernel-small-debug-shell-net-dhclient.md)
- [ifconfig](kernel/kernel-small-debug-shell-net-ifconfig.md)
- [ipdebug](kernel/kernel-small-debug-shell-net-ipdebug.md)
- [netstat](kernel/kernel-small-debug-shell-net-netstat.md)
- [ntpdate](kernel/kernel-small-debug-shell-net-ntpdate.md)
- [ping](kernel/kernel-small-debug-shell-net-ping.md)
- [ping6](kernel/kernel-small-debug-shell-net-ping6.md)
- [telnet](kernel/kernel-small-debug-shell-net-telnet.md)
- [tftp](kernel/kernel-small-debug-shell-net-tftp.md)
- [Magic Key](kernel/kernel-small-debug-shell-magickey.md)
- [User-Space Exception Information](kernel/kernel-small-debug-shell-error.md)
- [Trace](kernel/kernel-small-debug-trace.md)
- [perf](kernel/kernel-mini-memory-perf)
- [LMS](kernel/kernel-small-memory-lms)
- Process Commissioning
- [CPUP](kernel/kernel-small-debug-process-cpu.md)
- Memory Debugging
- [Memory Information Statistics](kernel/kernel-small-debug-memory-info.md)
- [Memory Leak Check](kernel/kernel-small-debug-memory-leak.md)
- [Memory Corruption Check](kernel/kernel-small-debug-memory-corrupt.md)
- User-Mode Memory Debugging
- [Basic Concepts](kernel/kernel-small-debug-user-concept.md)
- [Working Principles](kernel/kernel-small-debug-user-function.md)
- Usage
- [API Description](kernel/kernel-small-debug-user-guide-api.md)
- How to Use
- [Calling APIs](kernel/kernel-small-debug-user-guide-use-api.md)
- [Using the CLI](kernel/kernel-small-debug-user-guide-use-cli.md)
- [Typical Memory Problems](kernel/kernel-small-debug-user-faqs.md)
- Other Kernel Debugging Methods
- [Dying Gasp](kernel/kernel-small-debug-trace-other-lastwords.md)
- [Common Fault Locating Methods](kernel/kernel-small-debug-trace-other-faqs.md)
- Appendix
- Basic Data Structure
- [Doubly Linked List](kernel/kernel-small-apx-dll.md)
- [Bitwise Operation](kernel/kernel-small-apx-bitwise.md)
- [Standard Library](kernel/kernel-small-apx-library.md)
- Kernel for Standard Systems
- [Linux Kernel Overview](kernel/kernel-standard-overview.md)
- [Applying Patches on OpenHarmony Development Boards](kernel/kernel-standard-patch.md)
- [Guidelines for Building the Linux Kernel](kernel/kernel-standard-build.md)
- Driver
- HDF
- [HDF Overview](driver/driver-hdf-overview.md)
- [Driver Development](driver/driver-hdf-development.md)
- [Driver Service Management](driver/driver-hdf-servicemanage.md)
- [Driver Message Mechanism Management](driver/driver-hdf-message-management.md)
- [Driver Configuration Management](driver/driver-hdf-manage.md)
- [HDF Development Example](driver/driver-hdf-sample.md)
- Platform Driver Development
- [ADC](driver/driver-platform-adc-develop.md)
- [GPIO](driver/driver-platform-gpio-develop.md)
- [HDMI](driver/driver-platform-hdmi-develop.md)
- [I2C](driver/driver-platform-i2c-develop.md)
- [I3C](driver/driver-platform-i3c-develop.md)
- [MIPI DSI](driver/driver-platform-mipidsi-develop.md)
- [MMC](driver/driver-platform-mmc-develop.md)
- [PWM](driver/driver-platform-pwm-develop.md)
- [RTC](driver/driver-platform-rtc-develop.md)
- [SDIO](driver/driver-platform-sdio-develop.md)
- [SPI](driver/driver-platform-spi-develop.md)
- [UART](driver/driver-platform-uart-develop.md)
- [Watchdog](driver/driver-platform-watchdog-develop.md)
- Platform Driver Usage
- [ADC](driver/driver-platform-adc-des.md)
- [GPIO](driver/driver-platform-gpio-des.md)
- [HDMI](driver/driver-platform-hdmi-des.md)
- [I2C](driver/driver-platform-i2c-des.md)
- [I3C](driver/driver-platform-i3c-des.md)
- [MIPI DSI](driver/driver-platform-mipidsi-des.md)
- [PWM](driver/driver-platform-pwm-des.md)
- [RTC](driver/driver-platform-rtc-des.md)
- [SDIO](driver/driver-platform-sdio-des.md)
- [SPI](driver/driver-platform-spi-des.md)
- [UART](driver/driver-platform-uart-des.md)
- [Watchdog](driver/driver-platform-watchdog-des.md)
- Peripheral Driver Usage
- [LCD](driver/driver-peripherals-lcd-des.md)
- [Touchscreen](driver/driver-peripherals-touch-des.md)
- [Sensor](driver/driver-peripherals-sensor-des.md)
- [WLAN](driver/driver-peripherals-external-des.md)
- [Audio](driver/driver-peripherals-audio-des.md)
- [USB](driver/driver-peripherals-usb-des.md)
- [Camera](driver/driver-peripherals-camera-des.md)
- [Compilation and Building](subsystems/subsys-build.md)
- [Distributed Remote Startup](subsystems/subsys-remote-start.md)
- [Graphics](subsystems/subsys-graphics.md) [Multimedia](subsystems/subsys-multimedia.md)
- [Utils](subsystems/subsys-utils.md)
- [AI Framework](subsystems/subsys-aiframework.md)
- [Data Management](subsystems/subsys-data.md)
- [Sensor](subsystems/subsys-sensor.md)
- [USB](subsystems/subsys-usbservice.md)
- [Application Framework](subsystems/subsys-application-framework.md)
- [OTA Upgrade](subsystems/subsys-ota-guide.md)
- [Telephony Service](subsystems/subsys-tel.md)
- [Security](subsystems/subsys-security.md)
- [Startup](subsystems/subsys-boot.md)
- [DFX](subsystems/subsys-dfx.md)
- Featured Topics
- HPM Bundle
- [Development Specifications](bundles/bundles-standard-rules.md)
- Development Guidelines
- [Bundle Development](bundles/bundles-guide-overview.md)
- [Preparations](bundles/bundles-guide-prepare.md)
- [Bundle Development](bundles/bundles-guide-develop.md)
- HPM User Guide
- [Introduction](bundles/bundles-demo-hpmdescription.md)
- [Preparations](bundles/bundles-demo-environment.md)
- [Development Example](bundles/bundles-demo-devsample.md)
- Device Development Examples
- [Mini- and Small-System Devices](guide/device-lite.md)
- [Standard-System Devices](guide/device-standard.md)
- Debugging
- [Test Subsystem](subsystems/subsys-testguide-test.md)
- [R&D Tools](subsystems/subsys-toolchain.md)
- XTS Certification
- [XTS](subsystems/subsys-xts-guide.md)
- Tools
- [Docker Environment](get-code/gettools-acquire.md)
- [IDE](get-code/gettools-ide.md)
- Hands-On Tutorials
- [Samples](https://gitee.com/openharmony/app_samples/blob/master/README.md)
- [Codelabs](https://gitee.com/openharmony/codelabs/blob/master/README.md)
- References
- FAQs
- [Overview of FAQs](faqs/faqs-overview.md)
- [Environment Setup](faqs/faqs-environment-setup.md)
- [Compilation and Building Subsystem](faqs/faqs-building.md)
- [Burning](faqs/faqs-burning.md)
- [Kernel](faqs/faqs-kernel.md)
- [Porting](faqs/faqs-porting.md)
- [Startup](faqs/faqs-startup.md)
- [System Applications](faqs/faqs-system-applications.md)
\ No newline at end of file
- [Device Development Guide](device-dev-guide.md)
- Quick Start
- Mini and Small Systems
- [Overview](quick-start/quickstart-lite-overview.md)
- Introduction
- [Hi3861 Development Board](quick-start/quickstart-lite-introduction-hi3861.md)
- [Hi3516 Development Board](quick-start/quickstart-lite-introduction-hi3516.md)
- [Hi3518 Development Board](quick-start/quickstart-lite-introduction-hi3518.md)
- Environment Setup
- [Overview](quick-start/quickstart-lite-env-setup-overview.md)
- [Setting Up Windows Development Environment](quick-start/quickstart-lite-env-setup-windows.md)
- [Setting Up Ubuntu Development Environment](quick-start/quickstart-lite-env-setup-linux.md)
- [FAQs](quick-start/quickstart-lite-env-setup-faqs.md)
- How to Develop
- Hi3861
- [Setting Up the Environment](quick-start/quickstart-lite-steps-hi3861-setting.md)
- [Setting Up WLAN Connection](quick-start/quickstart-lite-steps-hi3861-connection.md)
- [Running a Hello World Program](quick-start/quickstart-lite-steps-hi3861-running.md)
- [FAQs](quick-start/quickstart-lite-steps-hi3861-faqs.md)
- Hi3516
- [Setting Up the Environment](quick-start/quickstart-lite-steps-hi3516-setting.md)
- [Running a Hello OHOS Program](quick-start/quickstart-lite-steps-hi3516-running.md)
- [Developing a Driver](quick-start/quickstart-lite-steps-hi3516-program.md)
- [FAQs](quick-start/quickstart-lite-steps-hi3516-faqs.md)
- Hi3518
- [Setting Up the Environment](quick-start/quickstart-lite-steps-hi3518-setting.md)
- [Running a Hello OHOS Program](quick-start/quickstart-lite-steps-hi3518-running.md)
- [FAQs](quick-start/quickstart-lite-steps-hi3518-faqs.md)
- Standard System
- [Introduction](quick-start/quickstart-standard-overview.md)
- [Setting Up Windows Development Environment](quick-start/quickstart-standard-windows-environment.md)
- [Setting Up Ubuntu Development Environment in Docker Mode](quick-start/quickstart-standard-docker-environment.md)
- [Setting Up Ubuntu Development Environment with Installation Package](quick-start/quickstart-standard-package-environment.md)
- [Burning Images](quick-start/quickstart-standard-burn.md)
- [Running an Image](quick-start/quickstart-standard-running.md)
- [FAQs](quick-start/quickstart-standard-faqs.md)
- Compatibility and Security
- [Privacy Protection](security/security-privacy-protection.md)
- [Security Guidelines](security/security-guidelines-overall.md)
- Porting
- Mini System SoC Porting Guide
- Porting Preparations
- [Before You Start](porting/oem_transplant_chip_prepare_knows.md)
- [Building Adaptation Process](porting/porting-chip-prepare-process.md)
- Kernel Porting
- [Overview](porting/porting-chip-kernel-overview.md)
- [Basic Kernel Adaptation](porting/porting-chip-kernel-adjustment.md)
- [Kernel Porting Verification](porting/porting-chip-kernel-verify.md)
- Board-Level OS Porting
- [Overview](porting/porting-chip-board-overview.md)
- [Board-Level Driver Adaptation](porting/porting-chip-board-driver.md)
- [Implementation of APIs at the HAL](porting/porting-chip-board-hal.md)
- [System Modules](porting/porting-chip-board-component.md)
- [lwIP Module Adaptation](porting/porting-chip-board-lwip.md)
- [Third-party Module Adaptation](porting/porting-chip-board-bundle.md)
- [XTS](porting/porting-chip-board-xts.md)
- [FAQ](porting/porting-chip-faqs.md)
- Small System SoC Porting Guide
- Porting Preparations
- [Before You Start](porting/porting-smallchip-prepare-needs.md)
- [Compilation and Building](porting/porting-smallchip-prepare-building.md)
- Kernel Porting
- [LiteOS Cortex-A](porting/porting-smallchip-kernel-a.md)
- [Linux Kernel](porting/porting-smallchip-kernel-linux.md)
- Driver Porting
- [Overview](porting/porting-smallchip-driver-overview.md)
- [Platform Driver Porting](porting/porting-smallchip-driver-plat.md)
- [Device Driver Porting](porting/porting-smallchip-driver-oom.md)
- Standard System SoC Porting Guide
- [Standard System Porting Guide](porting/standard-system-porting-guide.md)
- [A Method for Rapidly Porting the OpenHarmony Linux Kernel](porting/porting-linux-kernel.md)
- Third-Party Library Porting Guide for Mini and Small Systems
- [Overview](porting/porting-thirdparty-overview.md)
- [Porting a Library Built Using CMake](porting/porting-thirdparty-cmake.md)
- [Porting a Library Built Using Makefile](porting/porting-thirdparty-makefile.md)
- Subsystem Development
- Kernel
- Kernel for Mini Systems
- [Kernel Overview](kernel/kernel-mini-overview.md)
- Basic Kernel
- [Interrupt Management](kernel/kernel-mini-basic-interrupt.md)
- [Task Management](kernel/kernel-mini-basic-task.md)
- Memory Management
- [Basic Concepts](kernel/kernel-mini-basic-memory-basic.md)
- [Static Memory](kernel/kernel-mini-basic-memory-static.md)
- [Dynamic Memory](kernel/kernel-mini-basic-memory-dynamic.md)
- Kernel Communication Mechanisms
- [Event](kernel/kernel-mini-basic-ipc-event.md)
- [Mutex](kernel/kernel-mini-basic-ipc-mutex.md)
- [Queue](kernel/kernel-mini-basic-ipc-queue.md)
- [Semaphore](kernel/kernel-mini-basic-ipc-sem.md)
- [Time Management](kernel/kernel-basic-mini-time.md)
- [Software Timer](kernel/kernel-mini-basic-soft.md)
- Extended Components
- [C++ Support](kernel/kernel-mini-extend-support.md)
- [CPUP](kernel/kernel-mini-extend-cpup.md)
- [Dynamic Loading](kernel/kernel-mini-extend-dynamic-loading.md)
- File System
- [FAT](kernel/kernel-mini-extend-file-fat.md)
- [LittleFS](kernel/kernel-mini-extend-file-lit.md)
- Kernel Debugging
- Memory Debugging
- [Memory Information Statistics](kernel/kernel-mini-memory-debug-mes.md)
- [Memory Leak Check](kernel/kernel-mini-imemory-debug-det.md)
- [Memory Corruption Check](kernel/kernel-mini-memory-debug-cet.md)
- [Exception Debugging](kernel/kernel-mini-memory-exception.md)
- [Trace](kernel/kernel-mini-memory-trace.md)
- [LMS](kernel/kernel-mini-memory-lms.md)
- Appendix
- [Kernel Coding Specification](kernel/kernel-mini-appx-code.md)
- Basic Data Structure
- [Doubly Linked List](kernel/kernel-mini-appx-data-list.md)
- Standard Libraries
- [CMSIS Support](kernel/kernel-mini-appx-lib-cmsis.md)
- [POSIX Support](kernel/kernel-mini-appx-lib-posix.md)
- Kernel for Small Systems
- [Kernel Overview](kernel/kernel-small-overview.md)
- Kernel Startup
- [Startup in Kernel Space](kernel/kernel-small-start-kernel.md)
- [Startup in User Space](kernel/kernel-small-start-user.md)
- Basic Kernel
- [Interrupt and Exception Handling](kernel/kernel-small-basic-interrupt.md)
- Process Management
- [Process](kernel/kernel-small-basic-process-process.md)
- [Task](kernel/kernel-small-basic-process-thread.md)
- [Scheduler](kernel/kernel-small-basic-process-scheduler.md)
- Memory Management
- [Heap Memory Management](kernel/kernel-small-basic-memory-heap.md)
- [Physical Memory Management](kernel/kernel-small-basic-memory-physical.md)
- [Virtual Memory Management](kernel/kernel-small-basic-memory-virtual.md)
- [Virtual-to-Physical Mapping](kernel/kernel-small-basic-inner-reflect.md)
- Kernel Communication Mechanisms
- [Event](kernel/kernel-small-basic-trans-event.md)
- [Semaphore](kernel/kernel-small-basic-trans-semaphore.md)
- [Mutex](kernel/kernel-small-basic-trans-mutex.md)
- [Queue](kernel/kernel-small-basic-trans-queue.md)
- [RW Lock](kernel/kernel-small-basic-trans-rwlock.md)
- [Futex](kernel/kernel-small-basic-trans-user-mutex.md)
- [Signal](kernel/kernel-small-basic-trans-user-signal.md)
- [Time Management](kernel/kernel-small-basic-time.md)
- [Software Timer](kernel/kernel-small-basic-softtimer.md)
- [Atomic Operation](kernel/kernel-small-basic-atomic.md)
- Extension Components
- [System Call](kernel/kernel-small-bundles-system.md)
- [Dynamic Loading and Linking](kernel/kernel-small-bundles-linking.md)
- [Virtual Dynamic Shared Object](kernel/kernel-small-bundles-share.md)
- [LiteIPC](kernel/kernel-small-bundles-ipc.md)
- File Systems
- [Virtual File System](kernel/kernel-small-bundles-fs-virtual.md)
- Supported File Systems
- [FAT](kernel/kernel-small-bundles-fs-support-fat.md)
- [JFFS2](kernel/kernel-small-bundles-fs-support-jffs2.md)
- [NFS](kernel/kernel-small-bundles-fs-support-nfs.md)
- [Ramfs](kernel/kernel-small-bundles-fs-support-ramfs.md)
- [procfs](kernel/kernel-small-bundles-fs-support-procfs.md)
- [File System Adaptation](kernel/kernel-small-bundles-fs-new.md)
- Debugging and Tools
- Shell
- [Introduction to the Shell](kernel/kernel-small-debug-shell-overview.md)
- [Shell Command Development Guidelines](kernel/kernel-small-debug-shell-guide.md)
- [Shell Command Programming Example](kernel/kernel-small-debug-shell-build.md)
- Shell Command Reference
- System Commands
- [cpup](kernel/kernel-small-debug-shell-cmd-cpup.md)
- [date](kernel/kernel-small-debug-shell-cmd-date.md)
- [dmesg](kernel/kernel-small-debug-shell-cmd-dmesg.md)
- [exec](kernel/kernel-small-debug-shell-cmd-exec.md)
- [free](kernel/kernel-small-debug-shell-cmd-free.md)
- [help](kernel/kernel-small-debug-shell-cmd-help.md)
- [hwi](kernel/kernel-small-debug-shell-cmd-hwi.md)
- [kill](kernel/kernel-small-debug-shell-cmd-kill.md)
- [log](kernel/kernel-small-debug-shell-cmd-log.md)
- [memcheck](kernel/kernel-small-debug-shell-cmd-memcheck.md)
- [oom](kernel/kernel-small-debug-shell-cmd-oom.md)
- [pmm](kernel/kernel-small-debug-shell-cmd-pmm.md)
- [reset](kernel/kernel-small-debug-shell-cmd-reset.md)
- [sem](kernel/kernel-small-debug-shell-cmd-sem.md)
- [stack](kernel/kernel-small-debug-shell-cmd-stack.md)
- [su](kernel/kernel-small-debug-shell-cmd-su.md)
- [swtmr](kernel/kernel-small-debug-shell-cmd-swtmr.md)
- [systeminfo](kernel/kernel-small-debug-shell-cmd-sysinfo.md)
- [task](kernel/kernel-small-debug-shell-cmd-task.md)
- [uname](kernel/kernel-small-debug-shell-cmd-uname.md)
- [vmm](kernel/kernel-small-debug-shell-cmd-vmm.md)
- [watch](kernel/kernel-small-debug-shell-cmd-watch.md)
- File Commands
- [cat](kernel/kernel-small-debug-shell-file-cat.md)
- [cd](kernel/kernel-small-debug-shell-file-cd.md)
- [chgrp](kernel/kernel-small-debug-shell-file-chgrp.md)
- [chmod](kernel/kernel-small-debug-shell-file-chmod.md)
- [chown](kernel/kernel-small-debug-shell-file-chown.md)
- [cp](kernel/kernel-small-debug-shell-file-cp.md)
- [format](kernel/kernel-small-debug-shell-file-format.md)
- [ls](kernel/kernel-small-debug-shell-file-ls.md)
- [lsfd](kernel/kernel-small-debug-shell-file-lsfd.md)
- [mkdir](kernel/kernel-small-debug-shell-file-mkdir.md)
- [mount](kernel/kernel-small-debug-shell-file-mount.md)
- [partinfo](kernel/kernel-small-debug-shell-file-partinfo.md)
- [partition](kernel/kernel-small-debug-shell-file-partition.md)
- [pwd](kernel/kernel-small-debug-shell-file-pwd.md)
- [rm](kernel/kernel-small-debug-shell-file-rm.md)
- [rmdir](kernel/kernel-small-debug-shell-file-rmdir.md)
- [statfs](kernel/kernel-small-debug-shell-file-statfs.md)
- [sync](kernel/kernel-small-debug-shell-file-sync.md)
- [touch](kernel/kernel-small-debug-shell-file-touch.md)
- [writeproc](kernel/kernel-small-debug-shell-file-write.md)
- [umount](kernel/kernel-small-debug-shell-file-umount.md)
- Network Commands
- [arp](kernel/kernel-small-debug-shell-net-arp.md)
- [dhclient](kernel/kernel-small-debug-shell-net-dhclient.md)
- [ifconfig](kernel/kernel-small-debug-shell-net-ifconfig.md)
- [ipdebug](kernel/kernel-small-debug-shell-net-ipdebug.md)
- [netstat](kernel/kernel-small-debug-shell-net-netstat.md)
- [ntpdate](kernel/kernel-small-debug-shell-net-ntpdate.md)
- [ping](kernel/kernel-small-debug-shell-net-ping.md)
- [ping6](kernel/kernel-small-debug-shell-net-ping6.md)
- [telnet](kernel/kernel-small-debug-shell-net-telnet.md)
- [tftp](kernel/kernel-small-debug-shell-net-tftp.md)
- [Magic Key](kernel/kernel-small-debug-shell-magickey.md)
- [User-Space Exception Information](kernel/kernel-small-debug-shell-error.md)
- [Trace](kernel/kernel-small-debug-trace.md)
- [perf](kernel/kernel-mini-memory-perf)
- [LMS](kernel/kernel-small-memory-lms)
- Process Commissioning
- [CPUP](kernel/kernel-small-debug-process-cpu.md)
- Memory Debugging
- [Memory Information Statistics](kernel/kernel-small-debug-memory-info.md)
- [Memory Leak Check](kernel/kernel-small-debug-memory-leak.md)
- [Memory Corruption Check](kernel/kernel-small-debug-memory-corrupt.md)
- User-Mode Memory Debugging
- [Basic Concepts](kernel/kernel-small-debug-user-concept.md)
- [Working Principles](kernel/kernel-small-debug-user-function.md)
- Usage
- [API Description](kernel/kernel-small-debug-user-guide-api.md)
- How to Use
- [Calling APIs](kernel/kernel-small-debug-user-guide-use-api.md)
- [Using the CLI](kernel/kernel-small-debug-user-guide-use-cli.md)
- [Typical Memory Problems](kernel/kernel-small-debug-user-faqs.md)
- Other Kernel Debugging Methods
- [Dying Gasp](kernel/kernel-small-debug-trace-other-lastwords.md)
- [Common Fault Locating Methods](kernel/kernel-small-debug-trace-other-faqs.md)
- Appendix
- Basic Data Structure
- [Doubly Linked List](kernel/kernel-small-apx-dll.md)
- [Bitwise Operation](kernel/kernel-small-apx-bitwise.md)
- [Standard Library](kernel/kernel-small-apx-library.md)
- Kernel for Standard Systems
- [Linux Kernel Overview](kernel/kernel-standard-overview.md)
- [Applying Patches on OpenHarmony Development Boards](kernel/kernel-standard-patch.md)
- [Guidelines for Building the Linux Kernel](kernel/kernel-standard-build.md)
- Driver
- HDF
- [HDF Overview](driver/driver-hdf-overview.md)
- [Driver Development](driver/driver-hdf-development.md)
- [Driver Service Management](driver/driver-hdf-servicemanage.md)
- [Driver Message Mechanism Management](driver/driver-hdf-message-management.md)
- [Driver Configuration Management](driver/driver-hdf-manage.md)
- [HDF Development Example](driver/driver-hdf-sample.md)
- Platform Driver Development
- [ADC](driver/driver-platform-adc-develop.md)
- [GPIO](driver/driver-platform-gpio-develop.md)
- [HDMI](driver/driver-platform-hdmi-develop.md)
- [I2C](driver/driver-platform-i2c-develop.md)
- [I3C](driver/driver-platform-i3c-develop.md)
- [MIPI DSI](driver/driver-platform-mipidsi-develop.md)
- [MMC](driver/driver-platform-mmc-develop.md)
- [PWM](driver/driver-platform-pwm-develop.md)
- [RTC](driver/driver-platform-rtc-develop.md)
- [SDIO](driver/driver-platform-sdio-develop.md)
- [SPI](driver/driver-platform-spi-develop.md)
- [UART](driver/driver-platform-uart-develop.md)
- [Watchdog](driver/driver-platform-watchdog-develop.md)
- Platform Driver Usage
- [ADC](driver/driver-platform-adc-des.md)
- [GPIO](driver/driver-platform-gpio-des.md)
- [HDMI](driver/driver-platform-hdmi-des.md)
- [I2C](driver/driver-platform-i2c-des.md)
- [I3C](driver/driver-platform-i3c-des.md)
- [MIPI DSI](driver/driver-platform-mipidsi-des.md)
- [PWM](driver/driver-platform-pwm-des.md)
- [RTC](driver/driver-platform-rtc-des.md)
- [SDIO](driver/driver-platform-sdio-des.md)
- [SPI](driver/driver-platform-spi-des.md)
- [UART](driver/driver-platform-uart-des.md)
- [Watchdog](driver/driver-platform-watchdog-des.md)
- Peripheral Driver Usage
- [LCD](driver/driver-peripherals-lcd-des.md)
- [Touchscreen](driver/driver-peripherals-touch-des.md)
- [Sensor](driver/driver-peripherals-sensor-des.md)
- [WLAN](driver/driver-peripherals-external-des.md)
- [Audio](driver/driver-peripherals-audio-des.md)
- [USB](driver/driver-peripherals-usb-des.md)
- [Camera](driver/driver-peripherals-camera-des.md)
- Compilation and Building
- [Building Guidelines for Mini and Small Systems](subsystems/subsys-build-mini-lite.md)
- [Building Guidelines for Standard Systems](subsystems/subsys-build-standard-large.md)
- [Build System Coding Specifications and Best Practices](subsystems/subsys-build-gn-coding-style-and-best-practice.md)
- [Building the Kconfig Visual Configuration](subsystems/subsys-build-gn-kconfig-visual-config-guid.md)
- [Distributed Remote Startup](subsystems/subsys-remote-start.md)
- Graphics
- [Graphics](subsystems/subsys-graphics-overview.md)
- [Development Guidelines on Container Components](subsystems/subsys-graphics-container-guide.md)
- [Development Guidelines on Layout Container Components](subsystems/subsys-graphics-layout-guide.md)
- [Development Guidelines on Common Components](subsystems/subsys-graphics-common-guide.md)
- [Development Guidelines on Animators](subsystems/subsys-graphics-animation-guide.md)
- Multimedia
- Camera
- [Overview](subsystems/subsys-multimedia-camera-overview.md)
- [Development Guidelines on Photographing](subsystems/subsys-multimedia-camera-photo-guide.md)
- [Development Guidelines on Video Recording](subsystems/subsys-multimedia-camera-record-guide.md)
- [Development Guidelines on Previewing](subsystems/subsys-multimedia-camera-preview-guide.md)
- Audio/Video
- [Overview](subsystems/subsys-multimedia-video-overview.md)
- [Development Guidelines on Media Playback](subsystems/subsys-multimedia-video-play-guide.md)
- [Development Guidelines on Media Recording](subsystems/subsys-multimedia-video-record-guide.md)
- Utils
- [Utils Overview](subsystems/subsys-utils-overview.md)
- [Utils Development Guidelines](subsystems/subsys-utils-guide.md)
- [Utils FAQ](subsystems/subsys-utils-faqs.md)
- AI Framework
- [AI Engine Framework](subsystems/subsys-aiframework-guide.md)
- [Development Environment](subsystems/subsys-aiframework-envbuild.md)
- Technical Specifications
- [Code Management](subsystems/subsys-aiframework-tech-codemanage.md)
- [Naming](subsystems/subsys-aiframework-tech-name.md)
- [API Development](subsystems/subsys-aiframework-tech-interface.md)
- Development Guidelines
- [SDK](subsystems/subsys-aiframework-devguide-sdk.md)
- [Plug-in](subsystems/subsys-aiframework-devguide-plugin.md)
- [Configuration File](subsystems/subsys-aiframework-devguide-conf.md)
- Development Examples
- [KWS SDK](subsystems/subsys-aiframework-demo-sdk.md)
- [KWS Plug-in](subsystems/subsys-aiframework-demo-plugin.md)
- [KWS Configuration File](subsystems/subsys-aiframework-demo-conf.md)
- Data Management
- RDB
- [RDB Overview](subsystems/subsys-data-relational-database-overview.md)
- [RDB Development](subsystems/subsys-data-relational-database-guide.md)
- Lightweight Data Store
- [Lightweight Data Store Overview](subsystems/subsys-data-storage-overview.md)
- [Lightweight Data Store Development](subsystems/subsys-data-storage-guide.md)
- Sensor
- [Sensor Overview](subsystems/subsys-sensor-overview.md)
- [Sensor Usage Guidelines](subsystems/subsys-sensor-guide.md)
- [Sensor Usage Example](subsystems/subsys-sensor-demo.md)
- USB
- [[USB Overview](subsystems/subsys-usbservice-overview.md)
- [USB Usage Guidelines](subsystems/subsys-usbservice-guide.md)
- [USB Usage Example](subsystems/subsys-usbservice-demo.md)
- Application Framework
- [Overview](subsystems/subsys-application-framework-overview.md)
- [Setting Up a Development Environment](subsystems/subsys-application-framework-envbuild.md)
- [Development Guidelines](subsystems/subsys-application-framework-guide.md)
- [Development Example](subsystems/subsys-application-framework-demo.md)
- [OTA Upgrade](subsystems/subsys-ota-guide.md)
- Telephony Service
- [Telephony Service](subsystems/telephony-service.md)
- [Development Guidelines](subsystems/development-guidelines.md)
- Security
- [Overview](subsystems/subsys-security-overview.md)
- [Development Guidelines on Application Signature Verification](subsystems/subsys-security-sigverify.md)
- [Development Guidelines on Application Permission Management](subsystems/subsys-security-rightmanagement.md)
- [Development Guidelines on IPC Authentication](subsystems/subsys-security-communicationverify.md)
- Startup
- [Startup](subsystems/subsys-boot-overview.md)
- [init Module](subsystems/subsys-boot-init.md)
- [appspawn Module](subsystems/subsys-boot-appspawn.md)
- [bootstrap Module](subsystems/subsys-boot-bootstrap.md)
- [syspara Module](subsystems/subsys-boot-syspara.md)
- [FAQs](subsystems/subsys-boot-faqs.md)
- [Reference](subsystems/subsys-boot-ref.md)
- [Testing](subsystems/subsys-testguide-test.md)
- DFX
- [DFX](subsystems/subsys-dfx-overview.md)
- [HiLog Development](subsystems/subsys-dfx-hilog-rich.md)
- [HiLog_Lite Development](subsystems/subsys-dfx-hilog-lite.md)
- [HiTrace Development](subsystems/subsys-dfx-hitrace.md)
- [HiCollie Development](subsystems/subsys-dfx-hicollie.md)
- HiSysEvent Development
- [HiSysEvent Logging Configuration](subsystems/subsys-dfx-hisysevent-logging-config.md)
- [HiSysEvent Logging](subsystems/subsys-dfx-hisysevent-logging.md)
- [HiSysEvent Listening](subsystems/subsys-dfx-hisysevent-listening.md)
- [HiSysEvent Query](subsystems/subsys-dfx-hisysevent-query.md)
- [HiSysEvent Tool Usage](subsystems/subsys-dfx-hisysevent-tool.md)
- Featured Topics
- HPM Bundle
- [Development Specifications](bundles/bundles-standard-rules.md)
- Development Guidelines
- [Bundle Development](bundles/bundles-guide-overview.md)
- [Preparations](bundles/bundles-guide-prepare.md)
- [Bundle Development](bundles/bundles-guide-develop.md)
- HPM User Guide
- [Introduction](bundles/bundles-demo-hpmdescription.md)
- [Preparations](bundles/bundles-demo-environment.md)
- [Development Example](bundles/bundles-demo-devsample.md)
- Device Development Examples
- [Mini- and Small-System Devices](guide/device-lite.md)
- [WLAN-connected Products](guide/device-wlan.md)
- [LED Peripheral Control](guide/device-wlan-led-control.md)
- [Third-Party SDK Integration](guide/device-wlan-sdk.md)
- [Cameras Without a Screen](guide/device-iotcamera.md)
- [Camera Control](guide/device-iotcamera-control.md)
- [Overview](guide/device-iotcamera-control-overview.md)
- [Development Guidelines](guide/device-iotcamera-control-demo.md)
- [Photographing](guide/device-iotcamera-control-demo-photodevguide.md)
- [Video Recording](guide/device-iotcamera-control-demo-videodevguide.md)
- [Use Case](guide/device-iotcamera-control-example.md)
- [Cameras with a Screen](guide/device-camera.md)
- [Screen and Camera Control](guide/device-camera-control.md)
- [Overview](guide/device-camera-control-overview.md)
- [Development Guidelines](guide/device-camera-control-demo.md)
- [Photographing](guide/device-camera-control-demo-photoguide.md)
- [Video Recording](guide/device-camera-control-demo-videoguide.md)
- [Previewing](guide/device-camera-control-demo-previewguide.md)
- [Use Case](guide/device-camera-control-example.md)
- [Visual Application Development](guide/device-camera-visual.md)
- [Overview](guide/device-camera-visual-overview.md)
- [Preparations](guide/device-camera-visual-prepare.md)
- [Adding Pages](guide/device-camera-visual-addpage.md)
- [Building the Home Page](guide/device-camera-visual-firstpage.md)
- [Building the Details Page](guide/device-camera-visual-details.md)
- [Debugging and Packaging](guide/device-camera-visual-debug.md)
- [Running on the Device](guide/device-camera-visual-run.md)
- [FAQs](guide/device-camera-visual-faqs.md)
- [Standard-System Devices](guide/device-standard.md)
- [Development Guidelines on Clock Apps](guide/device-clock-guide.md)
- [Development Example for Platform Drivers](guide/device-driver-demo.md)
- [Development Example for Peripheral Drivers](guide/device-outerdriver-demo.md)
- Debugging
- [Test Subsystem](subsystems/subsys-testguide-test.md)
- [R&D Tools](subsystems/subsys-toolchain.md)
- [bytrace Usage Guidelines](subsystems/subsys-toolchain-bytrace-guide.md)
- [hdc_std Usage Guidelines](subsystems/subsys-toolchain-hdc-guide.md)
- XTS Certification
- [XTS](subsystems/subsys-xts-guide.md)
- Tools
- [Docker Environment](get-code/gettools-acquire.md)
- [IDE](get-code/gettools-ide.md)
- Hands-On Tutorials
- [Samples](https://gitee.com/openharmony/app_samples/blob/master/README.md)
- [Codelabs](https://gitee.com/openharmony/codelabs/blob/master/README.md)
- References
- FAQs
- [Overview of FAQs](faqs/faqs-overview.md)
- [Environment Setup](faqs/faqs-environment-setup.md)
- [Compilation and Building Subsystem](faqs/faqs-building.md)
- [Burning](faqs/faqs-burning.md)
- [Kernel](faqs/faqs-kernel.md)
- [Porting](faqs/faqs-porting.md)
- [Startup](faqs/faqs-startup.md)
- [System Applications](faqs/faqs-system-applications.md)
\ No newline at end of file
# AbilityContext
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
Ability的上下文环境,继承自Context。
......
# ErrorCode
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API version 6开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
## 导入模块
```
import errorCode from '@ohos.ability.errorCode'
```
## ErrorCode
定义启动功能时使用的错误代码。
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core
| 变量 | 值 | 说明 |
| ------------------------------ | ---- | ---------------------------------------- |
| NO_ERROR | 0 | 没有错误。 |
| INVALID_PARAMETER | -1 | 无效的参数。 |
| ABILITY_NOT_FOUND | -2 | 找不到能力。 |
| PERMISSION_DENY | -3 | 拒绝许可。 |
\ No newline at end of file
......@@ -16,7 +16,7 @@ import wantConstant from '@ohos.ability.wantConstant'
**系统能力**:SystemCapability.Ability.AbilityBase
## 权限列表
权限列表。
| 系统公共事件宏 | 系统公共事件名称 | 订阅者所需权限 |
| ------------ | ------------------ | ---------------------- |
......@@ -52,7 +52,7 @@ import wantConstant from '@ohos.ability.wantConstant'
**系统能力**:SystemCapability.Ability.AbilityBase
## 权限列表
权限列表。
| 系统公共事件宏 | 系统公共事件名称 | 订阅者所需权限 |
| ------------ | ------------------ | ---------------------- |
......
# AbilityRunningInfo
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> 本模块首批接口从API version 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
Ability运行相关信息。
......@@ -22,6 +22,7 @@ abilitymanager.getAbilityRunningInfos((err,data) => {
```
## 属性
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core
| 名称 | 参数类型 | 可读 | 可写 | 说明 |
......@@ -35,6 +36,7 @@ abilitymanager.getAbilityRunningInfos((err,data) => {
## abilityManager.AbilityState
Ability的状态信息。
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core
......
# AbilityStageContext
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
AbilityStage的上下文环境,继承自[Context](js-apis-application-context.md)
......@@ -25,6 +25,7 @@ class MyAbilityStage extends AbilityStage {
## 属性
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core
| 名称 | 参数类型 | 可读 | 可写 | 说明 |
......
......@@ -21,9 +21,11 @@ import DataShareExtensionAbility from '@ohos.application.DataShareExtensionAbili
## 属性
**系统能力**:SystemCapability.DistributedDataManager.DataShare.Provider
| 名称 | 可读 | 可写 | 参数类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- | -------- | -------- |
| context | 是 | 否 | ExtensionContext | 否 | 指示数据共享扩展能力上下文。<br/>**系统能力**:SystemCapability.DistributedDataManager.DataShare.Provider |
| context | 是 | 否 | ExtensionContext | 否 | 指示数据共享扩展能力上下文。|
## DataShareExtensionAbility.onCreate
......
# MissionInfo
> **说明:**
> 本模块首批接口从API version 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API version 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
Ability对应的任务信息。
......@@ -13,7 +13,7 @@ Ability对应的任务信息。
```
import Want from "../@ohos.application.Want";
import Want from '@ohos.application.Want';
```
......
# MissionSnapshot
> **说明:**
> 本模块首批接口从API 8开始支持
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API version 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本
任务对应的任务快照。
......
......@@ -21,10 +21,12 @@ import StartOptions from '@ohos.application.StartOptions';
## 属性
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.AbilityCore
| 名称 | 可读 | 可写 | 参数类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- | -------- | -------- |
| windowMode | 是 | 否 | number | 否 | 窗口模式。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore |
| displayId | 是 | 否 | number | 否 | 显示ID。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore |
| windowMode | 是 | 否 | number | 否 | 窗口模式。 |
| displayId | 是 | 否 | number | 否 | 显示ID。 |
......
......@@ -16,11 +16,13 @@ import Ability from '@ohos.application.Ability';
## 属性
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.AbilityCore
| 名称 | 参数类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- |
| context | [AbilityContext](js-apis-ability-context.md) | 是 | 否 | 上下文。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore |
| launchWant | [Want](js-apis-featureAbility.md#Want类型说明) | 是 | 否 | Ability启动时的参数。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore |
| lastRequestWant | [Want](js-apis-featureAbility.md#Want类型说明) | 是 | 否 | Ability最后请求时的参数。 <br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore|
| context | [AbilityContext](js-apis-ability-context.md) | 是 | 否 | 上下文。 |
| launchWant | [Want](js-apis-featureAbility.md#Want类型说明) | 是 | 否 | Ability启动时的参数。 |
| lastRequestWant | [Want](js-apis-featureAbility.md#Want类型说明) | 是 | 否 | Ability最后请求时的参数。|
## Ability.onCreate
......
......@@ -5,7 +5,7 @@
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API version 9开始支持。
> 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
启动参数的接口.
......@@ -21,40 +21,48 @@ import AbilityConstant from '@ohos.application.AbilityConstant';
## 属性
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core
| 名称 | 参数类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- |
| launchReason | LaunchReason| 是 | 是 | 指示启动原因。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| lastExitReason | LastExitReason | 是 | 是 | 表示最后退出原因。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| launchReason | LaunchReason| 是 | 是 | 指示启动原因。 |
| lastExitReason | LastExitReason | 是 | 是 | 表示最后退出原因。 |
## AbilityConstant.LaunchReason
初次开始原因的类型。
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core
| 变量 | 值 | 说明 |
| ----------------------------- | ---- | ------------------------------------------------------------ |
| UNKNOWN | 0 | 未知的状态。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| START_ABILITY | 1 | 启动能力。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| CALL | 2 | 呼叫。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| CONTINUATION | 3 | 继续。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| UNKNOWN | 0 | 未知的状态。 |
| START_ABILITY | 1 | 启动能力。 |
| CALL | 2 | 呼叫。 |
| CONTINUATION | 3 | 继续。 |
## AbilityConstant.LaunchReason
上次退出原因的类型。
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core
| 变量 | 值 | 说明 |
| ----------------------------- | ---- | ------------------------------------------------------------ |
| UNKNOWN | 0 | 未知的状态。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| ABILITY_NOT_RESPONDING | 1 | 能力没有反应<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| NORMAL | 2 | 正常的状态。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| UNKNOWN | 0 | 未知的状态。 |
| ABILITY_NOT_RESPONDING | 1 | 能力没有反应 |
| NORMAL | 2 | 正常的状态。 |
## AbilityConstant.OnContinueResult
继续结果的类型。
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core
| 变量 | 值 | 说明 |
| ----------------------------- | ---- | ------------------------------------------------------------ |
| AGREE | 0 | 同意。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| REJECT | 1 | 拒绝。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| MISMATCH | 2 | 不匹配。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| AGREE | 0 | 同意。 |
| REJECT | 1 | 拒绝。 |
| MISMATCH | 2 | 不匹配。|
......@@ -94,6 +94,8 @@ onConfigurationUpdated(config: Configuration): void;
指示有关上下文的配置信息。
**系统能力**:SystemCapability.Ability.AbilityRuntime.Core
| 属性名 | 类型 | 说明 |
| ----------- | --------------------------- | ------------------------------------------------------------ |
| context | [AbilityStageContext](js-apis-featureAbility.md) | 在启动能力阶段进行初始化时回调。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| context | [AbilityStageContext](js-apis-featureAbility.md) | 在启动能力阶段进行初始化时回调。 |
......@@ -14,6 +14,7 @@
## 属性
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core
| 名称 | 参数类型 | 可读 | 可写 | 说明 |
......
......@@ -2,8 +2,7 @@
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> 本模块首批接口从API version 9 开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
## 导入模块
......
# DataAbilityHelper模块(JS端SDK接口)
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API version 7开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
## 导入模块
```
......
# EventHub
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
事件中心,提供订阅、取消订阅、触发事件能力。
......
# ExtensionContext
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> 本模块首批接口从API version 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
Extension的上下文环境,继承自Context。
......@@ -9,6 +9,8 @@ Extension的上下文环境,继承自Context。
## 属性
**系统能力**:SystemCapability.Ability.AbilityRuntime.Core
| 名称 | 参数类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- |
| currentHapModuleInfo | HapModuleInfo | 是 | 否 | 当前Hap包的信息。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core |
| currentHapModuleInfo | HapModuleInfo | 是 | 否 | 当前Hap包的信息。 |
# ExtensionRunningInfo
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> 本模块首批接口从API version 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
Extension运行相关信息。
......
......@@ -665,11 +665,7 @@ getWindow(callback: AsyncCallback\<window.Window>): void
**示例:**
```javascript
<<<<<<< HEAD
featureAbility.getWindow()
=======
featureAbility.getWindow()
>>>>>>> 45a0d5bbd5a373948e44b76b9e7eeb3239fe94e7
```
## featureAbility.getWindow<sup>7+</sup>
......@@ -689,15 +685,9 @@ getWindow(): Promise\<window.Window>;
**示例:**
```javascript
<<<<<<< HEAD
featureAbility.getWindow().then((data) => {
console.info("=============getWindowPromise========== " + JSON.stringify(data));
console.info("=============getWindowPromise========== " + JSON.stringify(data));
});
=======
featureAbility.getWindow().then((data) => {
console.info("=============getWindowPromise========== " + JSON.stringify(data));
});
>>>>>>> 45a0d5bbd5a373948e44b76b9e7eeb3239fe94e7
```
## ConnectOptions.onConnect<sup>7+</sup>
......@@ -841,13 +831,15 @@ var connId = featureAbility.connectAbility(
featureAbility.AbilityWindowConfiguration.WINDOW_MODE_UNDEFINED
```
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.FAModel
| 名称 | 参数 | 描述 |
| ---------------------------------------- | ---- | ---------------------------------------- |
| WINDOW_MODE_UNDEFINED<sup>7+</sup> | 0 | 未定义。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| WINDOW_MODE_FULLSCREEN<sup>7+</sup> | 1 | 全屏。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| WINDOW_MODE_SPLIT_PRIMARY<sup>7+</sup> | 100 | 分屏主屏。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| WINDOW_MODE_SPLIT_SECONDARY<sup>7+</sup> | 101 | 分屏次屏。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| WINDOW_MODE_FLOATING<sup>7+</sup> | 102 | 悬浮窗。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| WINDOW_MODE_UNDEFINED<sup>7+</sup> | 0 | 未定义。 |
| WINDOW_MODE_FULLSCREEN<sup>7+</sup> | 1 | 全屏。 |
| WINDOW_MODE_SPLIT_PRIMARY<sup>7+</sup> | 100 | 分屏主屏。 |
| WINDOW_MODE_SPLIT_SECONDARY<sup>7+</sup> | 101 | 分屏次屏。 |
| WINDOW_MODE_FLOATING<sup>7+</sup> | 102 | 悬浮窗。 |
## AbilityStartSetting
......@@ -862,34 +854,40 @@ abilityStartSetting属性是一个定义为[key: string]: any的对象,key对
featureAbility.AbilityStartSetting.BOUNDS_KEY
```
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.FAModel
| 名称 | 参数 | 描述 |
| ---------------------------- | --------------- | ---------------------------------------- |
| BOUNDS_KEY<sup>7+</sup> | "abilityBounds" | 窗口显示大小属性的名称。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| WINDOW_MODE_KEY<sup>7+</sup> | "windowMode" | 窗口显示模式属性的名称。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| DISPLAY_ID_KEY<sup>7+</sup> | "displayId" | 窗口显示设备ID属性的名称。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| BOUNDS_KEY<sup>7+</sup> | "abilityBounds" | 窗口显示大小属性的名称。 |
| WINDOW_MODE_KEY<sup>7+</sup> | "windowMode" | 窗口显示模式属性的名称。|
| DISPLAY_ID_KEY<sup>7+</sup> | "displayId" | 窗口显示设备ID属性的名称。 |
## ErrorCode
获取错误代码。
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.FAModel
| 变量 | 值 | 说明 |
| ------------------------------ | ---- | ---------------------------------------- |
| NO_ERROR<sup>7+</sup> | 0 | 没有错误。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| INVALID_PARAMETER<sup>7+</sup> | -1 | 无效的参数。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| ABILITY_NOT_FOUND<sup>7+</sup> | -2 | 找不到能力。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| PERMISSION_DENY<sup>7+</sup> | -3 | 拒绝许可。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| NO_ERROR<sup>7+</sup> | 0 | 没有错误。 |
| INVALID_PARAMETER<sup>7+</sup> | -1 | 无效的参数。 |
| ABILITY_NOT_FOUND<sup>7+</sup> | -2 | 找不到能力。 |
| PERMISSION_DENY<sup>7+</sup> | -3 | 拒绝许可。 |
## DataAbilityOperationType
指示数据的操作类型。
**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.FAModel
| 变量 | 值 | 说明 |
| ------------------------ | ---- | ---------------------------------------- |
| TYPE_INSERT<sup>7+</sup> | 1 | 插入类型。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| TYPE_UPDATE<sup>7+</sup> | 2 | 修改类型。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| TYPE_DELETE<sup>7+</sup> | 3 | 删除类型。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| TYPE_ASSERT<sup>7+</sup> | 4 | 声明类型。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| TYPE_INSERT<sup>7+</sup> | 1 | 插入类型。 |
| TYPE_UPDATE<sup>7+</sup> | 2 | 修改类型。 |
| TYPE_DELETE<sup>7+</sup> | 3 | 删除类型。 |
| TYPE_ASSERT<sup>7+</sup> | 4 | 声明类型。 |
......
......@@ -46,8 +46,10 @@ createFormBindingData(obj?: Object | string): FormBindingData
FormBindingData相关描述。
**系统能力**:SystemCapability.Ability.Form
| 名称 | 可读 | 可写 | 参数类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- | -------- | -------- |
| data | 是 | 否 | Object | 是 | js卡片要展示的数据。可以是包含若干键值对的Object或者 json 格式的字符串。<br/>**系统能力**:SystemCapability.Ability.Form |
| data | 是 | 否 | Object | 是 | js卡片要展示的数据。可以是包含若干键值对的Object或者 json 格式的字符串。|
\ No newline at end of file
......@@ -17,9 +17,11 @@ import FormExtension from '@ohos.application.FormExtension';
## 属性
**系统能力**:SystemCapability.Ability.Form
| 名称 | 参数类型 | 可读 | 可写 | 说明 |
| ------- | ------------------------------------------------------- | ---- | ---- | --------------------------------------------------- |
| context | [FormExtensionContext](js-apis-formextensioncontext.md) | 是 | 否 | FormExtension的上下文环境,继承自ExtensionContext。<br/>**系统能力**:SystemCapability.Ability.Form |
| context | [FormExtensionContext](js-apis-formextensioncontext.md) | 是 | 否 | FormExtension的上下文环境,继承自ExtensionContext。 |
## onCreate
......
# missionManager
> **说明:**
> 本模块首批接口从API version 8开始支持。
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API version 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
missionManager模块提供系统任务管理能力,开发者可以对系统任务执行锁定、解锁、清理、切换到前台等操作。
## 导入模块
```
import missionManager from '@ohos.application.missionManager'
......
......@@ -509,9 +509,11 @@ function onConnectCallback(element, remote){
获取错误代码。
**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel
| 变量 | 值 | 说明 |
| ----------------------------- | ---- | ------------------------------------------------------------ |
| INVALID_PARAMETER | -1 | 无效的参数。<br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.FAModel |
| INVALID_PARAMETER | -1 | 无效的参数。 |
......
# ProcessRunningInfo
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> 本模块首批接口从API version 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
进程运行信息。
......
......@@ -1745,7 +1745,7 @@ getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callba
**示例:**
```
sensor.getGeomagneticField([80, 0, 0], {'timeMillis':1580486400000}, function(err, data) {
sensor.getGeomagneticField([80, 0, 0], 1580486400000, function(err, data) {
if (err) {
console.error('Operation failed. Error code: ' + err.code + '; message: ' + err.message);
return;
......@@ -1776,7 +1776,7 @@ getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promi
**返回值:**
```
const promise = sensor.getGeomagneticField([80, 0, 0], {'timeMillis':1580486400000});
const promise = sensor.getGeomagneticField([80, 0, 0], 1580486400000);
promise.then((data) => {
console.info('sensor_getGeomagneticField_promise x: ' + data.x + ',y: ' + data.y + ',z: ' +
data.z + ',geomagneticDip: ' + data.geomagneticDip + ',deflectionAngle: ' + data.deflectionAngle +
......
# ServiceExtensionAbility
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
提供ServiceExtension服务扩展相关接口。
......@@ -21,9 +21,11 @@ import ServiceExtension from '@ohos.application.ServiceExtensionAbility';
## 属性
**系统能力**:SystemCapability.Ability.AbilityRuntime.Core
| 名称 | 参数类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- |
| context | [ServiceExtensionContext](js-apis-service-extension-context.md) | 是 | 否 | ServiceExtension的上下文环境,继承自ExtensionContext。 <br/>**系统能力**:SystemCapability.Ability.AbilityRuntime.Core|
| context | [ServiceExtensionContext](js-apis-service-extension-context.md) | 是 | 否 | ServiceExtension的上下文环境,继承自ExtensionContext。 |
## ServiceExtensionAbility.onCreate
......
# ServiceExtensionContext
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> 本模块首批接口从API version 8开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
ServiceExtension的上下文环境,提供ServiceExtension具有的能力和接口,继承自ExtensionContext。
......
# uriPermissionManager
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API version 9开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
> 本模块首批接口从API version 9 开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。
Uri权限管理。
......
......@@ -153,31 +153,31 @@ struct WebComponent {
```
## 场景示例
​该场景实现了Web组件中视频的动态播放。首先在HTML页面内嵌入视频资源,再使用Web组件的控制器调用onActive和onInactive方法激活和暂停页面渲染。页面消失时,Web组件停止渲染,视频暂停播放;页面显示时,激活Web组件,视频继续播放。
该场景实现了Web组件中视频的动态播放。首先在HTML页面内嵌入视频资源,再使用Web组件的控制器调用onActive和onInactive方法激活和暂停页面渲染。点击onInactive按钮,Web页面停止渲染,视频暂停播放;点击onActive按钮,激活Web组件,视频继续播放。
```
// xxx.ets
@Entry
@Component
struct WebComponent {
controller: WebController = new WebController();
build() {
Column() {
Web({ src: $rawfile('index.html'), controller: this.controller })
.fileAccess(true)
@Entry
@Component
struct WebComponent {
controller: WebController = new WebController();
build() {
Column() {
Row() {
Button('onActive').onClick(() => {
console.info("Web Component onActive");
this.controller.onActive();
})
Button('onInactive').onClick(() => {
console.info("Web Component onInactive");
this.controller.onInactive();
})
}
}
onPageHide() {
// 页面消失时调用
this.controller.onInactive();
}
onPageShow() {
// 页面显示时调用
this.controller.onActive();
Web({ src: $rawfile('index.html'), controller: this.controller })
.fileAccess(true)
}
}
}
```
```
......
- [设备开发导读](device-dev-guide.md)
- 快速开始
- 轻量和小型系统入门
......@@ -345,37 +344,149 @@
- [AUDIO](driver/driver-peripherals-audio-des.md)
- [USB](driver/driver-peripherals-usb-des.md)
- [CAMERA](driver/driver-peripherals-camera-des.md)
- [编译构建](subsystems/subsys-build.md)
- 编译构建
- [轻量和小型系统编译构建指导](subsystems/subsys-build-mini-lite.md)
- [标准系统编译构建指导](subsystems/subsys-build-standard-large.md)
- [构建系统编码规范和最佳实践指导](subsystems/subsys-build-gn-coding-style-and-best-practice.md)
- [编译构建Kconfig可视化配置指导](subsystems/subsys-build-gn-kconfig-visual-config-guid.md)
- [分布式远程启动](subsystems/subsys-remote-start.md)
- [图形图像](subsystems/subsys-graphics.md)
- [媒体](subsystems/subsys-multimedia.md)
- [公共基础](subsystems/subsys-utils.md)
- [AI框架](subsystems/subsys-aiframework.md)
- [数据管理](subsystems/subsys-data.md)
- [Sensor服务](subsystems/subsys-sensor.md)
- [USB服务](subsystems/subsys-usbservice.md)
- [用户程序框架](subsystems/subsys-application-framework.md)
- 图形图像
- [图形图像概述](subsystems/subsys-graphics-overview.md)
- [容器类组件开发指导](subsystems/subsys-graphics-container-guide.md)
- [布局容器类组件开发指导](subsystems/subsys-graphics-layout-guide.md)
- [普通组件开发指导](subsystems/subsys-graphics-common-guide.md)
- [动画开发指导](subsystems/subsys-graphics-animation-guide.md)
- 媒体
- [相机](subsystems/subsys-multimedia-camera.md)
- [相机开发概述](subsystems/subsys-multimedia-camera-overview.md)
- [拍照开发指导](subsystems/subsys-multimedia-camera-photo-guide.md)
- [录像开发指导](subsystems/subsys-multimedia-camera-record-guide.md)
- [预览开发指导](subsystems/subsys-multimedia-camera-preview-guide.md)
- [音视频](subsystems/subsys-multimedia-video.md)
- [音视频开发概述](subsystems/subsys-multimedia-video-overview.md)
- [音视频播放开发指导](subsystems/subsys-multimedia-video-play-guide.md)
- [音视频录制开发指导](subsystems/subsys-multimedia-video-record-guide.md)
- 公共基础
- [公共基础库概述](subsystems/subsys-utils-overview.md)
- [公共基础库开发指导](subsystems/subsys-utils-guide.md)
- [公共基础库常见问题](subsystems/subsys-utils-faqs.md)
- AI框架
- [AI引擎框架开发指南](subsystems/subsys-aiframework-guide.md)
- [搭建环境](subsystems/subsys-aiframework-envbuild.md)
- [技术规范](subsystems/subsys-aiframework-tech.md)
- [代码管理规范](subsystems/subsys-aiframework-tech-codemanage.md)
- [命名规范](subsystems/subsys-aiframework-tech-name.md)
- [接口开发规范](subsystems/subsys-aiframework-tech-interface.md)
- [开发指导](subsystems/subsys-aiframework-devguide.md)
- [SDK开发过程](subsystems/subsys-aiframework-devguide-sdk.md)
- [插件的开发过程](subsystems/subsys-aiframework-devguide-plugin.md)
- [配置文件的开发过程](subsystems/subsys-aiframework-devguide-conf.md)
- [开发示例](subsystems/subsys-aiframework-demo.md)
- [唤醒词识别SDK的开发示例](subsystems/subsys-aiframework-demo-sdk.md)
- [唤醒词识别插件的开发示例](subsystems/subsys-aiframework-demo-plugin.md)
- [唤醒词识别配置文件的开发示例](subsystems/subsys-aiframework-demo-conf.md)
- 数据管理
- [关系型数据库](subsystems/subsys-data-relational-database.md)
- [关系型数据库概述](subsystems/subsys-data-relational-database-overview.md)
- [关系型数据库开发指导](subsystems/subsys-data-relational-database-guide.md)
- [轻量级数据存储](subsystems/subsys-data-storage.md)
- [轻量级数据存储概述](subsystems/subsys-data-storage-overview.md)
- [轻量级数据存储开发指导](subsystems/subsys-data-storage-guide.md)
- Sensor服务
- [Sensor服务子系概述](subsystems/subsys-sensor-overview.md)
- [Sensor服务子系使用指导](subsystems/subsys-sensor-guide.md)
- [Sensor服务子系使用实例](subsystems/subsys-sensor-demo.md)
- USB服务子系统
- [USB服务子系统概述](subsystems/subsys-usbservice-overview.md)
- [USB服务子系统使用指导](subsystems/subsys-usbservice-guide.md)
- [USB服务子系统使用实例](subsystems/subsys-usbservice-demo.md)
- 用户程序框架
- [概述](subsystems/subsys-application-framework-overview.md)
- [搭建环境](subsystems/subsys-application-framework-envbuild.md)
- [开发指导](subsystems/subsys-application-framework-guide.md)
- [开发实例](subsystems/subsys-application-framework-demo.md)
- [OTA升级](subsystems/subsys-ota-guide.md)
- [电话服务](subsystems/subsys-tel.md)
- [安全](subsystems/subsys-security.md)
- [启动恢复](subsystems/subsys-boot.md)
- [DFX](subsystems/subsys-dfx.md)
- 电话服务
- [电话服务概述](subsystems/subsys-tel-overview.md)
- [电话服务开发指导](subsystems/subsys-tel-guide.md)
- 安全
- [概述](subsystems/subsys-security-overview.md)
- [应用验签开发指导](subsystems/subsys-security-sigverify.md)
- [应用权限管理开发指导](subsystems/subsys-security-rightmanagement.md)
- [IPC通信鉴权开发指导](subsystems/subsys-security-communicationverify.md)
- [设备安全等级管理开发指导](subsystems/subsys-security-devicesecuritylevel.md)
- [密钥管理开发指导](subsystems/subsys-security-huks.md)
- 启动恢复
- [启动恢复子系统概述](subsystems/subsys-boot-overview.md)
- [init启动引导组件](subsystems/subsys-boot-init.md)
- [appspawn应用孵化组件](subsystems/subsys-boot-appspawn.md)
- [appspawn标准系统应用孵化组件](subsystems/subsys-boot-appspawn-standard.md)
- [bootstrap服务启动组件](subsystems/subsys-boot-bootstrap.md)
- [syspara系统属性组件](subsystems/subsys-boot-syspara.md)
- [常见问题](subsystems/subsys-boot-faqs.md)
- [参考](subsystems/subsys-boot-ref.md)
- DFX
- [DFX概述](subsystems/subsys-dfx-overview.md)
- [HiLog开发指导](subsystems/subsys-dfx-hilog-rich.md)
- [HiLog\_Lite开发指导](subsystems/subsys-dfx-hilog-lite.md)
- [HiTrace开发指导](subsystems/subsys-dfx-hitrace.md)
- [HiCollie开发指导](subsystems/subsys-dfx-hicollie.md)
- [HiSysEvent开发指导](subsystems/subsys-dfx-hisysevent.md)
- [HiSysEvent打点配置指导](subsystems/subsys-dfx-hisysevent-logging-config.md)
- [HiSysEvent打点指导](subsystems/subsys-dfx-hisysevent-logging.md)
- [HiSysEvent订阅指导](subsystems/subsys-dfx-hisysevent-listening.md)
- [HiSysEvent查询指导](subsystems/subsys-dfx-hisysevent-query.md)
- [HiSysEvent工具使用指导](subsystems/subsys-dfx-hisysevent-tool.md)
- 专题
- HPM Part
- [HPM Part介绍](hpm-part/hpm-part-about.md)
- [HPM Part开发指导](hpm-part/hpm-part-development.md)
- [HPM Part参考](hpm-part/hpm-part-reference.md)
- 设备开发示例
- [轻量和小型系统设备开发示例](guide/device-lite.md)
- [标准系统设备开发示例](guide/device-lite.md)
- 轻量和小型系统设备
- WLAN连接类产品
- [LED外设控制](guide/device-wlan-led-control.md)
- [集成三方SDK](guide/device-wlan-sdk.md)
- 无屏摄像头类产品
- 摄像头控制
- [概述](guide/device-iotcamera-control-overview.md)
- 示例开发
- [拍照开发指导](guide/device-iotcamera-control-demo-photodevguide.md)
- [录像开发指导](guide/device-iotcamera-control-demo-videodevguide.md)
- [应用实例](guide/device-iotcamera-control-example.md)
- 带屏摄像头类产品
- 屏幕和摄像头控制
- [概述](guide/device-camera-control-overview.md)
- 示例开发
- [拍照开发指导](guide/device-camera-control-demo-photoguide.md)
- [录像开发指导](guide/device-camera-control-demo-videoguide.md)
- [预览开发指导](guide/device-camera-control-demo-previewguide.md)
- [应用实例](guide/device-camera-control-example.md)
- 视觉应用开发
- [概述](guide/device-camera-visual-overview.md)
- [开发准备](guide/device-camera-visual-prepare.md)
- [添加页面](guide/device-camera-visual-addpage.md)
- [开发首页](guide/device-camera-visual-firstpage.md)
- [开发详情页](guide/device-camera-visual-details.md)
- [调试打包](guide/device-camera-visual-debug.md)
- [真机运行](guide/device-camera-visual-run.md)
- [常见问题](guide/device-camera-visual-faqs.md)
- 标准系统设备
- [时钟应用开发指导](guide/device-clock-guide.md)
- [平台驱动开发示例](guide/device-driver-demo.md)
- [外设驱动开发示例](guide/device-outerdriver-demo.md)
- 调测
- [测试用例开发](subsystems/subsys-testguide-test.md)
- [调测工具](subsystems/subsys-toolchain.md)
- 调测工具
- 研发工具链
- [bytrace使用指导](subsystems/subsys-toolchain-bytrace-guide.md)
- [hdc\_std 使用指导](subsystems/subsys-toolchain-hdc-guide.md)
- [hiperf 使用指南](subsystems/subsys-toolchain-hiperf.md)
- XTS认证
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册