Home
last modified time | relevance | path

Searched refs:get_shell_result (Results 1 - 2 of 2) sorted by relevance

/developtools/hdc/scripts/
H A Dhdc_normal_test.py30 from dev_hdc_test import check_app_install, check_app_uninstall, prepare_source, pytest_run, update_source, check_rate, get_shell_result namespace
256 remount_vendor = get_shell_result(f'shell "mount |grep /vendor |head -1"')
259 remount_system = get_shell_result(f'shell "cat /proc/mounts | grep /system |head -1"')
269 netstat_port = get_shell_result(f'shell "netstat -anp | grep 12345"')
276 device_key = get_shell_result(f"list targets").split("\r\n")[0]
277 hdcd_pid = get_shell_result(f"-t {device_key} shell pgrep -x hdcd").split("\r\n")[0]
H A Ddev_hdc_test.py325 def get_shell_result(cmd, pattern=None, fetch=False): function
332 send_result = get_shell_result(cmd)

Completed in 2 milliseconds