Home
last modified time | relevance | path

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

12345678910>>...47

/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java51 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
70 try (final PrintWriter pw = getOutPrintWriter();) { in onHelp()
140 private int requestGet(PrintWriter pw) { in requestGet()
167 private int requestSet(PrintWriter pw) { in requestSet()
193 private int getLogLevel(PrintWriter pw) { in getLogLevel()
211 private int setLogLevel(PrintWriter pw) { in setLogLevel()
229 private int getMaxPartitions(PrintWriter pw) { in getMaxPartitions()
239 private int getMaxVisibileDatasets(PrintWriter pw) { in getMaxVisibileDatasets()
249 private int getFieldClassificationScore(PrintWriter pw) { in getFieldClassificationScore()
275 private int getFullScreenMode(PrintWriter pw) { in getFullScreenMode()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java91 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
171 private void printInitialDisplaySize(PrintWriter pw , int displayId) { in printInitialDisplaySize()
189 private int runDisplaySize(PrintWriter pw) throws RemoteException { in runDisplaySize()
226 private int runSetBlurDisabled(PrintWriter pw) throws RemoteException { in runSetBlurDisabled()
255 private void printInitialDisplayDensity(PrintWriter pw , int displayId) { in printInitialDisplayDensity()
270 private int runDisplayDensity(PrintWriter pw) throws RemoteException { in runDisplayDensity()
321 private void printFoldedArea(PrintWriter pw) { in printFoldedArea()
331 private int runDisplayFoldedArea(PrintWriter pw) { in runDisplayFoldedArea()
355 private int runDisplayScaling(PrintWriter pw) throws RemoteException { in runDisplayScaling()
373 private int runSandboxDisplayApis(PrintWriter pw) throws RemoteException { in runSandboxDisplayApis()
[all …]
DWindowTracing.java101 void startTrace(@Nullable PrintWriter pw) { in startTrace()
119 void stopTrace(@Nullable PrintWriter pw) { in stopTrace()
142 void saveForBugreport(@Nullable PrintWriter pw) { in saveForBugreport()
163 private void setLogLevel(@WindowTraceLogLevel int logLevel, PrintWriter pw) { in setLogLevel()
183 private void setLogFrequency(boolean onFrame, PrintWriter pw) { in setLogFrequency()
189 private void setBufferCapacity(int capacity, PrintWriter pw) { in setBufferCapacity()
199 PrintWriter pw = shell.getOutPrintWriter(); in onShellCommand() local
245 setBufferCapacity(Integer.parseInt(shell.getNextArgRequired()) * 1024, pw); in onShellCommand() local
340 private void logAndPrintln(@Nullable PrintWriter pw, String msg) { in logAndPrintln()
DTransitionTracer.java213 public void startTrace(@Nullable PrintWriter pw) { in startTrace()
233 public void stopTrace(@Nullable PrintWriter pw) { in stopTrace()
241 public void stopTrace(@Nullable PrintWriter pw, File outputFile) { in stopTrace()
262 public void saveForBugreport(@Nullable PrintWriter pw) { in saveForBugreport()
279 private void writeTraceToFileLocked(@Nullable PrintWriter pw, File file) { in writeTraceToFileLocked()
299 private static void i(@Nullable PrintWriter pw, String msg) { in i()
307 private static void e(@Nullable PrintWriter pw, String msg) { in e()
315 private static void e(@Nullable PrintWriter pw, String msg, @NonNull Exception e) { in e()
/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/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/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 listAppIdleWhitelist() local
[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/jobscheduler/service/java/com/android/server/job/
DJobSchedulerShellCommand.java50 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
116 PrintWriter pw; in printError() local
160 private int runJob(PrintWriter pw) throws Exception { in runJob()
226 private int timeout(PrintWriter pw) throws Exception { in timeout()
269 private int cancelJob(PrintWriter pw) throws Exception { in cancelJob()
312 private int monitorBattery(PrintWriter pw) throws Exception { in monitorBattery()
335 private int getBatterySeq(PrintWriter pw) { in getBatterySeq()
341 private int getBatteryCharging(PrintWriter pw) { in getBatteryCharging()
347 private int getBatteryNotLow(PrintWriter pw) { in getBatteryNotLow()
353 private int getEstimatedNetworkBytes(PrintWriter pw, int byteOption) throws Exception { in getEstimatedNetworkBytes()
[all …]
/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/services/core/java/com/android/server/devicestate/
DDeviceStateManagerShellCommand.java55 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
73 private void printAllStates(PrintWriter pw) { in printAllStates()
86 private int runState(PrintWriter pw) { in runState()
127 private int runBaseState(PrintWriter pw) { in runBaseState()
168 private int runPrintState(PrintWriter pw) { in runPrintState()
178 private int runPrintStates(PrintWriter pw) { in runPrintStates()
188 private int runPrintStatesSimple(PrintWriter pw) { in runPrintStatesSimple()
198 PrintWriter pw = getOutPrintWriter(); in onHelp() local
/frameworks/base/core/java/android/util/
DLocalLog.java81 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
85 public synchronized void dump(PrintWriter pw) { in dump()
95 public synchronized void dump(String indent, PrintWriter pw) { in dump()
102 public synchronized void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { in reverseDump()
106 public synchronized void reverseDump(PrintWriter pw) { in reverseDump()
119 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump()
122 public void dump(PrintWriter pw) { in dump()
125 public void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { in reverseDump()
128 public void reverseDump(PrintWriter pw) { in reverseDump()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlShellCommand.java75 PrintWriter pw = getOutPrintWriter(); in onHelp() local
106 PrintWriter pw = getOutPrintWriter(); in handleShellCommand() local
131 private int deviceSelect(PrintWriter pw) throws RemoteException { in deviceSelect()
147 private int oneTouchPlay(PrintWriter pw) throws RemoteException { in oneTouchPlay()
158 private int vendorCommand(PrintWriter pw) throws RemoteException { in vendorCommand()
204 private int cecSetting(PrintWriter pw) throws RemoteException { in cecSetting()
239 private int setSystemAudioMode(PrintWriter pw) throws RemoteException { in setSystemAudioMode()
264 private int setArcMode(PrintWriter pw) throws RemoteException { in setArcMode()
285 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 …]
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
/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.java64 PrintWriter pw = getOutPrintWriter(); in requestLskf() local
73 PrintWriter pw = getOutPrintWriter(); in clearLskf() local
82 PrintWriter pw = getOutPrintWriter(); in isLskfCaptured() local
92 PrintWriter pw = getOutPrintWriter(); in rebootAndApply() local
101 PrintWriter pw = getOutPrintWriter(); in onHelp() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSplitScreenShellCommandHandler.java38 public boolean onShellCommand(String[] args, PrintWriter pw) { in onShellCommand()
52 private boolean runMoveToSideStage(String[] args, PrintWriter pw) { in runMoveToSideStage()
65 private boolean runRemoveFromSideStage(String[] args, PrintWriter pw) { in runRemoveFromSideStage()
76 private boolean runSetSideStagePosition(String[] args, PrintWriter pw) { in runSetSideStagePosition()
88 public void printShellCommandHelp(PrintWriter pw, String prefix) { in printShellCommandHelp()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerShellCommand.java51 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
81 final PrintWriter pw = getOutPrintWriter(); in runSetMode() local
106 final PrintWriter pw = getOutPrintWriter(); in runSuppressAmbientDisplay() local
121 final PrintWriter pw = getOutPrintWriter(); in runListAmbientDisplaySuppressionTokens() local
134 PrintWriter pw = getOutPrintWriter(); in runSetProx() local
183 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DTracer.java175 public void startTrace(@Nullable PrintWriter pw) { in startTrace()
195 public void stopTrace(@Nullable PrintWriter pw) { in stopTrace()
203 public void stopTrace(@Nullable PrintWriter pw, File outputFile) { in stopTrace()
224 public void saveForBugreport(@Nullable PrintWriter pw) { in saveForBugreport()
237 private void writeTraceToFileLocked(@Nullable PrintWriter pw, File file) { in writeTraceToFileLocked()
283 public boolean onShellCommand(String[] args, PrintWriter pw) { in onShellCommand()
306 public void printShellCommandHelp(PrintWriter pw, String prefix) { in printShellCommandHelp()
318 private static void i(@Nullable PrintWriter pw, String msg) { in i()
326 private static void e(@Nullable PrintWriter pw, String msg) { in e()
334 private static void e(@Nullable PrintWriter pw, String msg, @NonNull Exception e) { in e()
/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/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerServiceShellCommand.java37 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
44 private int requestSet(PrintWriter pw) { in requestSet()
53 private int setTemporaryService(PrintWriter pw) { in setTemporaryService()
69 try (PrintWriter pw = getOutPrintWriter();) { in onHelp()
/frameworks/base/services/translation/java/com/android/server/translation/
DTranslationManagerServiceShellCommand.java36 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
43 private int requestSet(PrintWriter pw) { in requestSet()
52 private int setTemporaryService(PrintWriter pw) { in setTemporaryService()
68 try (PrintWriter pw = getOutPrintWriter();) { in onHelp()

12345678910>>...47