platform_hardware_interfaces/audio/core
Kevin Rocard d87a288e82 Audio VTS: Workaround async HIDL destructor by sleeping
The test creates an instance of the Audio HAL then destroys it and create it again.
The test assumed that the destruction was synchronous when in fact it is async with
no way of knowing when the object has been destroyed.

As a result, until a better solution is found, sleep for 100ms to hopefully let enouth
time for the HAL destructor to return.

Bug: 112566489
Test: adb shell /data/nativetest64/VtsHalAudioV4_0TargetTest/VtsHalAudioV4_0TargetTest --gtest_filter=*OpenPrimaryDeviceUsingGetDevice
      atest VtsHalAudioV4_0TargetTest
Change-Id: I0ec75c12007d39060232632708722df5bf0f99d7
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-09-19 18:27:15 +00:00
..
2.0 VTS tests should be static 2018-05-16 18:04:57 -07:00
4.0 Audio VTS: Workaround async HIDL destructor by sleeping 2018-09-19 18:27:15 +00:00
all-versions Merge changes I29bbf6bf,Ib0b03fb6 into pi-dev 2018-05-05 00:18:23 +00:00