Commit graph

7746 commits

Author SHA1 Message Date
Suresh Sivaraman
ab4c6f8fde Merge "Added VTS tests for requiresSecureDecoderComponent and release API" into oc-mr1-dev am: 2528c405f3
am: 7c932db240

Change-Id: If5ff8a90992432ee08eb7ed10eb3b2918e86c9dd
2017-10-11 18:42:14 +00:00
Suresh Sivaraman
7c932db240 Merge "Added VTS tests for requiresSecureDecoderComponent and release API" into oc-mr1-dev
am: 2528c405f3

Change-Id: I019aad11e84405e0dd67aad8960b5d8ad341bdec
2017-10-11 18:37:57 +00:00
TreeHugger Robot
2528c405f3 Merge "Added VTS tests for requiresSecureDecoderComponent and release API" into oc-mr1-dev 2017-10-11 18:33:25 +00:00
Steven Moreland
1d7374c5e1 Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1
am: 116161d94e

Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
2017-10-11 16:39:21 +00:00
Steven Moreland
116161d94e Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1
am: 6c811964a1

Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
2017-10-11 16:31:07 +00:00
Steven Moreland
6c811964a1 Update for Soong java makefiles. am: c3e80fa01e
am: 0fff75dee1

Change-Id: I5b524ccf13233f3696881a2a670b5d2134fd5f15
2017-10-11 16:27:24 +00:00
Steven Moreland
0fff75dee1 Update for Soong java makefiles.
am: c3e80fa01e

Change-Id: Ia8835f9c95bd98a96f5fd3aff11191e7d3726fb9
2017-10-11 16:23:54 +00:00
TreeHugger Robot
58e7856b4f Merge "supplicant(interface): Uprev to 1.1" 2017-10-11 01:47:44 +00:00
Mikhail Naganov
d39829b040 Audio VTS: Allow 4GB buffer prepareToWrite/Read to succeed on 64 bits am: ce607879ba am: 5b122a7408 am: d4cb163f12 -s ours
am: 0d311f86e1  -s ours

Change-Id: I26211a7a1ef3d8810e46bf45cf7b469af3908418
2017-10-11 01:45:35 +00:00
Mikhail Naganov
b9bd1846c2 Audio VTS: Allow 4GB buffer prepareToWrite/Read to succeed on 64 bits am: ce607879ba am: 5b122a7408 -s ours am: 0b9f25d5c9 -s ours
am: 74878cbab2  -s ours

Change-Id: Ia64cef80970727b6011a13cb3367640936938d99
2017-10-11 01:44:45 +00:00
Mikhail Naganov
0d311f86e1 Audio VTS: Allow 4GB buffer prepareToWrite/Read to succeed on 64 bits am: ce607879ba am: 5b122a7408
am: d4cb163f12  -s ours

Change-Id: I204aa95eed1d5c984c2c9f09ff59495546c422ea
2017-10-11 01:38:53 +00:00
Mikhail Naganov
74878cbab2 Audio VTS: Allow 4GB buffer prepareToWrite/Read to succeed on 64 bits am: ce607879ba am: 5b122a7408 -s ours
am: 0b9f25d5c9  -s ours

Change-Id: Ib61ecb355b5d44659f4adbba74ef058dbfb48f02
2017-10-11 01:38:01 +00:00
Mikhail Naganov
d4cb163f12 Audio VTS: Allow 4GB buffer prepareToWrite/Read to succeed on 64 bits am: ce607879ba
am: 5b122a7408

Change-Id: Ifd8600fd7d24657dff4ed5b6f563806509c8029b
2017-10-11 01:35:41 +00:00
Mikhail Naganov
0b9f25d5c9 Audio VTS: Allow 4GB buffer prepareToWrite/Read to succeed on 64 bits am: ce607879ba
am: 5b122a7408  -s ours

Change-Id: Ib60918524329e9ab8c4d07a0c52f5cb2f79c7dd5
2017-10-11 01:35:02 +00:00
Mikhail Naganov
5b122a7408 Audio VTS: Allow 4GB buffer prepareToWrite/Read to succeed on 64 bits
am: ce607879ba

Change-Id: I6869d49ab5ceb12e1b0d3e50e0952094c34b3c07
2017-10-11 01:33:25 +00:00
Chong Zhang
542be2bcdf Merge "cas-vts: use MemoryDealer to allocate shared memory" into oc-mr1-dev am: de05222287
am: 6643820a0d

Change-Id: I05166e239a97eb034a803b0204f1bc95d30e7bc2
2017-10-11 01:21:35 +00:00
Kevin Rocard
4c30b8b117 Merge "Legacy wrapper: Use arbitrary limit on buffer size" into oc-mr1-dev am: 0f65d6e38a
am: 0534965a28

Change-Id: I46a57ba6be7b9e132728f31d616b65aea812645d
2017-10-11 01:20:53 +00:00
Chong Zhang
6643820a0d Merge "cas-vts: use MemoryDealer to allocate shared memory" into oc-mr1-dev
am: de05222287

