Lines Matching refs:hdc

57 2. Run the hdc command to connect to the device. 
58 Run the following command in the CLI to check whether hdc can discover the device.
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
77 1. Run the following command in hdc shell to obtain the domain socket created by ArkWeb on the devi…
88 2. Exit hdc shell, and run the following command to forward the obtained domain socket to TCP port …
91 hdc fport tcp:9222 localabstract:webview_devtools_remote_38532
103 hdc fport ls
144 for /f "tokens=2,5 delims=:_" %%a in ('hdc fport ls') do (
159 for /f "tokens=*" %%a in ('hdc shell "cat /proc/net/unix | grep devtools"') do (
169 hdc fport tcp:!PORT! localabstract:webview_devtools_remote_!PID!
192 hdc fport ls
214 CURRENT_FPORT_LIST=$(hdc fport ls)
224 hdc fport rm $taskline
242 …PID_LIST=$(hdc shell cat /proc/net/unix | grep webview_devtools_remote_ | awk -F '_' '{print $NF}')
257 # Execute the hdc fport command
258 hdc fport tcp:$PORT localabstract:webview_devtools_remote_$PID
262 echo "Failed to execute hdc fport command"
268 hdc fport ls
273 ### What should I do if hdc cannot discover devices?
278 hdc list targets
286 ### What should I do if "unauthorized" is displayed in the hdc command output?
289 …When the hdc command is executed, the system displays a message indicating that the device is "una…
302 No result is displayed after the following command is executed in hdc shell.
317 hdc fport ls
335 * The device is disconnected from the PC. As a result, all forwarding tasks in hdc are cleared.
336 * The hdc service is restarted. As a result, all forwarding tasks in hdc are cleared.
337 …e, the application is restarted). As a result, the previous forwarding tasks in hdc become invalid.
345 * Delete unnecessary forwarding tasks from hdc.