Home
last modified time | relevance | path

Searched defs:pw (Results 1 – 25 of 872) sorted by relevance

12345678910>>...35

/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java50 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
69 try (final PrintWriter pw = getOutPrintWriter();) { in onHelp()
131 private int requestGet(PrintWriter pw) { in requestGet()
154 private int requestSet(PrintWriter pw) { in requestSet()
178 private int getLogLevel(PrintWriter pw) { in getLogLevel()
196 private int setLogLevel(PrintWriter pw) { in setLogLevel()
214 private int getMaxPartitions(PrintWriter pw) { in getMaxPartitions()
224 private int getMaxVisibileDatasets(PrintWriter pw) { in getMaxVisibileDatasets()
234 private int getFieldClassificationScore(PrintWriter pw) { in getFieldClassificationScore()
260 private int getFullScreenMode(PrintWriter pw) { in getFullScreenMode()
[all …]
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerServiceShellCommand.java48 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
65 try (PrintWriter pw = getOutPrintWriter();) { in onHelp()
95 private int requestGet(PrintWriter pw) { in requestGet()
108 private int requestSet(PrintWriter pw) { in requestSet()
124 private int getBindInstantService(PrintWriter pw) { in getBindInstantService()
133 private int setBindInstantService(PrintWriter pw) { in setBindInstantService()
148 private int setTemporaryService(PrintWriter pw) { in setTemporaryService()
162 private int setDefaultServiceEnabled(PrintWriter pw) { in setDefaultServiceEnabled()
172 private int getDefaultServiceEnabled(PrintWriter pw) { in getDefaultServiceEnabled()
179 private int requestDestroy(PrintWriter pw) { in requestDestroy()
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DIndentingPrintWriterTest.java41 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testMultipleIndents() local
63 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testAdjustIndentAfterNewline() local
74 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, "", 10); in testWrapping() local
86 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingIndented() local
100 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingEmbeddedNewlines() local
111 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingSingleGiant() local
122 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingPrefixedGiant() local
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java44 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
99 PrintWriter pw; in printError() local
135 private int runJob(PrintWriter pw) throws Exception { in runJob()
194 private int timeout(PrintWriter pw) throws Exception { in timeout()
229 private int cancelJob(PrintWriter pw) throws Exception { in cancelJob()
265 private int monitorBattery(PrintWriter pw) throws Exception { in monitorBattery()
288 private int getBatterySeq(PrintWriter pw) { in getBatterySeq()
294 private int getBatteryCharging(PrintWriter pw) { in getBatteryCharging()
300 private int getBatteryNotLow(PrintWriter pw) { in getBatteryNotLow()
306 private int getStorageSeq(PrintWriter pw) { in getStorageSeq()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java49 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
77 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
113 final PrintWriter pw = getOutPrintWriter(); in runGet() local
128 final PrintWriter pw = getOutPrintWriter(); in runSet() local
147 final PrintWriter pw = getOutPrintWriter(); in runList() local
168 final PrintWriter pw = getOutPrintWriter(); in runAdd() local
187 final PrintWriter pw = getOutPrintWriter(); in runRemove() local
208 final PrintWriter pw = getOutPrintWriter(); in runStartWatching() local
227 final PrintWriter pw = getOutPrintWriter(); in listUidList() local
253 final PrintWriter pw = getOutPrintWriter(); in listAppIdleWhitelist() local
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java67 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
117 private void printInitialDisplaySize(PrintWriter pw , int displayId) { in printInitialDisplaySize()
135 private int runDisplaySize(PrintWriter pw) throws RemoteException { in runDisplaySize()
172 private void printInitialDisplayDensity(PrintWriter pw , int displayId) { in printInitialDisplayDensity()
187 private int runDisplayDensity(PrintWriter pw) throws RemoteException { in runDisplayDensity()
223 private void printFoldedArea(PrintWriter pw) { in printFoldedArea()
233 private int runDisplayFoldedArea(PrintWriter pw) { in runDisplayFoldedArea()
257 private int runDisplayScaling(PrintWriter pw) throws RemoteException { in runDisplayScaling()
272 private int runDismissKeyguard(PrintWriter pw) throws RemoteException { in runDismissKeyguard()
294 private int runSetDisplayUserRotation(PrintWriter pw) { in runSetDisplayUserRotation()
[all …]
DWindowTracing.java98 void startTrace(@Nullable PrintWriter pw) { in startTrace()
116 void stopTrace(@Nullable PrintWriter pw) { in stopTrace()
125 void stopTrace(@Nullable PrintWriter pw, boolean writeToFile) { in stopTrace()
146 private void setLogLevel(@WindowTraceLogLevel int logLevel, PrintWriter pw) { in setLogLevel()
166 private void setLogFrequency(boolean onFrame, PrintWriter pw) { in setLogFrequency()
172 private void setBufferCapacity(int capacity, PrintWriter pw) { in setBufferCapacity()
182 PrintWriter pw = shell.getOutPrintWriter(); in onShellCommand() local
225 setBufferCapacity(Integer.parseInt(shell.getNextArgRequired()) * 1024, pw); in onShellCommand() local
332 private void logAndPrintln(@Nullable PrintWriter pw, String msg) { in logAndPrintln()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerShellCommand.java39 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
56 private int runClearAllSessions(PrintWriter pw) { in runClearAllSessions()
68 private int runClearAllBlobs(PrintWriter pw) { in runClearAllBlobs()
80 private int runDeleteBlob(PrintWriter pw) { in runDeleteBlob()
91 private int runIdleMaintenance(PrintWriter pw) { in runIdleMaintenance()
96 private int runQueryBlobExistence(PrintWriter pw) { in runQueryBlobExistence()
108 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
141 private int parseOptions(PrintWriter pw, ParsedArgs args) { in parseOptions()
/frameworks/base/core/java/android/util/
DLocalLog.java79 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
83 public synchronized void dump(PrintWriter pw) { in dump()
93 public synchronized void dump(String indent, PrintWriter pw) { in dump()
100 public synchronized void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { in reverseDump()
104 public synchronized void reverseDump(PrintWriter pw) { in reverseDump()
117 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
120 public void dump(PrintWriter pw) { in dump()
123 public void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { in reverseDump()
126 public void reverseDump(PrintWriter pw) { in reverseDump()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceShellCommand.java49 PrintWriter pw = getOutPrintWriter(); in onCommand() local
64 try (PrintWriter pw = getOutPrintWriter();) { in onHelp()
80 private int requestShow(PrintWriter pw) { in requestShow()
124 private int requestHide(PrintWriter pw) { in requestHide()
134 private int requestDisable(PrintWriter pw) { in requestDisable()
145 private static int handleError(PrintWriter pw, String message, Exception e) { in handleError()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateServiceShellCommand.java37 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
56 final PrintWriter pw = getOutPrintWriter(); in setWebViewImplementation() local
77 final PrintWriter pw = getOutPrintWriter(); in enableMultiProcess() local
84 PrintWriter pw = getOutPrintWriter(); in helpSetWebViewImplementation() local
91 PrintWriter pw = getOutPrintWriter(); in onHelp() local
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsManagerServiceShellCommand.java44 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
57 try (PrintWriter pw = getOutPrintWriter()) { in onHelp()
75 private int requestSet(PrintWriter pw) { in requestSet()
89 private int requestGet(PrintWriter pw) { in requestGet()
100 private int setTemporaryService(PrintWriter pw) { in setTemporaryService()
121 private int getDefaultServiceEnabled(PrintWriter pw) { in getDefaultServiceEnabled()
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemShellCommand.java61 PrintWriter pw = getOutPrintWriter(); in requestLskf() local
68 PrintWriter pw = getOutPrintWriter(); in clearLskf() local
77 PrintWriter pw = getOutPrintWriter(); in rebootAndApply() local
84 PrintWriter pw = getOutPrintWriter(); in onHelp() local
/frameworks/base/services/core/java/com/android/server/pm/
DOtaDexoptShellCommand.java39 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
75 final PrintWriter pw = getOutPrintWriter(); in runOtaDone() local
96 final PrintWriter pw = getOutPrintWriter(); in runOtaProgress() local
106 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
DPackageManagerShellCommand.java166 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
328 final PrintWriter pw = getOutPrintWriter(); in runValidate() local
345 final PrintWriter pw = getOutPrintWriter(); in runGetModuleInfo() local
382 final PrintWriter pw = getOutPrintWriter(); in runLogVisibility() local
412 final PrintWriter pw = getOutPrintWriter(); in runBypassStagedInstallerCheck() local
426 final PrintWriter pw = getOutPrintWriter(); in uninstallSystemUpdates() local
472 final PrintWriter pw = getOutPrintWriter(); in runRollbackApp() local
568 final PrintWriter pw = getOutPrintWriter(); in displayPackageFilePath() local
600 final PrintWriter pw = getOutPrintWriter(); in runList() local
633 final PrintWriter pw = getOutPrintWriter(); in runListFeatures() local
[all …]
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DNetworkWatchlistShellCommand.java50 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
70 final PrintWriter pw = getOutPrintWriter(); in runSetTestConfig() local
89 final PrintWriter pw = getOutPrintWriter(); in runForceGenerateReport() local
112 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
/frameworks/base/core/java/com/android/internal/app/procstats/
DDumpUtils.java228 public static void printScreenLabel(PrintWriter pw, int offset) { in printScreenLabel()
245 public static void printScreenLabelCsv(PrintWriter pw, int offset) { in printScreenLabelCsv()
261 public static void printMemLabel(PrintWriter pw, int offset, char sep) { in printMemLabel()
290 public static void printMemLabelCsv(PrintWriter pw, int offset) { in printMemLabelCsv()
300 public static void printPercent(PrintWriter pw, double fraction) { in printPercent()
312 public static void printProcStateTag(PrintWriter pw, int state) { in printProcStateTag()
326 public static void printAdjTag(PrintWriter pw, int state) { in printAdjTag()
347 public static void printProcStateTagAndValue(PrintWriter pw, int state, long value) { in printProcStateTagAndValue()
354 public static void printAdjTagAndValue(PrintWriter pw, int state, long value) { in printAdjTagAndValue()
361 public static long dumpSingleTime(PrintWriter pw, String prefix, long[] durations, in dumpSingleTime()
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java315 @NonNull IndentingPrintWriter pw) { in enableContaminantDetection()
349 IndentingPrintWriter pw) { in setPortRoles()
482 public void addSimulatedPort(String portId, int supportedModes, IndentingPrintWriter pw) { in addSimulatedPort()
499 int dataRole, boolean canChangeDataRole, IndentingPrintWriter pw) { in connectSimulatedPort()
539 IndentingPrintWriter pw) { in simulateContaminantStatus()
556 public void disconnectSimulatedPort(String portId, IndentingPrintWriter pw) { in disconnectSimulatedPort()
575 public void removeSimulatedPort(String portId, IndentingPrintWriter pw) { in removeSimulatedPort()
589 public void resetSimulation(IndentingPrintWriter pw) { in resetSimulation()
618 public IndentingPrintWriter pw; field in UsbPortManager.HALCallback
621 HALCallback(IndentingPrintWriter pw, UsbPortManager portManager) { in HALCallback()
[all …]
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorShellCommand.java51 final PrintWriter pw = getOutPrintWriter(); in runSuggestTelephonyTimeZone() local
77 final PrintWriter pw = getOutPrintWriter(); in runSuggestManualTimeZone() local
104 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerShellCommand.java42 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
66 final PrintWriter pw = getOutPrintWriter(); in runSetMode() local
92 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
/frameworks/base/core/java/com/android/internal/util/
DDumpUtils.java62 public static void dumpAsync(Handler handler, final Dump dump, PrintWriter pw, in dumpAsync()
80 void dump(PrintWriter pw, String prefix); in dump()
83 private static void logMessage(PrintWriter pw, String msg) { in logMessage()
94 public static boolean checkDumpPermission(Context context, String tag, PrintWriter pw) { in checkDumpPermission()
114 public static boolean checkUsageStatsPermission(Context context, String tag, PrintWriter pw) { in checkUsageStatsPermission()
169 PrintWriter pw) { in checkDumpAndUsageStatsPermission()
/frameworks/base/services/core/java/com/android/server/utils/
DPriorityDump.java139 public static void dump(PriorityDumper dumper, FileDescriptor fd, PrintWriter pw, in dump()
220 default void dumpCritical(FileDescriptor fd, PrintWriter pw, String[] args, in dumpCritical()
228 default void dumpHigh(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { in dumpHigh()
235 default void dumpNormal(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { in dumpNormal()
247 default void dump(FileDescriptor fd, PrintWriter pw, String[] args, boolean asProto) { in dump()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java152 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
691 private WifiConfiguration buildWifiConfiguration(PrintWriter pw) { in buildWifiConfiguration()
725 private SoftApConfiguration buildSoftApConfiguration(PrintWriter pw) { in buildSoftApConfiguration()
761 private WifiNetworkSuggestion buildSuggestion(PrintWriter pw) { in buildSuggestion()
798 private NetworkRequest buildNetworkRequest(PrintWriter pw) { in buildNetworkRequest()
849 private void setAutoJoin(PrintWriter pw, String ssid, boolean allowAutojoin) { in setAutoJoin()
866 private int sendLinkProbe(PrintWriter pw) throws InterruptedException { in sendLinkProbe()
918 private void printStatus(PrintWriter pw) { in printStatus()
953 private void onHelpNonPrivileged(PrintWriter pw) { in onHelpNonPrivileged()
1057 private void onHelpPrivileged(PrintWriter pw) { in onHelpPrivileged()
[all …]
/frameworks/base/services/core/java/com/android/server/
DDiskStatsService.java69 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
122 reportFreeSpace(Environment.getDataDirectory(), "Data", pw, proto, in dump() local
124 reportFreeSpace(Environment.getDownloadCacheDirectory(), "Cache", pw, proto, in dump() local
159 private void reportFreeSpace(File path, String name, PrintWriter pw, in reportFreeSpace()
209 private void reportCachedValues(PrintWriter pw) { in reportCachedValues()
307 private void reportDiskWriteSpeed(PrintWriter pw) { in reportDiskWriteSpeed()
/frameworks/base/services/core/java/com/android/server/am/
DAppTimeTracker.java99 public void dumpWithHeader(PrintWriter pw, String prefix, boolean details) { in dumpWithHeader()
106 public void dump(PrintWriter pw, String prefix, boolean details) { in dump()
114 TimeUtils.formatDuration(mPackageTimes.valueAt(i).value, pw); in dump() local
119 TimeUtils.formatDuration(SystemClock.elapsedRealtime(), mStartedTime, pw); in dump() local

12345678910>>...35