commit | 4da775ddb8d44abc4aa223a8f2ef88bd96781bb4 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Fri Dec 03 15:33:46 2021 -0800 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Tue Dec 07 11:14:44 2021 -0800 |
tree | f0ccd0fc62b8152495cb90616dced4afc76aac77 | |
parent | 933bf14319d68d52e646130b5ca31afeb1091f70 [diff] |
AudioManager: test API for device connection Add a test API to simulate the connection/disconnection of an audio device. The simulation of the connection goes as far as AudioService, but doesn't go into the lower layers of the native audio policy or the HAL. Bug: 200218901 Test: atest com.google.android.gts.audioservice.AudioServiceHostTest#testMuteAwaitConnection Change-Id: I36ae9e07b4c7408a0deb471e9b89263c4db21591