Home
last modified time | relevance | path

Searched refs:getErrPrintWriter (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerShellCommand.java110 getErrPrintWriter().println("Error: requested state should be an integer"); in runState()
113 getErrPrintWriter().println("Error: " + e.getMessage()); in runState()
114 getErrPrintWriter().println("-------------------"); in runState()
115 getErrPrintWriter().println("Run:"); in runState()
116 getErrPrintWriter().println(""); in runState()
117 getErrPrintWriter().println(" print-states"); in runState()
118 getErrPrintWriter().println(""); in runState()
119 getErrPrintWriter().println("to get the list of currently supported device states"); in runState()
151 getErrPrintWriter().println("Error: requested state should be an integer"); in runBaseState()
154 getErrPrintWriter().println("Error: " + e.getMessage()); in runBaseState()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerShellCommand.java282 getErrPrintWriter().println("Error: no notificationType specified, use one of: " in showNotification()
298 getErrPrintWriter().println( in showNotification()
315 getErrPrintWriter().println("Error: no brightness specified"); in setBrightness()
324 getErrPrintWriter().println("Error: brightness should be a number between 0 and 1"); in setBrightness()
357 getErrPrintWriter().println("Error: no cct specified"); in setAmbientColorTemperatureOverride()
364 getErrPrintWriter().println("Error: cct should be a number"); in setAmbientColorTemperatureOverride()
374 getErrPrintWriter().println("Error: no width specified"); in setUserPreferredDisplayMode()
380 getErrPrintWriter().println("Error: no height specified"); in setUserPreferredDisplayMode()
386 getErrPrintWriter().println("Error: no refresh-rate specified"); in setUserPreferredDisplayMode()
397 getErrPrintWriter().println("Error: invalid format of width, height or refresh rate"); in setUserPreferredDisplayMode()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationShell.java159 commandHandler.getErrPrintWriter().println("Error: unknown option: " + option); in runSetAppLinks()
165 commandHandler.getErrPrintWriter().println("Error: no package specified"); in runSetAppLinks()
191 commandHandler.getErrPrintWriter().println("Invalid state option: " + state); in runSetAppLinks()
197 commandHandler.getErrPrintWriter().println("No domains specified"); in runSetAppLinks()
209 commandHandler.getErrPrintWriter().println("Package not found: " + packageName); in runSetAppLinks()
230 commandHandler.getErrPrintWriter().println("Error: unknown option: " + option); in runSetAppLinksUserState()
236 commandHandler.getErrPrintWriter().println("Error: no package specified"); in runSetAppLinksUserState()
241 commandHandler.getErrPrintWriter().println("Error: User ID not specified"); in runSetAppLinksUserState()
249 commandHandler.getErrPrintWriter().println("Error: enabled param not specified"); in runSetAppLinksUserState()
257 commandHandler.getErrPrintWriter() in runSetAppLinksUserState()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DAudioManagerShellCommand.java128 getErrPrintWriter().println("Error: no surroundFormat specified"); in setSurroundFormatEnabled()
133 getErrPrintWriter().println("Error: no enabled value for surroundFormat specified"); in setSurroundFormatEnabled()
143 getErrPrintWriter().println("Error: wrong format specified for surroundFormat"); in setSurroundFormatEnabled()
147 getErrPrintWriter().println("Error: invalid value of surroundFormat"); in setSurroundFormatEnabled()
160 getErrPrintWriter().println("Error: no ringer mode specified"); in setRingerMode()
166 getErrPrintWriter().println( in setRingerMode()
189 getErrPrintWriter().println("Error: no surroundFormat specified"); in getIsSurroundFormatEnabled()
197 getErrPrintWriter().println("Error: wrong format specified for surroundFormat"); in getIsSurroundFormatEnabled()
202 getErrPrintWriter().println("Error: invalid value of surroundFormat"); in getIsSurroundFormatEnabled()
216 getErrPrintWriter().println("Error: no encodedSurroundMode specified"); in setEncodedSurroundMode()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java178 getErrPrintWriter().println("Error: bad number " + e); in getDisplayId()
180 getErrPrintWriter().println("Error: " + e); in getDisplayId()
219 getErrPrintWriter().println("Error: bad size " + size); in runDisplaySize()
228 getErrPrintWriter().println("Error: bad number " + e); in runDisplaySize()
260 getErrPrintWriter().println("Error: expected true, 1, false, 0, but got " + arg); in runSetBlurDisabled()
295 getErrPrintWriter().println("Error: bad number " + e); in runDisplayDensity()
300 getErrPrintWriter().println("Error: the uniqueId is invalid "); in runDisplayDensity()
317 getErrPrintWriter().println("Error: bad number " + e); in runDisplayDensity()
321 getErrPrintWriter().println("Error: density must be >= 72"); in runDisplayDensity()
359 getErrPrintWriter().println("Error: area should be LEFT,TOP,RIGHT,BOTTOM"); in runDisplayFoldedArea()
[all …]
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayShellCommand.java75 getErrPrintWriter().println("Error: CALLER_PACKAGE must be an installed package name"); in setLayerSaturation()
80 getErrPrintWriter().println("Error: TARGET_PACKAGE must be an installed package name"); in setLayerSaturation()
97 getErrPrintWriter().println("Error: Required argument LEVEL is unspecified"); in getLevel()
104 getErrPrintWriter().println("Error: LEVEL argument is not an integer"); in getLevel()
108 getErrPrintWriter() in getLevel()
/frameworks/base/services/core/java/com/android/server/apphibernation/
DAppHibernationShellCommand.java66 getErrPrintWriter().println("Error: Unknown option: " + opt); in runSetState()
72 getErrPrintWriter().println("Error: no package specified"); in runSetState()
78 getErrPrintWriter().println("Error: No state to set specified"); in runSetState()
104 getErrPrintWriter().println("Error: Unknown option: " + opt); in runGetState()
110 getErrPrintWriter().println("Error: No package specified"); in runGetState()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityShellCommand.java98 getErrPrintWriter().println("Error: no true/false specified"); in runSetBindInstantServiceAllowed()
138 getErrPrintWriter().print("Unknown subcommand " + subcommand); in checkHidraw()
146 getErrPrintWriter().println("Unable to read from " + hidrawNode); in checkHidrawRead()
157 getErrPrintWriter().println("Unable to write to " + hidrawNode); in checkHidrawWrite()
171 getErrPrintWriter().println("Unable to read descriptor for " + hidrawNode); in checkHidrawDescriptor()
189 getErrPrintWriter().println("Unknown option: " + option); in parseUserId()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerServiceShellCommand.java69 getErrPrintWriter().println("Error: no true/false specified"); in runSetBindInstantServiceAllowed()
85 getErrPrintWriter().println("USER_ALL not supported. Specify a user."); in parseUserId()
88 getErrPrintWriter().println("Invalid user: " + userId); in parseUserId()
94 getErrPrintWriter().println("Unknown option: " + option); in parseUserId()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java257 getErrPrintWriter().println( in onCommand()
452 final PrintWriter err = getErrPrintWriter(); in runCapabilities()
570 cmd.getErrPrintWriter().println( in makeIntent()
578 cmd.getErrPrintWriter().println( in makeIntent()
682 getErrPrintWriter().println("Error: Can't start service with user 'all'");
701 getErrPrintWriter().println("Error: Intent does not match any activities: "
705 getErrPrintWriter().println(
805 PrintWriter out = mWaitOption ? pw : getErrPrintWriter();
899 final PrintWriter err = getErrPrintWriter();
931 final PrintWriter err = getErrPrintWriter();
[all …]
/frameworks/base/services/core/java/com/android/server/resources/
DResourcesManagerShellCommand.java47 final PrintWriter err = getErrPrintWriter(); in onCommand()
71 getErrPrintWriter().println("RESOURCES DUMP FAILED on process " + processId); in dumpResources()
78 getErrPrintWriter().println("Exception while dumping resources: " + e.getMessage()); in dumpResources()
/frameworks/base/core/java/android/os/
DShellCommand.java73 getErrPrintWriter().println("Failure opening file: " + e.getMessage()); in openFileForSystem()
76 getErrPrintWriter().println("Error: Unable to open file: " + path); in openFileForSystem()
80 getErrPrintWriter().println("Consider using a file under " + suggestedPath); in openFileForSystem()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java501 getErrPrintWriter().println("Error: no package specified"); in runLogVisibility()
686 getErrPrintWriter().println("Error: Can't open file: " + inPath); in setParamsSize()
708 getErrPrintWriter().println("Error: Failed to parse APK file: " + inPath); in setParamsSize()
751 getErrPrintWriter().println("Error: no package specified"); in runPath()
1062 getErrPrintWriter().println("Error: " + ex.toString()); in runListPackages()
1868 getErrPrintWriter().println("Failed to get archived package, reason: " + e); in runGetArchivedPackageMetadata()
1965 getErrPrintWriter().println("Failed to get storage stats, reason: " + e); in runGetPackageStorageStats()
2045 getErrPrintWriter().println("Error: no install location specified."); in runSetInstallLocation()
2051 getErrPrintWriter().println("Error: install location has to be a number."); in runSetInstallLocation()
2055 getErrPrintWriter().println("Error: install location has to be a number."); in runSetInstallLocation()
[all …]
DUserManagerServiceShellCommand.java323 getErrPrintWriter().println("You can use --reboot or --no-restart, but not both"); in runSetSystemUserModeEmulation()
343 getErrPrintWriter().printf("Invalid arg: %s\n", mode); in runSetSystemUserModeEmulation()
572 getErrPrintWriter().println("Command not available on user builds"); in confirmBuildIsDebuggable()
585 getErrPrintWriter().println("Command only available on root user"); in confirmIsCalledByRoot()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsShellCommand.java88 getErrPrintWriter().println( in onCommand()
137 getErrPrintWriter().println("Unknown command: " + cmd); in onCommand()
142 getErrPrintWriter().println("Error while executing command: " + cmd); in onCommand()
143 e.printStackTrace(getErrPrintWriter()); in onCommand()
212 getErrPrintWriter().println("Unknown option: " + opt); in parseArgs()
292 getErrPrintWriter().println("Unsupported reason: " + reason); in runRequireStrongAuth()
/frameworks/base/services/core/java/com/android/server/locales/
DLocaleManagerShellCommand.java97 final PrintWriter err = getErrPrintWriter(); in runSetAppLocales()
144 final PrintWriter err = getErrPrintWriter(); in runGetAppLocales()
211 final PrintWriter err = getErrPrintWriter(); in runSetAppOverrideLocaleConfig()
257 final PrintWriter err = getErrPrintWriter(); in runGetAppOverrideLocaleConfig()
/frameworks/base/services/print/java/com/android/server/print/
DPrintShellCommand.java75 getErrPrintWriter().println("Error: no true/false specified"); in runSetBindInstantServiceAllowed()
92 getErrPrintWriter().println("Unknown option: " + option); in parseUserId()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerShellCommand.java83 final PrintWriter err = getErrPrintWriter(); in onCommand()
161 final PrintWriter err = getErrPrintWriter(); in runList()
235 final PrintWriter err = getErrPrintWriter(); in runEnableDisable()
266 final PrintWriter err = getErrPrintWriter(); in runFabricate()
344 final PrintWriter err = getErrPrintWriter(); in addOverlayValuesFromXml()
443 final PrintWriter err = getErrPrintWriter(); in runEnableExclusive()
470 final PrintWriter err = getErrPrintWriter(); in runSetPriority()
499 final PrintWriter err = getErrPrintWriter(); in runLookup()
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemShellCommand.java57 getErrPrintWriter().println("Error while executing command: " + cmd); in onCommand()
58 e.printStackTrace(getErrPrintWriter()); in onCommand()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java130 final PrintWriter perr = getErrPrintWriter(); in onCommand()
306 getErrPrintWriter().println("Invalid table; no list performed"); in listForUser()
332 getErrPrintWriter().println("Invalid table; no put performed"); in getForUser()
366 getErrPrintWriter().println("Invalid table; no put performed"); in putForUser()
399 getErrPrintWriter().println("Invalid table; no delete performed"); in deleteForUser()
422 getErrPrintWriter().println("Invalid table; no reset performed"); in resetForUser()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlShellCommand.java66 getErrPrintWriter().println( in onCommand()
322 getErrPrintWriter().println(command + " timed out."); in receiveCallback()
326 getErrPrintWriter().println("Caught InterruptedException"); in receiveCallback()
/frameworks/base/services/core/java/com/android/server/security/rkp/
DRemoteProvisioningShellCommand.java126 e.printStackTrace(getErrPrintWriter()); in onCommand()
175 getErrPrintWriter().println("error: unknown option " + opt); in csr()
200 getErrPrintWriter().println("error: unsupported hwVersion: " + info.versionNumber); in csr()
/frameworks/base/services/core/java/com/android/server/testharness/
DTestHarnessModeService.java309 getErrPrintWriter().println("Invalid option: " + opt); in onCommand()
318 getErrPrintWriter().println( in onCommand()
358 getErrPrintWriter().println("Failed to enable Test Harness Mode"); in handleEnable()
364 getErrPrintWriter().println("Failed to enable Test Harness Mode"); in handleEnable()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java136 pw = getErrPrintWriter(); in printError()
144 pw = getErrPrintWriter(); in printError()
158 pw = getErrPrintWriter(); in printError()
342 getErrPrintWriter().println("Error: unknown option " + opt); in monitorBattery()
637 getErrPrintWriter().println("Error: unknown option " + opt); in cacheConfigChanges()
773 getErrPrintWriter().println("Error: unknown option " + opt); in triggerDockState()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBasicShellCommandHandler.java104 PrintWriter eout = getErrPrintWriter(); in exec()
169 public PrintWriter getErrPrintWriter() { in getErrPrintWriter() method in BasicShellCommandHandler

12