Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
bundle_daemon/ | 12-May-2024 | - | 1,129 | 867 | ||
include/ | 12-May-2024 | - | 2,124 | 1,508 | ||
src/ | 12-May-2024 | - | 10,438 | 8,991 | ||
tools/ | 12-May-2024 | - | 631 | 532 | ||
.gitignore | D | 12-May-2024 | 9 | 2 | 1 | |
BUILD.gn | D | 12-May-2024 | 6.7 KiB | 184 | 172 | |
LICENSE | D | 12-May-2024 | 10.1 KiB | 177 | 150 | |
README.md | D | 12-May-2024 | 2.3 KiB | 54 | 47 |
README.md
1# BMS - Bundle manager service of OpenHarmony 2 3## Introduction 4 5`Bundle manager service` (BMS) is aiming at installing/uninstalling application and managing bundleInfo. 6 7## Features 8 9- install application, include read files, parse files, create files, write to files and remove files. 10- uninstall application 11- manage bundleInfo 12- a `bm` tool who has capacity to install, uninstall applications and to dump some information of the specified applications. 13 14## Directions 15 16``` 17. 18├── BUILD.gn 19├── include 20│ ├── bundle_common.h # common setting info 21│ ├── bundle_extractor.h # bundle extractor 22│ ├── bundle_installer.h # implementation of installing and uninstalling bundle 23│ ├── bundle_manager_service.h # bundle service task initialize and implementation of message process 24│ ├── bundle_map.h # manage bundleInfo 25│ ├── bundle_message_id.h # bundle message id setting 26│ ├── bundle_ms_feature.h # BMS feature in Service Manager 27│ ├── bundle_ms_host.h # register BMS in the Service Manager 28│ ├── bundle_parser.h # parser bundle 29│ ├── bundle_util.h # bundle util method 30│ ├── extractor_util.h # extractor util method 31│ ├── hap_sign_verify.h # verify signature of the hap package 32│ └── zip_file.h # zip or unzip the hap package 33├── README.md 34├── src 35│ ├── bundle_extractor.cpp 36│ ├── bundle_installer.cpp 37│ ├── bundle_manager_service.cpp 38│ ├── bundle_map.cpp 39│ ├── bundle_ms_feature.cpp 40│ ├── bundle_ms_host.cpp 41│ ├── bundle_parser.cpp 42│ ├── bundle_util.cpp 43│ ├── extractor_util.cpp 44│ ├── hap_sign_verify.cpp 45│ └── zip_file.cpp 46└── tools 47 ├── BUILD.gn 48 ├── include 49 │ └── command_parser.h 50 └── src 51 ├── command_parser.cpp 52 └── main.cpp 53 54```