Lines Matching defs:run_cmd
136 def run_cmd(cmd):
162 run_cmd(['hdc', 'shell', 'power-shell', 'wakeup;power-shell', 'setmode 602'])
163 run_cmd(['hdc', 'shell', 'uinput', '-T', '-m', '420', '1000', '420',
171 result = run_cmd(['hdc', 'install', f'{out_path}'])
177 run_cmd(['hdc', 'install', f'{hsp_output_path}'])
183 run_cmd(['hdc', 'install', f'{external_hsp_output_path}'])
187 run_cmd(['hdc', 'install', f'{out_path}'])
189 run_cmd(['hdc', 'shell', 'aa', 'start', '-a', f'{task.ability_name}', '-b', f'{task.bundle_name}'])
193 run_cmd(['hdc', 'shell', 'snapshot_display', '-f', f'{screen_path}'])
196 run_cmd(['hdc', 'file', 'recv', f'{screen_path}', f'{image_name}.jpeg'])
197 run_cmd(['hdc', 'shell', 'aa', 'force-stop', f'{task.bundle_name}'])
198 run_cmd(['hdc', 'shell', 'bm', 'uninstall', '-n', f'{task.bundle_name}'])