Home
last modified time | relevance | path

Searched refs:nextArg (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java78 String nextArg = getNextArgRequired(); in onCommand() local
79 if ("enabled".equals(nextArg)) { in onCommand()
81 } else if ("disabled".equals(nextArg)) { in onCommand()
122 String nextArg = getNextArgRequired(); in onCommand() local
123 if ("enabled".equals(nextArg)) { in onCommand()
125 } else if ("disabled".equals(nextArg)) { in onCommand()
140 String nextArg = getNextArgRequired(); in onCommand() local
141 if ("enabled".equals(nextArg)) { in onCommand()
143 } else if ("disabled".equals(nextArg)) { in onCommand()
159 String nextArg = getNextArgRequired(); in onCommand() local
[all …]
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java116 final boolean onlyAdoptable = "adoptable".equals(nextArg()); in runListDisks()
126 final String filter = nextArg(); in runListVolumes()
160 switch (nextArg()) { in runSetForceAdoptable()
178 switch (nextArg()) { in runSetSdcardfs()
192 final boolean emulateFbe = Boolean.parseBoolean(nextArg()); in runSetEmulateFbe()
208 final String diskId = nextArg(); in runPartition()
209 final String type = nextArg(); in runPartition()
215 final int ratio = Integer.parseInt(nextArg()); in runPartition()
223 final String volId = nextArg(); in runMount()
228 final String volId = nextArg(); in runUnmount()
[all …]
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
DAppWidget.java70 String operation = mTokenizer.nextArg(); in parseCommand()
89 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseSetGrantBindAppWidgetPermissionCommand()
111 String value = mTokenizer.nextArg(); in argumentValueRequired()
127 private String nextArg() { in nextArg() method in AppWidget.Tokenizer
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java102 String op = nextArg(); in run()
239 String arg = nextArg(); in doEnable()
268 String pkg = nextArg(); in doBackup()
287 while ((pkg = nextArg()) != null) { in doFullTransportBackup()
469 while ((pkg = nextArg()) != null) { in doBackupNow()
504 String arg = nextArg(); in doCancel()
520 String which = nextArg(); in doTransport()
546 String which = nextArg(); in doTransportByComponent()
585 String transport = nextArg(); in doWipe()
591 String pkg = nextArg(); in doWipe()
[all …]
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java168 String operation = mTokenizer.nextArg(); in parseCommand()
199 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseInsertCommand()
225 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseDeleteCommand()
248 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseUpdateCommand()
278 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseCallCommand()
308 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseGetTypeCommand()
327 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseReadCommand()
346 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseWriteCommand()
368 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseQueryCommand()
391 String argument = mTokenizer.nextArg(); in parseBindValue()
[all …]
/frameworks/ml/nn/runtime/test/
DTestMain.cpp109 void checkArgs(int argc, char** argv, int nextArg) { in checkArgs() argument
110 if (nextArg != argc) { in checkArgs()
111 std::cerr << "Unexpected argument: " << argv[nextArg] << std::endl; in checkArgs()
/frameworks/base/cmds/bu/src/com/android/commands/bu/
DBackup.java73 String arg = nextArg(); in run()
95 while ((arg = nextArg()) != null) { in doBackup()
129 nextArg(); in doBackup()
222 private String nextArg() { in nextArg() method in Backup
/frameworks/base/cmds/telecom/src/com/android/commands/telecom/
DTelecom.java302 final String packageName = nextArg(); in runSetTestCallRedirectionApp()
307 final String packageName = nextArg(); in runSetTestCallScreeningApp()
319 final String componentName = nextArg(); in runSetTestPhoneAcctSuggestionComponent()
345 String packageName = nextArg(); in runSetDefaultDialer()
352 final String flatComponentName = nextArg(); in runSetSystemDialer()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java235 final String nextArg = getNextArgRequired(); in getFieldClassificationScore() local
237 if ("--algorithm".equals(nextArg)) { in getFieldClassificationScore()
242 value1 = nextArg; in getFieldClassificationScore()
/frameworks/base/core/java/com/android/internal/os/
DBaseCommand.java110 public String nextArg() { in nextArg() method in BaseCommand
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java262 private String nextArg() { in nextArg() method in RequestSync
275 String arg = nextArg(); in nextArgRequired()
/frameworks/base/cmds/vr/src/com/android/commands/vr/
DVr.java120 String enableStr = nextArg(); in runSetPersistentVrModeEnabled()
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java191 } while ((arg = nextArg()) != null); in run()
250 String durationArg = nextArg(); in sendSwipe()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java167 instrument.logPath = nextArg(); in runInstrument()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java283 String nextArg = getNextArg(); in onCommand() local
284 if (nextArg == null) { in onCommand()
292 return displayPackageFilePath(nextArg, UserHandle.USER_SYSTEM); in onCommand()