Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
audio-settings: add setActiveDevice to mojo
- Add setActiveDevice to mojo interface. - Remove "setActiveDevice" from fake interface to rely on mojo definition. - Update fake backend and related tests to use updated API using ID instead of AudioDevice. - Request CrasAudioHandler to update active output or input device when `setActiveDevice` called with valid device id. - Test output devices update correctly. - Test input devices update correctly. Bug: b:260277007 Test: ./out/Default/chromeos_unittests --gtest_filter=*CrosAudioConfigImpl* Test: browser_test --gtest_filter=*OSSettings*DevicePage*:*OSSettings*FakeCros* Change-Id: I1c6c61ae94a505c2834a8bbd919055a176b0430d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4088288 Auto-Submit: Ashley Prasad <ashleydp@google.com> Reviewed-by: Michael Checo <michaelcheco@google.com> Commit-Queue: Emily Stark <estark@chromium.org> Reviewed-by: Emily Stark <estark@chromium.org> Cr-Commit-Position: refs/heads/main@{#1085135}
- Loading branch information
Ashley Prasad
authored and
Chromium LUCI CQ
committed
Dec 19, 2022
1 parent
8054c42
commit 0bc91aa
Showing
7 changed files
with
86 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters