Home
last modified time | relevance | path

Searched refs:println (Results 1 – 25 of 1324) sorted by relevance

12345678910>>...53

/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java71 pw.println("AutoFill Service (autofill) commands:"); in onHelp()
72 pw.println(" help"); in onHelp()
73 pw.println(" Prints this help text."); in onHelp()
74 pw.println(""); in onHelp()
75 pw.println(" get log_level "); in onHelp()
76 pw.println(" Gets the Autofill log level (off | debug | verbose)."); in onHelp()
77 pw.println(""); in onHelp()
78 pw.println(" get max_partitions"); in onHelp()
79 pw.println(" Gets the maximum number of partitions per session."); in onHelp()
80 pw.println(""); in onHelp()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java108 pw.println("Not handled, please use " in onCommand()
147 pw.println("Remote exception: " + e); in onCommand()
159 getErrPrintWriter().println("Error: bad number " + e); in getDisplayId()
161 getErrPrintWriter().println("Error: " + e); in getDisplayId()
174 pw.println("Physical size: " + initialSize.x + "x" + initialSize.y); in printInitialDisplaySize()
176 pw.println("Override size: " + baseSize.x + "x" + baseSize.y); in printInitialDisplaySize()
181 pw.println("Remote exception: " + e); in printInitialDisplaySize()
200 getErrPrintWriter().println("Error: bad size " + size); in runDisplaySize()
209 getErrPrintWriter().println("Error: bad number " + e); in runDisplaySize()
225 pw.println("Blur supported on device: " + CROSS_WINDOW_BLUR_SUPPORTED); in runSetBlurDisabled()
[all …]
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarShellCommand.java68 pw.println(String.valueOf(TileService.isQuickSettingsSupported())); in onCommand()
93 pw.println("Remote exception: " + e); in onCommand()
131 pw.println(icon); in runGetStatusIcons()
226 pw.println("Status bar commands:"); in onHelp()
227 pw.println(" help"); in onHelp()
228 pw.println(" Print this help text."); in onHelp()
229 pw.println(""); in onHelp()
230 pw.println(" expand-notifications"); in onHelp()
231 pw.println(" Open the notifications panel."); in onHelp()
232 pw.println(""); in onHelp()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerShellCommand.java93 pw.println("Display manager commands:"); in onHelp()
94 pw.println(" help"); in onHelp()
95 pw.println(" Print this help text."); in onHelp()
96 pw.println(); in onHelp()
97 pw.println(" set-brightness BRIGHTNESS"); in onHelp()
98 pw.println(" Sets the current brightness to BRIGHTNESS (a number between 0 and 1)."); in onHelp()
99 pw.println(" reset-brightness-configuration"); in onHelp()
100 pw.println(" Reset the brightness to its default configuration."); in onHelp()
101 pw.println(" ab-logging-enable"); in onHelp()
102 pw.println(" Enable auto-brightness logging."); in onHelp()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java80 pw.println("Exception: " + e); in onCommand()
107 pw.println(userId); in printError()
117 pw.println(userId); in printError()
128 pw.println(" has functional constraints but --force not specified"); in printError()
162 pw.println("Error: unknown option '" + opt + "'"); in runJob()
168 pw.println("Cannot specify both --force and --satisfied"); in runJob()
187 pw.println(); in runJob()
209 pw.println("Error: unknown option '" + opt + "'"); in timeout()
244 pw.println("Error: unknown option '" + opt + "'"); in cancelJob()
250 pw.println("Error: must specify a concrete user ID"); in cancelJob()
[all …]
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceShellCommand.java58 out.println(association.getPackageName() + " " in onCommand()
116 getErrPrintWriter().println(Log.getStackTraceString(t)); in onCommand()
124 pw.println("Companion Device Manager (companiondevice) commands:"); in onHelp()
125 pw.println(" help"); in onHelp()
126 pw.println(" Print this help text."); in onHelp()
127 pw.println(" list USER_ID"); in onHelp()
128 pw.println(" List all Associations for a user."); in onHelp()
129 pw.println(" associate USER_ID PACKAGE MAC_ADDRESS"); in onHelp()
130 pw.println(" Create a new Association."); in onHelp()
131 pw.println(" disassociate USER_ID PACKAGE MAC_ADDRESS"); in onHelp()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsShellCommand.java91 getErrPrintWriter().println( in onCommand()
141 getErrPrintWriter().println("Unknown command: " + cmd); in onCommand()
146 getErrPrintWriter().println("Error while executing command: " + cmd); in onCommand()
154 getOutPrintWriter().println("Lock credential verified successfully"); in runVerify()
160 pw.println("lockSettings service commands:"); in onHelp()
161 pw.println(""); in onHelp()
162 pw.println("NOTE: when lock screen is set, all commands require the --old <CREDENTIAL>" in onHelp()
164 pw.println(""); in onHelp()
165 pw.println(" help"); in onHelp()
166 pw.println(" Prints this help text."); in onHelp()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationShell.java54 pw.println(" get-app-links [--user <USER_ID>] [<PACKAGE>]"); in printHelp()
55 pw.println(" Prints the domain verification state for the given package, or for all"); in printHelp()
56 pw.println(" packages if none is specified. State codes are defined as follows:"); in printHelp()
57 pw.println(" - none: nothing has been recorded for this domain"); in printHelp()
58 pw.println(" - verified: the domain has been successfully verified"); in printHelp()
59 pw.println(" - approved: force approved, usually through shell"); in printHelp()
60 pw.println(" - denied: force denied, usually through shell"); in printHelp()
61 pw.println(" - migrated: preserved verification from a legacy response"); in printHelp()
62 pw.println(" - restored: preserved verification from a user data restore"); in printHelp()
63 pw.println(" - legacy_failure: rejected by a legacy verifier, unknown reason"); in printHelp()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java225 getOutPrintWriter().println("Error: must be invoked through 'am instrument'."); in onCommand()
357 pw.println("Remote exception: " + e); in onCommand()
402 cmd.getErrPrintWriter().println( in makeIntent()
410 cmd.getErrPrintWriter().println( in makeIntent()
475 System.err.println("Thread interrupted unexpectedly.");
490 getErrPrintWriter().println("Error: Can't start service with user 'all'");
513 getErrPrintWriter().println("Error: Intent does not match any activities: "
517 getErrPrintWriter().println(
524 pw.println("Stopping: " + packageName);
547 pw.println("Starting: " + intent);
[all …]
/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java139 out.println(" /* @hide C function " + jfunc.getCFunc().getOriginal() + " */"); in emitNativeDeclaration()
140 out.println(); in emitNativeDeclaration()
142 out.println(" // C function " + jfunc.getCFunc().getOriginal()); in emitNativeDeclaration()
143 out.println(); in emitNativeDeclaration()
168 out.println(iii + in emitFunctionCall()
171 out.println(iii + in emitFunctionCall()
185 out.println(iii + indent + "get" + typeName + "Array(" + argName + "),"); in emitFunctionCall()
192 out.println(","); in emitFunctionCall()
193 out.println(iii + indent + argName + ".remaining()"); in emitFunctionCall()
195 out.println(); in emitFunctionCall()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java373 pw.println("Remote exception: " + e); in onCommand()
397 pw.println("Error: Unknown option: " + opt); in runGetModuleInfo()
406 pw.println(m.toString() + " packageName: " + m.getPackageName()); in runGetModuleInfo()
411 pw.println(m.toString() + " packageName: " + m.getPackageName()); in runGetModuleInfo()
415 pw.println("Failure [" + e.getClass().getName() + " - " + e.getMessage() + "]"); in runGetModuleInfo()
435 pw.println("Error: Unknown option: " + opt); in runLogVisibility()
445 getErrPrintWriter().println("Error: no package specified"); in runLogVisibility()
458 pw.println("Failure [" in runBypassStagedInstallerCheck()
472 pw.println("Failure [" in runBypassAllowedApexUpdateCheck()
499 pw.println("Uninstalling updates to " + info.packageName + "..."); in uninstallSystemUpdates()
[all …]
DOtaDexoptShellCommand.java58 pw.println("Remote exception: " + e); in onCommand()
65 getOutPrintWriter().println("Success"); in runOtaPrepare()
77 pw.println("OTA complete."); in runOtaDone()
79 pw.println("OTA incomplete."); in runOtaDone()
90 getOutPrintWriter().println(mInterface.nextDexoptCommand()); in runOtaNext()
107 pw.println("OTA Dexopt (ota) commands:"); in onHelp()
108 pw.println(" help"); in onHelp()
109 pw.println(" Print this help text."); in onHelp()
110 pw.println(""); in onHelp()
111 pw.println(" prepare"); in onHelp()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java70 pw.println("Remote exception: " + e); in onCommand()
78 pw.println("Network policy manager (netpolicy) commands:"); in onHelp()
79 pw.println(" help"); in onHelp()
80 pw.println(" Print this help text."); in onHelp()
81 pw.println(""); in onHelp()
82 pw.println(" add restrict-background-whitelist UID"); in onHelp()
83 pw.println(" Adds a UID to the whitelist for restrict background usage."); in onHelp()
84 pw.println(" add restrict-background-blacklist UID"); in onHelp()
85 pw.println(" Adds a UID to the blacklist for restrict background usage."); in onHelp()
86 pw.println(" add app-idle-whitelist UID"); in onHelp()
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerShellCommand.java70 pw.println("Remote exception: " + e); in onCommand()
86 pw.println("Error: " + ex.toString()); in runSetMode()
99 ew.println("Failed to set FIXED_PERFORMANCE mode"); in runSetFixedPerformanceModeEnabled()
100 ew.println("This is likely because Power HAL AIDL is not implemented on this device"); in runSetFixedPerformanceModeEnabled()
113 pw.println("Error: " + ex.toString()); in runSuppressAmbientDisplay()
124 pw.println("none"); in runListAmbientDisplaySuppressionTokens()
126 pw.println(String.format("[%s]", String.join(", ", tokens))); in runListAmbientDisplaySuppressionTokens()
138 pw.println("Wakelocks:"); in runSetProx()
139 pw.println(mProxWakelocks); in runSetProx()
148 pw.println("Error: Allowed options are 'list' 'enable' and 'disable'."); in runSetProx()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DLocationShellCommand.java131 getOutPrintWriter().println(mService.isLocationEnabledForUser(userId)); in handleIsLocationEnabled()
173 getOutPrintWriter().println(mService.isAdasGnssLocationEnabledForUser(userId)); in handleIsAdasGnssLocationEnabled()
215 getOutPrintWriter().println(mService.isAutomotiveGnssSuspended()); in handleIsAutomotiveGnssSuspended()
372 pw.println("Location service commands:"); in onHelp()
373 pw.println(" help or -h"); in onHelp()
374 pw.println(" Print this help text."); in onHelp()
375 pw.println(" is-location-enabled [--user <USER_ID>]"); in onHelp()
376 pw.println(" Gets the master location switch enabled state. If no user is specified,"); in onHelp()
377 pw.println(" the current user is assumed."); in onHelp()
378 pw.println(" set-location-enabled true|false [--user <USER_ID>]"); in onHelp()
[all …]
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java92 System.err.println("Exception caught:"); in main()
110 System.err.println(BMGR_NOT_RUNNING_ERR); in run()
198 System.err.println("Unknown command"); in run()
203 System.err.println(e.toString()); in handleRemoteException()
204 System.err.println(BMGR_NOT_RUNNING_ERR); in handleRemoteException()
210 System.err.println(BMGR_NOT_ACTIVATED_FOR_USER + userId); in isBackupActive()
231 System.out.println( in doAutoRestore()
247 System.out.println("Backup Manager currently " in doActivated()
262 System.out.println("Backup Manager currently " in doEnabled()
279 System.out.println("Backup Manager now " + enableToString(enable)); in doEnable()
[all …]
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerServiceShellCommand.java66 pw.println("ContentCapture Service (content_capture) commands:"); in onHelp()
67 pw.println(" help"); in onHelp()
68 pw.println(" Prints this help text."); in onHelp()
69 pw.println(""); in onHelp()
70 pw.println(" get bind-instant-service-allowed"); in onHelp()
71 pw.println(" Gets whether binding to services provided by instant apps is allowed"); in onHelp()
72 pw.println(""); in onHelp()
73 pw.println(" set bind-instant-service-allowed [true | false]"); in onHelp()
74 pw.println(" Sets whether binding to services provided by instant apps is allowed"); in onHelp()
75 pw.println(""); in onHelp()
[all …]
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerShellCommand.java102 pw.println(mService.isBlobAvailable(args.blobId, args.userId) ? 1 : 0); in runQueryBlobExistence()
109 pw.println("BlobStore service (blob_store) commands:"); in onHelp()
110 pw.println("help"); in onHelp()
111 pw.println(" Print this help text."); in onHelp()
112 pw.println(); in onHelp()
113 pw.println("clear-all-sessions [-u | --user USER_ID]"); in onHelp()
114 pw.println(" Remove all sessions."); in onHelp()
115 pw.println(" Options:"); in onHelp()
116 pw.println(" -u or --user: specify which user's sessions to be removed."); in onHelp()
117 pw.println(" If not specified, sessions in all users are removed."); in onHelp()
[all …]
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerShellCommand.java78 pw.println("Committed state: " + toString(committedState)); in printAllStates()
80 pw.println("----------------------"); in printAllStates()
81 pw.println("Base state: " + toString(baseState)); in printAllStates()
82 pw.println("Override state: " + overrideState.get()); in printAllStates()
109 getErrPrintWriter().println("Error: requested state should be an integer"); in runState()
112 getErrPrintWriter().println("Error: " + e.getMessage()); in runState()
113 getErrPrintWriter().println("-------------------"); in runState()
114 getErrPrintWriter().println("Run:"); in runState()
115 getErrPrintWriter().println(""); in runState()
116 getErrPrintWriter().println(" print-states"); in runState()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlShellCommand.java50 getOutPrintWriter().println(" done (" + getResultString(result) + ")"); in HdmiControlShellCommand()
66 getErrPrintWriter().println( in onCommand()
77 pw.println("HdmiControlManager (hdmi_control) commands:"); in onHelp()
78 pw.println(" help"); in onHelp()
79 pw.println(" Print this help text."); in onHelp()
80 pw.println(" onetouchplay, otp"); in onHelp()
81 pw.println(" Send the \"One Touch Play\" feature from a source to the TV"); in onHelp()
82 pw.println(" vendorcommand --device_type <originating device type>"); in onHelp()
83 pw.println(" --destination <destination device>"); in onHelp()
84 pw.println(" --args <vendor specific arguments>"); in onHelp()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DAudioManagerShellCommand.java57 pw.println("Audio manager commands:"); in onHelp()
58 pw.println(" help"); in onHelp()
59 pw.println(" Print this help text."); in onHelp()
60 pw.println(); in onHelp()
61 pw.println(" set-surround-format-enabled SURROUND_FORMAT IS_ENABLED"); in onHelp()
62 pw.println(" Enables/disabled the SURROUND_FORMAT based on IS_ENABLED"); in onHelp()
63 pw.println(" get-is-surround-format-enabled SURROUND_FORMAT"); in onHelp()
64 pw.println(" Returns if the SURROUND_FORMAT is enabled"); in onHelp()
65 pw.println(" set-encoded-surround-mode SURROUND_SOUND_MODE"); in onHelp()
66 pw.println(" Sets the encoded surround sound mode to SURROUND_SOUND_MODE"); in onHelp()
[all …]
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerShellCommand.java86 err.println("Error: " + e.getMessage()); in onCommand()
88 err.println("Remote exception: " + e); in onCommand()
96 out.println("Overlay manager (overlay) commands:"); in onHelp()
97 out.println(" help"); in onHelp()
98 out.println(" Print this help text."); in onHelp()
99 out.println(" dump [--verbose] [--user USER_ID] [[FIELD] PACKAGE[:NAME]]"); in onHelp()
100 out.println(" Print debugging information about the overlay manager."); in onHelp()
101 out.println(" With optional parameters PACKAGE and NAME, limit output to the specified"); in onHelp()
102 out.println(" overlay or target. With optional parameter FIELD, limit output to"); in onHelp()
103 out.println(" the corresponding SettingsItem field. Field names are all lower case"); in onHelp()
[all …]
/frameworks/base/tools/preload/
DPrintHtmlDiff.java73 out.println("<html><body>"); in main()
74 out.println("<style>"); in main()
75 out.println("a, th, td, h2 { font-family: arial }"); in main()
76 out.println("th, td { font-size: small }"); in main()
77 out.println("</style>"); in main()
78 out.println("<script src=\"sorttable.js\"></script>"); in main()
79 out.println("<p><a href=\"#removed\">Removed</a>"); in main()
80 out.println("<a name=\"added\"/><h2>Added</h2>"); in main()
82 out.println("<a name=\"removed\"/><h2>Removed</h2>"); in main()
84 out.println("</body></html>"); in main()
[all …]
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerShellCommand.java106 pw.println("Error: " + e); in onCommand()
120 pw.println("No interventions found for " + packageName); in runGameList()
122 pw.println(packageName + " interventions: " + listStr); in runGameList()
163 pw.println("Game mode: " + gameMode + " not supported by " in runGameMode()
174 pw.println("Game mode: " + gameMode + " not supported by " in runGameMode()
180 pw.println("Invalid game mode: " + gameMode); in runGameMode()
189 pw.println("Invalid option '" + option + "'"); in runSetGameMode()
208 pw.println("Duplicate option '" + option + "'"); in runSetGameMode()
218 pw.println("Invalid scaling ratio '" + downscaleRatio + "'"); in runSetGameMode()
222 pw.println("Duplicate option '" + option + "'"); in runSetGameMode()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DProtoLogController.java50 pw.println(mShellProtoLog.getStatus()); in onShellCommand()
65 pw.println("Starting logging on groups: " + Arrays.toString(groups)); in onShellCommand()
74 pw.println("Stopping logging on groups: " + Arrays.toString(groups)); in onShellCommand()
89 pw.println("Logging to proto is not enabled for WMShell."); in onShellCommand()
97 pw.println("Invalid command: " + args[0]); in onShellCommand()
106 pw.println(prefix + "status"); in printShellCommandHelp()
107 pw.println(prefix + " Get current ProtoLog status."); in printShellCommandHelp()
108 pw.println(prefix + "start"); in printShellCommandHelp()
109 pw.println(prefix + " Start proto logging."); in printShellCommandHelp()
110 pw.println(prefix + "stop"); in printShellCommandHelp()
[all …]

12345678910>>...53