Home
last modified time | relevance | path

Searched refs:args (Results 1 – 3 of 3) sorted by relevance

/sdk/hierarchyviewer/src/com/android/hierarchyviewer/
DHierarchyViewer.java114 public static void main(String[] args) { in main() argument
117 if (args.length > 0) { in main()
118 for (int i = 0; i < args.length; i++) { in main()
119 String arg = args[i]; in main()
134 if (i == args.length - 1) { in main()
140 if (i < args.length - 2) { in main()
141 device = args[++i]; in main()
143 if (i < args.length - 1) { in main()
144 file = args[++i]; in main()
/sdk/eventanalyzer/src/com/android/eventanalyzer/
DEventAnalyzer.java67 public static void main(String[] args) { in main() argument
68 new EventAnalyzer().run(args); in main()
71 private void run(String[] args) { in run() argument
72 if (args.length == 0) { in run()
78 String argument = args[index++]; in run()
83 if (index == args.length) { in run()
87 mInputDevice = args[index++]; in run()
91 if (index == args.length) { in run()
95 mInputBinaryFile = args[index++]; in run()
99 if (index == args.length) { in run()
[all …]
/sdk/dumpeventlog/src/com/android/dumpeventlog/
DDumpEventLog.java74 public static void main(String[] args) { in main() argument
75 if (args.length != 2) { in main()
120 if (device.getSerialNumber().equals(args[0])) { in main()
122 grabLogFrom(device, args[1]); in main()
132 System.err.println("Could not find " + args[0]); in main()