Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java115 String packageName = getNextArgRequired(); in onCommand()
118 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
126 String packageName = getNextArgRequired(); in onCommand()
129 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
136 ComponentName cn = ComponentName.unflattenFromString(getNextArgRequired()); in onCommand()
143 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
149 ComponentName cn = ComponentName.unflattenFromString(getNextArgRequired()); in onCommand()
156 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
162 ComponentName cn = ComponentName.unflattenFromString(getNextArgRequired()); in onCommand()
169 userId = 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.java327 mProfileFile = getNextArgRequired(); in makeIntent()
330 mProfileFile = getNextArgRequired(); in makeIntent()
333 mSamplingInterval = Integer.parseInt(getNextArgRequired()); in makeIntent()
342 mAgent = getNextArgRequired(); in makeIntent()
350 mAgent = getNextArgRequired(); in makeIntent()
353 mRepeat = Integer.parseInt(getNextArgRequired()); in makeIntent()
359 mUserId = UserHandle.parseUserArg(getNextArgRequired()); in makeIntent()
361 mReceiverPermission = getNextArgRequired(); in makeIntent()
363 mDisplayId = Integer.parseInt(getNextArgRequired()); in makeIntent()
365 mWindowingMode = Integer.parseInt(getNextArgRequired()); in makeIntent()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java68 String nextArg = getNextArgRequired(); in onCommand()
89 newPollIntervalMsecs = Integer.parseInt(getNextArgRequired()); in onCommand()
112 String nextArg = getNextArgRequired(); in onCommand()
130 String nextArg = getNextArgRequired(); in onCommand()
147 String packageName = getNextArgRequired(); in onCommand()
149 String nextArg = getNextArgRequired(); in onCommand()
164 String packageName = getNextArgRequired(); in onCommand()
171 String packageName = getNextArgRequired(); in onCommand()
/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/accounts/
DAccountManagerServiceShellCommand.java66 final String allowed = getNextArgRequired(); in runSetBindInstantServiceAllowed()
80 return UserHandle.parseUserArg(getNextArgRequired()); in parseUserId()
/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/print/java/com/android/server/print/
DPrintShellCommand.java73 final String allowed = getNextArgRequired(); in runSetBindInstantServiceAllowed()
90 return UserHandle.parseUserArg(getNextArgRequired()); in parseUserId()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java410 final String packageName = getNextArgRequired(); in runRollbackApp()
506 userId = UserHandle.parseUserArg(getNextArgRequired()); in runPath()
509 String pkg = getNextArgRequired(); in runPath()
716 userId = UserHandle.parseUserArg(getNextArgRequired()); in runListPackages()
720 uid = Integer.parseInt(getNextArgRequired()); in runListPackages()
882 mTargetUser = UserHandle.parseUserArg(cmd.getNextArgRequired()); in parseIntentAndUser()
891 mQueryFlags = Integer.decode(cmd.getNextArgRequired()); in parseIntentAndUser()
1171 userId = UserHandle.parseUserArg(getNextArgRequired()); in runInstallExisting()
1340 compilerFilter = getNextArgRequired(); in runCompile()
1343 compilationReason = getNextArgRequired(); in runCompile()
[all …]
/frameworks/base/core/java/android/content/
DIntent.java7055 intent.setAction(cmd.getNextArgRequired()); in parseCommandArgs()
7061 data = Uri.parse(cmd.getNextArgRequired()); in parseCommandArgs()
7067 type = cmd.getNextArgRequired(); in parseCommandArgs()
7073 intent.setIdentifier(cmd.getNextArgRequired()); in parseCommandArgs()
7079 intent.addCategory(cmd.getNextArgRequired()); in parseCommandArgs()
7086 String key = cmd.getNextArgRequired(); in parseCommandArgs()
7087 String value = cmd.getNextArgRequired(); in parseCommandArgs()
7092 String key = cmd.getNextArgRequired(); in parseCommandArgs()
7097 String key = cmd.getNextArgRequired(); in parseCommandArgs()
7098 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/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.java123 return mArgs.getNextArgRequired(); in nextArgRequired()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DNetworkWatchlistShellCommand.java75 final String configXmlPath = getNextArgRequired(); in runSetTestConfig()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceShellCommand.java47 return runGetPermissions(getNextArgRequired()); in onCommand()

12