Searched refs:volIndex (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/media/ |
D | VolumeCtrl.java | 68 int volIndex = 5; in run() local 93 volIndex = Integer.decode(cmd.getNextArgRequired()).intValue(); in run() 95 cmd.log(LOG_V, "will set volume to index=" + volIndex); in run() 138 if ((volIndex > audioService.getStreamMaxVolume(stream)) in run() 139 || (volIndex < audioService.getStreamMinVolume(stream))) { in run() 141 + "(should be in [%d..%d])", volIndex, stream, in run() 153 audioService.setStreamVolume(stream, volIndex, flag, pack/*callingPackage*/); in run()
|
/frameworks/base/media/java/android/media/ |
D | VolumeInfo.java | 59 int volIndex, int minVolIndex, int maxVolIndex, in VolumeInfo() argument 64 mVolIndex = volIndex; in VolumeInfo() 255 public @NonNull Builder setVolumeIndex(int volIndex) { in setVolumeIndex() argument 256 if (volIndex != INDEX_NOT_SET && volIndex < 0) { in setVolumeIndex() 259 mVolIndex = volIndex; in setVolumeIndex()
|