Home
last modified time | relevance | path

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

/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java117 final boolean onlyAdoptable = "adoptable".equals(nextArg()); in runListDisks()
127 final String filter = nextArg(); in runListVolumes()
161 switch (nextArg()) { in runSetForceAdoptable()
179 switch (nextArg()) { in runSetSdcardfs()
201 final String diskId = nextArg(); in runPartition()
202 final String type = nextArg(); in runPartition()
208 final int ratio = Integer.parseInt(nextArg()); in runPartition()
216 final String volId = nextArg(); in runMount()
221 final String volId = nextArg(); in runUnmount()
226 final String volId = nextArg(); in runFormat()
[all …]
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerShellCommand.java88 final String nextArg = getNextArg(); in runState() local
89 if (nextArg == null) { in runState()
96 if ("reset".equals(nextArg)) { in runState()
102 int requestedState = Integer.parseInt(nextArg); in runState()
129 final String nextArg = getNextArg(); in runBaseState() local
130 if (nextArg == null) { in runBaseState()
137 if ("reset".equals(nextArg)) { in runBaseState()
143 int requestedState = Integer.parseInt(nextArg); in runBaseState()
/frameworks/base/core/java/com/android/internal/os/
DZygoteArguments.java297 String arg = args.nextArg(); in parseArgs()
390 mInvokeWith = args.nextArg(); in parseArgs()
421 mPreloadApp = args.nextArg(); in parseArgs()
424 mPreloadPackage = args.nextArg(); in parseArgs()
425 mPreloadPackageLibs = args.nextArg(); in parseArgs()
426 mPreloadPackageLibFileName = args.nextArg(); in parseArgs()
427 mPreloadPackageCacheKey = args.nextArg(); in parseArgs()
439 mApiDenylistExemptions[i] = args.nextArg(); in parseArgs()
520 + (unprocessedArg == null ? args.nextArg() : unprocessedArg)); in parseArgs()
530 mRemainingArgs[i] = args.nextArg(); in parseArgs()
DBaseCommand.java112 public String nextArg() { in nextArg() method in BaseCommand
DZygoteCommandBuffer.java131 String nextArg() { in nextArg() method in ZygoteCommandBuffer
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/
DHostStubGenOptions.kt160 fun nextArg(): String = ai.nextArgRequired(arg) in parseArgs() method
161 fun SetOnce<String>.setNextStringArg(): String = nextArg().also { this.set(it) } in parseArgs()
162 fun SetOnce<String?>.setNextStringArg(): String = nextArg().also { this.set(it) } in parseArgs()
164 nextArg().also { this += ensureUniqueAnnotation(it) } in parseArgs()
221 ret.packageRedirects += parsePackageRedirect(nextArg()) in parseArgs()
233 ret.intersectStubJars += nextArg().ensureFileExists() in parseArgs()
256 "--verbose-log" -> setLogFile(LogLevel.Verbose, nextArg()) in parseArgs()
257 "--debug-log" -> setLogFile(LogLevel.Debug, nextArg()) in parseArgs()
/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.java107 String op = nextArg(); in run()
209 String arg = nextArg(); in setSchedulingEnabled()
248 String arg = nextArg(); in doAutoRestore()
296 String arg = nextArg(); in doEnable()
323 String pkg = nextArg(); in doBackup()
341 while ((pkg = nextArg()) != null) { in doFullTransportBackup()
520 while ((pkg = nextArg()) != null) { in doBackupNow()
555 String arg = nextArg(); in doCancel()
570 String which = nextArg(); in doTransport()
595 String which = nextArg(); in doTransportByComponent()
[all …]
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java174 String operation = mTokenizer.nextArg(); in parseCommand()
206 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseInsertCommand()
234 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseDeleteCommand()
260 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseUpdateCommand()
293 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseCallCommand()
322 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseGetTypeCommand()
341 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseReadCommand()
360 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseWriteCommand()
381 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseQueryCommand()
434 String argument = mTokenizer.nextArg(); in parseBindValue()
[all …]
/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/native/cmds/idlcli/vibrator/
DCommandComposePwle.cpp109 auto nextArg = args.pop(); in doArgs() local
111 if (*nextArg == "a") { in doArgs()
139 } else if (*nextArg == "b") { in doArgs()
/frameworks/base/services/core/java/com/android/server/security/
DFileIntegrityService.java316 String nextArg = getNextArg(); in onCommand() local
317 if (nextArg == null) { in onCommand()
323 ParcelFileDescriptor pfd = openFileForSystem(nextArg, "r"); in onCommand()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorManagerService.java2121 String nextArg; in CommonOptions() local
2122 while ((nextArg = peekNextArg()) != null) { in CommonOptions()
2123 switch (nextArg) { in CommonOptions()
2276 String nextArg; in nextEffect() local
2278 while ((nextArg = peekNextArg()) != null) { in nextEffect()
2279 if ("oneshot".equals(nextArg)) { in nextEffect()
2281 } else if ("waveform".equals(nextArg)) { in nextEffect()
2283 } else if ("prebaked".equals(nextArg)) { in nextEffect()
2285 } else if ("primitives".equals(nextArg)) { in nextEffect()
2344 String nextArg; in addWaveformToComposition() local
[all …]
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DFontManagerShellCommand.java319 String nextArg = shell.getNextArg(); in dump() local
321 if (nextArg == null) { in dump()
326 FontFamily[] families = fallbackMap.get(nextArg); in dump()
328 writer.println("Font Family \"" + nextArg + "\" not found"); in dump()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java295 final String nextArg = getNextArgRequired(); in getFieldClassificationScore() local
297 if ("--algorithm".equals(nextArg)) { in getFieldClassificationScore()
302 value1 = nextArg; in getFieldClassificationScore()
/frameworks/base/cmds/vr/src/com/android/commands/vr/
DVr.java120 String enableStr = nextArg(); in runSetPersistentVrModeEnabled()
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java264 private String nextArg() { in nextArg() method in RequestSync
277 String arg = nextArg(); in nextArgRequired()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java172 instrument.logPath = nextArg(); in runInstrument()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java1516 String op = nextArg(args, argIndex); in dump()
1537 String userArg = nextArg(args, argIndex); in dump()
1564 private String nextArg(String[] args, int argIndex) { in nextArg() method in BackupManagerService
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java413 String nextArg = getNextArg(); in onCommand() local
414 if (nextArg == null) { in onCommand()
422 return displayPackageFilePath(nextArg, UserHandle.USER_SYSTEM); in onCommand()
/frameworks/base/boot/
Dboot-image-profile.txt21578 HSPLcom/android/internal/os/ZygoteCommandBuffer;->nextArg()Ljava/lang/String;
/frameworks/base/config/
Dboot-image-profile.txt21642 HSPLcom/android/internal/os/ZygoteCommandBuffer;->nextArg()Ljava/lang/String;