Home
last modified time | relevance | path

Searched refs:pw (Results 1 – 25 of 200) sorted by relevance

12345678

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java240 final PrintWriter pw = getOutPrintWriter(); in onCommand() local
249 pw.println("IPREACH_DISCONNECT state is " in onCommand()
257 pw.println( in onCommand()
264 pw.println( in onCommand()
273 pw.println("WifiGlobals.getPollRssiIntervalMillis() = " in onCommand()
279 pw.println("Command execution failed"); in onCommand()
286 pw.println("Command execution failed"); in onCommand()
301 pw.println(hasUserApproved ? "yes" : "no"); in onCommand()
310 pw.println("Invalid argument to " in onCommand()
326 pw.println("Invalid argument to " in onCommand()
[all …]
DWifiPowerMetrics.java97 public void dump(PrintWriter pw) { in dump() argument
100 pw.println("Wifi power metrics:"); in dump()
101 pw.println("Logging duration (time on battery): " + s.loggingDurationMs); in dump()
102 pw.println("Energy consumed by wifi (mAh): " + s.energyConsumedMah); in dump()
103 pw.println("Amount of time wifi is in idle (ms): " + s.idleTimeMs); in dump()
104 pw.println("Amount of time wifi is in rx (ms): " + s.rxTimeMs); in dump()
105 pw.println("Amount of time wifi is in tx (ms): " + s.txTimeMs); in dump()
106 pw.println("Amount of time kernel is active because of wifi data (ms): " in dump()
108 pw.println("Amount of time wifi is in sleep (ms): " + s.sleepTimeMs); in dump()
109 pw.println("Amount of time wifi is scanning (ms): " + s.scanTimeMs); in dump()
[all …]
DWifiMetrics.java3619 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument
3630 pw.print(metricsProtoDump); in dump()
3633 pw.println("WifiMetrics:"); in dump()
3634 pw.println(metricsProtoDump); in dump()
3635 pw.println("EndWifiMetrics"); in dump()
3639 pw.println("WifiMetrics:"); in dump()
3640 pw.println("mConnectionEvents:"); in dump()
3646 pw.println(eventLine); in dump()
3648 pw.println("mWifiLogProto.numSavedNetworks=" + mWifiLogProto.numSavedNetworks); in dump()
3649 pw.println("mWifiLogProto.numSavedNetworksWithMacRandomization=" in dump()
[all …]
DWifiWakeMetrics.java182 public void dump(PrintWriter pw) { in dump() argument
184 pw.println("-------WifiWake metrics-------"); in dump()
185 pw.println("mTotalSessions: " + mTotalSessions); in dump()
186 pw.println("mTotalWakeups: " + mTotalWakeups); in dump()
187 pw.println("mIgnoredStarts: " + mIgnoredStarts); in dump()
188 pw.println("mIsInSession: " + mIsInSession); in dump()
189 pw.println("Stored Sessions: " + mSessions.size()); in dump()
191 session.dump(pw); in dump()
194 pw.println("Current Session: "); in dump()
195 mCurrentSession.dump(pw); in dump()
[all …]
DSarInfo.java155 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument
156 pw.println("Dump of SarInfo"); in dump()
157 pw.println("Current values:"); in dump()
158 pw.println(" Voice Call state is: " + isVoiceCall); in dump()
159 pw.println(" Wifi Client state is: " + isWifiClientEnabled); in dump()
160 pw.println(" Wifi Soft AP state is: " + isWifiSapEnabled); in dump()
161 pw.println(" Wifi ScanOnly state is: " + isWifiScanOnlyEnabled); in dump()
162 pw.println(" Earpiece state is : " + isEarPieceActive); in dump()
163 pw.println("Last reported values:"); in dump()
164 pw.println(" Soft AP state is: " + mLastReportedIsWifiSapEnabled); in dump()
[all …]
DWifiSettingsConfigStore.java284 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument
285 pw.println(); in dump()
286 pw.println("Dump of " + TAG); in dump()
287 pw.println("Settings:"); in dump()
289 pw.print(entry.getKey()); in dump()
290 pw.print("="); in dump()
291 pw.println(entry.getValue()); in dump()
294 pw.println("Migration data:"); in dump()
295 pw.print(WIFI_P2P_DEVICE_NAME.key); in dump()
296 pw.print("="); in dump()
[all …]
DWifiDiagnostics.java323 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument
324 pw.println("Chipset information :-----------------------------------------------"); in dump()
325 pw.println("FW Version is: " + mFirmwareVersion); in dump()
326 pw.println("Driver Version is: " + mDriverVersion); in dump()
327 pw.println("Supported Feature set: " + mSupportedFeatureSet); in dump()
330 pw.println("--------------------------------------------------------------------"); in dump()
331 pw.println("Alert dump " + i); in dump()
332 pw.print(mLastAlerts.get(i)); in dump()
333 pw.println("--------------------------------------------------------------------"); in dump()
337 pw.println("--------------------------------------------------------------------"); in dump()
[all …]
DWifiGlobals.java219 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument
220 pw.println("Dump of WifiGlobals"); in dump()
221 pw.println("mPollRssiIntervalMillis=" + mPollRssiIntervalMillis.get()); in dump()
222 pw.println("mIpReachabilityDisconnectEnabled=" + mIpReachabilityDisconnectEnabled.get()); in dump()
223 pw.println("mIsBluetoothConnected=" + mIsBluetoothConnected.get()); in dump()
224 pw.println("mIsWpa3SaeUpgradeEnabled=" + mIsWpa3SaeUpgradeEnabled); in dump()
225 pw.println("mIsWpa3SaeUpgradeOffloadEnabled=" + mIsWpa3SaeUpgradeOffloadEnabled); in dump()
226 pw.println("mIsOweUpgradeEnabled=" + mIsOweUpgradeEnabled); in dump()
227 pw.println("mFlushAnqpCacheOnWifiToggleOffEvent=" + mFlushAnqpCacheOnWifiToggleOffEvent); in dump()
228 pw.println("mIsWpa3SaeH2eSupported=" + mIsWpa3SaeH2eSupported); in dump()
[all …]
DDppMetrics.java284 public void dump(PrintWriter pw) { in dump() argument
286 pw.println("---Easy Connect/DPP metrics---"); in dump()
287 pw.println("mWifiDppLogProto.numDppConfiguratorInitiatorRequests=" in dump()
289 pw.println("mWifiDppLogProto.numDppEnrolleeInitiatorRequests=" in dump()
291 pw.println("mWifiDppLogProto.numDppEnrolleeResponderRequests=" in dump()
293 pw.println("mWifiDppLogProto.numDppEnrolleeResponderSuccess=" in dump()
295 pw.println("mWifiDppLogProto.numDppEnrolleeSuccess=" in dump()
297 pw.println("mWifiDppLogProto.numDppR1CapableEnrolleeResponderDevices=" in dump()
299 pw.println("mWifiDppLogProto.numDppR2CapableEnrolleeResponderDevices=" in dump()
301 pw.println("mWifiDppLogProto.numDppR2EnrolleeResponderIncompatibleConfiguration=" in dump()
[all …]
/packages/services/Telephony/src/com/android/phone/
DTelephonyShellCommand.java330 PrintWriter pw = getOutPrintWriter(); in onHelp() local
331 pw.println("Telephony Commands:"); in onHelp()
332 pw.println(" help"); in onHelp()
333 pw.println(" Print this help text."); in onHelp()
334 pw.println(" ims"); in onHelp()
335 pw.println(" IMS Commands."); in onHelp()
336 pw.println(" uce"); in onHelp()
337 pw.println(" RCS User Capability Exchange Commands."); in onHelp()
338 pw.println(" emergency-number-test-mode"); in onHelp()
339 pw.println(" Emergency Number Test Mode Commands."); in onHelp()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DAbstractContactsProvider.java421 protected void dump(PrintWriter pw, String dbName) { in dump() argument
422 pw.print("Database: "); in dump()
423 pw.println(dbName); in dump()
425 mStats.dump(pw, " "); in dump()
428 pw.println("mDbHelper is null"); in dump()
432 pw.println(); in dump()
433 pw.println(" Accounts:"); in dump()
439 pw.print(" "); in dump()
440 dumpLongColumn(pw, c, BaseColumns._ID); in dump()
441 pw.print(" "); in dump()
[all …]
/packages/modules/Scheduling/service/java/com/android/server/scheduling/
DRebootReadinessShellCommand.java193 final PrintWriter pw = getOutPrintWriter(); in onHelp() local
194 pw.println("Reboot readiness (reboot_readiness) commands: "); in onHelp()
195 pw.println(" help: "); in onHelp()
196 pw.println(" Prints this help text."); in onHelp()
197 pw.println(" check-interactivity-state:"); in onHelp()
198 pw.println(" Checks interactivity state."); in onHelp()
199 pw.println(" check-app-activity-state [--list-blocking]:"); in onHelp()
200 pw.println(" Checks background app activity state. If --list-blocking is passed, a"); in onHelp()
201 pw.println(" list of blocking uids will be printed if any exist."); in onHelp()
202 pw.println(" check-subsystems-state [--list-blocking]:"); in onHelp()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java419 try (IndentingPrintWriter pw = new IndentingPrintWriter(getOutPrintWriter())) { in onCommand() argument
420 return exec(args, pw); in onCommand()
426 try (IndentingPrintWriter pw = new IndentingPrintWriter(getOutPrintWriter())) { in onHelp() argument
427 showHelp(pw); in onHelp()
431 private static void showHelp(IndentingPrintWriter pw) { in showHelp() argument
432 pw.println("Car service commands:"); in showHelp()
433 pw.println("\t-h"); in showHelp()
434 pw.println("\t Print this help text."); in showHelp()
435 pw.println("\tday-night-mode [day|night|sensor]"); in showHelp()
436 pw.println("\t Force into day/night mode or restore to auto."); in showHelp()
[all …]
DPerUserCarService.java101 try (IndentingPrintWriter pw = new IndentingPrintWriter(writer)) { in dump() argument
102 pw.println("CarBluetoothUserService"); in dump()
103 pw.increaseIndent(); in dump()
104 mCarBluetoothUserService.dump(pw); in dump()
105 pw.decreaseIndent(); in dump()
106 pw.println(); in dump()
109 pw.println("PerUserCarDevicePolicyService"); in dump()
110 pw.increaseIndent(); in dump()
111 mPerUserCarDevicePolicyService.dump(pw); in dump()
112 pw.decreaseIndent(); in dump()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareMetrics.java673 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument
675 pw.println("mLastEnableUsageMs:" + mLastEnableUsageMs); in dump()
676 pw.println( in dump()
678 pw.println("mAvailableTimeMs:" + mAvailableTimeMs); in dump()
679 pw.println("mHistogramAwareAvailableDurationMs:"); in dump()
681 pw.println(" " + mHistogramAwareAvailableDurationMs.keyAt(i) + ": " in dump()
685 pw.println("mLastEnableAwareMs:" + mLastEnableAwareMs); in dump()
686 pw.println( in dump()
688 pw.println("mEnabledTimeMs:" + mEnabledTimeMs); in dump()
689 pw.println("mHistogramAwareEnabledDurationMs:"); in dump()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java925 public void dump(@NonNull IndentingPrintWriter pw) { in dump() argument
926 pw.println("mIsBpfEnabled: " + mIsBpfEnabled); in dump()
927 pw.println("Polling " + (mPollingStarted ? "started" : "not started")); in dump()
928 pw.println("Stats provider " + (mStatsProvider != null in dump()
930 pw.println("Upstream quota: " + mInterfaceQuotas.toString()); in dump()
931 pw.println("Polling interval: " + getPollingInterval() + " ms"); in dump()
932 pw.println("Bpf shim: " + mBpfCoordinatorShim.toString()); in dump()
934 pw.println("Forwarding stats:"); in dump()
935 pw.increaseIndent(); in dump()
937 pw.println("<empty>"); in dump()
[all …]
DTetheringConfiguration.java284 public void dump(PrintWriter pw) { in dump() argument
285 pw.print("activeDataSubId: "); in dump()
286 pw.println(activeDataSubId); in dump()
288 dumpStringArray(pw, "tetherableUsbRegexs", tetherableUsbRegexs); in dump()
289 dumpStringArray(pw, "tetherableWifiRegexs", tetherableWifiRegexs); in dump()
290 dumpStringArray(pw, "tetherableWifiP2pRegexs", tetherableWifiP2pRegexs); in dump()
291 dumpStringArray(pw, "tetherableBluetoothRegexs", tetherableBluetoothRegexs); in dump()
292 dumpStringArray(pw, "tetherableNcmRegexs", tetherableNcmRegexs); in dump()
294 pw.print("isDunRequired: "); in dump()
295 pw.println(isDunRequired); in dump()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DKeyValueListParser.java258 public void dump(PrintWriter pw, String prefix) { in dump() argument
259 pw.print(prefix); in dump()
260 pw.print(mKey); in dump()
261 pw.print("="); in dump()
262 pw.print(mValue); in dump()
263 pw.println(); in dump()
306 public void dump(PrintWriter pw, String prefix) { in dump() argument
307 pw.print(prefix); in dump()
308 pw.print(mKey); in dump()
309 pw.print("="); in dump()
[all …]
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DSkipController.java131 void dump(@NonNull PrintWriter pw, @NonNull String prefix) { in dump() argument
133 pw.print(prefix); pw.print("mode: "); pw.println(mSkipMode); in dump()
134 pw.print(prefix); pw.print("current index: "); pw.println(mCurrentIndex); in dump()
136 pw.print(prefix); pw.println("no favorites"); in dump()
140 pw.print(prefix); pw.print(size); pw.println(" favorites: "); in dump()
143 pw.print(prefix2); in dump()
144 pw.print(i); pw.print(": "); pw.print(mFavorites.get(i).getName()); in dump()
146 pw.print(" (current)"); in dump()
148 pw.println(); in dump()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadInfo.java403 public void dump(IndentingPrintWriter pw) { in dump() argument
404 pw.println("DownloadInfo:"); in dump()
405 pw.increaseIndent(); in dump()
407 pw.printPair("mId", mId); in dump()
408 pw.printPair("mLastMod", mLastMod); in dump()
409 pw.printPair("mPackage", mPackage); in dump()
410 pw.printPair("mUid", mUid); in dump()
411 pw.println(); in dump()
413 pw.printPair("mUri", mUri); in dump()
414 pw.println(); in dump()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DRoleManagerAdapterImpl.java181 public void dump(IndentingPrintWriter pw) { in dump() argument
182 pw.print("DefaultCallRedirectionApp: "); in dump()
184 pw.print("(override "); in dump()
185 pw.print(mOverrideDefaultCallRedirectionApp); in dump()
186 pw.print(") "); in dump()
187 pw.print(getRoleManagerCallRedirectionApp()); in dump()
189 pw.println(); in dump()
191 pw.print("DefaultCallScreeningApp: "); in dump()
193 pw.print("(override "); in dump()
194 pw.print(mOverrideDefaultCallScreeningApp); in dump()
[all …]
DCallAudioManager.java516 void dump(IndentingPrintWriter pw) { in dump() argument
517 pw.println("All calls:"); in dump()
518 pw.increaseIndent(); in dump()
519 dumpCallsInCollection(pw, mCalls); in dump()
520 pw.decreaseIndent(); in dump()
522 pw.println("Active dialing, or connecting calls:"); in dump()
523 pw.increaseIndent(); in dump()
524 dumpCallsInCollection(pw, mActiveDialingOrConnectingCalls); in dump()
525 pw.decreaseIndent(); in dump()
527 pw.println("Ringing calls:"); in dump()
[all …]
DCarModeTracker.java263 public void dump(IndentingPrintWriter pw) { in dump() argument
264 pw.println("CarModeTracker:"); in dump()
265 pw.increaseIndent(); in dump()
267 pw.println("Current car mode apps:"); in dump()
268 pw.increaseIndent(); in dump()
270 pw.print("["); in dump()
271 pw.print(app.hasSetAutomotiveProjection() ? "PROJECTION SET" : app.getPriority()); in dump()
272 pw.print("] "); in dump()
273 pw.println(app.getPackageName()); in dump()
275 pw.decreaseIndent(); in dump()
[all …]
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DConfig.java137 void dump(String prefix, PrintWriter pw) { in dump() argument
138 pw.println(prefix + "car.bugreport.Config:"); in dump()
140 pw.print(prefix + " "); in dump()
141 pw.print("getAutoUpload"); in dump()
142 pw.print("="); in dump()
143 pw.println(getAutoUpload() ? "true" : "false"); in dump()
145 pw.print(prefix + " "); in dump()
146 pw.print("getUploadDestination"); in dump()
147 pw.print("="); in dump()
148 pw.println(getUploadDestination()); in dump()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DSipSessionTracker.java208 IndentingPrintWriter pw = new IndentingPrintWriter(printWriter, " "); in dump() local
209 pw.println("SipSessionTracker:"); in dump()
210 pw.increaseIndent(); in dump()
211 pw.print("Early Call IDs: "); in dump()
212 pw.println(getEarlyDialogs().stream().map(SipDialog::getCallId) in dump()
214 pw.print("Confirmed Call IDs: "); in dump()
215 pw.println(getConfirmedDialogs().stream().map(SipDialog::getCallId) in dump()
217 pw.print("Closed Call IDs: "); in dump()
218 pw.println(getClosedDialogs().stream().map(SipDialog::getCallId) in dump()
220 pw.println("Tracked Dialogs:"); in dump()
[all …]

12345678