Change-Id: I84e5d34ab99191bab58ffabc5ca149746809cf3b
2017-10-11 01:00:08 +00:00
TreeHugger Robot
de05222287 Merge "cas-vts: use MemoryDealer to allocate shared memory" into oc-mr1-dev 2017-10-11 00:55:43 +00:00
Kevin Rocard
0534965a28 Merge "Legacy wrapper: Use arbitrary limit on buffer size" into oc-mr1-dev
am: 0f65d6e38a

Change-Id: I08d5eb2a782cb5fc60f6e297282ff179e6098ff0
2017-10-11 00:17:36 +00:00
TreeHugger Robot
0f65d6e38a Merge "Legacy wrapper: Use arbitrary limit on buffer size" into oc-mr1-dev 2017-10-10 23:43:35 +00:00
Steven Moreland
c3e80fa01e Update for Soong java makefiles.
Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
2017-10-10 23:07:20 +00:00
Mikhail Naganov
ce607879ba Audio VTS: Allow 4GB buffer prepareToWrite/Read to succeed on 64 bits
Because on oc-dev the runtime image can not be modified and that this is
not a bug but a test and implementation misalignment,
allow prepareForWrite/Read(UINT32_MAX, UINT32_MAX) to succeed on oc-dev.

MR1 will have a better fix where the HAL will always reject > 1GiB
buffers independently of the architecture.

Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target
Bug: 67030516
Change-Id: I10a5ee3868c67c45ed5297d9c5c89129d762c7cd
Merged-In: I4cc3efda9bb66e6dae8b4e6785f52d9e51440aee
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-10-10 14:30:00 -07:00
Chong Zhang
704d5861a7 cas-vts: use MemoryDealer to allocate shared memory
cas hal can't (and doesn't need to) use hidl_memory allocated by
hidl allocator. All real clients (MediaDescrambler jni, ACodec)
are using MemoryDealer-allocated ashmem only. Modify the test
to cover these cases.

bug: 67603039
test:
> make vts -j64
> vts-tradefed run vts -m VtsHalCasV1_0Target

Change-Id: Ib9563abc1a14c34781a28d15c7766c6c160d288a
2017-10-10 13:09:32 -07:00
Iris Chang
4327a11fa1 Merge "VTS: fix VtsHalKeymasterV3_0Target issue am: 926a8e7440 am: 7b770a8d70 am: 0564edd993 -s ours" into oc-mr1-dev-plus-aosp
am: b99dd49c0a  -s ours

Change-Id: I758b8f5c5cd4b93f06906319f70eb8eea52e7521
2017-10-10 16:36:02 +00:00
Iris Chang
fa5da8eaaf VTS: fix VtsHalKeymasterV3_0Target issue am: 926a8e7440 am: 7b770a8d70 -s ours am: 1c1b38d23a -s ours
am: 892b115660  -s ours

Change-Id: Ia1cb805561f285d4f77d0c0e94b683743d7fd86a
2017-10-10 16:35:16 +00:00
Android Build Merger (Role)
b99dd49c0a Merge "VTS: fix VtsHalKeymasterV3_0Target issue am: 926a8e7440 am: 7b770a8d70 am: 0564edd993 -s ours" into oc-mr1-dev-plus-aosp 2017-10-10 16:30:02 +00:00
Iris Chang
c9c991a127 VTS: fix VtsHalKeymasterV3_0Target issue am: 926a8e7440 am: 7b770a8d70
am: 0564edd993  -s ours

Change-Id: I4cdd9fcfe8b41bfe2e30eef0d345e750a9ea3675
2017-10-10 16:29:52 +00:00
Iris Chang
892b115660 VTS: fix VtsHalKeymasterV3_0Target issue am: 926a8e7440 am: 7b770a8d70 -s ours
am: 1c1b38d23a  -s ours

Change-Id: I3e92b4ba446ede3e53ee481955972729e6cabcc3
2017-10-10 16:29:49 +00:00
Iris Chang
0564edd993 VTS: fix VtsHalKeymasterV3_0Target issue am: 926a8e7440
am: 7b770a8d70

Change-Id: I0bee7c1bdf4e40a2024fadc0b510ca002806c65e
2017-10-10 16:27:46 +00:00
Iris Chang
1c1b38d23a VTS: fix VtsHalKeymasterV3_0Target issue am: 926a8e7440
am: 7b770a8d70  -s ours

Change-Id: I9a23f37837d3c416adfd4eb7d9b12ee0988cc0b6
2017-10-10 16:27:13 +00:00
Iris Chang
7b770a8d70 VTS: fix VtsHalKeymasterV3_0Target issue
am: 926a8e7440

Change-Id: I762f63b3f239169d93b33f7164d4eb3f9bd8f3d9
2017-10-10 16:22:34 +00:00
Kevin Rocard
46cba442d2 Legacy wrapper: Use arbitrary limit on buffer size
The legacy HAL wrapper prepareForWrite and prepareForRead used
to return INVALID_ARGUMENTS if the computed buffer size just
under SIZE_MAX.

This meant that the limitation depended on the architecture (32 vs 64
bit size_t). This caused VTS test failure on 64 bits.

