Dan Shi
6b0fd062bb
Suppress gtest error for tests without any instance
...
Bug: 162052785
Test: m -j vts
Change-Id: I627d6790aa08aa9c6e3c5b8bdc533213ee08de21
2020-09-08 10:42:38 -07:00
Lajos Molnar
014329700f
resolve merge conflicts of ae811bc806
to rvc-dev-plus-aosp am: 7a3434e08e
am: 73f8f50148
am: 1a47a02f72
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12292179
Change-Id: I5efe72efc1fa4e76d24e4bc727a138bff640c43c
2020-08-03 17:54:28 +00:00
Lajos Molnar
7a3434e08e
resolve merge conflicts of ae811bc806
to rvc-dev-plus-aosp
...
Change-Id: I555ff20739fe7e2ed195d1e670ebec5f1da4aaf0
2020-08-02 23:35:10 -07:00
TreeHugger Robot
b2cf1ccc9c
Merge "OMX VTS: Use GraphicBuffer utils from libui"
2020-08-01 00:17:05 +00:00
Lajos Molnar
237e3d7ffc
omx vts: update language to comply with Android's inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
BUG=161896447
Change-Id: I0ced401233497bbbfce90e9b84147bb08399e421
2020-07-31 04:35:05 +00:00
Lajos Molnar
3836d5584a
omx: rename master to store
...
Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference
BUG=161896447
Change-Id: I9b1f8ed9da444024cd2fa2f3a62b6874dcd96cf7
2020-07-31 04:34:57 +00:00
Pawin Vongmasa
0f9e6d56dc
OMX VTS: Use GetComponentRole from OMXUtils
...
Test: atest VtsHalMediaOmxV1_0TargetMasterTest
Bug: 159410244
Change-Id: Iba2a7259ddc5fc634b22d8c5954178dede6b71d5
Merged-In: Iba2a7259ddc5fc634b22d8c5954178dede6b71d5
2020-07-31 04:34:45 +00:00
Devin Moore
34a4184d91
Convert Python OMX VTS test to Gtest
...
Moving the extra tests from
test/vts-testcase/hal/media/omx/V1_0/host_omxstore/VtsHalMediaOmxStoreV1_0HostTest.py
to the OMX Gtest in VtsHalMediaOmxV1_0TargetMasterTest.
This is mostly validating the RoleInfo and NodeInfo data obtained from
IOmxStore interface.
Bug: 152237762
Test: atest VtsHalMediaOmxV1_0TargetMasterTest on cf and pixel devices
Change-Id: I8174b8953ee5e484777afb21b2d170cec0159edc
Merged-In: I8174b8953ee5e484777afb21b2d170cec0159edc
2020-07-31 04:34:06 +00:00
Dan Shi
e5c9b5e722
Suppress gtest error for tests without any instance am: ba4d532fee
am: 73122cd284
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1374050
Change-Id: Ie5e956d4613f5e947c36ba4f1048f0c3aa8944ba
2020-07-29 05:45:58 +00:00
Dan Shi
ba4d532fee
Suppress gtest error for tests without any instance
...
Bug: 162052785
Test: m -j vts
Change-Id: I8c1a48e6fbd7c8161137902b5332911fa0d7b8b3
2020-07-28 15:12:32 -07:00
Manisha Jajoo
cf79f5eb2e
OMX VTS: Use GraphicBuffer utils from libui
...
Use GraphicBufferMapper and GraphicBufferAllocator for
gralloc buffers. This makes the tests independent of
gralloc version
Bug: 160355727
Test: atest VtsHalMediaOmxV1_0TargetMasterTest \
VtsHalMediaOmxV1_0TargetComponentTest \
VtsHalMediaOmxV1_0TargetAudioEncTest \
VtsHalMediaOmxV1_0TargetAudioDecTest \
VtsHalMediaOmxV1_0TargetVideoDecTest \
VtsHalMediaOmxV1_0TargetVideoEncTest
Change-Id: If407ac3d8c0fadc55a8e57627121244a8d5155f8
Merged-In: If407ac3d8c0fadc55a8e57627121244a8d5155f8
2020-07-27 16:46:09 -07:00
jack.cc-hsu
5f3e506e55
Update nodeNamePattern rule am: 88990e687c
am: b3de96925a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12134843
Change-Id: I9e998229daa4e140effbb46f3ea330e17ce127f2
2020-07-13 20:46:09 +00:00
jack.cc-hsu
69e801624a
Update nodeNamePattern rule am: 88990e687c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12134843
Change-Id: Ia0c61c9a02523ba45660e5f699a521ad1fb225fa
2020-07-13 20:32:54 +00:00
jack.cc-hsu
88990e687c
Update nodeNamePattern rule
...
Include '_' which has always been allowed.
Bug: 158645317
Test: VtsHalMediaOmxV1_0TargetMasterTest : OK
Change-Id: Ia1cfc6004961ffad76843920fe4d5423f70244e7
2020-07-13 16:33:08 +00:00
TreeHugger Robot
d57ec164c7
Merge "OMX VTS: Use GetComponentRole from OMXUtils" into rvc-dev am: da96bb5226
am: 4c8c969e88
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11945946
Change-Id: I739e241d5f7ee4d151895cc3161dee593527fd59
2020-06-22 04:06:33 +00:00
TreeHugger Robot
f00aabf409
Merge "OMX VTS: Use GetComponentRole from OMXUtils" into rvc-dev am: da96bb5226
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11945946
Change-Id: If2cede806116884346b60dcdd44a8c91734beb90
2020-06-22 03:51:10 +00:00
Pawin Vongmasa
922654fc4d
OMX VTS: Use GetComponentRole from OMXUtils
...
Test: atest VtsHalMediaOmxV1_0TargetMasterTest
Bug: 159410244
Change-Id: Iba2a7259ddc5fc634b22d8c5954178dede6b71d5
2020-06-21 05:19:14 -07:00
Orion Hodson
9220d84c08
Merge "Use shared library variant of libnativehelper" am: 3f7367a17e
am: b23a1ed78c
...
Change-Id: Id746582ededb3e46aa93483da921e6eb967c823e
2020-05-04 07:43:37 +00:00
Orion Hodson
d1565e78d3
Use shared library variant of libnativehelper
...
Now available as a public library, static variant will be retired.
Bug: 150252746
Bug: 151443957
Test: mma
Change-Id: I3c0bd3d53eb457577a22cf74c9a6d852ed69c9be
2020-04-28 18:54:31 +01:00
Devin Moore
5bd2a350ad
Convert Python OMX VTS test to Gtest
...
Moving the extra tests from
test/vts-testcase/hal/media/omx/V1_0/host_omxstore/VtsHalMediaOmxStoreV1_0HostTest.py
to the OMX Gtest in VtsHalMediaOmxV1_0TargetMasterTest.
This is mostly validating the RoleInfo and NodeInfo data obtained from
IOmxStore interface.
Bug: 152237762
Test: atest VtsHalMediaOmxV1_0TargetMasterTest on cf and pixel devices
Change-Id: I8174b8953ee5e484777afb21b2d170cec0159edc
2020-04-27 18:42:59 -07:00
Steven Moreland
c6e69bde30
Rename vts-core to vts
...
Bug: 151896491
Bug: 139438327
Test: local build
Change-Id: Ida36f4e10bbdd72f58039f8ee5ae6f61edac4769
Merged-In: Id542b54ba2da1fca03a9c44bf05d0f68793445cf
2020-04-22 00:06:21 +00:00
Dan Shi
ba894f81db
Rename vts-core to vts
...
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.
Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 15:17:02 -07:00
Dan Shi
d6fea1eaa1
Convert MediaOmx tests to parameterized gtest
...
Bug: 142950220
Test: atest VtsHalMediaOmxV1_0TargetMasterTest \
VtsHalMediaOmxV1_0TargetComponentTest \
VtsHalMediaOmxV1_0TargetAudioEncTest \
VtsHalMediaOmxV1_0TargetAudioDecTest \
VtsHalMediaOmxV1_0TargetVideoDecTest \
VtsHalMediaOmxV1_0TargetVideoEncTest
Change-Id: Id1b8f6073c98db36c0ac86a881e7220ecfd0a71f
Merged-In: Id1b8f6073c98db36c0ac86a881e7220ecfd0a71f
2020-04-07 21:31:03 +00:00
Dan Shi
e2a91ed317
Convert MediaOmx tests to parameterized gtest
...
Bug: 142950220
Test: atest VtsHalMediaOmxV1_0TargetMasterTest \
VtsHalMediaOmxV1_0TargetComponentTest \
VtsHalMediaOmxV1_0TargetAudioEncTest \
VtsHalMediaOmxV1_0TargetAudioDecTest \
VtsHalMediaOmxV1_0TargetVideoDecTest \
VtsHalMediaOmxV1_0TargetVideoEncTest
Change-Id: Id1b8f6073c98db36c0ac86a881e7220ecfd0a71f
2020-03-20 11:36:06 -07:00
Pawin Vongmasa
a54bf6ed5a
OMX VTS: Move device resource files to data/local/tmp
...
Some devices make /sdcard a symbolic link to a non-constant target. The
target changes between the setup and the execution, so files pushed to
/sdcard during the setup cannot be found when the test runs.
Test: vts-tradefed run vts -m VtsHalMediaOmxV1_0Host
Bug: 138388013
Change-Id: I824b84ef8570ba501cf8137d695f98c335f92c7b
2019-08-22 07:29:05 +00:00
Pawin Vongmasa
94a3234219
Support IMapper@3.0 in OMX VTS
...
Test: vts-tradefed run vts -m VtsHalMediaOmxV1_0Host
Bug: 135422812
Change-Id: I9a37b4f926813b0cd90f96e318760eecafd04e06
2019-07-08 21:31:33 -07:00
Manisha Jajoo
70de321e05
omx:component: add support for tunneled components in ComponentTest am: 4609857ee4
am: f31fd7f8cb
...
am: 880ef39899
Change-Id: I268104aa25c7ed3305d607e71e9ba66dc268f489
2019-03-11 13:22:09 -07:00
Manisha Jajoo
880ef39899
omx:component: add support for tunneled components in ComponentTest am: 4609857ee4
...
am: f31fd7f8cb
Change-Id: I114e154d9d912094d06fe1785aff20c77c3cb7fd
2019-03-11 12:45:32 -07:00
Manisha Jajoo
4609857ee4
omx:component: add support for tunneled components in ComponentTest
...
Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Host \
-l INFO
bug: 70933963
Change-Id: I5695820b225041f5b764506cdafacf7c95d836aa
2019-02-04 18:58:12 -08:00
Keun Soo YIM
68ae05dd2d
pack VTS cc_test binaries as general-tests
...
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-12-07 10:49:56 -08:00
Keun Soo YIM
ff84c37bc1
pack VTS cc_test binaries as general-tests
...
Test: make general-tests
Bug: 120093339
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-11-27 16:11:41 -08:00
Chih-Hung Hsieh
85d87d6b43
Merge "Fix implicit-fallthrough warnings." am: ad9708f570
am: dc607bc28e
...
am: 5a77ac200b
Change-Id: I663cb317bef106d9d3e09f8bf305783c41b2bf39
2018-10-20 01:23:08 -07:00
Chih-Hung Hsieh
eb1be49ae1
Fix implicit-fallthrough warnings.
...
Test: make checkbuild
Bug: 112564944
Change-Id: Ib93559a5c1512861f9746cd28d8b19073ce92aa8
2018-10-19 14:26:01 -07:00
Pawin Vongmasa
841940be1c
resolve merge conflicts of b92f1d2e1b
to oreo-mr1-vts-dev
...
am: c0243f2ff8
Change-Id: I25bf6387a074f630cc3e10c3b265d16390e39eca
2018-08-10 14:30:13 -07:00
Pawin Vongmasa
12c2fa9d45
resolve merge conflicts of b92f1d2e1b
to oreo-mr1-vts-dev am: c0243f2ff8
am: fedde0ea52
am: 375ff6a3a7
...
am: 6f3b432c5d
Change-Id: Ib34be1122292383893f398599f52db55b4944982
2018-07-13 01:53:45 -07:00
Pawin Vongmasa
375ff6a3a7
resolve merge conflicts of b92f1d2e1b
to oreo-mr1-vts-dev am: c0243f2ff8
...
am: fedde0ea52
Change-Id: I52c92c4cd9a68a5a57ba652e0284f495e912ea37
2018-07-13 01:45:43 -07:00
Pawin Vongmasa
c0243f2ff8
resolve merge conflicts of b92f1d2e1b
to oreo-mr1-vts-dev
...
Test: make vts -j123 && vts-tradefed run commandAndExit vts \
--skip-all-system-status-check \
--skip-preconditions -m VtsHalMediaOmxV1_0Host \
-l INFO
Bug: 70933963
Change-Id: I38f6309b638e604403dba15fa1fe1022b298c5b2
2018-07-11 23:29:14 -07:00
Pawin Vongmasa
b92f1d2e1b
Disable tests for secure audio decoders
...
Test: make vts -j123 && vts-tradefed run commandAndExit vts \
--skip-all-system-status-check \
--skip-preconditions -m VtsHalMediaOmxV1_0Host \
-l INFO
Bug: 70933963
Change-Id: Iaaf3b7d382e7df4374dd7e03e5cc7b2ae6861fad
2018-07-11 18:05:25 -07:00
Ray Essick
25ae1956d1
Merge "VtsHalMediaOmx should test functionality only" into pi-dev am: 2ae3cb74c7
...
am: 27aa09d3bb
Change-Id: I9cda9833322ea326cedcf07577b2104e4106e94c
2018-06-04 11:27:51 -07:00
Ray Essick
68df40f9cf
VtsHalMediaOmx should test functionality only
...
The tests insisted on presence of codecs as well as functionality, but
the list it reads is a superset of what may be on the device. Modified so
that if a codec is not present, we ignore it rather than failing the test.
The Vts tests that check OMX Store are being augmented to ensure any
advertised codecs are indeed present.
Bug: 80029024
Bug: 80530946
Test: vts run VtsHalMediaOmxV1_0Host
Change-Id: Icd6d049c5c0d31f47ef3dbda52d6927e38bd894d
2018-06-01 16:34:54 -07:00
Pawin Vongmasa
bd49dcfd9b
Add multichannel support am: c678d51bdc
am: 9886d749d4
am: b0da0bce66
am: 5ed6bca916
...
am: 86e4c2cfd8
Change-Id: I8eb5a776aa7a08a2eac5466f12ffc844f0b649db
2018-05-25 00:50:01 -07:00
Pawin Vongmasa
5ed6bca916
Add multichannel support am: c678d51bdc
am: 9886d749d4
...
am: b0da0bce66
Change-Id: I2b701daf2c12a7b0454c46d48910671f10ccb2b6
2018-05-24 10:33:18 -07:00
Pawin Vongmasa
9886d749d4
Add multichannel support
...
am: c678d51bdc
Change-Id: I523732b9a00c079d84a3e594ba6b35ee09989a52
2018-05-24 06:57:00 -07:00
Pawin Vongmasa
c678d51bdc
Add multichannel support
...
Test: make vts -j123 && vts-tradefed run commandAndExit vts \
--skip-all-system-status-check \
--skip-preconditions -m VtsHalMediaOmxStoreV1_0Host \
-l INFO
Bug: 69811887
Change-Id: I6ddf882d5a0d991acc8123ed6d220835fc6cce5c
2018-05-10 18:39:25 -07:00
Daniel Cardenas
8df876f0d6
Increase default timeout for changeStateIdletoExecute() from 100ms to 400ms
...
Bug: 70933963
Test: vts-tradefed run vts -m VtsHalMediaOmxV1_0Host
Change-Id: I2f01b5fcd72b03148750589a8eabbc8037f61e6f
2018-03-08 18:49:39 -08:00
Zhuoyao Zhang
fddd91184d
Merge "Convert omx hal test to use VtsHalHidlTargetTestEnvBase" am: 03086cfea4
am: 162e15e590
...
am: db39ca498b
Change-Id: I6576b40b2b5f3dfb3b8aea95eeb0d043c7ed59cf
2018-02-12 23:27:44 +00:00
Zhuoyao Zhang
db39ca498b
Merge "Convert omx hal test to use VtsHalHidlTargetTestEnvBase" am: 03086cfea4
...
am: 162e15e590
Change-Id: Iaf66c32bd698560b4baf344e0af2d2c3d42e997a
2018-02-12 23:20:53 +00:00
Zhuoyao Zhang
303b2917d4
Convert omx hal test to use VtsHalHidlTargetTestEnvBase
...
* Move ComponentTestEnvironment to media_hidl_test_common to reduce
code duplication.
Bug: 64203181
Test: make vts
vts-tradefed run vts -m VtsHalMediaOmxV1_0Host
Change-Id: Ie34ff637ec7ccf98ebfe8d2bda4d5f28bf4c0e11
2018-02-09 16:31:03 -08:00
Ram Mohan M
6729c05751
bug fix: close file pointer
...
Bug: 63796949
Merged-In: Ifd8a27d851cbc659ea8108e0879747cd9169680a
Change-Id: Ifd8a27d851cbc659ea8108e0879747cd9169680a
(cherry picked from commit 727b2ba98c
)
2018-01-24 02:03:56 +00:00
Ram Mohan M
8d009afdbb
bug fix: restore support for broken flag
...
timestampDevTest flag can be used to disable timestamp deviation
tests. The flag is not working as intended. This is corrected.
Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO
Bug: 64743270
Bug: 65166112
Merged-In: I611e96498a4677b6ccbff33c291d56eed7b48f6f
Change-Id: I611e96498a4677b6ccbff33c291d56eed7b48f6f
(cherry picked from commit dc6270ecc1
)
2018-01-23 22:26:15 +00:00