Home
last modified time | relevance | path

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

123

/frameworks/base/services/core/java/com/android/server/location/
DLocationShellCommand.java81 String command = getNextArgRequired(); in onCommand()
125 userId = UserHandle.parseUserArg(getNextArgRequired()); in handleIsLocationEnabled()
135 boolean enabled = Boolean.parseBoolean(getNextArgRequired()); in handleSetLocationEnabled()
145 userId = UserHandle.parseUserArg(getNextArgRequired()); in handleSetLocationEnabled()
167 userId = UserHandle.parseUserArg(getNextArgRequired()); in handleIsAdasGnssLocationEnabled()
181 boolean enabled = Boolean.parseBoolean(getNextArgRequired()); in handleSetAdasGnssLocationEnabled()
191 userId = UserHandle.parseUserArg(getNextArgRequired()); in handleSetAdasGnssLocationEnabled()
205 boolean suspended = Boolean.parseBoolean(getNextArgRequired()); in handleSetAutomotiveGnssSuspended()
219 String provider = getNextArgRequired(); in handleAddTestProvider()
268 powerRequirement = Integer.parseInt(getNextArgRequired()); in handleAddTestProvider()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java168 String mode = getNextArgRequired(); in onCommand()
190 String packageName = getNextArgRequired(); in onCommand()
193 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
201 String packageName = getNextArgRequired(); in onCommand()
204 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
211 ComponentName cn = ComponentName.unflattenFromString(getNextArgRequired()); in onCommand()
218 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
225 ComponentName cn = ComponentName.unflattenFromString(getNextArgRequired()); in onCommand()
232 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
239 ComponentName cn = ComponentName.unflattenFromString(getNextArgRequired()); in onCommand()
[all …]
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerShellCommand.java144 userId = UserHandle.parseUserArg(getNextArgRequired()); in runList()
218 userId = UserHandle.parseUserArg(getNextArgRequired()); in runEnableDisable()
226 final OverlayIdentifier overlay = OverlayIdentifier.fromString(getNextArgRequired()); in runEnableDisable()
248 userId = UserHandle.parseUserArg(getNextArgRequired()); in runFabricate()
251 targetPackage = getNextArgRequired(); in runFabricate()
254 targetOverlayable = getNextArgRequired(); in runFabricate()
257 name = getNextArgRequired(); in runFabricate()
275 final String resourceName = getNextArgRequired(); in runFabricate()
276 final String typeStr = getNextArgRequired(); in runFabricate()
283 final String dataStr = getNextArgRequired(); in runFabricate()
[all …]
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextShellCommand.java125 final int userId = Integer.parseInt(getNextArgRequired());
126 final String packageName = getNextArgRequired();
134 final int userId = Integer.parseInt(getNextArgRequired());
135 final String packageName = getNextArgRequired();
141 final int userId = Integer.parseInt(getNextArgRequired());
142 final String packageName = getNextArgRequired();
178 final int userId = Integer.parseInt(getNextArgRequired());
186 final int userId = Integer.parseInt(getNextArgRequired());
194 final int duration = Integer.parseInt(getNextArgRequired());
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java136 final String what = getNextArgRequired(); in requestGet()
161 final String what = getNextArgRequired(); in requestSet()
203 final String logLevel = getNextArgRequired(); in setLogLevel()
226 mService.setMaxPartitions(Integer.parseInt(getNextArgRequired())); in setMaxPartitions()
236 mService.setMaxVisibleDatasets(Integer.parseInt(getNextArgRequired())); in setMaxVisibileDatasets()
241 final String nextArg = getNextArgRequired(); in getFieldClassificationScore()
244 algorithm = getNextArgRequired(); in getFieldClassificationScore()
245 value1 = getNextArgRequired(); in getFieldClassificationScore()
250 final String value2 = getNextArgRequired(); in getFieldClassificationScore()
279 final String mode = getNextArgRequired(); in setFullScreenMode()
[all …]
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerShellCommand.java112 final String packageName = getNextArgRequired(); in runGameList()
131 userIdStr = getNextArgRequired(); in runGameMode()
134 final String gameMode = getNextArgRequired(); in runGameMode()
135 final String packageName = getNextArgRequired(); in runGameMode()
187 String option = getNextArgRequired(); in runSetGameMode()
193 final String gameMode = getNextArgRequired(); in runSetGameMode()
206 userIdStr = getNextArgRequired(); in runSetGameMode()
214 downscaleRatio = getNextArgRequired(); in runSetGameMode()
228 fpsStr = getNextArgRequired(); in runSetGameMode()
244 final String packageName = getNextArgRequired(); in runSetGameMode()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java128 String displayArg = getNextArgRequired(); in getDisplayId()
219 arg = getNextArgRequired(); in onCommand()
226 arg = getNextArgRequired(); in onCommand()
290 sendText(inputSource, getNextArgRequired(), displayId); in runText()
329 String arg = getNextArgRequired(); in runKeyEvent()
332 arg = getNextArgRequired(); in runKeyEvent()
336 arg = getNextArgRequired(); in runKeyEvent()
376 sendTap(inputSource, Float.parseFloat(getNextArgRequired()), in runTap()
377 Float.parseFloat(getNextArgRequired()), displayId); in runTap()
399 final float x1 = Float.parseFloat(getNextArgRequired()); in sendSwipe()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java391 mProfileFile = getNextArgRequired(); in makeIntent()
394 mProfileFile = getNextArgRequired(); in makeIntent()
397 mSamplingInterval = Integer.parseInt(getNextArgRequired()); in makeIntent()
406 mAgent = getNextArgRequired(); in makeIntent()
414 mAgent = getNextArgRequired(); in makeIntent()
417 mRepeat = Integer.parseInt(getNextArgRequired()); in makeIntent()
423 mUserId = UserHandle.parseUserArg(getNextArgRequired()); in makeIntent()
425 mReceiverPermission = getNextArgRequired(); in makeIntent()
427 mDisplayId = Integer.parseInt(getNextArgRequired()); in makeIntent()
429 mWindowingMode = Integer.parseInt(getNextArgRequired()); in makeIntent()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlShellCommand.java173 deviceType = Integer.parseInt(getNextArgRequired()); in vendorCommand()
177 destination = Integer.parseInt(getNextArgRequired()); in vendorCommand()
181 parameters = getNextArgRequired(); in vendorCommand()
185 hasVendorId = Boolean.parseBoolean(getNextArgRequired()); in vendorCommand()
208 String operation = getNextArgRequired(); in cecSetting()
211 String setting = getNextArgRequired(); in cecSetting()
222 String setting = getNextArgRequired(); in cecSetting()
223 String value = getNextArgRequired(); in cecSetting()
290 String operation = getNextArgRequired(); in historySize()
298 String arg = getNextArgRequired(); in historySize()
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemShellCommand.java62 String packageName = getNextArgRequired(); in requestLskf()
71 String packageName = getNextArgRequired(); in clearLskf()
80 String packageName = getNextArgRequired(); in isLskfCaptured()
88 String packageName = getNextArgRequired(); in rebootAndApply()
89 String rebootReason = getNextArgRequired(); in rebootAndApply()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerShellCommand.java147 args.userId = Integer.parseInt(getNextArgRequired()); in parseOptions()
150 args.algorithm = getNextArgRequired(); in parseOptions()
153 args.digest = Base64.getDecoder().decode(getNextArgRequired()); in parseOptions()
156 args.label = getNextArgRequired(); in parseOptions()
159 args.expiryTimeMillis = Long.parseLong(getNextArgRequired()); in parseOptions()
162 args.tag = getNextArgRequired(); in parseOptions()
165 args.blobId = Long.parseLong(getNextArgRequired()); in parseOptions()
/frameworks/base/services/core/java/com/android/server/apphibernation/
DAppHibernationShellCommand.java60 userId = UserHandle.parseUserArg(getNextArgRequired()); in runSetState()
70 String pkg = getNextArgRequired(); in runSetState()
76 String newStateRaw = getNextArgRequired(); in runSetState()
98 userId = UserHandle.parseUserArg(getNextArgRequired()); in runGetState()
108 String pkg = getNextArgRequired(); in runGetState()
/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/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java158 userId = Integer.parseInt(getNextArgRequired()); in runJob()
172 final String pkgName = getNextArgRequired(); in runJob()
173 final int jobId = Integer.parseInt(getNextArgRequired()); in runJob()
205 userId = UserHandle.parseUserArg(getNextArgRequired()); in timeout()
240 userId = UserHandle.parseUserArg(getNextArgRequired()); in cancelJob()
268 String opt = getNextArgRequired(); in monitorBattery()
329 userId = UserHandle.parseUserArg(getNextArgRequired()); in getJobState()
342 final String pkgName = getNextArgRequired(); in getJobState()
343 final String jobIdStr = getNextArgRequired(); in getJobState()
373 userId = UserHandle.parseUserArg(getNextArgRequired()); in resetExecutionQuota()
[all …]
/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/power/
DPowerManagerShellCommand.java76 mService.setAdaptivePowerSaveEnabled(Boolean.parseBoolean(getNextArgRequired())); in runSetAdaptiveEnabled()
84 mode = Integer.parseInt(getNextArgRequired()); in runSetMode()
96 Boolean.parseBoolean(getNextArgRequired())); in runSetFixedPerformanceModeEnabled()
109 String token = getNextArgRequired(); in runSuppressAmbientDisplay()
110 boolean enabled = Boolean.parseBoolean(getNextArgRequired()); in runSuppressAmbientDisplay()
136 switch (getNextArgRequired().toLowerCase()) { in runSetProx()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceShellCommand.java66 String packageName = getNextArgRequired(); in onCommand()
67 String address = getNextArgRequired(); in onCommand()
74 final String packageName = getNextArgRequired(); in onCommand()
75 final String address = getNextArgRequired(); in onCommand()
165 return Integer.parseInt(getNextArgRequired()); in getNextIntArgRequired()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubShellCommand.java55 int contextHubId = Integer.decode(getNextArgRequired()); in runDisableAuth()
56 String packageName = getNextArgRequired(); in runDisableAuth()
57 long nanoAppId = Long.decode(getNextArgRequired()); in runDisableAuth()
/frameworks/base/services/core/java/com/android/server/rotationresolver/
DRotationResolverShellCommand.java87 final int userId = Integer.parseInt(getNextArgRequired()); in getBoundPackageName()
95 final int userId = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
102 final int duration = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
110 final int userId = Integer.parseInt(getNextArgRequired()); in runResolveRotation()
/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/
DWallpaperEffectsGenerationManagerServiceShellCommand.java47 final String what = getNextArgRequired(); in onCommand()
50 final int userId = Integer.parseInt(getNextArgRequired()); in onCommand()
57 final int duration = Integer.parseInt(getNextArgRequired()); in onCommand()
/frameworks/base/services/searchui/java/com/android/server/searchui/
DSearchUiManagerServiceShellCommand.java46 final String what = getNextArgRequired(); in onCommand()
49 final int userId = Integer.parseInt(getNextArgRequired()); in onCommand()
56 final int duration = Integer.parseInt(getNextArgRequired()); in onCommand()
/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/smartspace/java/com/android/server/smartspace/
DSmartspaceManagerServiceShellCommand.java46 final String what = getNextArgRequired(); in onCommand()
49 final int userId = Integer.parseInt(getNextArgRequired()); in onCommand()
56 final int duration = Integer.parseInt(getNextArgRequired()); in onCommand()
/frameworks/base/services/translation/java/com/android/server/translation/
DTranslationManagerServiceShellCommand.java44 final String what = getNextArgRequired(); in requestSet()
53 final int userId = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
59 final int duration = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerServiceShellCommand.java45 final String what = getNextArgRequired(); in requestSet()
54 final int userId = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
60 final int duration = Integer.parseInt(getNextArgRequired()); in setTemporaryService()

123