Lines Matching defs:args

41      public void dumpCritical(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) {
52 public void dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args) {
64 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
65 PriorityDump.dump(mPriorityDumper, fd, pw, args);
126 * Parses {@code args} matching {@code --dump-priority} and/or {@code --proto}. The matching
129 * If priority args are passed as an argument, it will call the appropriate method and if proto
130 * args are passed then the {@code asProto} flag is set.
137 * {@code args} instead.
140 String[] args) {
144 if (args == null) {
145 dumper.dump(fd, pw, args, asProto);
149 String[] strippedArgs = new String[args.length];
151 for (int argIndex = 0; argIndex < args.length; argIndex++) {
152 if (args[argIndex].equals(PROTO_ARG)) {
154 } else if (args[argIndex].equals(PRIORITY_ARG)) {
155 if (argIndex + 1 < args.length) {
157 priority = getPriorityType(args[argIndex]);
160 strippedArgs[strippedCount++] = args[argIndex];
164 if (strippedCount < args.length) {
220 default void dumpCritical(FileDescriptor fd, PrintWriter pw, String[] args,
228 default void dumpHigh(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) {
235 default void dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) {
247 default void dump(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) {
248 dumpCritical(fd, pw, args, asProto);
249 dumpHigh(fd, pw, args, asProto);
250 dumpNormal(fd, pw, args, asProto);