/ohos5.0/docs/zh-cn/application-dev/dfx/ |
H A D | hdc.md | 1 # hdc chapter 5 hdc分为三部分: 45 全局参数是指运行部分hdc命令时,可以跟随在hdc后面的参数,例如: 141 - 使用hdc时如出现异常,可尝试通过hdc kill -r命令杀掉异常进程并重启hdc服务。 353 hdc kill // 关闭本地hdc服务 997 hdc -v 或 hdc version 1057 hdc kill && hdc -l 6 -m 1066 hdc kill && hdc -l 6 start 1221 …理器`>`详细信息`查询hdc.exe进程,右键打开文件所在位置,核对位置是否为配置的环境变量中的hdc文件位置,如果不一致,可尝试结束hdc.exe进程(hdc kill或者任务管理器直接结束进… 1225 …-ef |grep hdc`查询hdc后台server进程,核对进程启动位置是否为配置的环境变量中的hdc文件位置,如果不一致,可尝试结束hdc进程(hdc kill或者kill -9 hdc进程… [all …]
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-toolchain-hdc-guide.md | 1 # hdc使用指导 12 **hdc 工具获取方式:** 25 - 使用hdc,如果出现异常,可以尝试通过hdc kill命令杀掉hdc服务,或者通过hdc start -r命令重启服务进程进行解决。 48 hdc -h / hdc help 53 hdc -v / hdc version 191 hdc smode 213 hdc kill 230 hdc start 493 hdc jpid 509 可以执行"hdc kill"或者"hdc start -r"杀掉hdc服务或者重启hdc服务,然后再执行hdc list targets查看是否已经可以获取设备信息。 [all …]
|
H A D | subsys-preinstall-app-config-guide.md | 12 hdc shell param get const.cust.config_dir_layer 18 hdc shell mount -o rw,remount / 38 hdc shell mount -o rw,remount / 40 hdc shell reboot 50 hdc shell mount -o rw,remount / 51 hdc shell rm /data/* -rf 52 hdc shell sync 53 hdc shell /system/bin/udevadm trigger 54 hdc shell reboot 61 hdc shell mount -o rw,remount / [all …]
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-toolchain-hdc-guide.md | 1 # hdc chapter 12 **Obtaining hdc** 48 hdc -h / hdc help 53 hdc -v / hdc version 187 hdc smode 209 hdc kill 226 hdc start 454 hdc hilog 479 hdc shell 489 hdc jpid [all …]
|
H A D | subsys-preinstall-app-config-guide.md | 10 hdc shell param get const.cust.config_dir_layer 18 hdc shell mount -o rw,remount / 38 hdc shell mount -o rw,remount / 40 hdc shell reboot 50 hdc shell mount -o rw,remount / 51 hdc shell rm /data/* -rf 52 hdc shell sync 53 hdc shell /system/bin/udevadm trigger 54 hdc shell reboot 61 hdc shell mount -o rw,remount / [all …]
|
/ohos5.0/docs/zh-cn/application-dev/web/ |
H A D | web-debugging-with-devtools.md | 57 2. 使用hdc命令连接上设备。 60 hdc list targets 67 3. 进入hdc shell。 68 当hdc命令连接上设备后,执行如下命令,进入hdc shell。 70 hdc shell 103 hdc fport ls 192 hdc fport ls 268 hdc fport ls 273 ### hdc无法发现设备 317 hdc fport ls [all …]
|
/ohos5.0/docs/en/application-dev/dfx/ |
H A D | hdc.md | 1 # hdc chapter 188 hdc -h/help 199 hdc -h or hdc help 216 hdc -v or hdc version 291 hdc wait 423 hdc kill 442 hdc start 778 hdc jpid 790 hdc jpid 940 hdc kill // Terminate the local hdc service. [all …]
|
/ohos5.0/docs/zh-cn/device-dev/guide/ |
H A D | device-clock-guide.md | 255 1. 从开发者工具代码仓路径中获取hdc客户端。 261 修改名称为hdc.exe,并将工具路径加入系统环境path变量中。 266 hdc install clock.hap 288 执行 "hdc\_std list targets"命令后结果为:\[Empty\] 293 在设备管理器中查看是否有hdc设备,在通用串行总线设备中会有“HDC Device”信息。如果没有,hdc无法连接。此时需要插拔设备,或者烧写最新的镜像。 295 2. hdc\_std工作异常: 297 可以执行"hdc kill"或者"hdc start -r"杀掉hdc服务或者重启hdc服务,然后再执行hdc list targets查看是否已经可以获取设备信息。 299 3. hdc\_std与设备不匹配: 301 …如果设备烧写的是最新镜像,hdc\_std也需要使用最新版本。由于hdc\_std会持续更新,请从开源仓developtools\_hdc\_standard中获取,具体位置在该开源仓的prebu… 309 点击hdc\_std.exe文件无法运行。 [all …]
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | application-performance-analysis.md | 217 hdc shell "netstat -anp | grep PandaDebugger" 231 hdc fport tcp:9006 localabstract:2172PandaDebugger 252 ### hdc shell命令采集 260 hdc shell param set persist.ark.properties 0x705c 262 hdc shell param set persist.ark.properties 0x1505c 264 hdc shell param set persist.ark.properties 0x1705c 273 hdc shell param set persist.ark.properties 0x4505c 275 hdc shell param set persist.ark.properties 0x6505c 287 hdc shell reboot 297 hdc shell kill -39 pid [all …]
|
H A D | performance-optimization-using-hidumper.md | 16 hdc shell param set persist.ace.debug.enabled 1 21 hdc shell hidumper -s WindowManagerService -a '-a' 42 hdc shell hidumper -s WindowManagerService -a '-w 28 -element -c' // 28 即为查找到的WinId 50 hdc shell find /data/ -name arkui.dump 56 hdc file recv /data/app/el2/100/base/com.example.demo/haps/entry/files/arkui.dump // 获取文件到本地 226 1. 打开示例应用,运行 `hdc shell hidumper -s WindowManagerService -a '-a'` ,获取到当前应用的pid。 229 hdc shell hidumper --mem [pid] 242 hdc shell hidumper -s WindowManagerService -a '-a' 246 hdc shell hidumper --cpuusage [pid] 251 …要查看应用的运行空间即可。如果想要查看CPU在一段时间内的使用率,则可以通过Shell脚本,多次执行 `hdc shell hidumper --cpuusage [pid]` 命令,并通过 `h…
|
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/developtools/hdc/system/ |
H A D | parameter_contexts | 14 const.hdc.version u:object_r:debug_param:s0 15 persist.hdc.control u:object_r:developtools_hdc_control_param:s0 17 persist.hdc.daemon.auth_result u:object_r:developtools_hdc_auth_param:s0 18 persist.hdc.client.hostname u:object_r:developtools_hdc_auth_param:s0 19 persist.hdc.client.pubkey_sha256 u:object_r:developtools_hdc_auth_param:s0 20 persist.hdc.daemon.auth_cancel u:object_r:developtools_hdc_auth_param:s0 21 persist.hdc.jdwp u:object_r:debug_param:s0 23 persist.hdc.mode.usb u:object_r:developtools_hdc_auth_param:s0 24 persist.hdc.mode.tcp u:object_r:developtools_hdc_auth_param:s0 25 persist.hdc.mode.uart u:object_r:developtools_hdc_auth_param:s0
|
/ohos5.0/docs/zh-cn/application-dev/faqs/ |
H A D | faqs-dfx.md | 76 通过hdc命令 hdc shell hilog -b D开启调试开关 88 使用命令关闭隐私模式即可。命令如下:hdc shell hilog -p off 116 hdc shell hilog -L <D/I/W/E/F> 147 hdc shell param set persist.ark.properties 0x125c 148 hdc shell reboot 153 hdc shell param set persist.ark.properties 0x105c 154 hdc shell reboot 157 ## hdc工具的属性开关有哪些?例如Ark属性开关等(API 10) 161 在命令行输入 `hdc shell ark` 可以看到Ark命令行的所有参数和开关。
|
H A D | faqs-arkts-utils.md | 708 ## hdc属性开关 710 1. 默认:hdc shell param set persist.ark.properties 0x105c 711 2. 关闭多线程检测并打印异常栈帧:hdc shell param set persist.ark.properties -1 712 3. GC状态打印:hdc shell param set persist.ark.properties 0x105e 713 4. 多线程检测:hdc shell param set persist.ark.properties 0x107c 715 6. 全局对象内存泄露检查:hdc shell param set persist.ark.properties 0x145c 716 7. 全局原始值内存泄露检查:hdc shell param set persist.ark.properties 0x185C 717 8. 打开GC共享堆信息:hdc shell param set persist.ark.properties 0x905c 722 13. 模块化打点:hdc shell param set persist.ark.properties 100105C 723 14. 日志打印执行的模块:hdc shell param set persist.ark.properties 200105C [all …]
|
/ohos5.0/docs/zh-cn/application-dev/application-test/ |
H A D | arkxtest-guidelines.md | 200 > 使用cmd的方式,需要配置好hdc相关的环境变量。 364 > 使用cmd的方式,需要配置好hdc相关的环境变量。 381 hdc shell uitest screenCap 399 hdc shell uitest uiRecord record 401 hdc shell uitest uiRecord read 469 hdc shell uitest uiInput click 100 100 527 hdc shell uitest uiInput dircFling 2 529 hdc shell uitest uiInput dircFling 3 559 hdc shell uitest uiInput keyEvent Home 569 hdc shell uitest --version [all …]
|
H A D | wukong-guidelines.md | 36 hdc shell mount -o rw,remount / 37 hdc file send wukong / 38 hdc shell chmod a+x /wukong 39 hdc shell mv /wukong /bin/ 63 C:\Users>hdc shell 66 #若为多设备,则需先获取sn号,先输入hdc list targets获取sn号,然后进入shell模式 67 C:\Users>hdc list targets 69 C:\Users>hdc -t 15xxx424axxxx345209d94xxxx8fxx900 shell 85 C:\Users>hdc shell 308 wukong支持通过hdc命令将日志获取到本地,查看操作历程。 [all …]
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | hap-package.md | 49 开发者可以采用DevEco Studio或者hdc工具进行调试: 53 - **方法二:** 使用<!--Del-->[<!--DelEnd-->hdc工具<!--Del-->](../../device-dev/subsystems/subsys-toolchain-… 57 - 直接使用hdc安装、更新HAP。 63 hdc install entry.hap feature.hap 67 hdc uninstall com.example.myapplication 72 - 先执行hdc shell,再使用bm工具安装、更新HAP。 77 // 先执行hdc shell才能使用bm工具 78 hdc shell
|
/ohos5.0/docs/zh-cn/device-dev/faqs/ |
H A D | faqs-system-applications.md | 177 ## hdc类问题 189 …在设备管理器中查看是否有hdc设备,在通用串行总线设备中会有“HDC Device”信息。如果没有,hdc无法连接。此时需要断开并重联PC和OpenHarmony设备之间的USB连接,或者烧写最新… 191 可以执行"hdc kill"或者"hdc start -r"杀掉hdc服务或者重启hdc服务,然后再执行hdc list targets查看是否已经可以获取设备信息。
|
/ohos5.0/docs/zh-cn/application-dev/file-management/ |
H A D | send-file-to-app-sandbox.md | 7 2. 在具备设备环境时,可以使用另一种更为灵活的方式,通过hdc工具来向设备中应用沙箱路径推送文件。即本文介绍的内容。 9 但是hdc shell看到的调试进程下的文件路径与应用视角的应用沙箱路径不同,开发者需要先了解[应用沙箱路径和真实物理路径的对应关系](./app-sandbox-directory.md#应用沙箱… 18 hdc file send ${待推送文件的本地路径} /data/app/el1/bundle/public/com.ohos.example/ 24 hdc shell ps -ef | grep com.ohos.example 29 hdc shell chown ${user_id}:${user_id} ${文件路径} 37 hdc shell // 进入shell
|
/ohos5.0/build/hb/resolver/ |
H A D | push_args_resolver.py | 28 from services.hdc import CMDTYPE 42 push_module.hdc.regist_flag('part_name', part_name) 47 push_module.hdc.regist_flag('target', target_arg.arg_value) 54 push_module.hdc.execute_hdc_cmd(CMDTYPE.LIST_TARGETS) 60 push_module.hdc.regist_flag('reboot', True) 65 push_module.hdc.regist_flag('src', target_arg.arg_value)
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.40/ |
H A D | changelogs-dfx.md | 44 ## cl.DFX.2 hdc工具tmode usb命令功能废弃 52 hdc同时支持USB调试和无线调试 58 变更后:命令功能废弃,可通过调测设备的开发者选项界面中USB调试开关控制USB调试通道开启和关闭。如需关闭无线调试通道请使用hdc tmode port close命令。 70 | hdc | hdc tmode usb |
|
/ohos5.0/docs/en/application-dev/web/ |
H A D | web-debugging-with-devtools.md | 60 hdc list targets 67 3. Enter the hdc shell. 68 After hdc is connected to the device, run the following command to enter hdc shell. 70 hdc shell 103 hdc fport ls 192 hdc fport ls 224 hdc fport rm $taskline 268 hdc fport ls 278 hdc list targets 317 hdc fport ls [all …]
|
/ohos5.0/build/hb/modules/ |
H A D | ohos_push_module.py | 19 from services.hdc import CMDTYPE 32 …def __init__(self, args_dict: dict, args_resolver: ArgsResolverInterface, hdc: BuildFileGeneratorI… 34 self._hdc = hdc 38 def hdc(self): member in OHOSPushModule 66 self.hdc.execute_hdc_cmd(CMDTYPE.PUSH)
|
/ohos5.0/base/tee/tee_client/ |
H A D | README_zh.md | 85 hdc file send cadaemon.json /system/profile/ 86 hdc file send cadaemon.cfg /system/etc/init/ 87 hdc file send libteec.so /system/lib/ 88 hdc file send libcadaemon.so /system/lib/ 89 hdc file send tlogcat /system/bin/ 90 hdc file send libteec_vendor.so /vendor/lib/ 91 hdc file send teecd /vendor/bin/
|
/ohos5.0/base/startup/appspawn/test/unittest/ |
H A D | gencoverage.sh | 49 hdc shell $@ 58 hdc file send $@ 70 hdc target mount 90 hdc file send ${ohos_root}/out/${product_name}/tests/unittest/appspawn/appspawn_l2/AppSpawn_ut ${ut… 113 hdc file recv ${file} ${ohos_init}/${file:27}
|
/ohos5.0/drivers/peripheral/usb/cfg/ |
H A D | init.usb.configfs.cfg | 31 "name" : "param:sys.usb.config=hdc && param:sys.usb.configfs=1", 32 "condition" : "sys.usb.config=hdc && sys.usb.configfs=1", 37 …:sys.usb.ffs.ready=1 && param:sys.usb.config=hdc && param:sys.usb.configfs=1 && param:sys.usb.ffs.… 38 …ondition" : "sys.usb.ffs.ready=1 && sys.usb.config=hdc && sys.usb.configfs=1 && sys.usb.ffs.ready.… 40 "setparam sys.usb.ffs.ready.hdc 0", 42 "write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration hdc", 54 … "symlink /config/usb_gadget/g1/functions/ffs.hdc /config/usb_gadget/g1/configs/b.1/f1", 70 "write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration hdc", 82 … "symlink /config/usb_gadget/g1/functions/ffs.hdc /config/usb_gadget/g1/configs/b.1/f1", 109 … "symlink /config/usb_gadget/g1/functions/ffs.hdc /config/usb_gadget/g1/configs/b.1/f1", [all …]
|