Home
last modified time | relevance | path

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

12345678910>>...49

/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java53 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
74 try (final PrintWriter pw = getOutPrintWriter(); ) { in onHelp()
150 private int requestFlags(PrintWriter pw) { in requestFlags()
185 private int requestGet(PrintWriter pw) { in requestGet()
212 private int requestSet(PrintWriter pw) { in requestSet()
238 private int getLogLevel(PrintWriter pw) { in getLogLevel()
256 private int setLogLevel(PrintWriter pw) { in setLogLevel()
274 private int getMaxPartitions(PrintWriter pw) { in getMaxPartitions()
284 private int getMaxVisibileDatasets(PrintWriter pw) { in getMaxVisibileDatasets()
294 private int getFieldClassificationScore(PrintWriter pw) { in getFieldClassificationScore()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java94 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
186 private void printInitialDisplaySize(PrintWriter pw , int displayId) { in printInitialDisplaySize()
204 private int runDisplaySize(PrintWriter pw) throws RemoteException { in runDisplaySize()
241 private int runSetBlurDisabled(PrintWriter pw) throws RemoteException { in runSetBlurDisabled()
270 private void printInitialDisplayDensity(PrintWriter pw , int displayId) { in printInitialDisplayDensity()
285 private int runDisplayDensity(PrintWriter pw) throws RemoteException { in runDisplayDensity()
336 private void printFoldedArea(PrintWriter pw) { in printFoldedArea()
346 private int runDisplayFoldedArea(PrintWriter pw) { in runDisplayFoldedArea()
370 private int runDisplayScaling(PrintWriter pw) throws RemoteException { in runDisplayScaling()
388 private int runSandboxDisplayApis(PrintWriter pw) throws RemoteException { in runSandboxDisplayApis()
[all …]
DWindowTracing.java106 void startTrace(@Nullable PrintWriter pw) { in startTrace()
126 void stopTrace(@Nullable PrintWriter pw) { in stopTrace()
151 void saveForBugreport(@Nullable PrintWriter pw) { in saveForBugreport()
176 private void setLogLevel(@WindowTraceLogLevel int logLevel, PrintWriter pw) { in setLogLevel()
196 private void setLogFrequency(boolean onFrame, PrintWriter pw) { in setLogFrequency()
202 private void setBufferCapacity(int capacity, PrintWriter pw) { in setBufferCapacity()
212 PrintWriter pw = shell.getOutPrintWriter(); in onShellCommand() local
258 setBufferCapacity(Integer.parseInt(shell.getNextArgRequired()) * 1024, pw); in onShellCommand() local
353 private void logAndPrintln(@Nullable PrintWriter pw, String msg) { in logAndPrintln()
DLegacyTransitionTracer.java218 public void startTrace(@Nullable PrintWriter pw) { in startTrace()
239 public void stopTrace(@Nullable PrintWriter pw) { in stopTrace()
247 public void stopTrace(@Nullable PrintWriter pw, File outputFile) { in stopTrace()
269 public void saveForBugreport(@Nullable PrintWriter pw) { in saveForBugreport()
287 private void writeTraceToFileLocked(@Nullable PrintWriter pw, File file) { in writeTraceToFileLocked()
307 private static void i(@Nullable PrintWriter pw, String msg) { in i()
315 private static void e(@Nullable PrintWriter pw, String msg) { in e()
323 private static void e(@Nullable PrintWriter pw, String msg, @NonNull Exception e) { in e()
/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/android/util/
DIndentingPrintWriterTest.java47 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testMultipleIndents() local
70 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testAdjustIndentAfterNewline() local
82 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, "", 10); in testWrapping() local
95 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingIndented() local
110 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingEmbeddedNewlines() local
122 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingSingleGiant() local
134 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " ", 10); in testWrappingPrefixedGiant() local
147 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testArrayValue() local
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerServiceShellCommand.java61 try (PrintWriter pw = getOutPrintWriter()) { in onHelp()
72 try (PrintWriter pw = getOutPrintWriter()) { in onCommand()
106 private int onInvalidCommand(PrintWriter pw, String cmd) { in onInvalidCommand()
116 private void showHelp(PrintWriter pw) { in showHelp()
163 private int runIsSafeOperation(PrintWriter pw) { in runIsSafeOperation()
173 private int runIsSafeOperationByReason(PrintWriter pw) { in runIsSafeOperationByReason()
185 private int runSetSafeOperation(PrintWriter pw) { in runSetSafeOperation()
195 private int printAndGetSize(PrintWriter pw, Collection<?> collection, String nameOnSingular) { in printAndGetSize()
205 private int runListOwners(PrintWriter pw) { in runListOwners()
231 private int runListPolicyExemptApps(PrintWriter pw) { in runListPolicyExemptApps()
[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
130 final PrintWriter pw = getOutPrintWriter(); in runSet() local
149 final PrintWriter pw = getOutPrintWriter(); in runList() local
170 final PrintWriter pw = getOutPrintWriter(); in runAdd() local
189 final PrintWriter pw = getOutPrintWriter(); in runRemove() local
210 final PrintWriter pw = getOutPrintWriter(); in runStartWatching() local
229 final PrintWriter pw = getOutPrintWriter(); in listUidList() local
255 final PrintWriter pw = getOutPrintWriter(); in listAppIdleAllowlist() local
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java52 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
133 PrintWriter pw; in printError() local
177 private int runJob(PrintWriter pw) throws Exception { in runJob()
247 private int timeout(PrintWriter pw) throws Exception { in timeout()
290 private int cancelJob(PrintWriter pw) throws Exception { in cancelJob()
333 private int monitorBattery(PrintWriter pw) throws Exception { in monitorBattery()
356 private int disableFlexPolicy(PrintWriter pw) throws Exception { in disableFlexPolicy()
369 private int enableFlexPolicy(PrintWriter pw) throws Exception { in enableFlexPolicy()
415 private int getAconfigFlagState(PrintWriter pw) throws Exception { in getAconfigFlagState()
446 private int getBatterySeq(PrintWriter pw) { in getBatterySeq()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceShellCommand.java49 PrintWriter pw = getOutPrintWriter(); in onCommand() local
68 try (PrintWriter pw = getOutPrintWriter();) { in onHelp()
92 private int requestShow(PrintWriter pw) { in requestShow()
136 private int requestHide(PrintWriter pw) { in requestHide()
146 private int requestDisable(PrintWriter pw) { in requestDisable()
157 private int requestRestartDetection(PrintWriter pw) { in requestRestartDetection()
167 private int setDebugHotwordLogging(PrintWriter pw) { in setDebugHotwordLogging()
178 private static int handleError(PrintWriter pw, String message, Exception e) { in handleError()
/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.java83 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
87 public synchronized void dump(PrintWriter pw) { in dump()
97 public synchronized void dump(String indent, PrintWriter pw) { in dump()
104 public synchronized void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { in reverseDump()
108 public synchronized void reverseDump(PrintWriter pw) { in reverseDump()
121 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
124 public void dump(PrintWriter pw) { in dump()
127 public void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { in reverseDump()
130 public void reverseDump(PrintWriter pw) { in reverseDump()
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerShellCommand.java56 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
74 private void printAllStates(PrintWriter pw) { in printAllStates()
87 private int runState(PrintWriter pw) { in runState()
128 private int runBaseState(PrintWriter pw) { in runBaseState()
169 private int runPrintState(PrintWriter pw) { in runPrintState()
179 private int runPrintStates(PrintWriter pw) { in runPrintStates()
189 private int runPrintStatesSimple(PrintWriter pw) { in runPrintStatesSimple()
200 PrintWriter pw = getOutPrintWriter(); in onHelp() local
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlShellCommand.java75 PrintWriter pw = getOutPrintWriter(); in onHelp() local
106 PrintWriter pw = getOutPrintWriter(); in handleShellCommand() local
130 private int deviceSelect(PrintWriter pw) throws RemoteException { in deviceSelect()
146 private int oneTouchPlay(PrintWriter pw) throws RemoteException { in oneTouchPlay()
157 private int vendorCommand(PrintWriter pw) throws RemoteException { in vendorCommand()
203 private int cecSetting(PrintWriter pw) throws RemoteException { in cecSetting()
238 private int setSystemAudioMode(PrintWriter pw) throws RemoteException { in setSystemAudioMode()
263 private int setArcMode(PrintWriter pw) throws RemoteException { in setArcMode()
284 private int historySize(PrintWriter pw) throws RemoteException { in historySize()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerServiceShellCommand.java78 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
167 final PrintWriter pw = getOutPrintWriter(); in runList() local
256 final PrintWriter pw = getOutPrintWriter(); in runReportPackageAllowlistProblems() local
296 final PrintWriter pw = getOutPrintWriter(); in runSetSystemUserModeEmulation() local
407 PrintWriter pw = getOutPrintWriter(); in runIsUserVisible() local
444 PrintWriter pw = getOutPrintWriter(); in runIsHeadlessSystemUserMode() local
472 PrintWriter pw = getOutPrintWriter(); in runIsVisibleBackgroundUserSupported() local
501 PrintWriter pw = getOutPrintWriter(); in runIsVisibleBackgroundUserOnDefaultDisplaySupported() local
530 PrintWriter pw = getOutPrintWriter(); in runGetMainUserId() local
541 PrintWriter pw = getOutPrintWriter(); in canSwitchToHeadlessSystemUser() local
[all …]
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemShellCommand.java64 PrintWriter pw = getOutPrintWriter(); in wipe() local
78 PrintWriter pw = getOutPrintWriter(); in requestLskf() local
87 PrintWriter pw = getOutPrintWriter(); in clearLskf() local
96 PrintWriter pw = getOutPrintWriter(); in isLskfCaptured() local
106 PrintWriter pw = getOutPrintWriter(); in rebootAndApply() local
115 PrintWriter pw = getOutPrintWriter(); in onHelp() local
/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
DWebViewUpdateServiceShellCommand2.java38 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
53 final PrintWriter pw = getOutPrintWriter(); in setWebViewImplementation() local
76 PrintWriter pw = getOutPrintWriter(); in helpSetWebViewImplementation() local
83 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/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSplitScreenShellCommandHandler.java39 public boolean onShellCommand(String[] args, PrintWriter pw) { in onShellCommand()
57 private boolean runMoveToSideStage(String[] args, PrintWriter pw) { in runMoveToSideStage()
70 private boolean runRemoveFromSideStage(String[] args, PrintWriter pw) { in runRemoveFromSideStage()
81 private boolean runSetSideStagePosition(String[] args, PrintWriter pw) { in runSetSideStagePosition()
97 private boolean runExitSplitScreen(String[] args, PrintWriter pw) { in runExitSplitScreen()
109 public void printShellCommandHelp(PrintWriter pw, String prefix) { in printShellCommandHelp()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/tracing/
DLegacyTransitionTracer.java180 public void startTrace(@Nullable PrintWriter pw) { in startTrace()
200 public void stopTrace(@Nullable PrintWriter pw) { in stopTrace()
208 public void stopTrace(@Nullable PrintWriter pw, File outputFile) { in stopTrace()
229 public void saveForBugreport(@Nullable PrintWriter pw) { in saveForBugreport()
242 private void writeTraceToFileLocked(@Nullable PrintWriter pw, File file) { in writeTraceToFileLocked()
288 public boolean onShellCommand(String[] args, PrintWriter pw) { in onShellCommand()
311 public void printShellCommandHelp(PrintWriter pw, String prefix) { in printShellCommandHelp()
323 private static void i(@Nullable PrintWriter pw, String msg) { in i()
331 private static void e(@Nullable PrintWriter pw, String msg) { in e()
339 private static void e(@Nullable PrintWriter pw, String msg, @NonNull Exception e) { in e()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerShellCommand.java51 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
83 final PrintWriter pw = getOutPrintWriter(); in runSetMode() local
108 final PrintWriter pw = getOutPrintWriter(); in runSuppressAmbientDisplay() local
123 final PrintWriter pw = getOutPrintWriter(); in runListAmbientDisplaySuppressionTokens() local
136 PrintWriter pw = getOutPrintWriter(); in runSetProx() local
199 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorShellCommand.java106 final PrintWriter pw = getOutPrintWriter(); in runIsAutoDetectionEnabled() local
116 final PrintWriter pw = getOutPrintWriter(); in runIsTelephonyDetectionSupported() local
123 final PrintWriter pw = getOutPrintWriter(); in runIsGeoDetectionSupported() local
130 final PrintWriter pw = getOutPrintWriter(); in runIsGeoDetectionEnabled() local
176 final PrintWriter pw = getOutPrintWriter(); in runSingleArgMethod() local
237 final PrintWriter pw = getOutPrintWriter(); in runDumpMetrics() local
246 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java338 @NonNull IndentingPrintWriter pw) { in enableContaminantDetection()
374 IUsbOperationInternal callback, IndentingPrintWriter pw) { in enableLimitPowerTransfer()
414 IUsbOperationInternal callback, IndentingPrintWriter pw) { in enableUsbDataWhileDocked()
456 @NonNull IUsbOperationInternal callback, IndentingPrintWriter pw) { in enableUsbData()
536 @NonNull IUsbOperationInternal callback, IndentingPrintWriter pw) { in resetUsbPort()
572 IndentingPrintWriter pw) { in setPortRoles()
749 IndentingPrintWriter pw) { in addSimulatedPort()
795 int dataRole, boolean canChangeDataRole, IndentingPrintWriter pw) { in connectSimulatedPort()
835 IndentingPrintWriter pw) { in simulateContaminantStatus()
856 IndentingPrintWriter pw) { in simulateComplianceWarnings()
[all …]
/frameworks/base/core/java/com/android/internal/app/procstats/
DDumpUtils.java243 public static void printScreenLabel(PrintWriter pw, int offset) { in printScreenLabel()
260 public static void printScreenLabelCsv(PrintWriter pw, int offset) { in printScreenLabelCsv()
276 public static void printMemLabel(PrintWriter pw, int offset, char sep) { in printMemLabel()
305 public static void printMemLabelCsv(PrintWriter pw, int offset) { in printMemLabelCsv()
315 public static void printPercent(PrintWriter pw, double fraction) { in printPercent()
327 public static void printProcStateTag(PrintWriter pw, int state) { in printProcStateTag()
341 public static void printAdjTag(PrintWriter pw, int state) { in printAdjTag()
362 public static void printProcStateTagAndValue(PrintWriter pw, int state, long value) { in printProcStateTagAndValue()
369 public static void printAdjTagAndValue(PrintWriter pw, int state, long value) { in printAdjTagAndValue()
376 public static long dumpSingleTime(PrintWriter pw, String prefix, long[] durations, in dumpSingleTime()
[all …]

12345678910>>...49