# update_updateservice_5 **Repository Path**: GenesisEdge/update_updateservice_5 ## Basic Information - **Project Name**: update_updateservice_5 - **Description**: Update service module | 升级服务层组件 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 432 - **Created**: 2022-03-25 - **Last Updated**: 2022-03-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Update Service - [Introduction](#section184mcpsimp) - [Directory Structure](#section193mcpsimp) - [Description](#section208mcpsimp) - [JS APIs](#section210mcpsimp) - [Usage](#section253mcpsimp) - [Repositories Involved](#section366mcpsimp) ## Introduction The update service is a system ability \(SA\) started by the init process of OHOS to implement an update. The update service provides the following functions: 1. Searching for available update packages 2. Downloading update packages 3. Setting and obtaining the update policy 4. Triggering an update ## Directory Structure ``` base/update/updateservice # Update service code ├── client # NAPI-based update client ├── engine # Update client engine │ ├── etc # rc configuration files for the update client engine │ ├── include # Header files for the update client engine │ ├── sa_profile # SA profiles │ └── src # Source code of the update client engine ├── interfaces # Update client APIs │ └── innerkits # SA APIs ├── kits # External APIs │ └── js # JS APIs for the update app └── tests # Test code └── unittest # Unit test code for the update client ``` ## Description ### JS APIs
Writes the update command to the misc partition and runs the reboot command to access the updater. |
|