History log of /frameworks/base/cmds/media/src/com/android/commands/media/VolumeCtrl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
39a1fce4395ba2c4af907d43a91785909d716b90 22-Dec-2016 Frank Barchard <fbarchard@google.com> media volume allow --get to be combined with --set and --adj

Bug: 33819516
Test: adb shell media volume --stream 3 --adj lower --get
Change-Id: Ie30f5c0ea54bfac59c2e05513da61a98658f7d0e
/frameworks/base/cmds/media/src/com/android/commands/media/VolumeCtrl.java
b6b3030539c6eea599c8e67ccb211ca9de54cf5a 21-Dec-2016 Frank Barchard <fbarchard@google.com> media volume: remove old --set and rename --index to --set

The old --set did not take a parameter for volume and was
defaulting to volume index of 5.
The old --index option allowed the user to set the volume to
a specified value.
This CL removes the old --set that had limited usefulness, and
renames --index to --set, so --set now takes a parameter for
volume.
For backward compatibility the --index option is kept around
to allow scripts time to switch to --set

Bug: 33791633
Test: adb shell media volume --set 4
Change-Id: I43a87a878439b3416efa746708b62a869023acdc
/frameworks/base/cmds/media/src/com/android/commands/media/VolumeCtrl.java
f41d429ce7c8a4ba2118ca5e64d459935539b8df 20-Dec-2016 Frank Barchard <fbarchard@google.com> media volume --get outputs the current volume

Add --get option to media volume to fetch the specified
stream volume and output it on the console.
Also displays the min and max volume for that stream.

Bug: 33559057
Test: adb shell media volume --stream 3 --get
Change-Id: Icc82ba1349dd75e07ccff4872e104843a69e5f17
/frameworks/base/cmds/media/src/com/android/commands/media/VolumeCtrl.java
be47e1935589e2a189704ec223f3d1974fde6718 07-Dec-2016 Jean-Michel Trivi <jmtrivi@google.com> Extend "media" shell command for volume control

Add option to the "media" command to set or adjust the volume.
Run "adb shell media" for options and examples.

Test: adb shell media

Change-Id: I434f9cd33a9fefb2cd21a3415ec8b2e0a569482e
/frameworks/base/cmds/media/src/com/android/commands/media/VolumeCtrl.java