Home
last modified time | relevance | path

Searched refs:getNextArgRequired (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java136 String mode = getNextArgRequired(); in onCommand()
158 String packageName = getNextArgRequired(); in onCommand()
161 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
169 String packageName = getNextArgRequired(); in onCommand()
172 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
179 ComponentName cn = ComponentName.unflattenFromString(getNextArgRequired()); in onCommand()
186 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
192 ComponentName cn = ComponentName.unflattenFromString(getNextArgRequired()); in onCommand()
199 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
205 ComponentName cn = ComponentName.unflattenFromString(getNextArgRequired()); in onCommand()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java78 String nextArg = getNextArgRequired(); in onCommand()
99 newPollIntervalMsecs = Integer.parseInt(getNextArgRequired()); in onCommand()
122 String nextArg = getNextArgRequired(); in onCommand()
140 String nextArg = getNextArgRequired(); in onCommand()
157 String packageName = getNextArgRequired(); in onCommand()
159 String nextArg = getNextArgRequired(); in onCommand()
174 String packageName = getNextArgRequired(); in onCommand()
181 String packageName = getNextArgRequired(); in onCommand()
193 String nextArg = getNextArgRequired(); in onCommand()
197 apChannelMHz = Integer.parseInt(getNextArgRequired()); in onCommand()
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java132 final String what = getNextArgRequired(); in requestGet()
155 final String what = getNextArgRequired(); in requestSet()
197 final String logLevel = getNextArgRequired(); in setLogLevel()
220 mService.setMaxPartitions(Integer.parseInt(getNextArgRequired())); in setMaxPartitions()
230 mService.setMaxVisibleDatasets(Integer.parseInt(getNextArgRequired())); in setMaxVisibileDatasets()
235 final String nextArg = getNextArgRequired(); in getFieldClassificationScore()
238 algorithm = getNextArgRequired(); in getFieldClassificationScore()
239 value1 = getNextArgRequired(); in getFieldClassificationScore()
244 final String value2 = getNextArgRequired(); in getFieldClassificationScore()
273 final String mode = getNextArgRequired(); in setFullScreenMode()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java334 mProfileFile = getNextArgRequired(); in makeIntent()
337 mProfileFile = getNextArgRequired(); in makeIntent()
340 mSamplingInterval = Integer.parseInt(getNextArgRequired()); in makeIntent()
349 mAgent = getNextArgRequired(); in makeIntent()
357 mAgent = getNextArgRequired(); in makeIntent()
360 mRepeat = Integer.parseInt(getNextArgRequired()); in makeIntent()
366 mUserId = UserHandle.parseUserArg(getNextArgRequired()); in makeIntent()
368 mReceiverPermission = getNextArgRequired(); in makeIntent()
370 mDisplayId = Integer.parseInt(getNextArgRequired()); in makeIntent()
372 mWindowingMode = Integer.parseInt(getNextArgRequired()); in makeIntent()
[all …]
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerShellCommand.java116 userId = UserHandle.parseUserArg(getNextArgRequired()); in runList()
190 userId = UserHandle.parseUserArg(getNextArgRequired()); in runEnableDisable()
198 final String packageName = getNextArgRequired(); in runEnableDisable()
211 userId = UserHandle.parseUserArg(getNextArgRequired()); in runEnableExclusive()
221 final String overlay = getNextArgRequired(); in runEnableExclusive()
237 userId = UserHandle.parseUserArg(getNextArgRequired()); in runSetPriority()
245 final String packageName = getNextArgRequired(); in runSetPriority()
246 final String newParentPackageName = getNextArgRequired(); in runSetPriority()
/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerShellCommand.java95 userId = UserHandle.parseUserArg(getNextArgRequired()); in getUserIdMaybe()
110 String roleName = getNextArgRequired(); in runAddRoleHolder()
111 String packageName = getNextArgRequired(); in runAddRoleHolder()
122 String roleName = getNextArgRequired(); in runRemoveRoleHolder()
123 String packageName = getNextArgRequired(); in runRemoveRoleHolder()
134 String roleName = getNextArgRequired(); in runClearRoleHolders()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsManagerServiceShellCommand.java76 final String what = getNextArgRequired(); in requestSet()
90 final String what = getNextArgRequired(); in requestGet()
101 final int userId = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
107 final int duration = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
129 return Integer.parseInt(getNextArgRequired()); in getNextIntArgRequired()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerServiceShellCommand.java96 final String what = getNextArgRequired(); in requestGet()
109 final String what = getNextArgRequired(); in requestSet()
134 final String mode = getNextArgRequired(); in setBindInstantService()
164 final boolean enabled = Boolean.parseBoolean(getNextArgRequired()); in setDefaultServiceEnabled()
217 final String type = getNextArgRequired(); in isNextArgSessions()
248 return UserHandle.parseUserArg(getNextArgRequired()); in getUserIdFromArgsOrAllUsers()
254 return Integer.parseInt(getNextArgRequired()); in getNextIntArgRequired()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerShellCommand.java147 userId = Integer.parseInt(getNextArgRequired()); in runJob()
156 final String pkgName = getNextArgRequired(); in runJob()
157 final int jobId = Integer.parseInt(getNextArgRequired()); in runJob()
189 userId = UserHandle.parseUserArg(getNextArgRequired()); in timeout()
224 userId = UserHandle.parseUserArg(getNextArgRequired()); in cancelJob()
252 String opt = getNextArgRequired(); in monitorBattery()
313 userId = UserHandle.parseUserArg(getNextArgRequired()); in getJobState()
326 final String pkgName = getNextArgRequired(); in getJobState()
327 final String jobIdStr = getNextArgRequired(); in getJobState()
357 final String opt = getNextArgRequired(); in triggerDockState()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionManagerServiceShellCommand.java46 final String what = getNextArgRequired(); in onCommand()
49 final int userId = Integer.parseInt(getNextArgRequired()); in onCommand()
55 final int duration = Integer.parseInt(getNextArgRequired()); in onCommand()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java96 displayId = Integer.parseInt(getNextArgRequired()); in getDisplayId()
247 String overscanStr = getNextArgRequired(); in runDisplayOverscan()
271 String scalingStr = getNextArgRequired(); in runDisplayScaling()
308 final String lockMode = getNextArgRequired(); in runSetDisplayUserRotation()
313 displayId = Integer.parseInt(getNextArgRequired()); in runSetDisplayUserRotation()
339 String arg = getNextArgRequired(); in runSetFixToUserRotation()
341 displayId = Integer.parseInt(getNextArgRequired()); in runSetFixToUserRotation()
342 arg = getNextArgRequired(); in runSetFixToUserRotation()
DWindowTracing.java174 String cmd = shell.getNextArgRequired(); in onShellCommand()
194 String logLevelStr = shell.getNextArgRequired().toLowerCase(); in onShellCommand()
216 setBufferCapacity(Integer.parseInt(shell.getNextArgRequired()) * 1024, pw); in onShellCommand()
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarShellCommand.java86 mInterface.addTile(ComponentName.unflattenFromString(getNextArgRequired())); in runAddTile()
91 mInterface.remTile(ComponentName.unflattenFromString(getNextArgRequired())); in runRemoveTile()
96 mInterface.clickTile(ComponentName.unflattenFromString(getNextArgRequired())); in runClickTile()
124 String arg = getNextArgRequired(); in runDisableForSetup()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerShellCommand.java58 mInterface.setAdaptivePowerSaveEnabled(Boolean.parseBoolean(getNextArgRequired())); in runSetAdaptiveEnabled()
66 mode = Integer.parseInt(getNextArgRequired()); in runSetMode()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityShellCommand.java66 final String allowed = getNextArgRequired(); in runSetBindInstantServiceAllowed()
80 return UserHandle.parseUserArg(getNextArgRequired()); in parseUserId()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerServiceShellCommand.java67 final String allowed = getNextArgRequired(); in runSetBindInstantServiceAllowed()
81 return UserHandle.parseUserArg(getNextArgRequired()); in parseUserId()
/frameworks/base/services/print/java/com/android/server/print/
DPrintShellCommand.java73 final String allowed = getNextArgRequired(); in runSetBindInstantServiceAllowed()
90 return UserHandle.parseUserArg(getNextArgRequired()); in parseUserId()
/frameworks/base/core/java/android/app/timezonedetector/
DTelephonyTimeZoneSuggestion.java410 slotIndex = Integer.parseInt(cmd.getNextArgRequired()); in parseCommandLineArg()
414 zoneId = cmd.getNextArgRequired(); in parseCommandLineArg()
418 quality = parseQualityCommandLineArg(cmd.getNextArgRequired()); in parseCommandLineArg()
422 matchType = parseMatchTypeCommandLineArg(cmd.getNextArgRequired()); in parseCommandLineArg()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java391 final String packageName = getNextArgRequired(); in runRollbackApp()
487 userId = UserHandle.parseUserArg(getNextArgRequired()); in runPath()
490 String pkg = getNextArgRequired(); in runPath()
699 userId = UserHandle.parseUserArg(getNextArgRequired()); in runListPackages()
703 uid = Integer.parseInt(getNextArgRequired()); in runListPackages()
962 mTargetUser = UserHandle.parseUserArg(cmd.getNextArgRequired()); in parseIntentAndUser()
971 mQueryFlags = Integer.decode(cmd.getNextArgRequired()); in parseIntentAndUser()
1333 userId = UserHandle.parseUserArg(getNextArgRequired()); in runInstallExisting()
1502 compilerFilter = getNextArgRequired(); in runCompile()
1505 compilationReason = getNextArgRequired(); in runCompile()
[all …]
/frameworks/base/core/java/android/content/
DIntent.java7250 intent.setAction(cmd.getNextArgRequired()); in parseCommandArgs()
7256 data = Uri.parse(cmd.getNextArgRequired()); in parseCommandArgs()
7262 type = cmd.getNextArgRequired(); in parseCommandArgs()
7268 intent.setIdentifier(cmd.getNextArgRequired()); in parseCommandArgs()
7274 intent.addCategory(cmd.getNextArgRequired()); in parseCommandArgs()
7281 String key = cmd.getNextArgRequired(); in parseCommandArgs()
7282 String value = cmd.getNextArgRequired(); in parseCommandArgs()
7287 String key = cmd.getNextArgRequired(); in parseCommandArgs()
7292 String key = cmd.getNextArgRequired(); in parseCommandArgs()
7293 String value = cmd.getNextArgRequired(); in parseCommandArgs()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java154 String subCmd = parentShell.getNextArgRequired(); in onCommand()
158 String name = parentShell.getNextArgRequired(); in onCommand()
165 String valueStr = parentShell.getNextArgRequired(); in onCommand()
178 String mode = parentShell.getNextArgRequired(); in onCommand()
179 String name = parentShell.getNextArgRequired(); in onCommand()
180 String valueStr = parentShell.getNextArgRequired(); in onCommand()
207 String name = parentShell.getNextArgRequired(); in onCommand()
218 String mode = parentShell.getNextArgRequired(); in onCommand()
219 String name = parentShell.getNextArgRequired(); in onCommand()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsShellCommand.java167 mOld = getNextArgRequired(); in parseArgs()
169 mCurrentUserId = Integer.parseInt(getNextArgRequired()); in parseArgs()
/frameworks/base/core/tests/coretests/src/android/app/timezonedetector/
DShellCommandTestSupport.java61 when(command.getNextArgRequired()).thenAnswer( in createShellCommandWithArgsAndOptions()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java679 addAssociation(getNextArgInt(), getNextArgRequired(), getNextArgRequired());
683 removeAssociation(getNextArgInt(), getNextArgRequired(), getNextArgRequired());
692 return Integer.parseInt(getNextArgRequired());
/frameworks/base/core/java/com/android/internal/os/
DBaseCommand.java127 return mArgs.getNextArgRequired(); in nextArgRequired()

12