Commit graph

4669 commits

Author SHA1 Message Date
Ram Mohan M
72ba614357 Merge "VideoEnc Test: extend lockYCbCr() to hal yuv formats" into oc-dev
am: 452fe6aef2

Change-Id: I9c89448a47eb1c0280a0282b9534911886279179
2017-06-09 03:17:16 +00:00
Ram Mohan M
2e6a7a08f7 Merge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev
am: a12a573955

Change-Id: I437d8e59167209e86d1f8679e7ff2486fbf81c1a
2017-06-09 03:17:13 +00:00
TreeHugger Robot
452fe6aef2 Merge "VideoEnc Test: extend lockYCbCr() to hal yuv formats" into oc-dev 2017-06-09 03:12:08 +00:00
TreeHugger Robot
a12a573955 Merge "Vts AudioDec Test: Disable EOSTest_M" into oc-dev 2017-06-09 03:12:08 +00:00
Shuo Qian
50c1bfdb0c Merge "Fix vts tests:" into oc-dev
am: dda2e8cdc2

Change-Id: If80eae601d647f2fd943e98ddd411206375ec969
2017-06-09 02:13:08 +00:00
Shuo Qian
dda2e8cdc2 Merge "Fix vts tests:" into oc-dev 2017-06-09 02:07:34 +00:00
Mikhail Naganov
e1af2bc940 Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev
am: 80e9912183

Change-Id: Ic211f5bfb3d5762e972f3801686aeb20ed086f8a
2017-06-08 22:54:52 +00:00
TreeHugger Robot
80e9912183 Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev 2017-06-08 22:47:02 +00:00
sqian
08e90550f1 Fix vts tests:
Fixed with QC updated documentation:
- setGsmBroadcastConfig
- getGsmBroadcastConfig
- setGsmBroadcastActivation
- getImsRegistrationState
- pullLceData
- deleteSmsOnSim
- deleteSmsOnRuim
- sendDtmf
- startDtmf
- stopDtmf
- sendBurstDtmf

Try to increase timeout to 75 to fix (suggest by QC in b/35671595 #62):
- dial

Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Bug: 35671595, 35800570
Change-Id: Idd50bf71ae4c4490722d88d7cba0485b9d49073b
2017-06-08 11:30:13 -07:00
Zhuoyao Zhang
d56b3083dd Merge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev
am: 6fe8953866

Change-Id: If733f379b1433fc1c86754a9cba772cdf2034f12
2017-06-08 16:29:00 +00:00
Zhuoyao Zhang
ca7c33143d Merge "Omx vts tests" into oc-dev
am: 2e2e255125

Change-Id: I47b2613f0cfaf1f237bbdc432262b46fc3de3b9f
2017-06-08 16:28:23 +00:00
Zhuoyao Zhang
6fe8953866 Merge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev 2017-06-08 16:22:39 +00:00
Zhuoyao Zhang
2e2e255125 Merge "Omx vts tests" into oc-dev 2017-06-08 16:22:28 +00:00
Ram Mohan M
2b7a309e25 VideoEnc Test: extend lockYCbCr() to hal yuv formats
Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: I4661f41a92aac44e8a8d2721dfebbd25045fbe1c
2017-06-08 05:23:50 -07:00
Ram Mohan M
5052e189e9 Vts AudioDec Test: Disable EOSTest_M
Sending first buffer as EOS, is not supported across all components.
We will revisit this fixture at a later stage

Test: VtsHalMediaOmxV1_0Host
Bug: 37501531
Change-Id: Ic9f59f7b0a5291710bc50710ef054b0c0c49ca98
2017-06-08 05:02:28 -07:00
Janis Danisevskis
d4c2e5d8a5 Fix expected attestation version.
am: 538b7d85ef

Change-Id: I5ba0326f7e2f1547a1e08c2f44055a8938414ae4
2017-06-08 01:55:37 +00:00
Ram Mohan M
2aedf7596d Vts Omx Tests: Disable test that are not IOMX compatible
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
2017-06-07 17:53:26 -07:00
Ram Mohan M
f0e839e0e7 Omx vts tests
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
2017-06-07 17:50:50 -07:00
Yi Kong
15ec48374b Fix build, put back 'this' capture
'this' capture is not unused, need to put back.

This was due to a bad manual merge.

Test: build
Change-Id: I35f7ddbe7bf8a3b57ea8a83f334afee2156109f6
2017-06-07 14:20:31 -07:00
Chih-Hung Hsieh
d3bc681f26 Remove unused lambda capture
New clang compiler gives warning to unused lambda captures.
Apply clang-format.

Bug: 37423073
Test: Build

Change-Id: Icdf019df1a6c9dcadeb35551377d7afa09eebb3e
(cherry picked from commit 7eb57b60ab)
2017-06-07 12:57:20 -07:00
Janis Danisevskis
538b7d85ef Fix expected attestation version.
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
2017-06-07 11:49:56 -07:00
Zhuoyao Zhang
176c564b54 Merge "Omx vts tests." into oc-dev
am: 89ed70727d

Change-Id: I83ae4865778f42a768a556bebfc6524cbfbc0918
2017-06-06 18:36:48 +00:00
Zhuoyao Zhang
89ed70727d Merge "Omx vts tests." into oc-dev 2017-06-06 18:29:15 +00:00
Brian Duddie
7e4e4f57ca Merge "contexthub: Handle service death" into oc-dev
am: bbcf199e93

Change-Id: Icdb7d82550743333a373bdc08b061751999dc54b
2017-06-06 16:49:48 +00:00
Brian Duddie
bbcf199e93 Merge "contexthub: Handle service death" into oc-dev 2017-06-06 16:28:38 +00:00
Kevin Rocard
7b9e6a5300 Merge changes from topic 'vts-validate-policy-conf' into oc-dev
am: 024e0cd27d  -s ours

Change-Id: If42bf61dbaac6796b46cc1cc80c138003cb093c6
2017-06-06 04:52:40 +00:00
Kevin Rocard
024e0cd27d Merge changes from topic 'vts-validate-policy-conf' into oc-dev
* changes:
  Audio VTS: Enforce policy configuration format
  Audio VTS: Test now use Android.mk
2017-06-06 02:55:24 +00:00
Kevin Rocard
cbf9c08116 Audio VTS: Enforce policy configuration format
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)
2017-06-06 01:55:49 +00:00
Sanket Padawe
1c87d14016 Fix some stk api Radio Vts tests.
am: 2ab0ec0626