Instead of dynamically calculating an arbitrary max size,
choose a fixed one. This max buffer size has been chosen at 1GiB.
It should be enough for the foreseeable future and not too close
from the 4GiB max on 32 bit.

Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target
Bug: 67030516
Change-Id: I4cc3efda9bb66e6dae8b4e6785f52d9e51440aee
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-10-10 09:22:02 -07:00
I-Jui (Ray) Sung
b21f3a0947 Merge "Refactor test harness for generated VTS tests" into oc-mr1-dev am: e5e339d2a5
am: 386a312465

Change-Id: I167f24761a5490a2297f664801001c54e8ff631b
2017-10-10 02:46:40 +00:00
I-Jui (Ray) Sung
386a312465 Merge "Refactor test harness for generated VTS tests" into oc-mr1-dev
am: e5e339d2a5

Change-Id: I61d412251b47c7600bbd15e2f233b8a7634362b5
2017-10-10 02:44:10 +00:00
TreeHugger Robot
e5e339d2a5 Merge "Refactor test harness for generated VTS tests" into oc-mr1-dev 2017-10-10 02:42:13 +00:00
I-Jui (Ray) Sung
5bf4edfb9f Refactor test harness for generated VTS tests
Address comments in ag/2926388

Test: VtsHalNeuralnetworksV1_0TargetTest on Angler with sample driver
Bug: 67597726
Change-Id: Ie3118dcbfb11c25dbc84d2becdefbbae868ff28f
2017-10-09 20:57:42 +00:00
Suresh Sivaraman
6d176aa77d Added VTS tests for requiresSecureDecoderComponent and release API
Bug: 63914034
Bug: 65593293

Test:
Build & test vts:

> make vts -j64

> vts-tradefed run vts -m VtsHalCasV1_0Target

Change-Id: I465735768239f2d53427a18e5ad1fa0069f6e35c
2017-10-09 12:38:13 -07:00
Ram Mohan M
ab8307a612 Merge "omxvts: exit gracefully during fatal fails" into oc-mr1-dev am: 3021f1fafb
am: 9b0849e333

Change-Id: Iea1c914ac0952f98a95d7409af5805bcfb26af81
2017-10-07 02:32:14 +00:00
Ram Mohan M
9b0849e333 Merge "omxvts: exit gracefully during fatal fails" into oc-mr1-dev
am: 3021f1fafb

Change-Id: I8ac8c71c0bdff6aef9f79b393ea2d570de773394
2017-10-07 02:29:35 +00:00
TreeHugger Robot
3021f1fafb Merge "omxvts: exit gracefully during fatal fails" into oc-mr1-dev 2017-10-07 02:26:15 +00:00
Peng Xu
6e05d03f9a Merge "Replace sys_nice capability with rlimit rtprio" am: b74728a92e am: 6d1326ed8a am: a959fb8a7b
am: 2739a3e614

Change-Id: Ib2120ac0b645e175dcf8a7d0926d53c5216d45af
2017-10-06 20:43:31 +00:00
Peng Xu
2739a3e614 Merge "Replace sys_nice capability with rlimit rtprio" am: b74728a92e am: 6d1326ed8a
am: a959fb8a7b

Change-Id: I1cbd518bf3179b71790ce40b2d1f2bf299cfdecf
2017-10-06 20:37:30 +00:00
Peng Xu
a959fb8a7b Merge "Replace sys_nice capability with rlimit rtprio" am: b74728a92e
am: 6d1326ed8a

Change-Id: I29f71da0e48cda28ff86fd45bdbc12d6402592f0
2017-10-06 20:27:44 +00:00
Peng Xu
6d1326ed8a Merge "Replace sys_nice capability with rlimit rtprio"
am: b74728a92e

Change-Id: I6d9146fc90975ec116862cb43a6654786c429503
2017-10-06 20:19:30 +00:00
Peng Xu
b74728a92e Merge "Replace sys_nice capability with rlimit rtprio" 2017-10-06 20:13:35 +00:00
Yifan Hong
69c2254dea health@2.0: Add vts tests.
Test: compiles
Test: VtsHalHealthV2_0TargetTest \
--hal_service_instance=android.hardware.health@2.0::IHealth/backup

Bug: 62229583
Change-Id: I79150e1298ceddedea0825c591938cd194eeadb5
2017-10-06 11:35:18 -07:00
Suresh Sivaraman
1ce1e21517 Merge "Added VTS tests for MediaCas - II" into oc-mr1-dev am: 239a450438
am: 4833ea292c

Change-Id: I780d60287d85d0e25fcfd67f44310fe72a9a94ec
2017-10-06 16:57:06 +00:00
Suresh Sivaraman
4833ea292c Merge "Added VTS tests for MediaCas - II" into oc-mr1-dev
am: 239a450438

Change-Id: Icc5b40d5524bd812aa2e398baed45685764268ec
2017-10-06 16:53:09 +00:00
TreeHugger Robot
239a450438 Merge "Added VTS tests for MediaCas - II" into oc-mr1-dev 2017-10-06 16:49:20 +00:00