diff options
author | hughchen <hughchen@google.com> | 2020-02-12 10:40:04 +0800 |
---|---|---|
committer | hughchen <hughchen@google.com> | 2020-02-15 13:45:01 +0800 |
commit | 6ab62ca6a7e2d84e0be952df3316f9a2bd116713 (patch) | |
tree | 29c91a49690c0ee64dc363589d46cc4452610cf3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8a48bc0b1ffc891404396a2372188d8f91b44562 (diff) |
Add new api for output switcher
This CL include following change:
- Add addDeviceToPlayMedia() to let MediaDevice can play current media
together.
- Add removeDeviceFromMedia() to let MediaDevice stop play media.
- Add getSelectableMediaDevice() to get the MediaDevice list that can be
added to current media.
- Add adjustSessionVolume() to let output switcher to change the volume
of RoutingSession.
- Add getSessionVolumeMax() and getSessionVolume() to get max and
current volume of session.
- Add ShadowRouter2Manager.java to implement test case.
- Add test case.
Bug: 142912244
Test: make -j42 RunSettingsLibRoboTests
Change-Id: I1bda5a1c3a788778c384adce851fc2ffa8c1aa73
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions