diff options
author | Kevin Rocard <krocard@google.com> | 2018-06-28 17:34:11 -0700 |
---|---|---|
committer | Kevin Rocard <krocard@google.com> | 2018-06-29 20:09:50 +0000 |
commit | cfab8dac2b83a3bb50f0ac7cb5a34690c818b0ef (patch) | |
tree | c5f6e65fbd381ce4244d13625e3e8ba943ab5b5c /media | |
parent | d1e489c94caa6338fe3486438274fbaa2bf21a2d (diff) | |
download | android_hardware_interfaces-cfab8dac2b83a3bb50f0ac7cb5a34690c818b0ef.tar.gz android_hardware_interfaces-cfab8dac2b83a3bb50f0ac7cb5a34690c818b0ef.tar.bz2 android_hardware_interfaces-cfab8dac2b83a3bb50f0ac7cb5a34690c818b0ef.zip |
Audio VTS: run tear-down hooks in LIFO instead of FIFO
The audio tests use a static cache of some HAL objects for
performance reasons (speed up by 10x on Pixel).
Those object are destroy during the test environment tear-down.
This tear-down was destroying the objects in a FIFO instead of LIFO
order. Thus the DeficesFactory was destroyed before the Device it
created.
Bug: 79889318
Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target
check that the device destructor is called before the
devicesFactory one.
Change-Id: I1b4345158139ba14a8779a9508f7ebdc41129d1d
Signed-off-by: Kevin Rocard <krocard@google.com>
Diffstat (limited to 'media')
0 files changed, 0 insertions, 0 deletions