/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceShellCommand.java | 50 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 53 return requestList(pw); in onCommand() 55 return requestDestroy(pw); in onCommand() 59 return requestGet(pw); in onCommand() 61 return requestSet(pw); in onCommand() 69 try (final PrintWriter pw = getOutPrintWriter();) { in onHelp() argument 70 pw.println("AutoFill Service (autofill) commands:"); in onHelp() 71 pw.println(" help"); in onHelp() 72 pw.println(" Prints this help text."); in onHelp() 73 pw.println(""); in onHelp() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerShellCommand.java | 44 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 48 return runJob(pw); in onCommand() 50 return timeout(pw); in onCommand() 52 return cancelJob(pw); in onCommand() 54 return monitorBattery(pw); in onCommand() 56 return getBatterySeq(pw); in onCommand() 58 return getBatteryCharging(pw); in onCommand() 60 return getBatteryNotLow(pw); in onCommand() 62 return getStorageSeq(pw); in onCommand() 64 return getStorageNotLow(pw); in onCommand() [all …]
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | IndentingPrintWriterTest.java | 41 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testMultipleIndents() local 43 pw.print("Hello"); in testMultipleIndents() 44 pw.increaseIndent(); in testMultipleIndents() 45 pw.println(); in testMultipleIndents() 46 pw.print("World"); in testMultipleIndents() 47 pw.increaseIndent(); in testMultipleIndents() 48 pw.println(); in testMultipleIndents() 49 pw.print("And"); in testMultipleIndents() 50 pw.decreaseIndent(); in testMultipleIndents() 51 pw.println(); in testMultipleIndents() [all …]
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCaptureManagerServiceShellCommand.java | 48 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 51 return requestList(pw); in onCommand() 53 return requestDestroy(pw); in onCommand() 55 return requestGet(pw); in onCommand() 57 return requestSet(pw); in onCommand() 65 try (PrintWriter pw = getOutPrintWriter();) { in onHelp() argument 66 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() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerConstants.java | 517 void dump(PrintWriter pw) { 518 pw.println("ACTIVITY MANAGER SETTINGS (dumpsys activity settings) " 521 pw.print(" "); pw.print(KEY_MAX_CACHED_PROCESSES); pw.print("="); 522 pw.println(MAX_CACHED_PROCESSES); 523 pw.print(" "); pw.print(KEY_BACKGROUND_SETTLE_TIME); pw.print("="); 524 pw.println(BACKGROUND_SETTLE_TIME); 525 pw.print(" "); pw.print(KEY_FGSERVICE_MIN_SHOWN_TIME); pw.print("="); 526 pw.println(FGSERVICE_MIN_SHOWN_TIME); 527 pw.print(" "); pw.print(KEY_FGSERVICE_MIN_REPORT_TIME); pw.print("="); 528 pw.println(FGSERVICE_MIN_REPORT_TIME); [all …]
|
D | BroadcastRecord.java | 118 void dump(PrintWriter pw, String prefix, SimpleDateFormat sdf) { in dump() argument 121 pw.print(prefix); pw.print(this); pw.print(" to user "); pw.println(userId); in dump() 122 pw.print(prefix); pw.println(intent.toInsecureString()); in dump() 124 pw.print(prefix); pw.print(" targetComp: "); pw.println(targetComp.toShortString()); in dump() 128 pw.print(prefix); pw.print(" extras: "); pw.println(bundle.toString()); in dump() 130 pw.print(prefix); pw.print("caller="); pw.print(callerPackage); pw.print(" "); in dump() 131 pw.print(callerApp != null ? callerApp.toShortString() : "null"); in dump() 132 pw.print(" pid="); pw.print(callingPid); in dump() 133 pw.print(" uid="); pw.println(callingUid); in dump() 136 pw.print(prefix); pw.print("requiredPermissions="); in dump() [all …]
|
D | ActivityManagerShellCommand.java | 172 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 177 return runStartActivity(pw); in onCommand() 180 return runStartService(pw, false); in onCommand() 185 return runStartService(pw, true); in onCommand() 188 return runStopService(pw); in onCommand() 190 return runSendBroadcast(pw); in onCommand() 195 return runTraceIpc(pw); in onCommand() 197 return runProfile(pw); in onCommand() 199 return runDumpHeap(pw); in onCommand() 201 return runSetDebugApp(pw); in onCommand() [all …]
|
D | ProcessRecord.java | 321 void dump(PrintWriter pw, String prefix) { in dump() argument 324 pw.print(prefix); pw.print("user #"); pw.print(userId); in dump() 325 pw.print(" uid="); pw.print(info.uid); in dump() 327 pw.print(" ISOLATED uid="); pw.print(uid); in dump() 329 pw.print(" gids={"); in dump() 332 if (gi != 0) pw.print(", "); in dump() 333 pw.print(gids[gi]); in dump() 337 pw.println("}"); in dump() 338 pw.print(prefix); pw.print("mRequiredAbi="); pw.print(mRequiredAbi); in dump() 339 pw.print(" instructionSet="); pw.println(instructionSet); in dump() [all …]
|
D | BroadcastStats.java | 109 public boolean dumpStats(PrintWriter pw, String prefix, String dumpPackage) { in dumpStats() argument 122 pw.print(prefix); in dumpStats() 123 pw.print(ae.mAction); in dumpStats() 124 pw.println(":"); in dumpStats() 125 pw.print(prefix); in dumpStats() 126 pw.print(" Number received: "); in dumpStats() 127 pw.print(ae.mReceiveCount); in dumpStats() 128 pw.print(", skipped: "); in dumpStats() 129 pw.println(ae.mSkipCount); in dumpStats() 130 pw.print(prefix); in dumpStats() [all …]
|
D | BroadcastConstants.java | 129 public void dump(PrintWriter pw) { in dump() argument 131 pw.println(); in dump() 132 pw.print(" Broadcast parameters (key="); in dump() 133 pw.print(mSettingsKey); in dump() 134 pw.print(", observing="); in dump() 135 pw.print(mSettingsObserver != null); in dump() 136 pw.println("):"); in dump() 138 pw.print(" "); pw.print(KEY_TIMEOUT); pw.print(" = "); in dump() 139 TimeUtils.formatDuration(TIMEOUT, pw); in dump() 140 pw.println(); in dump() [all …]
|
D | ActiveInstrumentation.java | 98 void dump(PrintWriter pw, String prefix) { in dump() argument 99 pw.print(prefix); pw.print("mClass="); pw.print(mClass); in dump() 100 pw.print(" mFinished="); pw.println(mFinished); in dump() 101 pw.print(prefix); pw.println("mRunningProcesses:"); in dump() 103 pw.print(prefix); pw.print(" #"); pw.print(i); pw.print(": "); in dump() 104 pw.println(mRunningProcesses.get(i)); in dump() 106 pw.print(prefix); pw.print("mTargetProcesses="); in dump() 107 pw.println(Arrays.toString(mTargetProcesses)); in dump() 108 pw.print(prefix); pw.print("mTargetInfo="); in dump() 109 pw.println(mTargetInfo); in dump() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerShellCommand.java | 48 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 65 pw.println("Remote exception: " + e); in onCommand() 72 final PrintWriter pw = getOutPrintWriter(); in onHelp() local 73 pw.println("Network policy manager (netpolicy) commands:"); in onHelp() 74 pw.println(" help"); in onHelp() 75 pw.println(" Print this help text."); in onHelp() 76 pw.println(""); in onHelp() 77 pw.println(" add restrict-background-whitelist UID"); in onHelp() 78 pw.println(" Adds a UID to the whitelist for restrict background usage."); in onHelp() 79 pw.println(" add restrict-background-blacklist UID"); in onHelp() [all …]
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarShellCommand.java | 66 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 67 pw.println(String.valueOf(TileService.isQuickSettingsSupported())); in onCommand() 79 final PrintWriter pw = getOutPrintWriter(); in onCommand() 80 pw.println("Remote exception: " + e); in onCommand() 116 final PrintWriter pw = getOutPrintWriter(); in runGetStatusIcons() local 118 pw.println(icon); in runGetStatusIcons() 190 final PrintWriter pw = getOutPrintWriter(); in onHelp() local 191 pw.println("Status bar commands:"); in onHelp() 192 pw.println(" help"); in onHelp() 193 pw.println(" Print this help text."); in onHelp() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiShellCommand.java | 73 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 84 pw.println( in onCommand() 93 pw.println("IPREACH_DISCONNECT state is " in onCommand() 101 pw.println( in onCommand() 108 pw.println( in onCommand() 117 pw.println("ClientModeImpl.mPollRssiIntervalMsecs = " in onCommand() 128 pw.println( in onCommand() 134 pw.println("Command execution failed"); in onCommand() 146 pw.println( in onCommand() 152 pw.println("Command execution failed"); in onCommand() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 154 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 299 pw.println("Remote exception: " + e); in onCommand() 311 final PrintWriter pw = getOutPrintWriter(); in runGetModuleInfo() local 323 pw.println("Error: Unknown option: " + opt); in runGetModuleInfo() 332 pw.println(m.toString() + " packageName: " + m.getPackageName()); in runGetModuleInfo() 337 pw.println(m.toString() + " packageName: " + m.getPackageName()); in runGetModuleInfo() 341 pw.println("Failure [" + e.getClass().getName() + " - " + e.getMessage() + "]"); in runGetModuleInfo() 348 final PrintWriter pw = getOutPrintWriter(); in uninstallSystemUpdates() local 358 pw.println("Uninstalling updates to " + info.packageName + "..."); in uninstallSystemUpdates() 373 pw.println("Failure [" in uninstallSystemUpdates() [all …]
|
D | OtaDexoptShellCommand.java | 39 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 58 pw.println("Remote exception: " + e); in onCommand() 75 final PrintWriter pw = getOutPrintWriter(); in runOtaDone() local 77 pw.println("OTA complete."); in runOtaDone() 79 pw.println("OTA incomplete."); in runOtaDone() 96 final PrintWriter pw = getOutPrintWriter(); in runOtaProgress() local 100 pw.format(Locale.ROOT, "%.2f", progress); in runOtaProgress() 106 final PrintWriter pw = getOutPrintWriter(); in onHelp() local 107 pw.println("OTA Dexopt (ota) commands:"); in onHelp() 108 pw.println(" help"); in onHelp() [all …]
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | DumpUtils.java | 169 public static void printScreenLabel(PrintWriter pw, int offset) { in printScreenLabel() argument 172 pw.print(" "); in printScreenLabel() 175 pw.print("SOff/"); in printScreenLabel() 178 pw.print(" SOn/"); in printScreenLabel() 181 pw.print("????/"); in printScreenLabel() 186 public static void printScreenLabelCsv(PrintWriter pw, int offset) { in printScreenLabelCsv() argument 191 pw.print(ADJ_SCREEN_NAMES_CSV[0]); in printScreenLabelCsv() 194 pw.print(ADJ_SCREEN_NAMES_CSV[1]); in printScreenLabelCsv() 197 pw.print("???"); in printScreenLabelCsv() 202 public static void printMemLabel(PrintWriter pw, int offset, char sep) { in printMemLabel() argument [all …]
|
D | ProcessState.java | 827 public void dumpSummary(PrintWriter pw, String prefix, String header, in dumpSummary() argument 830 pw.print(prefix); in dumpSummary() 831 pw.print("* "); in dumpSummary() 833 pw.print(header); in dumpSummary() 835 pw.print(mName); in dumpSummary() 836 pw.print(" / "); in dumpSummary() 837 UserHandle.formatUid(pw, mUid); in dumpSummary() 838 pw.print(" / v"); in dumpSummary() 839 pw.print(mVersion); in dumpSummary() 840 pw.println(":"); in dumpSummary() [all …]
|
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/ |
D | ContentSuggestionsManagerServiceShellCommand.java | 44 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 47 return requestSet(pw); in onCommand() 49 return requestGet(pw); in onCommand() 57 try (PrintWriter pw = getOutPrintWriter()) { in onHelp() argument 58 pw.println("ContentSuggestionsManagerService commands:"); in onHelp() 59 pw.println(" help"); in onHelp() 60 pw.println(" Prints this help text."); in onHelp() 61 pw.println(""); in onHelp() 62 pw.println(" set temporary-service USER_ID [COMPONENT_NAME DURATION]"); in onHelp() 63 pw.println(" Temporarily (for DURATION ms) changes the service implementation."); in onHelp() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowTracing.java | 91 void startTrace(@Nullable PrintWriter pw) { in startTrace() argument 93 logAndPrintln(pw, "Error: Tracing is not supported on user builds."); in startTrace() 97 logAndPrintln(pw, "Start tracing to " + mTraceFile + "."); in startTrace() 108 void stopTrace(@Nullable PrintWriter pw) { in stopTrace() argument 109 stopTrace(pw, true /* writeToFile */); in stopTrace() 117 void stopTrace(@Nullable PrintWriter pw, boolean writeToFile) { in stopTrace() argument 119 logAndPrintln(pw, "Error: Tracing is not supported on user builds."); in stopTrace() 123 logAndPrintln(pw, "Stop tracing to " + mTraceFile + ". Waiting for traces to flush."); in stopTrace() 127 logAndPrintln(pw, "ERROR: tracing was re-enabled while waiting for flush."); in stopTrace() 132 logAndPrintln(pw, "Trace written to " + mTraceFile + "."); in stopTrace() [all …]
|
D | WindowManagerShellCommand.java | 58 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 62 return runDisplaySize(pw); in onCommand() 64 return runDisplayDensity(pw); in onCommand() 66 return runDisplayFoldedArea(pw); in onCommand() 68 return runDisplayOverscan(pw); in onCommand() 70 return runDisplayScaling(pw); in onCommand() 72 return runDismissKeyguard(pw); in onCommand() 79 return runSetDisplayUserRotation(pw); in onCommand() 81 return runSetFixToUserRotation(pw); in onCommand() 86 pw.println("Remote exception: " + e); in onCommand() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | JobStatus.java | 687 public void printUniqueId(PrintWriter pw) { in printUniqueId() argument 688 UserHandle.formatUid(pw, callingUid); in printUniqueId() 689 pw.print("/"); in printUniqueId() 690 pw.print(job.getId()); in printUniqueId() 1225 private void formatRunTime(PrintWriter pw, long runtime, long defaultValue, long now) { in formatRunTime() argument 1227 pw.print("none"); in formatRunTime() 1229 TimeUtils.formatDuration(runtime - now, pw); in formatRunTime() 1283 void dumpConstraints(PrintWriter pw, int constraints) { in dumpConstraints() argument 1285 pw.print(" CHARGING"); in dumpConstraints() 1288 pw.print(" BATTERY_NOT_LOW"); in dumpConstraints() [all …]
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateServiceShellCommand.java | 37 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 50 pw.println("Remote exception: " + e); in onCommand() 56 final PrintWriter pw = getOutPrintWriter(); in setWebViewImplementation() local 59 pw.println("Failed to switch, no PACKAGE provided."); in setWebViewImplementation() 60 pw.println(""); in setWebViewImplementation() 66 pw.println("Success"); in setWebViewImplementation() 69 pw.println(String.format( in setWebViewImplementation() 77 final PrintWriter pw = getOutPrintWriter(); in enableMultiProcess() local 79 pw.println("Success"); in enableMultiProcess() 84 PrintWriter pw = getOutPrintWriter(); in helpSetWebViewImplementation() local [all …]
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
D | TimeZoneDetectorShellCommand.java | 51 final PrintWriter pw = getOutPrintWriter(); in runSuggestTelephonyTimeZone() local 59 pw.println("Error: Unknown option: " + opt); in runSuggestTelephonyTimeZone() 64 pw.println("Error: suggestion not specified"); in runSuggestTelephonyTimeZone() 68 pw.println("Suggestion " + suggestion + " injected."); in runSuggestTelephonyTimeZone() 71 pw.println(e.toString()); in runSuggestTelephonyTimeZone() 77 final PrintWriter pw = getOutPrintWriter(); in runSuggestManualTimeZone() local 85 pw.println("Error: Unknown option: " + opt); in runSuggestManualTimeZone() 90 pw.println("Error: suggestion not specified"); in runSuggestManualTimeZone() 94 pw.println("Suggestion " + suggestion + " injected."); in runSuggestManualTimeZone() 97 pw.println(e.toString()); in runSuggestManualTimeZone() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerShellCommand.java | 38 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 61 final PrintWriter pw = getOutPrintWriter(); in onHelp() local 62 pw.println("Display manager commands:"); in onHelp() 63 pw.println(" help"); in onHelp() 64 pw.println(" Print this help text."); in onHelp() 65 pw.println(); in onHelp() 66 pw.println(" set-brightness BRIGHTNESS"); in onHelp() 67 pw.println(" Sets the current brightness to BRIGHTNESS (a number between 0 and 1)."); in onHelp() 68 pw.println(" reset-brightness-configuration"); in onHelp() 69 pw.println(" Reset the brightness to its default configuration."); in onHelp() [all …]
|