Commit graph

5178 commits

Author SHA1 Message Date
Shuo Qian
698a77581b Merge "Fix vts tests:" into oc-dev am: dda2e8cdc2
am: 50c1bfdb0c

Change-Id: Ic5623b62f1478b620a10fb0ed70678e93585edad
2017-06-09 02:15: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
Yifan Hong
5fa98ed9d3 Merge "Use different versions for framework compatibility matrix" into oc-dr1-dev
am: 40834bbf0e

Change-Id: Ibd360d250a3e6684450ab10180a22840f79a4267
2017-06-09 00:50:55 +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
ee01eb559c Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev am: 80e9912183
am: e1af2bc940

Change-Id: I26306705714975d57ae454b60fed6ef9606e9467
2017-06-08 22:58:52 +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
Mikhail Naganov
70a7f544e3 Merge "audiohal: Prevent logspam when calling get_presentation_position" into oc-dev am: 80e9912183
am: 8699602bf3

Change-Id: I11d0e68805cf108151d1cf86223b0f09cbe19b74
2017-06-08 22:54:51 +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
d27fb1d4d6 Merge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev am: 6fe8953866
am: d56b3083dd

Change-Id: Ie8eed658a7082b3f925cfbf9ff6f3fae6661b191
2017-06-08 16:35:04 +00:00
Zhuoyao Zhang
7d429f85bf Merge "Omx vts tests" into oc-dev am: 2e2e255125
am: ca7c33143d

Change-Id: I32f02135a3f911bdb3a9ccc027bbb768720be026
2017-06-08 16:34:46 +00:00
Zhuoyao Zhang
a1d0c53f46 Merge "Vts Omx Tests: Disable test that are not IOMX compatible" into oc-dev am: 6fe8953866
am: c95851eb06

Change-Id: Ic894f601c410064eca340e7f81463b4cd6d573be
2017-06-08 16:31:07 +00:00
Zhuoyao Zhang
4f90ecce5a Merge "Omx vts tests" into oc-dev am: 2e2e255125
am: cb3dc9f239

Change-Id: Ib13cbec2f5c93eddc4cb80334f5971ac5bbad951
2017-06-08 16:30:52 +00: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
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
ca7c33143d Merge "Omx vts tests" into oc-dev
am: 2e2e255125

Change-Id: I47b2613f0cfaf1f237bbdc432262b46fc3de3b9f
2017-06-08 16:28:23 +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
Etan Cohen
03d00f4ba8 Merge "[AWARE] Fix validity check on PMK + export PASSPHRASE lengths" into oc-dr1-dev
am: b243fb5ca3

Change-Id: Ib81d4e7757dda185311c3ba30155b5c5cc3594b0
2017-06-08 05:32:18 +00: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
46e401f532 Fix expected attestation version. am: 538b7d85ef
am: d4c2e5d8a5

Change-Id: Ifcfc71174c58820066315d77581679da30c377a5
2017-06-08 02:02:16 +00:00
Janis Danisevskis
d4c2e5d8a5 Fix expected attestation version.
am: 538b7d85ef

Change-Id: I5ba0326f7e2f1547a1e08c2f44055a8938414ae4
2017-06-08 01:55:37 +00:00
Janis Danisevskis
dd4358f667 Fix expected attestation version. am: 538b7d85ef
am: db5b71c924

Change-Id: I65916750483228b74b4b65a5379fdf0ec06f4816
2017-06-08 01:52:46 +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
Yi Kong
b37a40891c Fix build, put back 'this' capture
am: 15ec48374b

Change-Id: I2e72433b463595265744d19ee1bfcc67d518924f
2017-06-07 21:35:05 +00: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
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
Chih-Hung Hsieh
f7c4fcc0ab Remove unused lambda capture
am: d3bc681f26

Change-Id: Ie4ee47c803eea93220c3b78225b8369de54bb700
2017-06-07 20:08:48 +00: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
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