Commit graph

5165 commits

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

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

Change-Id: I90035e92beb470f7910f1f43cc203c4e84d43e29
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
c1feed1128 Merge "Fix vts tests:" into oc-dev
am: dda2e8cdc2

Change-Id: I48640bc1b6225e39309f2832613986fce4a43754
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
TreeHugger Robot
40834bbf0e Merge "Use different versions for framework compatibility matrix" into oc-dr1-dev 2017-06-09 00:46:20 +00:00
Mikhail Naganov
8699602bf3 Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev
am: 80e9912183

Change-Id: I112ef606ce564c9cf53e67a2c84ded5e6958da88
2017-06-08 22:52: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
c95851eb06 Merge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev
am: 6fe8953866

Change-Id: Ia9804c27bcec133b8570c7f180bce591a7a41bd3
2017-06-08 16:28:44 +00:00
Zhuoyao Zhang
cb3dc9f239 Merge "Omx vts tests" into oc-dev
am: 2e2e255125

Change-Id: Ifcf78ffd3c042e3eeab90016dc822b747a9cadc1
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
Etan Cohen
b243fb5ca3 Merge "[AWARE] Fix validity check on PMK + export PASSPHRASE lengths" into oc-dr1-dev 2017-06-08 05:26:21 +00:00
Janis Danisevskis
db5b71c924 Fix expected attestation version.
am: 538b7d85ef

Change-Id: I35fd340baa71984a9aa5b1db6d8df1b09cda7a6c
2017-06-08 01:51:38 +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
Etan Cohen
a7a059ebbf [AWARE] Fix validity check on PMK + export PASSPHRASE lengths
Bug: 62376042
Test: unit tests + integrated (sl4a) tests
Change-Id: I4c0e19a21a268fe7f2d38e82f3743ac5a8e2c6cb
2017-06-07 20:54:31 +00:00
Yifan Hong
588a9283b3 Use different versions for framework compatibility matrix
Keyed on MATRIX_LEVEL_OVERRIDE, FULL_TREBLE, SHIPPING_API_LEVEL,
and SDK_VERSION.

Bug: 62136051

Test: m system_compatibility_matrix.xml -j; \
    grep -e"gatekeeper" -B1 $OUT/system/compatibility_matrix.xml; \
    grep -e"oemlock" -B1 $OUT/system/compatibility_matrix.xml
bullhead: gatekeeper is optional, no oemlock (legacy.xml)
marlin without COMP_LEVEL_OVERRIDE: gatekeeper is not optional,
        no oemlock (26.xml)
marlin with COMP_LEVEL_OVERRIDE: gatekeeper is not optional,
        oemlock exists (current.xml)
new devices with COMP_LEVEL_OVERRIDE: same as above.

Change-Id: I2ccfa9b0132bf98cc2da8f0500bea992b5fa83d0
2017-06-07 19:27:05 +00: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
TreeHugger Robot
bd513e06a9 Merge "Move utility classes in a separate static target" 2017-06-06 20:21:41 +00:00
Zhuoyao Zhang
86ed18f7f9 Merge "Omx vts tests." into oc-dev am: 89ed70727d
am: 176c564b54

Change-Id: I76809e1d9e2fb9e39abfbc2a6f6a1e1cbf035233
2017-06-06 18:42:58 +00: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
c68bd42241 Merge "contexthub: Handle service death" into oc-dev am: bbcf199e93
am: 7e4e4f57ca

Change-Id: I5c4985e367d29303356788c7ff1837af02eef83f
2017-06-06 17:03:39 +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
TreeHugger Robot
4361b66bc2 Merge "Implemented VTS for Dumpstate HIDL." 2017-06-06 16:24:24 +00:00
Kevin Rocard
9f33e742b1 Merge changes from topic 'vts-validate-policy-conf' into oc-dev am: 024e0cd27d -s ours
am: 7b9e6a5300

Change-Id: I93070815310fd288c14046209f8f08e9f6a0e490
2017-06-06 04:55:47 +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
488c8a232c Audio VTS: Enforce policy configuration format
am: cbf9c08116  -s ours

Change-Id: I6d2e11aaac4ff0e0e8a2dca7226a811ef30b3197
2017-06-06 04:51:08 +00:00
TreeHugger Robot
6e1b08ff4b Merge "Update internal makefiles." 2017-06-06 04:43:13 +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
Steven Moreland
f04fdeb83e Update internal makefiles.
These makefiles are not in dev topic branches
or AOSP currently so they were not updated. This
update adds hidl-generated-module defaults.

Test: pass
Change-Id: Ie52c54877d795bf5358aa600e6d1a13a4f166d25
2017-06-05 17:47:36 -07:00
Kevin Rocard
213a897da8 Merge "Audio VTS: Create utility lib" 2017-06-05 23:51:20 +00:00
Sanket Padawe
f3287effe0 Fix some stk api Radio Vts tests. am: 2ab0ec0626
am: 1c87d14016  -s ours

Change-Id: I534b1dc2da99d4da03c85c6f33cafd28c0a0c6a1
2017-06-05 23:22:32 +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
TreeHugger Robot
12aedc093e Merge "VTS: USB: vts target test for USB 1_1 HAL interface." 2017-06-05 22:28:42 +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
Kevin Rocard
b0464ca4ed Merge "Audio VTS: Enforce policy configuration format" 2017-06-05 21:15:14 +00: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
Sanket Padawe
92a1599b80 Fix some stk api Radio Vts tests.
Bug: 37502436
Test: Manual vts
Change-Id: Idd9a1fd38413aed89aaa152cb9a91c001f18b339
2017-06-05 12:04:52 -07:00
Kevin Rocard
b6d79ff112 Audio VTS: Create utility lib
Move code that can be reuse between audio tests of the HIDL interface in
an utility library.

Test: run vts tests
Test: vts-tradefed run vts --module VtsHalAudioV2_0Target
Bug: 35700978

Change-Id: Ia930ad2b0a3ca31628b2cb767b265d54b210756b
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-06-05 11:22:24 -07:00
TreeHugger Robot
f93f11970a Merge "Add TICK constant to vibrator HAL." 2017-06-05 16:40:58 +00:00
Felipe Leme
4b89d221e0 Implemented VTS for Dumpstate HIDL.
Test: adb shell /data/nativetest64/VtsHalDumpstateV1_0TargetTest/VtsHalDumpstateV1_0TargetTest
Test: adb shell /data/nativetest/VtsHalDumpstateV1_0TargetTest/VtsHalDumpstateV1_0TargetTest

Fixes: 35915971

Change-Id: I2508699da9a36612961899a100c273f3a5d62cc6
2017-06-05 09:05:03 -07:00
Miao Wang
aa73b33f91 Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." am: 292cddf6be am: 0a8c6b55cf am: 4c9037094a -s ours
am: 60a43b499a

Change-Id: Ia4cc8dce74176fcd37b8fa3f034f40fae459e928
2017-06-02 23:49:09 +00:00