Lines Matching refs:args
131 def _prepare_adb_args(self, args): argument
132 largs = list(args)
143 def _background_adb(self, *args): argument
144 largs = self._prepare_adb_args(args)
158 def _call_adb(self, *args): argument
160 largs = self._prepare_adb_args(args)
172 def _shell(self, *args): argument
173 args = ["shell"] + list(args)
174 return self._call_adb(*args)
176 def _background_shell(self, *args): argument
177 args = ["shell"] + list(args)
178 return self._background_adb(*args)
444 args = ["am", "start"]
450 args.append("-D")
452 args.append("-W")
454 args.append(self.process_name + "/" + self.intent)
455 am_output = self.adb._shell(*args)
523 args = ["jdb", "-connect",
526 self.jdb_handle = subprocess.Popen(args, \
530 self.jdb_handle = subprocess.Popen(args, \
643 args = ["awk", "-f", self._awk_script_path(script), str(command)]
646 print "### awk command: " + str(args)
650 awk_output = check_output(args)
652 raise gdb.GdbError("### Error in subprocess awk " + str(args))
654 print "### Random error calling awk " + str(args)
680 args = arg.strip('"').split()
681 if len(args) == 2:
682 package_name = args[0]
683 launchable = args[1]
684 elif len(args) == 1:
685 if os.path.isfile(args[0]) and os.path.basename(args[0]) == self.manifest_name:
686 self.manifest_path = args[0]
687 elif os.path.isdir(args[0]):
688 manifests = self._find_manifests(args[0])
691 + args[0] + "\n" + self._usage())
698 raise gdb.GdbError("Invalid path: " + args[0] + "\n" + self._usage())