Home | History | Annotate | Download | only in bugreport

Lines Matching refs:ArgParser

19 import com.android.bugreport.util.ArgParser;
82 final ArgParser argParser = new ArgParser(args);
83 while ((flag = argParser.nextFlag()) != null) {
85 if (result.monkey != null || !argParser.hasData(1)) {
86 return new Options(args, argParser.pos(),
89 result.monkey = new File(argParser.nextData());
91 if (result.html != null || !argParser.hasData(1)) {
92 return new Options(args, argParser.pos(),
95 result.html = new File(argParser.nextData());
97 if (result.logcat != null || !argParser.hasData(1)) {
98 return new Options(args, argParser.pos(),
101 result.logcat = new File(argParser.nextData());
103 return new Options(args, argParser.pos(),
107 if ((!argParser.hasData(1)) || argParser.remaining() != 1) {
108 return new Options(args, argParser.pos(),
111 result.bugreport = new File(argParser.nextData());