通过adb命令获取设备中各种音量值的大小
可以通过settings list system 获取系统中各种值的大小
#通过过滤获取音量相关的值
>adb shell
> settings list system | grep volume
volume_alarm=6
volume_bluetooth_sco=7
volume_music=5
volume_music_headphone=4
volume_music_headset=4
volume_music_speaker=10
volume_music_usb_headset=6
volume_notification=5
volume_ring=5
volume_ring_speaker=1
volume_system=7
volume_voice=4
#单独获取一种音量值的大小
>adb shell
> settings get system volume_music_speaker
10