Using Cargo2gn Overview Rust uses Cargo as its build system and package manager. Cargo.toml is the manifest file of Cargo. It contains metadata such as the name, version, and dependencies for crates (
阅读全文
openharmony 鸿蒙 subsys-build-bindgen-cxx-guide
Interactive Tool User Guide Introduction You can use Bindgen and CXX to implement the interaction between Rust and C/C++. Bindgen enables Rust to call C by converting C interfaces into Rust interfaces
阅读全文
openharmony 鸿蒙 subsys-boot-init-seccomp
Seccomp Policy Development Overview Introduction Secure computing mode (Seccomp) is a security mechanism provided by the Linux kernel. In the Linux system, a large number of system calls can be opened
阅读全文
openharmony 鸿蒙 subsys-boot-init-deviceInfo
DeviceInfo Adaptation DeviceInfo parameters and mapping APIs ParameterAPIDescription const.product.devicetypeconst char* GetDeviceType(void)Obtains the device type. const.product.manufacturerconst cha
阅读全文
openharmony 鸿蒙 subsys-ai-nnrt-guide
Neural Network Runtime Device Access Overview Function Introduction Neural Network Runtime (NNRt) functions as a bridge to connect the upper-layer AI inference framework and underlying acceleration ch
阅读全文
openharmony 鸿蒙 kernel-small-bundles-container
Container Overview Container provides a mechanism to isolate global resources, such as process identifiers (PIDs), host information, and user information. The container mechanism allows the processes
阅读全文
openharmony 鸿蒙 disclaimer
Disclaimer Notice Disclaimer Notice: Use of Third-Party Software or Websites We may recommend use of software, information, products, or web sites that are owned or operated by other entities. We offe
阅读全文
openharmony 鸿蒙 OpenHarmony-Application-Typescript-JavaScript-coding-guide
TypeScript and JavaScript Coding Style Guide Overview Purpose This guide is applicable to the scenario where TypeScript and JavaScript are used during OpenHarmony application development. Based on the
阅读全文
openharmony 鸿蒙 web-set-dark-mode
Setting Dark Mode The system provides the light and dark theme modes for users. Dark mode reduces the screen brightness and visual stimulus in low-light environments, improving reading experience. The
阅读全文
openharmony 鸿蒙 web-resource-interception-request-mgmt
Customizing Page Request Responses The Web component supports customization of the response to intercepted page requests. You can call onInterceptRequest() to customize web page responses, file resour
阅读全文