Lines Matching defs:pw

783     private void dumpStreamStates(PrintWriter pw) {
784 pw.println("\nStream volumes (device: index)");
787 pw.println("- "+STREAM_NAMES[i]+":");
788 mStreamStates[i].dump(pw);
789 pw.println("");
791 pw.print("\n- mute affected streams = 0x");
792 pw.println(Integer.toHexString(mMuteAffectedStreams));
3851 private void dump(PrintWriter pw) {
3852 pw.print(" Mute count: ");
3853 pw.println(muteCount());
3854 pw.print(" Max: ");
3855 pw.println((mIndexMax + 5) / 10);
3856 pw.print(" Current: ");
3862 pw.print(Integer.toHexString(device));
3866 pw.print(" (");
3867 pw.print(deviceName);
3868 pw.print(")");
3870 pw.print(": ");
3872 pw.print(index);
3874 pw.print(", ");
5561 private void dumpRingerMode(PrintWriter pw) {
5562 pw.println("\nRinger mode: ");
5563 pw.println("- mode (internal) = " + RINGER_MODE_NAMES[mRingerMode]);
5564 pw.println("- mode (external) = " + RINGER_MODE_NAMES[mRingerModeExternal]);
5565 pw.print("- ringer mode affected streams = 0x");
5566 pw.println(Integer.toHexString(mRingerModeAffectedStreams));
5567 pw.print("- ringer mode muted streams = 0x");
5568 pw.println(Integer.toHexString(mRingerModeMutedStreams));
5569 pw.print("- delegate = "); pw.println(mRingerModeDelegate);
5573 protected void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
5576 mMediaFocusControl.dump(pw);
5577 dumpStreamStates(pw);
5578 dumpRingerMode(pw);
5579 pw.println("\nAudio routes:");
5580 pw.print(" mMainType=0x"); pw.println(Integer.toHexString(mCurAudioRoutes.mMainType));
5581 pw.print(" mBluetoothName="); pw.println(mCurAudioRoutes.mBluetoothName);
5583 pw.println("\nOther state:");
5584 pw.print(" mVolumeController="); pw.println(mVolumeController);
5585 pw.print(" mSafeMediaVolumeState=");
5586 pw.println(safeMediaVolumeStateToString(mSafeMediaVolumeState));
5587 pw.print(" mSafeMediaVolumeIndex="); pw.println(mSafeMediaVolumeIndex);
5588 pw.print(" mPendingVolumeCommand="); pw.println(mPendingVolumeCommand);
5589 pw.print(" mMusicActiveMs="); pw.println(mMusicActiveMs);
5590 pw.print(" mMcc="); pw.println(mMcc);
5591 pw.print(" mHasVibrator="); pw.println(mHasVibrator);
5593 dumpAudioPolicies(pw);
5933 private void dumpAudioPolicies(PrintWriter pw) {
5934 pw.println("\nAudio policies:");
5937 pw.println(policy.toLogFriendlyString());