Commit Graph

6819 Commits

Author SHA1 Message Date
Pawin Vongmasa
fedde0ea52 resolve merge conflicts of b92f1d2e1b to oreo-mr1-vts-dev
am: c0243f2ff8

Change-Id: Ic39fb2e88c6d0d1c1185dae1fab6d9c42a624187
2018-07-13 01:40:58 -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
Kevin Rocard
54eb2c126d [automerger skipped] Audio VTS: run tear-down hooks in LIFO instead of FIFO am: 01ead7c96b -s ours
am: 70d13c2ad3  -s ours

Change-Id: I9239953a3dd7af8b4bac5098199ea9bb9190b75d
2018-07-11 19:20: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
Kevin Rocard
70d13c2ad3 [automerger skipped] Audio VTS: run tear-down hooks in LIFO instead of FIFO
am: 01ead7c96b  -s ours

Change-Id: I827c0bd5011129a704d35cdcd2df9f9bbe7eadfe
2018-07-11 17:56:31 -07:00
Kevin Rocard
4595c66a1e Audio VTS: run tear-down hooks in LIFO instead of FIFO
am: cfab8dac2b

Change-Id: I10b15c6973b65229728151f5c47322ef167ae0e7
2018-06-29 14:12:07 -07:00
Kevin Rocard
01ead7c96b 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
Merged-In: I1b4345158139ba14a8779a9508f7ebdc41129d1d
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-06-29 13:37:42 -07:00
Kevin Rocard
cfab8dac2b 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>
2018-06-29 20:09:50 +00:00
sqian
2d6e238637 Fix setBandMode. am: ab2b8bf919 am: d88330667d
am: ea34bd6a05

Change-Id: I58bf1b67184a14f70d49b46c5da8c225406ed1ed
2018-06-18 14:28:30 -07:00
sqian
b24e51a892 [automerger skipped] Fix setBandMode. am: ab2b8bf919 -s ours
am: d1e489c94c

Change-Id: I26809cbc6614c4dc71dfe76e5df24ac06ed8946a
2018-06-18 14:24:00 -07:00
sqian
ea34bd6a05 Fix setBandMode. am: ab2b8bf919
am: d88330667d

Change-Id: Ibf1c624c097956ec0a769f98a3cf5abe74ecc020
2018-06-18 14:23:56 -07:00
sqian
d88330667d Fix setBandMode.
am: ab2b8bf919

Change-Id: Ie8bbd67d2d0ffe1af57672fd4990cfabb751ef7a
2018-06-18 14:20:24 -07:00
sqian
d1e489c94c [automerger skipped] Fix setBandMode.
am: ab2b8bf919  -s ours

Change-Id: Ibbdfad48f943c35419a91ccf8b3d4651bfab88f1
2018-06-18 14:10:59 -07:00
sqian
ab2b8bf919 Fix setBandMode.
Bug: 67834975
Test: sanity

Merged-In: Ie907cdb464a44d92be47d898151d71eb2d83a11c
2018-06-18 17:10:08 +00:00
Pawin Vongmasa
006436f92f Add multichannel support am: c678d51bdc am: 5de1ae23f9
am: e0c3d0c3fd

Change-Id: Ieca398bea38f13621185a192d09733243febe131
2018-05-24 14:23:05 -07:00
Pawin Vongmasa
e0c3d0c3fd Add multichannel support am: c678d51bdc
am: 5de1ae23f9

Change-Id: Ica809012e43a3142b3d7c6098eb6c7a107da0dbf
2018-05-24 10:41:15 -07:00
Pawin Vongmasa
b0da0bce66 Add multichannel support am: c678d51bdc
am: 9886d749d4

Change-Id: I00e53d56e7e98e54efa2e8f4bdc6928d125d0609
2018-05-24 07:47:58 -07:00
Pawin Vongmasa
5de1ae23f9 Add multichannel support
am: c678d51bdc

Change-Id: I3a3221dfecc6374b58db5bed32b7dd08d23bf2cb
2018-05-24 07:35:52 -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
Chong Zhang
e1ce74509e cas: do not use hidl_memory if size is > SIZE_MAX
Bug: 79376389
Test:
POC in bug; CTS MediaCasTest.

Change-Id: Ia3ecf9664ab69ce293e10b73bc20c37a9992db9f
2018-05-10 14:33:47 -07:00
Michael Butler
e5fe876bc8 Relax NeuralNetwork's VTS positive and negative base tests
am: af5e03a692