Change-Id: Ib4063e3c10dbf161c9e8fa479dc6bb8c2345a6ac
2017-06-05 23:13:48 +00:00
Brian Duddie
154b0883f9 contexthub: Handle service death
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
2017-06-05 14:16:22 -07:00
Sanket Padawe
2ab0ec0626 Fix some stk api Radio Vts tests.
Bug: 37502436
Test: Manual vts
Change-Id: Idd9a1fd38413aed89aaa152cb9a91c001f18b339
Merged-in: Idd9a1fd38413aed89aaa152cb9a91c001f18b339
2017-06-05 19:35:35 +00:00
Miao Wang
60a43b499a Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." am: 292cddf6be am: 0a8c6b55cf
am: 4c9037094a  -s ours

Change-Id: Ibbbf9dc4780190850214b6431d9be0a9eb849375
2017-06-02 23:45:50 +00:00
Kevin Rocard
19b3e43fb4 Audio VTS: Enforce policy configuration format
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>
2017-06-02 16:43:32 -07:00
Kevin Rocard
88e8f90e7f Audio VTS: Test now use Android.mk
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>
2017-06-02 16:43:21 -07:00
Miao Wang
0fd82f993e Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." into oc-dev
am: 827e291043

Change-Id: I1b6548be61440b195d283b929792a2342810120d
2017-06-02 23:28:07 +00:00
Miao Wang
4c9037094a Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." am: 292cddf6be
am: 0a8c6b55cf

Change-Id: I1d455bd66ac297518c6521348f86200fbc5d4642
2017-06-02 23:27:26 +00:00
Miao Wang
0a8c6b55cf Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation."
am: 292cddf6be

Change-Id: Ia0792574c4ecc6120cf1ff85af38f3325933245d
2017-06-02 23:24:13 +00:00
Miao Wang
827e291043 Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." into oc-dev 2017-06-02 23:21:00 +00:00
Miao Wang
41d8a44280 [RenderScript] Use OVERRIDE_RS_DRIVER string in the default
implementation.

Bug: 37035983
Test: mm
Test: manually push to sailfish & angler, verify GPU driver successfully
load, and tests are passing.

Change-Id: Ic55c74228e7eae599702365c513009aa3454656b
Merged-In: Ic55c74228e7eae599702365c513009aa3454656b
2017-06-02 23:17:31 +00:00
Miao Wang
292cddf6be Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." 2017-06-02 23:16:07 +00:00
Mikhail Naganov
dd5605c4fb VTS Audio Effect: Do not check the result of IEffect::offload method
am: 5abb15e987

Change-Id: I266ac43808d0e9002822ea4d589d17bfc9995d84
2017-06-02 18:23:54 +00:00
Mikhail Naganov
5abb15e987 VTS Audio Effect: Do not check the result of IEffect::offload method
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
2017-06-02 15:54:43 +00:00
Alex Yakavenka
a7e01d7d71 Merge "Compile manager-lib shared library" into oc-dev
am: fe4705facb

Change-Id: Ia54a09338625ddd4006b4c831e6000317ce69ede
2017-06-01 22:21:33 +00:00
TreeHugger Robot
fe4705facb Merge "Compile manager-lib shared library" into oc-dev 2017-06-01 22:07:01 +00:00
Eric Laurent
e18fdf9ea7 Merge "Audio: Add XML schema for audio policy configuration" into oc-dev
am: 49f3b03348

Change-Id: Ifc0584bb4c03deb9ed2139f9b5f9b5c5df1c6782
2017-06-01 20:01:20 +00:00
TreeHugger Robot
49f3b03348 Merge "Audio: Add XML schema for audio policy configuration" into oc-dev 2017-06-01 19:56:21 +00:00
Mikhail Naganov
f652c9e031 Merge "Revert "audiohal: Add diagnostics to investigate HAL call crashes"" into oc-dev
am: 5482fe026c

Change-Id: I2a0d9aa82ec5cc2d6c593ae08f7b58ca91747860
2017-06-01 16:37:07 +00:00
TreeHugger Robot
5482fe026c Merge "Revert "audiohal: Add diagnostics to investigate HAL call crashes"" into oc-dev 2017-06-01 16:32:29 +00:00
Shawn Willden
392db77668 Annotate DeleteKey test with bug number.
am: abcd323019

Change-Id: I1e3eb2b93c0054fb48fc8dbd9e844a74736afe46
2017-06-01 15:26:30 +00:00
Shawn Willden
abcd323019 Annotate DeleteKey test with bug number.
Bug: 37623742
Change-Id: I2cb4bb39bacb3aabf5fff7937f60c7355c9636e3
Test: VTS test, manually run
2017-06-01 07:47:04 -06:00