/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiShellCommand.java | 507 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 516 pw.println("IPREACH_DISCONNECT state is " in onCommand() 524 pw.println( in onCommand() 531 pw.println( in onCommand() 540 pw.println("WifiGlobals.getPollRssiIntervalMillis() = " in onCommand() 546 pw.println("Command execution failed"); in onCommand() 553 pw.println("Command execution failed"); in onCommand() 570 pw.println(hasUserApproved ? "yes" : "no"); in onCommand() 579 pw.println("Invalid argument to " in onCommand() 595 pw.println("Invalid argument to " in onCommand() [all …]
|
D | WifiPowerMetrics.java | 97 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 …]
|
D | SarInfo.java | 155 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 …]
|
D | WifiGlobals.java | 679 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument 680 pw.println("Dump of WifiGlobals"); in dump() 681 pw.println("mPollRssiIntervalMillis=" + mPollRssiIntervalMillis.get()); in dump() 682 pw.println("mIpReachabilityDisconnectEnabled=" + mIpReachabilityDisconnectEnabled.get()); in dump() 683 pw.println("mIsBluetoothConnected=" + mIsBluetoothConnected.get()); in dump() 684 pw.println("mIsWpa3SaeUpgradeEnabled=" + mIsWpa3SaeUpgradeEnabled); in dump() 685 pw.println("mIsWpa3SaeUpgradeOffloadEnabled=" + mIsWpa3SaeUpgradeOffloadEnabled); in dump() 686 pw.println("mIsOweUpgradeEnabled=" + mIsOweUpgradeEnabled); in dump() 687 pw.println("mFlushAnqpCacheOnWifiToggleOffEvent=" + mFlushAnqpCacheOnWifiToggleOffEvent); in dump() 688 pw.println("mIsWpa3SaeH2eSupported=" + mIsWpa3SaeH2eSupported); in dump() [all …]
|
D | WifiWakeMetrics.java | 182 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 …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pShellCommand.java | 60 private int handleCommand(String cmd, PrintWriter pw) throws Exception { in handleCommand() argument 69 pw.println("FAILED with reason " + reason); in handleCommand() 80 pw.println("Cannot initialize p2p channel."); in handleCommand() 94 pw.println("This feature is only supported on SdkLevel T or later."); in handleCommand() 102 pw.println("This feature is only supported on SdkLevel T or later."); in handleCommand() 109 pw.println( in handleCommand() 115 pw.println("Invalid argument to 'start-peer-discovery-on-specific-frequency' " in handleCommand() 140 pw.println(String.format("%-32s %-24s %-10s %-10s %-10s", in handleCommand() 143 pw.println(String.format("%-32s %-24s 0x%010x 0x%010x %-10s", in handleCommand() 155 pw.println("This feature is only supported on SdkLevel T or later."); in handleCommand() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | IndentingPrintWriterTest.java | 48 final IndentingPrintWriter pw = new IndentingPrintWriter(mWriter, " "); in testMultipleIndents() local 50 pw.print("Hello"); in testMultipleIndents() 51 pw.increaseIndent(); in testMultipleIndents() 52 pw.println(); in testMultipleIndents() 53 pw.print("World"); in testMultipleIndents() 54 pw.increaseIndent(); in testMultipleIndents() 55 pw.println(); in testMultipleIndents() 56 pw.print("And"); in testMultipleIndents() 57 pw.decreaseIndent(); in testMultipleIndents() 58 pw.println(); in testMultipleIndents() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProviderShellCommand.java | 63 try (PrintWriter pw = getOutPrintWriter()) { in onCommand() argument 69 return runVersion(pw); in onCommand() 71 return runCloudProvider(pw); in onCommand() 78 private int runVersion(@NonNull PrintWriter pw) { in runVersion() argument 79 pw.print('\'' + DatabaseHelper.INTERNAL_DATABASE_NAME + "' version: "); in runVersion() 80 pw.println(DatabaseHelper.VERSION_LATEST); in runVersion() 82 pw.print('\'' + DatabaseHelper.EXTERNAL_DATABASE_NAME + "' version: "); in runVersion() 83 pw.println(DatabaseHelper.VERSION_LATEST); in runVersion() 85 pw.print('\'' + PickerDatabaseHelper.PICKER_DATABASE_NAME + "' version: "); in runVersion() 86 pw.println(PickerDatabaseHelper.VERSION_LATEST); in runVersion() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | TelephonyShellCommand.java | 433 PrintWriter pw = getOutPrintWriter(); in onHelp() local 434 pw.println("Telephony Commands:"); in onHelp() 435 pw.println(" help"); in onHelp() 436 pw.println(" Print this help text."); in onHelp() 437 pw.println(" ims"); in onHelp() 438 pw.println(" IMS Commands."); in onHelp() 439 pw.println(" uce"); in onHelp() 440 pw.println(" RCS User Capability Exchange Commands."); in onHelp() 441 pw.println(" emergency-number-test-mode"); in onHelp() 442 pw.println(" Emergency Number Test Mode Commands."); in onHelp() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | AbstractContactsProvider.java | 421 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/apps/Nfc/src/com/android/nfc/ |
D | NfcShellCommand.java | 81 final PrintWriter pw = getOutPrintWriter(); in onCommand() local 85 printStatus(pw); in onCommand() 122 pw.println("Invalid args for " + cmd + ": "); in onCommand() 123 e.printStackTrace(pw); in onCommand() 126 pw.println("Exception while executing nfc shell command" + cmd + ": "); in onCommand() 127 e.printStackTrace(pw); in onCommand() 150 private void printStatus(PrintWriter pw) throws RemoteException { in printStatus() argument 151 pw.println("Nfc is " + (mNfcService.isNfcEnabled() ? "enabled" : "disabled")); in printStatus() 154 private void onHelpNonPrivileged(PrintWriter pw) { in onHelpNonPrivileged() argument 155 pw.println(" status"); in onHelpNonPrivileged() [all …]
|
/packages/modules/Scheduling/service/java/com/android/server/scheduling/ |
D | RebootReadinessShellCommand.java | 194 final PrintWriter pw = getOutPrintWriter(); in onHelp() local 195 pw.println("Reboot readiness (reboot_readiness) commands: "); in onHelp() 196 pw.println(" help: "); in onHelp() 197 pw.println(" Prints this help text."); in onHelp() 198 pw.println(" check-interactivity-state:"); in onHelp() 199 pw.println(" Checks interactivity state."); in onHelp() 200 pw.println(" check-app-activity-state [--list-blocking]:"); in onHelp() 201 pw.println(" Checks background app activity state. If --list-blocking is passed, a"); in onHelp() 202 pw.println(" list of blocking uids will be printed if any exist."); in onHelp() 203 pw.println(" check-subsystems-state [--list-blocking]:"); in onHelp() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbShellCommand.java | 277 UwbRangingCallbacks(@NonNull SessionInfo sessionInfo, @NonNull PrintWriter pw, in UwbRangingCallbacks() argument 284 mPw = pw; in UwbRangingCallbacks() 435 @NonNull PrintWriter pw, boolean isRadarSession) { in SessionInfo() argument 440 uwbRangingCbs = new UwbRangingCallbacks(this, pw, rangingOpenedFuture, in SessionInfo() 754 private void startFiraRangingSession(PrintWriter pw) throws Exception { in startFiraRangingSession() argument 761 firaOpenSessionParams.second, pw); in startFiraRangingSession() 764 private void startDlTDoaRangingSession(PrintWriter pw) throws Exception { in startDlTDoaRangingSession() argument 789 true, pw); in startDlTDoaRangingSession() 865 private void startCccRangingSession(PrintWriter pw) throws Exception { in startCccRangingSession() argument 876 cccOpenRangingParamsAndBlocking.second, pw); in startCccRangingSession() [all …]
|
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/ |
D | BluetoothShellCommand.java | 66 abstract void onHelp(PrintWriter pw); in onHelp() argument 87 public void onHelp(PrintWriter pw) { in onHelp() argument 88 pw.println(" " + getName()); in onHelp() 89 pw.println(" Call enableBle to activate ble only mode on this device."); in onHelp() 111 public void onHelp(PrintWriter pw) { in onHelp() argument 112 pw.println(" " + getName()); in onHelp() 113 pw.println(" revoke the call to enableBle. No-op if enableBle wasn't call before"); in onHelp() 131 public void onHelp(PrintWriter pw) { in onHelp() argument 132 pw.println(" " + getName()); in onHelp() 133 pw.println(" Enable Bluetooth on this device."); in onHelp() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/voip/ |
D | TransactionManager.java | 166 public void dump(IndentingPrintWriter pw) { in dump() argument 168 pw.println("<<Flag not enabled>>"); in dump() 172 pw.println("Pending Transactions:"); in dump() 173 pw.increaseIndent(); in dump() 175 printPendingTransactionStats(t, pw); in dump() 177 pw.decreaseIndent(); in dump() 179 pw.println("Ongoing Transaction:"); in dump() 180 pw.increaseIndent(); in dump() 182 printPendingTransactionStats(mCurrentTransaction, pw); in dump() 184 pw.decreaseIndent(); in dump() [all …]
|
/packages/modules/NetworkStack/src/com/android/server/ |
D | NetworkStackService.java | 429 final IndentingPrintWriter pw = new IndentingPrintWriter(fout, " "); in dump() local 430 pw.println("NetworkStack version:"); in dump() 431 dumpVersion(pw); in dump() 432 pw.println(); in dump() 438 pw.println("Device Configs:"); in dump() 439 pw.increaseIndent(); in dump() 440 pw.println("SKIP_TCP_POLL_IN_LIGHT_DOZE=" in dump() 443 pw.println("FEATURE_IS_UID_NETWORKING_BLOCKED=" + DeviceConfigUtils.isFeatureSupported( in dump() 445 pw.println("IGNORE_TCP_INFO_FOR_BLOCKED_UIDS=" in dump() 448 pw.decreaseIndent(); in dump() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | CarShellCommand.java | 609 try (IndentingPrintWriter pw = new IndentingPrintWriter(getOutPrintWriter())) { in onCommand() argument 610 return exec(args, pw); in onCommand() 616 try (IndentingPrintWriter pw = new IndentingPrintWriter(getOutPrintWriter())) { in onHelp() argument 617 showHelp(pw); in onHelp() 621 private static void showHelp(IndentingPrintWriter pw) { in showHelp() argument 622 pw.println("Car service commands:"); in showHelp() 623 pw.println("\t-h"); in showHelp() 624 pw.println("\t Print this help text."); in showHelp() 625 pw.println("\tday-night-mode [day|night|sensor]"); in showHelp() 626 pw.println("\t Force into day/night mode or restore to auto."); in showHelp() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | KeyValueListParser.java | 258 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/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringConfiguration.java | 402 public void dump(PrintWriter pw) { in dump() argument 403 pw.print("activeDataSubId: "); in dump() 404 pw.println(activeDataSubId); in dump() 406 dumpStringArray(pw, "tetherableUsbRegexs", tetherableUsbRegexs); in dump() 407 dumpStringArray(pw, "tetherableWifiRegexs", tetherableWifiRegexs); in dump() 408 dumpStringArray(pw, "tetherableWifiP2pRegexs", tetherableWifiP2pRegexs); in dump() 409 dumpStringArray(pw, "tetherableBluetoothRegexs", tetherableBluetoothRegexs); in dump() 410 dumpStringArray(pw, "tetherableNcmRegexs", tetherableNcmRegexs); in dump() 412 pw.print("isDunRequired: "); in dump() 413 pw.println(isDunRequired); in dump() [all …]
|
D | BpfCoordinator.java | 1135 public void dump(@NonNull IndentingPrintWriter pw) { in dump() argument 1138 pw.println("mIsBpfEnabled: " + mIsBpfEnabled); in dump() 1139 pw.println("Polling " + (mPollingStarted ? "started" : "not started")); in dump() 1140 pw.println("Stats provider " + (mStatsProvider != null in dump() 1142 pw.println("Upstream quota: " + mInterfaceQuotas.toString()); in dump() 1143 pw.println("Polling interval: " + getPollingInterval() + " ms"); in dump() 1144 pw.println("Bpf shim: " + mBpfCoordinatorShim.toString()); in dump() 1146 pw.println("Forwarding stats:"); in dump() 1147 pw.increaseIndent(); in dump() 1149 pw.println("<empty>"); in dump() [all …]
|
/packages/services/Car/tests/UserSwitchMonitorApp/src/com/google/android/car/userswitchmonitor/ |
D | UserSwitchMonitorService.java | 205 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument 207 executeCommand(pw, args); in dump() 210 pw.printf("User id: %d\n", mUserId); in dump() 211 pw.printf("Listener: %s\n", mListener); in dump() 215 pw.printf("Receivers for %d users:\n", mReceivers.size()); in dump() 216 mReceivers.values().forEach((receiver) -> pw.printf("%s%s\n", indent, receiver)); in dump() 219 pw.println("Did not receive any event yet"); in dump() 223 pw.printf("Received %d events:\n", eventsSize); in dump() 225 pw.printf("%s%d: %s\n", indent, (i + 1), mEvents.get(i)); in dump() 236 private void executeCommand(PrintWriter pw, String[] args) { in executeCommand() argument [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareMetrics.java | 736 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { in dump() argument 738 pw.println("mLastEnableUsageMs:" + mLastEnableUsageMs); in dump() 739 pw.println( in dump() 741 pw.println("mAvailableTimeMs:" + mAvailableTimeMs); in dump() 742 pw.println("mHistogramAwareAvailableDurationMs:"); in dump() 744 pw.println(" " + mHistogramAwareAvailableDurationMs.keyAt(i) + ": " in dump() 748 pw.println("mLastEnableAwareMs:" + mLastEnableAwareMs); in dump() 749 pw.println( in dump() 751 pw.println("mEnabledTimeMs:" + mEnabledTimeMs); in dump() 752 pw.println("mHistogramAwareEnabledDurationMs:"); in dump() [all …]
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsEventLogger.java | 85 public void dumpPollCountsPerReason(@NonNull IndentingPrintWriter pw) { in dumpPollCountsPerReason() argument 86 pw.println("Poll counts per reason:"); in dumpPollCountsPerReason() 87 pw.increaseIndent(); in dumpPollCountsPerReason() 89 pw.println(PollEvent.pollReasonNameOf(i) + ": " + mPollEventCounts[i]); in dumpPollCountsPerReason() 91 pw.decreaseIndent(); in dumpPollCountsPerReason() 92 pw.println(); in dumpPollCountsPerReason() 99 public void dumpRecentPollEvents(@NonNull IndentingPrintWriter pw) { in dumpRecentPollEvents() argument 100 pw.println("Recent poll events:"); in dumpRecentPollEvents() 101 pw.increaseIndent(); in dumpRecentPollEvents() 102 mEventChanges.reverseDump(pw); in dumpRecentPollEvents() [all …]
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | Config.java | 162 void dump(String prefix, PrintWriter pw) { in dump() argument 163 pw.println(prefix + "car.bugreport.Config:"); in dump() 165 pw.print(prefix + " "); in dump() 166 pw.print("getAutoUpload"); in dump() 167 pw.print("="); in dump() 168 pw.println(isAutoUpload() ? "true" : "false"); in dump() 170 pw.print(prefix + " "); in dump() 171 pw.print("getUploadDestination"); in dump() 172 pw.print("="); in dump() 173 pw.println(getUploadDestination()); in dump() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RoleManagerAdapterImpl.java | 201 public void dump(IndentingPrintWriter pw) { in dump() argument 202 pw.print("DefaultCallRedirectionApp: "); in dump() 204 pw.print("(override "); in dump() 205 pw.print(mOverrideDefaultCallRedirectionApp); in dump() 206 pw.print(") "); in dump() 207 pw.print(getRoleManagerCallRedirectionApp(Binder.getCallingUserHandle())); in dump() 209 pw.println(); in dump() 211 pw.print("DefaultCallScreeningApp: "); in dump() 213 pw.print("(override "); in dump() 214 pw.print(mOverrideDefaultCallScreeningApp); in dump() [all …]
|