Home
last modified time | relevance | path

Searched refs:bm (Results 1 – 25 of 125) sorted by relevance

12345

/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/bundlemanager/bundle_framework/system/
H A Dbm.te14 # add for bm in debug mode
16 allow bm samgr:binder { call };
17 allow samgr bm:dir { search };
22 allow hiview bm:dir { search };
29 allow bm foundation:fd { use };
31 allow bm hdcd:fd { use };
32 allow bm sh:fd { use };
69 # add for bm in developer mode
73 allow samgr bm:dir { search };
87 allow bm hdcd:fd { use };
[all …]
/ohos5.0/foundation/bundlemanager/bundle_tool/
H A DREADME_zh.md1 # **bm工具命令组件**
5 bm是用来方便开发者调试的一个工具。bm工具被hdc工具封装,进入hdc shell命令后,就可以使用bm工具。
16 ### bm工具命令
18 **表1** bm工具命令列表
41 bm help
48 | bm help | 显示bm工具的能够支持的命令信息。 |
55 bm help
157 bm dump -a
251 bm get [-h] [-u]
266 bm get -u
[all …]
/ohos5.0/docs/zh-cn/readme/
H A D包管理子系统.md45 ### bm工具命令
46 bm是用来方便开发者调试的一个工具。bm工具被hdc工具封装,进入hdc shell命令后,就可以使用bm工具。
49 | help | 帮助命令,显示bm支持的命令信息 |
60 | bm help | 显示bm工具的能够支持的命令信息 |
65 bm help
117 bm dump -a
119 bm dump -n com.ohos.app
150 bm enable -n com.ohos.app
164 bm disable -n com.ohos.app
170 | bm get -u | 获取设备的udid |
[all …]
/ohos5.0/docs/en/readme/
H A Dbundle-management.md45 ### bm Commands
60 | bm help | Displays the commands supported by the bm tool.|
65 bm help
97 bm uninstall -n com.ohos.app
117 bm dump -a
119 bm dump -n com.ohos.app
134 bm clean -n com.ohos.app -c
136 bm clean -n com.ohos.app -d
150 bm enable -n com.ohos.app
164 bm disable -n com.ohos.app
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.17/
H A Dchangelogs-bundlemanager.md3 ## cl.bundlemanager.1 bm命令行工具变更
11 bm disable、bm enable命令权限过大,一些应用被禁用后会导致必要的流程被跳过。为了保证安全,所以在user版本下禁用bm disable、bm enable命令。
12 bm clean命令会导致应用的数据被清除,所以在user版本下bm clean命令只有打开开发者模式可用。
18 user版本bm disable、bm enable命令不可用。
19 user版本bm clean命令在非开发模式下不可用。
/ohos5.0/docs/zh-cn/contribute/template/
H A Dtools-template.md26 **举例**:应用程序包工具(bm工具)
28 应用程序包工具(Bundle Manager,简称bm)是实现应用安装、卸载、更新、查询等功能的工具,为开发者提供基本的应用安装包的调试能力。
58 ### bm工具命令列表
61 | help | 帮助命令,用于查询bm工具支持的命令信息。 |
97 bm install [-h] [-p filePath] [-u userId] [-r] [-w waitingTime] [-s hspDirPath]
110 | -w | 可选参数,安装HAP时指定bm工具等待时间,最小的等待时长为5s,最大的等待时长为600s, 默认缺省为5s。 |
118 bm install -p /data/app/ohos.app.hap
120 bm install -p /data/app/ohos.app.hap -r
122 bm install -s xxx.hsp
124 bm install -p aaa.hap -s xxx.hsp yyy.hsp
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.52/
H A Dchangelogs-bundlemanager.md3 ## cl.bundlemanager.1 禁止bm命令进行跨用户操作
11 bm命令行工具未对sh调用方用户身份做校验,用户A可以通过bm命令安装、卸载其他用户空间下的应用,并且可以通过bm命令嗅探其他空间下已安装的应用,违反安全规范。
18 bm命令中install(安装)、uninstall(卸载)、dump(查询)、clean(清空缓存)、disable(禁用应用,仅限root)、enable(使能应用,仅限root)等命令可以通过…
21 bm命令中install、uninstall、dump、clean、disable、enable等命令通过-u参数指定其他用户无效,仅支持对当前用户下的应用进行相应操作。
33 bm命令行工具
37 若要对其他用户下的应用执行bm命令行的相关操作,必须先切换至相应的用户,才能执行。
/ohos5.0/docs/zh-cn/application-dev/tools/
H A Dbm-tool.md1 # bm工具
3 Bundle Manager(包管理工具,简称bm)是实现应用安装、卸载、更新、查询等功能的工具,bm为开发者提供基本的应用安装包的调试能力。
10 ## bm工具命令列表
35 bm help
64 bm install -s xxx.hsp
126 bm dump -a
128 bm dump -n com.ohos.app
218 bm get [-h] [-u]
233 bm get -u
306 bm dump-shared -a
[all …]
H A DReadme-CN.md4 - [bm工具](bm-tool.md)
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/
H A Dbitmap_test.cpp37 OH_Drawing_Bitmap* bm = OH_Drawing_BitmapCreate(); in OnTestPerformance() local
45 OH_Drawing_ImageBuildFromBitmap(image, bm); in OnTestPerformance()
52 OH_Drawing_BitmapDestroy(bm); in OnTestPerformance()
88 OH_Drawing_Bitmap* bm = OH_Drawing_BitmapCreate(); in OnTestPerformance() local
89 void* pixels = OH_Drawing_BitmapGetPixels(bm); in OnTestPerformance()
94 OH_Drawing_BitmapBuild(bm, w, h, &cFormat); in OnTestPerformance()
101 OH_Drawing_BitmapDestroy(bm); in OnTestPerformance()
108 OH_Drawing_Bitmap* bm = OH_Drawing_BitmapCreate(); in OnTestPerformance() local
109 void* pixels = OH_Drawing_BitmapGetPixels(bm); in OnTestPerformance()
113 OH_Drawing_BitmapBuild(bm, w, h, &cFormat); in OnTestPerformance()
[all …]
H A Dcanvas_test.cpp55 OH_Drawing_Bitmap* bm = OH_Drawing_BitmapCreate(); in OnTestPerformance() local
59 OH_Drawing_CanvasBind(bitmapCanvas, bm); in OnTestPerformance()
71 OH_Drawing_BitmapDestroy(bm); in OnTestPerformance()
227 OH_Drawing_Bitmap* bm = OH_Drawing_BitmapCreate(); in OnTestPerformance() local
230 OH_Drawing_ImageBuildFromBitmap(Image, bm); in OnTestPerformance()
246 OH_Drawing_BitmapDestroy(bm); in OnTestPerformance()
285 OH_Drawing_Bitmap* bm = OH_Drawing_BitmapCreate(); in OnTestPerformance() local
289 OH_Drawing_ImageBuildFromBitmap(image, bm); in OnTestPerformance()
299 OH_Drawing_BitmapDestroy(bm); in OnTestPerformance()
339 OH_Drawing_Bitmap* bm = OH_Drawing_BitmapCreate(); in OnTestPerformance() local
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.36/
H A Dchangelogs-bundlemanager.md3 ## cl.bundlemanager.1 bm命令行工具变更
11 bm install、bm uninstall命令在-u未指定情况下,默认为全部用户,基于安全考虑,变更为当前活跃用户。
18 bm install、bm uninstall命令在-u未指定情况下,默认为全部用户。
21 bm install、bm uninstall命令在-u未指定情况下,默认当前活跃用户。如果需要为全部用户安装或卸载应用,需要通过-u指定用户id逐一进行安装或卸载。
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.17/
H A Dchangelogs-bundlemanager.md3 ## cl.bundlemanager.1 bm Commands Changed
11 The **bm disable** and **bm enable** commands have excessive permissions. After **bm disable** is r…
13 The **bm clean** command clears application data. It is available in the user version only when the…
19 The **bm disable** and **bm enable** commands are unavailable in the user version.
21 The **bm clean** command is available in the user version only when the developer mode is enabled.
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Dalpha_image.cpp52 OH_Drawing_Bitmap *bm = OH_Drawing_BitmapCreate(); in make_alpha_image() local
55 OH_Drawing_BitmapBuild(bm, w, h, &format); in make_alpha_image()
57 OH_Drawing_CanvasBind(bmpCanvas, bm); in make_alpha_image()
62 *DrawBitmapGetAddr8(bm, x, y) = 0xFF; in make_alpha_image()
66 OH_Drawing_ImageBuildFromBitmap(image, bm); in make_alpha_image()
68 OH_Drawing_BitmapDestroy(bm); in make_alpha_image()
152 OH_Drawing_Bitmap *bm = OH_Drawing_BitmapCreate(); in OnTestFunction() local
155 OH_Drawing_BitmapBuild(bm, w, h, &format); in OnTestFunction()
158 *DrawBitmapGetAddr8(bm, x, y) = y * 4; // 4 cout in OnTestFunction()
163 OH_Drawing_ImageBuildFromBitmap(image, bm); in OnTestFunction()
[all …]
H A Dnewsurface.cpp52 OH_Drawing_Bitmap* bm = OH_Drawing_BitmapCreate(); in OnTestFunction() local
55 OH_Drawing_BitmapBuild(bm, w, h, &format); in OnTestFunction()
59 OH_Drawing_CanvasBind(bitmapCanvas, bm); in OnTestFunction()
66 OH_Drawing_CanvasDrawBitmap(canvas, bm, left, top); in OnTestFunction()
69 OH_Drawing_CanvasDrawBitmap(canvas, bm, leftMove, topMove); in OnTestFunction()
71 OH_Drawing_BitmapDestroy(bm); in OnTestFunction()
H A Ddrawbitmaprect.cpp53 OH_Drawing_Bitmap *bm = OH_Drawing_BitmapCreate(); in PrecondItions() local
56 OH_Drawing_BitmapBuild(bm, w, h, &format); in PrecondItions()
58 OH_Drawing_CanvasBind(bitcanvas, bm); in PrecondItions()
79 OH_Drawing_ImageBuildFromBitmap(image, bm); in PrecondItions()
81 OH_Drawing_BitmapDestroy(bm); in PrecondItions()
H A Dbitmaprect.cpp40 OH_Drawing_Bitmap *bm = OH_Drawing_BitmapCreate(); in make_big_bitmap() local
43 OH_Drawing_BitmapBuild(bm, gXSize, gXSize, &format); in make_big_bitmap()
45 void *pixel = OH_Drawing_BitmapGetPixels(bm); in make_big_bitmap()
62 return bm; in make_big_bitmap()
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.36/
H A Dchangelogs-bundlemanager.md3 ## cl.bundlemanager.1 bm Commands Changed
11 Previously, if the **-u** parameter is not specified, the **bm install** and **bm uninstall** comma…
18 If **-u** is not specified in the **bm install** and **bm uninstall** commands, the commands apply …
21 If **-u** is not specified in the **bm install** and **bm uninstall** commands, the commands apply …
/ohos5.0/foundation/bundlemanager/bundle_tool/test/systemtest/bm/
H A DBUILD.gn29 "${bundletool_test_path}/unittest/bm:tools_bm_config_mock",
38 …"${bundle_framework_path}/test/sceneProject/tools/bm/pageAbilityBundleForInstall:pageAbilityBundle…
39 …"${bundle_framework_path}/test/sceneProject/tools/bm/pageAbilityBundleForUninstall:pageAbilityBund…
68 "${bundletool_test_path}/unittest/bm:tools_bm_config_mock",
77 …"${bundle_framework_path}/test/sceneProject/tools/bm/pageAbilityBundleForInstall:pageAbilityBundle…
78 …"${bundle_framework_path}/test/sceneProject/tools/bm/pageAbilityBundleForUninstall:pageAbilityBund…
107 "${bundletool_test_path}/unittest/bm:tools_bm_config_mock",
116 …"${bundle_framework_path}/test/sceneProject/tools/bm/pageAbilityBundleForInstall:pageAbilityBundle…
117 …"${bundle_framework_path}/test/sceneProject/tools/bm/pageAbilityBundleForUninstall:pageAbilityBund…
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/
H A DREADME_zh.md51 - 使用bm工具可以安装指定的hap包(以hispark\_taurus为例,bm工具在系统构建后放置在out/hispark\_taurus/ipcamera\_hispark\_taurus/…
54 ./bin/bm install -p /nfs/xxxx.hap # 安装xxxx.hap
56 - 使用bm工具查询应用的信息,具体执行命令如下:
59 ./bin/bm dump -n 包名 # 查询对应包名的应用的包信息
60 ./bin/bm dump -l # 查询所有应用的包信息
/ohos5.0/docs/en/contribute/template/
H A Dtools-template.md17 **Example**: Bundle Manager (bm)
19 Bundle Manager (bm) is a tool for installing, uninstalling, updating, and querying bundles. It prov…
47 ### bm Commands
50 | help | Displays the commands supported by the bm tool.|
86 bm install [-h] [-p filePath] [-u userId] [-r] [-w waitingTime] [-s hspDirPath]
107 bm install -p /data/app/ohos.app.hap
109 bm install -p /data/app/ohos.app.hap -r
111 bm install -s xxx.hsp
113 bm install -p aaa.hap -s xxx.hsp yyy.hsp
115 bm install -p /data/app/ohos.app.hap -u 100 -w 10s
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Dhap-package.md72 - 先执行hdc shell,再使用bm工具安装、更新HAP。
77 // 先执行hdc shell才能使用bm工具
80 bm install -p /data/app/entry.hap /data/app/feature.hap
84 bm uninstall -n com.example.myapplication
/ohos5.0/docs/en/application-dev/tools/
H A Dbm-tool.md10 ## bm Commands
35 bm help
64 bm install -s xxx.hsp
126 bm dump -a
128 bm dump -n com.ohos.app
130 bm dump -s -n com.ohos.app
154 bm clean -c -n com.ohos.app
218 bm get [-h] [-u]
233 bm get -u
306 bm dump-shared -a
[all …]
/ohos5.0/foundation/bundlemanager/bundle_tool/test/
H A DBUILD.gn17 deps = [ "systemtest/bm:systemtest" ]
23 deps = [ "moduletest/bm:moduletest" ]
29 deps = [ "unittest/bm:unittest" ]
/ohos5.0/docs/zh-cn/device-dev/guide/
H A Ddevice-camera-visual-run.md9 ./sdcard/dev_tools/bin/bm set -s disable
15 ./sdcard/dev_tools/bin/bm install -p /sdcard/airquality.hap

12345