Lines Matching refs:args
79 def check_output(cmd, *args, **kwargs): argument
84 cmd, *args, **kwargs, check=True, stdout=subprocess.PIPE).stdout
87 def adb(cmd, *args, **kwargs): argument
89 return check_output(['adb'] + cmd, *args, **kwargs)
92 def adb_root(*args, **kwargs): argument
94 return adb(['root'], *args, **kwargs)
97 def adb_shell(cmd, *args, **kwargs): argument
99 return adb(['shell'] + cmd, *args, **kwargs)
135 def do_clean_device(args): argument
149 def do_flush(args): argument
152 if args.procnames:
153 pids = adb_shell(['pidof'] + args.procnames, text=True).split()
166 def do_report(args): argument
183 object_flags = [args.binary[0]] + ['--object=' + b for b in args.binary[1:]]
184 source_dirs = ['/proc/self/cwd/' + s for s in args.source_dir]
244 args = parse_args()
245 if args.verbose:
248 args.func(args)