Android IOMX differs slightly from OMX. Disable tests that are not
needed (for now). We will revisit them at a later stage
Bug:32023356
Bug:37501531
Test: make vts.
Change-Id: Iad71d72a4a66d621f415731d2c0e1a3794ed3524
Bug:32023356
Test: make vts.
cleanup: move duplicate code to common
moved code shared across application to common and
removed duplicate code
Change-Id: I2dacb9d72bdf545addd2cc377dd4342c92f50f11
restrict secure component testing to VTS*ComponentTest
Change-Id: I1d2878408df2e4cbe31b3b47a3d6500a90692a7a
Master Test: test component node alloc/dealloc
Change-Id: I89ef853cf5a9f6b0a0af9e25ef484968aec614f6
Component Test: fix dispatchMsg test fixture
Change-Id: Ie1068a5d73a3a573e552cf023c9c7dc78a43ea59
AudioDec Test : missing csd in opus resource files
opus decoder test resource files have a missing csd. This is causing
timestamp list empty test to fail. This is fixed
Change-Id: I6ae3b241fbf3e384943a0e6e80838a45c1fc6687
Change-Id: Ie7775456542f12d5f5d87dded4b0a57fd0723037
The attestation version cannot be infered from the keymaster version
because we provide software attestation for legacy keymaster 1 keys.
This patch changes the attestation test to expect either attestation
version 1 or 2.
Bug: 37351644
Test: VtsHalKeymasterV3_0TargetTest
Change-Id: I4db83a543db20191d288b2ca8308aa6597cd8e22
Validate the audio_policy_configuration.xml supplied in /vendor against
the format schema.
Test: Run the VTS test on target
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation
Bug: 35700978
Change-Id: I800e692a6ff4f64655007c33af7e34d879ee1132
Signed-off-by: Kevin Rocard <krocard@google.com>
(cherry picked from commit 06a2a40309)
Register for notification of service death for callbacks registered with
the context hub HAL. Upon this notification, unregister the callback to
avoid crashing if an event occurs prior to the service coming back up.
Bug: 36202367
Test: adb shell stop, confirm death notification received via log;
vts-tradefed run commandAndExit vts --module VtsHalContexthubV1_0Target
Change-Id: I3c25229806cb9f2a116007939c752841edbf0985
Validate the audio_policy_configuration.xml supplied in /vendor against
the format schema.
Test: Run the VTS test on target
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation
Bug: 35700978
Change-Id: I800e692a6ff4f64655007c33af7e34d879ee1132
Signed-off-by: Kevin Rocard <krocard@google.com>
To validate the audio_policy_configuration.xml against a schema,
libxml2 is used.
Unfortunately, libxml2 uses Android.mk in oc-dev thus can not be used
from the tests which uses Android.bp.
It has been deemed safer to transform the tests to use Android.mk rather
than backporting the Android.bp patch from master.
Test: Compile
Bug: 35700978
Merged-In: I800e692a6ff4f64655007c33af7e34d879ee1132
Change-Id: Ie3f2069d60be369b4c37c27e9c1cf9372323a19c
Signed-off-by: Kevin Rocard <krocard@google.com>
HAL may not support offloading, and a call to IEffect::offload
is allowed to return an error code.
Update the test to only check that the call to the method doesn't
crash.
Bug: 38437110
Test: still passes
Change-Id: I6cfd25998edb9c68d2e585e572ba8ba3a3427e98
DeleteKey may legitimately return ErrorCode::UNIMPLEMENTED rather than
ErrorCode::OK, but the VTS test didn't allow that in all cases. In many
case the return code was also left unchecked.
Test: adb shell/data/nativetest64/VtsHalKeymasterV3_0TargetTest/VtsHalKeymasterV3_0TargetTest
Bug: 62193967
Change-Id: I19a90a87850675b0700baf7409e57098e0584d54
get_presentation_position can return ENODATA if the stream
has stopped but the write is still querying the position.
Bug: 38376424
Change-Id: I9d516a19fb347843a8ec8e8e9a0f5eab0b0798e6
Test: no log messages from StreamHAL about get_presentation_position
(cherry picked from commit 96a3a19bed)
The schema describes the XML format for audio policy
configuration.
It will be enforced in a follow up vts test.
Bug: 35700978
Test: schema is parsed with xmllint with no errors
Test: xmllint --xinclude --noout --schema audio_policy_configuration.xsd out/target/product/sailfish/vendor/etc/audio_policy_configuration.xml
Change-Id: Ic6830446b54b3e02e4bca9b0a392523a8fb359e1
Signed-off-by: Kevin Rocard <krocard@google.com>
Any fixed integer can be returned by vendor's APIs response.
Ideally it should be a random value for testing a vendor library.
Applying this to all the unit tests serial number.
Cherry-pick from:
https://googleplex-android-review.git.corp.google.com/#/c/2330821/
Bug: 38499889
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Change-Id: I491db829cca607fad9f6a21987de92269d115253
Merged-In: I491db829cca607fad9f6a21987de92269d115253
(cherry picked from commit 0e8a3be41c)
Any fixed integer can be returned by vendor's APIs response.
Ideally it should be a random value for testing a vendor library.
Applying this to all the unit tests serial number.
Cherry-pick from:
https://googleplex-android-review.git.corp.google.com/#/c/2330821/
Bug: 38499889
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Change-Id: I491db829cca607fad9f6a21987de92269d115253
Merged-In: I491db829cca607fad9f6a21987de92269d115253
This reverts commit 6c0f76a684.
Since the root cause of the crash has been established, there is no need to keep this code around.
Bug: 36225019
Change-Id: I74e570e863a0cdec5d9029f1672e2e8066c246b5
Bug:32023356
Test: make vts.
bug fix : fix issues in port reconfiguration
soft and vendor omx components communicate differently. The existing
design doesnt cover this. This is now fixed
Change-Id: I898e60c93961f468e749ab5f13db996c5fd53967
add support for additional color formats
tested encoder for bgra & 420sp color format inputs.
added code to get/set encoder latency.
some more necessary code cleanup.
Change-Id: I05b79d0a7706e20afaf91c88caf3e523c98b4540
IOmxBufferSource callback tests
Change-Id: I2826597c6ab110a0bf52290e3c52ff3fb3c6ea23
The libcld80211 is vendor-specific. Remove from dependecy list.
(cherry-pick of commit aa281aa266)
Bug: 37901207
Test: builds and runs
Merged-In: If251002c2dd7a0e30ca18620edd905a63217f28a
Change-Id: If251002c2dd7a0e30ca18620edd905a63217f28a