Home
last modified time | relevance | path

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

1234

/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/ambientcontext/
DAmbientContextShellCommand.java151 final int userId = Integer.parseInt(getNextArgRequired());
152 final String packageName = getNextArgRequired();
162 final int userId = Integer.parseInt(getNextArgRequired());
163 final String packageName = getNextArgRequired();
173 final int userId = Integer.parseInt(getNextArgRequired());
174 final String packageName = getNextArgRequired();
184 final int userId = Integer.parseInt(getNextArgRequired());
185 final String packageName = getNextArgRequired();
191 final int userId = Integer.parseInt(getNextArgRequired());
192 final String packageName = getNextArgRequired();
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java167 String mode = getNextArgRequired(); in onCommand()
195 String packageName = getNextArgRequired(); in onCommand()
198 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
206 String packageName = getNextArgRequired(); in onCommand()
209 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
216 ComponentName cn = ComponentName.unflattenFromString(getNextArgRequired()); in onCommand()
223 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
230 ComponentName cn = ComponentName.unflattenFromString(getNextArgRequired()); in onCommand()
237 userId = Integer.parseInt(getNextArgRequired()); in onCommand()
244 ComponentName cn = ComponentName.unflattenFromString(getNextArgRequired()); in onCommand()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java200 userId = UserHandle.parseUserArg(getNextArgRequired()); in runJob()
205 namespace = getNextArgRequired(); in runJob()
223 final String pkgName = getNextArgRequired(); in runJob()
224 final int jobId = Integer.parseInt(getNextArgRequired()); in runJob()
258 userId = UserHandle.parseUserArg(getNextArgRequired()); in timeout()
263 namespace = getNextArgRequired(); in timeout()
301 userId = UserHandle.parseUserArg(getNextArgRequired()); in cancelJob()
306 namespace = getNextArgRequired(); in cancelJob()
335 String opt = getNextArgRequired(); in monitorBattery()
379 final String constraint = getNextArgRequired(); in enableFlexPolicy()
[all …]
/frameworks/base/services/core/java/com/android/server/wearable/
DWearableSensingShellCommand.java153 final int userId = Integer.parseInt(getNextArgRequired()); in provideDataStream()
163 final String value = getNextArgRequired(); in writeToDataStream()
177 final int userId = Integer.parseInt(getNextArgRequired()); in provideData()
178 final String key = getNextArgRequired(); in provideData()
179 final int value = Integer.parseInt(getNextArgRequired()); in provideData()
198 final int userId = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
206 final int duration = Integer.parseInt(getNextArgRequired()); in setTemporaryService()
215 final int userId = Integer.parseInt(getNextArgRequired()); in getBoundPackageName()
223 int windowSizeSeconds = Integer.parseInt(getNextArgRequired()); in setDataRequestRateLimitWindowSize()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerShellCommand.java95 final String packageName = getNextArgRequired(); in runListGameModes()
112 final String packageName = getNextArgRequired(); in runListGameModeConfigs()
132 userIdStr = getNextArgRequired(); in runSetGameMode()
135 final String gameMode = getNextArgRequired(); in runSetGameMode()
136 final String packageName = getNextArgRequired(); in runSetGameMode()
213 gameMode = Integer.parseInt(getNextArgRequired()); in runSetGameModeConfig()
217 userIdStr = getNextArgRequired(); in runSetGameModeConfig()
225 downscaleRatio = getNextArgRequired(); in runSetGameModeConfig()
243 fpsStr = getNextArgRequired(); in runSetGameModeConfig()
261 final String packageName = getNextArgRequired(); in runSetGameModeConfig()
[all …]
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceShellCommand.java103 String packageName = getNextArgRequired(); in onCommand()
104 String address = getNextArgRequired(); in onCommand()
115 final String packageName = getNextArgRequired(); in onCommand()
116 final String address = getNextArgRequired(); in onCommand()
163 String uuid = getNextArgRequired(); in onCommand()
164 String packageName = getNextArgRequired(); in onCommand()
180 String uuid = getNextArgRequired(); in onCommand()
200 String packageName = getNextArgRequired(); in onCommand()
201 String uuid = getNextArgRequired(); in onCommand()
219 String packageName = getNextArgRequired(); in onCommand()
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java186 final String what = getNextArgRequired(); in requestGet()
213 final String what = getNextArgRequired(); in requestSet()
257 final String logLevel = getNextArgRequired(); in setLogLevel()
280 mService.setMaxPartitions(Integer.parseInt(getNextArgRequired())); in setMaxPartitions()
290 mService.setMaxVisibleDatasets(Integer.parseInt(getNextArgRequired())); in setMaxVisibileDatasets()
295 final String nextArg = getNextArgRequired(); in getFieldClassificationScore()
298 algorithm = getNextArgRequired(); in getFieldClassificationScore()
299 value1 = getNextArgRequired(); in getFieldClassificationScore()
304 final String value2 = getNextArgRequired(); in getFieldClassificationScore()
333 final String mode = getNextArgRequired(); in setFullScreenMode()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlShellCommand.java172 deviceType = Integer.parseInt(getNextArgRequired()); in vendorCommand()
176 destination = Integer.parseInt(getNextArgRequired()); in vendorCommand()
180 parameters = getNextArgRequired(); in vendorCommand()
184 hasVendorId = Boolean.parseBoolean(getNextArgRequired()); in vendorCommand()
207 String operation = getNextArgRequired(); in cecSetting()
210 String setting = getNextArgRequired(); in cecSetting()
221 String setting = getNextArgRequired(); in cecSetting()
222 String value = getNextArgRequired(); in cecSetting()
289 String operation = getNextArgRequired(); in historySize()
297 String arg = getNextArgRequired(); in historySize()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerShellCommand.java168 userId = UserHandle.parseUserArg(getNextArgRequired()); in runList()
242 userId = UserHandle.parseUserArg(getNextArgRequired()); in runEnableDisable()
250 final OverlayIdentifier overlay = OverlayIdentifier.fromString(getNextArgRequired()); in runEnableDisable()
282 userId = UserHandle.parseUserArg(getNextArgRequired()); in runFabricate()
285 targetPackage = getNextArgRequired(); in runFabricate()
288 targetOverlayable = getNextArgRequired(); in runFabricate()
291 name = getNextArgRequired(); in runFabricate()
294 filename = getNextArgRequired(); in runFabricate()
297 config = getNextArgRequired(); in runFabricate()
329 final String resourceName = getNextArgRequired(); in runFabricate()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java554 mProfileFile = getNextArgRequired(); in makeIntent()
557 mProfileFile = getNextArgRequired(); in makeIntent()
560 mSamplingInterval = Integer.parseInt(getNextArgRequired()); in makeIntent()
562 String clock_type = getNextArgRequired(); in makeIntent()
565 mProfilerOutputVersion = Integer.parseInt(getNextArgRequired()); in makeIntent()
574 mAgent = getNextArgRequired(); in makeIntent()
582 mAgent = getNextArgRequired(); in makeIntent()
585 mRepeat = Integer.parseInt(getNextArgRequired()); in makeIntent()
591 mUserId = UserHandle.parseUserArg(getNextArgRequired()); in makeIntent()
593 mReceiverPermission = getNextArgRequired(); in makeIntent()
[all …]
/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/services/core/java/com/android/server/recoverysystem/
DRecoverySystemShellCommand.java76 String packageName = getNextArgRequired(); in requestLskf()
85 String packageName = getNextArgRequired(); in clearLskf()
94 String packageName = getNextArgRequired(); in isLskfCaptured()
102 String packageName = getNextArgRequired(); in rebootAndApply()
103 String rebootReason = getNextArgRequired(); in rebootAndApply()
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/
DOnDeviceIntelligenceShellCommand.java97 final int duration = Integer.parseInt(getNextArgRequired()); in setTemporaryServices()
117 final String modelLoadedKey = getNextArgRequired(); in setBroadcastKeys()
118 final String modelUnloadedKey = getNextArgRequired(); in setBroadcastKeys()
121 final int duration = Integer.parseInt(getNextArgRequired()); in setBroadcastKeys()
136 final int duration = Integer.parseInt(getNextArgRequired()); in setDeviceConfigNamespace()
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java162 String displayArg = getNextArgRequired(); in getDisplayId()
275 arg = getNextArgRequired(); in onCommand()
282 arg = getNextArgRequired(); in onCommand()
362 sendText(inputSource, getNextArgRequired(), displayId); in runText()
407 String arg = getNextArgRequired(); in runKeyEvent()
414 delayMs = Long.parseLong(getNextArgRequired()); in runKeyEvent()
416 durationMs = Long.parseLong(getNextArgRequired()); in runKeyEvent()
480 sendTap(inputSource, Float.parseFloat(getNextArgRequired()), in runTap()
481 Float.parseFloat(getNextArgRequired()), displayId); in runTap()
503 final float x1 = Float.parseFloat(getNextArgRequired()); in sendSwipe()
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerShellCommand.java78 mService.setAdaptivePowerSaveEnabled(Boolean.parseBoolean(getNextArgRequired())); in runSetAdaptiveEnabled()
86 mode = Integer.parseInt(getNextArgRequired()); in runSetMode()
98 Boolean.parseBoolean(getNextArgRequired())); in runSetFixedPerformanceModeEnabled()
111 String token = getNextArgRequired(); in runSuppressAmbientDisplay()
112 boolean enabled = Boolean.parseBoolean(getNextArgRequired()); in runSuppressAmbientDisplay()
138 switch (getNextArgRequired().toLowerCase()) { in runSetProx()
188 mService.setUseFaceDownDetector(Boolean.parseBoolean(getNextArgRequired())); in runSetFaceDownDetector()
/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/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/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/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()

1234