271d7aaf114a620d20d7d8b2739f94c94a0a92bc |
15-May-2018 |
Kevin Rocard <krocard@google.com> |
VTS tests should be static VTS tests can only depend on NDK shared libraries, they are pushed and run on older desert version. In theory the VTS tests should be built against the NDK, but this is not possible due to all the system dependencies. Bug: 78871270 Test: compile Change-Id: I48fbffd0316efc151917071c54aa19e533c615df Signed-off-by: Kevin Rocard <krocard@google.com>
unctional/Android.bp
|
c1d89888b97fc37a82ae060db66f189db4444a20 |
28-Apr-2018 |
Kevin Rocard <krocard@google.com> |
Audio V4 VTS: test setter even if getter is NOT_SUPPORTED Previously, the setter of optional properties were not tested if the getter was not supported. This was an issue as the framework rarely gets, most often only sets as it consider having the ownership of those properties. Thus implementation tend to only support set. As a result optional setter were not tested although called by the framework. For example the default impl setTtyMode has a bug that was not detected because the Pixel HAL does not support getTtyMode. This patch makes sure to always test getter and setter. Test: atest VtsHalAudioV4_0TargetTest Bug: 71486871 Change-Id: Ib0b03fb6eb77cc0428a33eb463166dd7c339bd3d Signed-off-by: Kevin Rocard <krocard@google.com>
unctional/AudioPrimaryHidlHalTest.cpp
|
bad3b28b60a31877e302562bf2f8270466ae4806 |
11-Apr-2018 |
jiabin <jiabin@google.com> |
Add vts for microphone enumeration APIs. Bug: 64038649 Test: run vts --module VtsHalAudioV4_0Target Change-Id: If75ee585a9d865d010fc7d2a081b930fba022a20
unctional/AudioPrimaryHidlHalTest.cpp
|
d2f6be72ef843810e808b75a3971db069d928d25 |
24-Apr-2018 |
Kevin Rocard <krocard@google.com> |
Audio V4: Add missing VTS Test: atest VtsHalAudioV4_0TargetTest Bug: 74037175 Change-Id: I2f70f2ec6d4b1ee015de6b4937832903d945fdeb Signed-off-by: Kevin Rocard <krocard@google.com>
unctional/AudioPrimaryHidlHalTest.cpp
|
82cef8d3f9404835800c25039b3ea6009fc5da07 |
24-Apr-2018 |
Kevin Rocard <krocard@google.com> |
Audio V4: VTS Pause was testing resume Bug: 74037175 Test: VtsHalAudioV4_0TargetTest Change-Id: I9d77a59e69452e0891dc4e8e2cc2a14fef4fda41 Signed-off-by: Kevin Rocard <krocard@google.com>
unctional/AudioPrimaryHidlHalTest.cpp
|
cff6813819524e584069d9a007aa70279892b1c8 |
24-Apr-2018 |
Kevin Rocard <krocard@google.com> |
Audio V4: fix invalid SupportedChannelMasks test Test was calling getSupportedSamplingRate instead of channel mask. Bug: 77307068 Test: atest VtsHalAudioV4_0TargetTest Change-Id: Ib6e9d017793edfc95853cab0c2955b8c801bc66f Signed-off-by: Kevin Rocard <krocard@google.com>
unctional/AudioPrimaryHidlHalTest.cpp
|
dea4c3803fb07822a08c382dc26af32804c32772 |
21-Apr-2018 |
Kevin Rocard <krocard@google.com> |
Audio V4: setMode VTS incorrectly assume 0 was invalid Thus the test was always incorrectly failing. Also improve the test error messages. Bug: 77307068 Test: VtsHalAudioV4_0TargetTest Change-Id: I95db94ed99f7ca32af35422e36a95084e72279d8 Signed-off-by: Kevin Rocard <krocard@google.com>
unctional/AudioPrimaryHidlHalTest.cpp
|
16d654790192069ae43e357ac3bbd47c83d823d5 |
21-Apr-2018 |
Kevin Rocard <krocard@google.com> |
Audio V4: Improve VTS error messages This does not change the test logic or constraints. It only improves the error messages. Bug: 77307068 Test: atest VtsHalAudioV4_0TargetTest Change-Id: I6c79ddd014d4ab8aba4f1d0b918888f83dfb63ad Signed-off-by: Kevin Rocard <krocard@google.com>
unctional/AudioPrimaryHidlHalTest.cpp
|
93a2065eca53ad2919a9cc7aa263c0445e8e60b3 |
18-Apr-2018 |
Mikhail Naganov <mnaganov@google.com> |
audio: Add VTS tests for new interface methods in V4.0 Add VTS tests for the following methods: IStreamOut::selectPresentation IPrimaryDevice::getBtHfpEnabled IPrimaryDevice::setBtHfpEnabled IPrimaryDevice::setBtHfpSampleRate IPrimaryDevice::setBtHfpVolume IPrimaryDevice::setBtScoHeadsetDebugName IPrimaryDevice::updateRotation Fix the default implementation of IPrimaryDevice::setBtHfpVolume Bug: 74037175 Test: VtsHalAudioV4_0TargetTest Change-Id: I39beb05184d0ecdb2799de037e1c5c3c383f5494
unctional/AudioPrimaryHidlHalTest.cpp
|
a8da86e4032f36803af3bb1df08c0c995ece38e9 |
12-Mar-2018 |
Kevin Rocard <krocard@google.com> |
Audio V4: do not override V4 audo policy config XSD The xsd did not have its version in its name, thus the V4 and V2 were overwriting each other. Bug: 38184704 Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV4_0Target Change-Id: Id7e733729a9afcdcc582f88a5527b6eb1c7283bf Signed-off-by: Kevin Rocard <krocard@google.com>
unctional/ValidateAudioConfiguration.cpp
|
e3afd40e91eafa020429dbbc3ebbb1690d0e679d |
12-Mar-2018 |
Kevin Rocard <krocard@google.com> |
Audio V4: Update V2 tests to V4 Bug: 74037175 Bug: 38184704 Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV4_0Target Change-Id: Ic8da941fc042b7ef838edf8fdac36b2f0fa1fd32 Signed-off-by: Kevin Rocard <krocard@google.com>
unctional/Android.bp
unctional/AudioPrimaryHidlHalTest.cpp
|
18f463eeaeb44099761c848804e03c0daaab994a |
09-Mar-2018 |
Kevin Rocard <krocard@google.com> |
Audio V4: Duplicate V2 tests Because VTS must no be modified for old API version (except bug fixes), as that could break retrocompatiblity. As a result, a full copy is made. This commit is only: $ cp -r core/2.0/vts/ core/4.0/vts $ cp -r effect/2.0/vts/ effect/4.0/vts With a V2 replaced by V4 test target name to avoid conflict. Bug: 38184704 Test: Compile Change-Id: Iddf9e7a9d42bfe84cf067a08d249a9cc0e6b7241 Signed-off-by: Kevin Rocard <krocard@google.com>
WNERS
unctional/Android.bp
unctional/AudioPrimaryHidlHalTest.cpp
unctional/ValidateAudioConfiguration.cpp
|