Change-Id: Ia9830b7bbd39d692b93265fbeb1f6a395f0b2988
2018-04-25 16:51:12 -07:00
Michael Butler
af5e03a692 Relax NeuralNetwork's VTS positive and negative base tests
There are some NN VTS tests that assume a service is able to generate a
model consisting only of a floating point add operation. However, some
drivers do not support floating point operations. This CL relaxes the
test requirements to allow a test to be skipped if the service does not
support floating point add.

Bug: 77227504
Test: mma
Test: VtsHalNeuralnetworksV1_0TargetTest
Test: https://drive.google.com/open?id=1P-rEzUMK0EoWSrOFuXy46EubpwC3A1cs
Change-Id: Ied49c96af975eff734377b7b7445c6f5e63e117e
(cherry picked from commit 25d9dd7346d995b40e1d370eb9d12bb7e3f03396)
2018-04-25 23:32:09 +00:00
Iris Chang
d7854aef84 [automerger skipped] VTS: fix RadioHidlTest.getAvailableNetworks issue am: 14ad821b0a -s ours
am: 7ace8b81e8  -s ours

Change-Id: If1d584c181c3b1ff51f2bd9a69dc93470e6c9647
2018-04-24 02:03:52 -07:00
Iris Chang
30736de122 [automerger skipped] VTS: fix RadioHidlTest.getAvailableNetworks issue am: 14ad821b0a am: ab2a35a56e
am: 51ec70c39e  -s ours

Change-Id: I863a86a28b061773c7237e5a14d68e78a43d709b
2018-04-24 02:03:28 -07:00
Iris Chang
51ec70c39e VTS: fix RadioHidlTest.getAvailableNetworks issue am: 14ad821b0a
am: ab2a35a56e

Change-Id: I15b499a96bd73036f33d3c056da69b3fa8300afd
2018-04-24 01:58:58 -07:00
Iris Chang
7ace8b81e8 [automerger skipped] VTS: fix RadioHidlTest.getAvailableNetworks issue
am: 14ad821b0a  -s ours

Change-Id: I18bcb31f812e36c21309713450b2693990c98584
2018-04-24 01:55:24 -07:00
Iris Chang
ab2a35a56e VTS: fix RadioHidlTest.getAvailableNetworks issue
am: 14ad821b0a

Change-Id: Ic8a94dddc6ecc45df85ad3b8e6d74a5ce541ba26
2018-04-24 01:54:56 -07:00
Iris Chang
14ad821b0a VTS: fix RadioHidlTest.getAvailableNetworks issue
Analysis: VtsHalRadioV1_0Target's timeout is too short for
getAvailableNetworks, because this request duration depends on NW
environment or frequency.

Suggested solution: Add a timeout parameter to wait() and default
timeout value is 5 minutes in order to avoid timeout fail due to NW
environment.

Bug: 68834032
Test: getAvailableNetworks can be passed after we apply this patch and
      test result for all other telephony 1.0 test cases are not changed.

Change-Id: Iaef7e8eefa8fcfde0ff8030cba1f9753a28eac61
Merged-In: Iaae71e0abacd28275d86a19264813ff209ddb79c
2018-04-16 05:53:27 +00:00
Peng Xu
1a1a1edf3c Merge "Ignore meta sensor events when checking values" into oreo-vts-dev am: d09fdd6ca1 am: 2e1349eb79
am: 9f5059a9c6

Change-Id: I05dd6b0677ab97f35af9cdf8b0ee0c26053826dd
2018-04-10 14:41:34 -07:00
Peng Xu
9f5059a9c6 Merge "Ignore meta sensor events when checking values" into oreo-vts-dev am: d09fdd6ca1
am: 2e1349eb79

Change-Id: Ib2e4f309c46ff885a35ae051467fe0fa70801b43
2018-04-10 14:36:04 -07:00
Peng Xu
5b2f3f3c7c Merge "Ignore meta sensor events when checking values" into oreo-vts-dev am: d09fdd6ca1
am: bfc5b817e7

Change-Id: I989a05b0750d150f28a7ca9e67cdfcb6783f4782
2018-04-10 14:36:04 -07:00
Peng Xu
2e1349eb79 Merge "Ignore meta sensor events when checking values" into oreo-vts-dev
am: d09fdd6ca1

Change-Id: I16cc1e621b4433cfec1ccd1caab3fe3ba48c4b97
2018-04-10 14:31:01 -07:00
Peng Xu
bfc5b817e7 Merge "Ignore meta sensor events when checking values" into oreo-vts-dev
am: d09fdd6ca1

