Lines Matching refs:args
59 public TestResult start(String[] args) throws Exception { in start() argument
62 for (int i=0; i < args.length; i++) { in start()
63 if (args[i].equals("-s")) { in start()
65 mDeviceSerial = extractArg(args, i); in start()
66 } else if (args[i].equals("-p")) { in start()
68 mTestDataPath = extractArg(args, i); in start()
71 parentArgs.add(args[i]); in start()
79 private String extractArg(String[] args, int index) { in extractArg() argument
80 if (args.length <= index) { in extractArg()
84 return args[index]; in extractArg()
98 public static void main(String[] args) { in main() argument
101 TestResult r = aTestRunner.start(args); in main()