Change-Id: I4623dce53e1cc5102d943c21944820c108466157
2018-04-10 14:21:57 -07:00
Treehugger Robot
d09fdd6ca1 Merge "Ignore meta sensor events when checking values" into oreo-vts-dev 2018-04-10 21:16:19 +00:00
Srinivas Dasari
5a6559e923 [WIFI][VTS]: Check for the Logger capability Support am: 020374e42b am: 7c06215d76
am: c8a8838cca

Change-Id: If8f40db7c4a731b114ea9be30fc03c2224de4720
2018-04-10 10:25:08 -07:00
Srinivas Dasari
c8a8838cca [WIFI][VTS]: Check for the Logger capability Support am: 020374e42b
am: 7c06215d76

Change-Id: I15efbc5a8fab31eeb4577d0467ad0dbb583200a2
2018-04-10 10:20:23 -07:00
Srinivas Dasari
2d9b9cb1e5 [WIFI][VTS]: Check for the Logger capability Support am: 020374e42b
am: 65e9588fd2

Change-Id: Ia1efba6966da4e21f21f05b3e86a6fd2db8fca2a
2018-04-10 10:20:23 -07:00
Srinivas Dasari
7c06215d76 [WIFI][VTS]: Check for the Logger capability Support
am: 020374e42b

Change-Id: I151a324180f000ef399a645a79a75d895ff3bd9e
2018-04-10 10:14:50 -07:00
Srinivas Dasari
65e9588fd2 [WIFI][VTS]: Check for the Logger capability Support
am: 020374e42b

Change-Id: I23e51b94c625fff660cac05ea23386fa398f0f0a
2018-04-10 10:10:48 -07:00
Srinivas Dasari
020374e42b [WIFI][VTS]: Check for the Logger capability Support
Check for WiFi Logger capability Support and do not
assert if it returns ERROR_NOT_SUPPORTED.

Bug: 69094019
Test: VTS tests for module VtsHalWifiV1_0TargetTest.
(cherry-picked from 2b7b24b245a6099fdb127d38a99d7608a6c5bc91)

Change-Id: Id8eb171937b66221a5c9303e377310db54202f71
2018-04-10 09:42:30 -07:00
Emilian Peev
23a81e89b5 Camera: Allocate graphics buffers via 'IAllocator'
am: f4483700a8

Change-Id: I63a048efd4da24d9c9d153f44b462d0b18be8dc1
2018-04-10 09:38:41 -07:00
Emilian Peev
f4483700a8 Camera: Allocate graphics buffers via 'IAllocator'
Camera graphic buffers should always be allocated using the
respective HIDL API.

Bug: 77681294
Test: run vts --skip-all-system-status-check --skip-preconditions
--primary-abi-only --module VtsHalCameraProviderV2_4Target -l INFO

Change-Id: Ibef88548fc3d29df606e4f66f5f3f4e89d3bf654
Merged-In: Ibef88548fc3d29df606e4f66f5f3f4e89d3bf654
2018-04-10 16:22:49 +00:00
Chong Zhang
9c666901e6 Merge "cas: fix UAF in descrambler -- DO NOT MERGE" into oc-mr1-dev 2018-04-09 21:31:56 +00:00
Yuexi Ma
9e57dd7452 resolve merge conflicts of e41f291381 to oc-mr1-dev
Bug: 62349323
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I7a232c1cbf3dd61ccf7c11f235829801ff98f899
2018-03-29 23:32:02 +00:00
Yuexi Ma
e41f291381 resolve merge conflicts of a9543fee6b to oreo-mr1-vts-dev
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I09c7c008bfe071e8108cee0b86b660625d33ca6e
2018-03-29 15:15:23 -07:00
Yuexi Ma
f4998a1127 [automerger skipped] Merge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest" into oreo-vts-dev am: a9543fee6b am: 16c18f9cbd
am: a5b66ce807  -s ours

Change-Id: I2b9122b79cbbd3e6a5278d0efb3501615e36b1d0
2018-03-29 17:25:40 +00:00
Yuexi Ma
a5b66ce807 Merge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest" into oreo-vts-dev am: a9543fee6b
am: 16c18f9cbd

Change-Id: I9ea0353bc7797ab2d175a41e4eb81f8b14962d06
2018-03-29 06:56:48 +00:00
Yuexi Ma
16c18f9cbd Merge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest" into oreo-vts-dev
am: a9543fee6b

Change-Id: I329548299d6cb2553d823e19bb8fb4271a94af02
2018-03-29 06:52:19 +00:00
Treehugger Robot
a9543fee6b Merge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest" into oreo-vts-dev 2018-03-29 06:41:26 +00:00