Commit Graph

10600 Commits

Author SHA1 Message Date
Kevin Rocard
2da27f45bb Merge "Audio HAL: Add missing device to XSD" into pie-vts-dev
am: f6e97e1564

Change-Id: I5f1a4e16285d620c73adcbe1f945380156c37e4a
2019-10-10 10:43:08 -07:00
Treehugger Robot
f6e97e1564 Merge "Audio HAL: Add missing device to XSD" into pie-vts-dev 2019-10-10 17:15:32 +00:00
Robert Shih
fe72b76df1 [automerger skipped] default hidl CryptoPlugin: security fixes [RESTRICT AUTOMERGE] am: d22f1447fe am: 756f134fcc
am: f6e7c9ed25 -s ours
am skip reason: subject contains skip directive

Change-Id: I526b0d9b4c77ffcf144788317ff78ec431c97405
2019-09-11 21:23:04 -07:00
Robert Shih
f6e7c9ed25 default hidl CryptoPlugin: security fixes [RESTRICT AUTOMERGE] am: d22f1447fe
am: 756f134fcc

Change-Id: I4289e38c6eab3e8cac9e489a08f74b3efcf008f9
2019-09-11 21:18:04 -07:00
Robert Shih
756f134fcc default hidl CryptoPlugin: security fixes [RESTRICT AUTOMERGE]
am: d22f1447fe

Change-Id: I480b83a0c4ffd752637ff5357b30d6f5c1916b4b
2019-09-11 21:10:00 -07:00
Robert Shih
d22f1447fe default hidl CryptoPlugin: security fixes [RESTRICT AUTOMERGE]
* reject native handle output for clearkey
* validate subsample sizes

Bug: 137370777
Test: cryptopoc
Change-Id: I2a81f2a00ebf7954b16fb10d2af586ce0da801ed
2019-09-11 22:08:28 +00:00
Robert Shih
1e18883b72 default hidl CryptoPlugin: security fixes
* reject native handle output for clearkey
* validate subsample sizes

Bug: 137370777
Test: cryptopoc
Change-Id: Idf075e1a297fe1ab3ea3e1621806dd46b4a51e35
2019-09-11 22:08:19 +00:00
Pawin Vongmasa
222d825ea0 [automerger skipped] OMX VTS: Move device resource files to data/local/tmp am: 8799bcc740 am: d660d03f7c am: 099b914599
am: d86c5a905a -s ours
am skip reason: change_id I824b84ef8570ba501cf8137d695f98c335f92c7b with SHA1 e27878153c is in history

Change-Id: Ibba3c3f9955530eab60873cc11de51120a1d8136
2019-09-09 21:52:16 -07:00
Pawin Vongmasa
493686b38e Merge "OMX VTS: Move device resource files to data/local/tmp" into pie-vts-dev
am: 0571e8e8dd

Change-Id: I5de1ac66f949e92dba331526f8b188f4f9740976
2019-09-09 18:34:49 -07:00
Treehugger Robot
0571e8e8dd Merge "OMX VTS: Move device resource files to data/local/tmp" into pie-vts-dev 2019-09-10 00:18:37 +00:00
Pawin Vongmasa
d86c5a905a OMX VTS: Move device resource files to data/local/tmp am: 8799bcc740 am: d660d03f7c
am: 099b914599

Change-Id: I32255d6790be1f66e0c0b92c1a4bc8ff010b485e
2019-09-09 16:56:52 -07:00
Pawin Vongmasa
099b914599 OMX VTS: Move device resource files to data/local/tmp am: 8799bcc740
am: d660d03f7c

Change-Id: Ie39f06d2c162bfad204944a4c45a65950464e672
2019-09-09 16:50:51 -07:00
Pawin Vongmasa
d660d03f7c OMX VTS: Move device resource files to data/local/tmp
am: 8799bcc740

Change-Id: I8023a2690ea6a66b9fa0832307c94df43b3d50ec
2019-09-09 16:42:17 -07:00
Pawin Vongmasa
8799bcc740 OMX VTS: Move device resource files to data/local/tmp
Some devices make /sdcard a symbolic link to a non-constant target. The
target changes between the setup and the execution, so files pushed to
/sdcard during the setup cannot be found when the test runs.

Test: vts-tradefed run vts -m VtsHalMediaOmxV1_0Host

Bug: 138388013
Bug: 140358266
Change-Id: I824b84ef8570ba501cf8137d695f98c335f92c7b
Merged-In: I824b84ef8570ba501cf8137d695f98c335f92c7b
2019-09-02 22:28:31 -07:00
Pawin Vongmasa
e27878153c OMX VTS: Move device resource files to data/local/tmp
Some devices make /sdcard a symbolic link to a non-constant target. The
target changes between the setup and the execution, so files pushed to
/sdcard during the setup cannot be found when the test runs.

Test: vts-tradefed run vts -m VtsHalMediaOmxV1_0Host

Bug: 138388013
Bug: 140358266
Change-Id: I824b84ef8570ba501cf8137d695f98c335f92c7b
Merged-In: I824b84ef8570ba501cf8137d695f98c335f92c7b
2019-09-02 22:28:21 -07:00
Thomas Joseph Avila
d7059a8549 Merge "Setting callbacktype type to invalid value before invoking HIDL call" into pie-vts-dev
am: 5e9cf46491

Change-Id: I487650af18179f7df94843618fe5032c1476db44
2019-07-22 18:18:05 -07:00
Thomas Joseph Avila
5e9cf46491 Merge "Setting callbacktype type to invalid value before invoking HIDL call" into pie-vts-dev 2019-07-23 00:50:43 +00:00
Nate Jiang
1a20113e68 Setting callbacktype type to invalid value before invoking HIDL call
Avoid race condition between event callback and wait context. Make
callbacktype to invalid before call function to change it.

Test: excute VtsHalWifiNanV1_0TargetTest VtsHalWifiNanV1_2TargetTest
Bug: 133484330
Merged-In: I9211c3e172727f56d0cceaf91b98f8d5b3c7fc7e
Change-Id: I0a7e27411cb8fbd877f8228e9d53b62cac424b17
2019-07-22 18:52:06 +00:00
Baranidharan Muthukumaran
a29da54690 Merge "Skip NoUserConfirmation VTS test for Strongbox" into pie-vts-dev
am: f1a67b301f

Change-Id: If7dab84389f3a3bd0922faa00209561b71b739da
2019-06-04 17:53:26 -07:00
Treehugger Robot
f1a67b301f Merge "Skip NoUserConfirmation VTS test for Strongbox" into pie-vts-dev 2019-06-04 21:15:38 +00:00
Nathan Harold
357d68b24a Enable incremental scans for interval checks
am: cba6580749

Change-Id: I197fe0bb0e85db309d88bb966a33cf75a62b2d96
2019-05-23 17:44:55 -07:00
Nathan Harold
cba6580749 Enable incremental scans for interval checks
Currently tests that check for incremental scan interval
range-checking have incremental scans disabled.
This CL turns on incremental scans for tests where the
invalid interval range checks are being validated.

Bug: 112486807
Test: atest RadioHidlTest_v1_2#startNetworkScan_InvalidPeriodicity1;
      atest RadioHidlTest_v1_2#startNetworkScan_InvalidPeriodicity2;
Merged-In: I94874f538d2df70a72913b489d9298f8d1cf9b56
Change-Id: I94874f538d2df70a72913b489d9298f8d1cf9b56
(cherry picked from commit f56b9a41dd)
2019-05-22 18:50:31 +00:00
Wally Yau
7a2b3edec5 Merge "Detach pollThread only if it is joinable" into pie-vts-dev
am: cf4a2880c9

Change-Id: I9845ff5af2235cfbdb92c0a066a4960d1dfdc2d5
2019-05-22 09:33:37 -07:00
Treehugger Robot
cf4a2880c9 Merge "Detach pollThread only if it is joinable" into pie-vts-dev 2019-05-22 15:02:02 +00:00
Nathan Harold
28619c38d9 Use Widely Supported GSM Channels for NetworkScan
am: 0d29252631

Change-Id: I6a7b14726de84d4cc3c6fd56f6fee1cd30723563
2019-05-14 12:58:07 -07:00
Nathan Harold
0d29252631 Use Widely Supported GSM Channels for NetworkScan
Change the network scan tests to use the P900 and 850
GSM bands, which are commonly (nearly universally) supported
bands.

Bug: 132076611
Test: atest RadioHidlTest_v1_2
Change-Id: Ia682f022d35c481876c49c9c8802d7c39722be0e
(cherry picked from commit 2ea2a64bc7)
2019-05-10 23:36:29 +00:00
Wally Yau
a2019c16d5 Detach pollThread only if it is joinable
sensor HAL is not required for Android TV. Hence, ISensors returned
from getService() was null and pollThread was not associated with
any thread of execution.

Bug: 120910004
Test: run vts -m VtsHalSensorsV1_0Target
Change-Id: If16af7313ff7bb22e5ca16c03a0fee0b8d733335
2019-05-10 14:25:39 -07:00
hayun.kim
4808395767 Fix VtsHalWifiV1_0Host#WifiStaIfaceHidlTest.SetScanningMacOui fail
am: eb73bff276

Change-Id: Icefe8c2059bd854337229bc73643b95c2d24f5f4
2019-04-23 15:43:55 -07:00
hayun.kim
eb73bff276 Fix VtsHalWifiV1_0Host#WifiStaIfaceHidlTest.SetScanningMacOui fail
1. snip the VtsHalWifiV1_0Host#WifiStaIfaceHidlTest.SetScanningMacOui test
    if SCAN_RAND capability is not supported on dut device

Test: execute VtsHalWifiV1_0TargetTest of VTS test

Bug: 129735587
Change-Id: I825e1df11c958b3b2476880c6c6f7b8ee7b292bf
Signed-off-by: hayun Kim <hayun.kim.lge.corp-partner.google.com>
2019-04-17 20:44:03 +00:00
Kevin Rocard
dc5d7c26e2 Audio HAL: Add missing device to XSD
The XSD has to be kept manually synced to the HAL definition. When some
formats were introduced and the corresponding enum values were added in
the HAL .hal, the XSD was not updated.

Test: xmllint --noout --schema hardware/interfaces/audio/4.0/config/audio_policy_configuration.xsd  --xinclude out/target/product/*/vendor/etc/audio_policy_configuration.xml
Bug: 128967080
Change-Id: I832398f325d4de18e0deb644f11060fe27d9bdb5
Signed-off-by: Kevin Rocard <krocard@google.com>
2019-04-08 21:15:43 +00:00
Roshan Pius
1905955baf wifi(vts): Don't enforce interface combination in VTS tests
am: f638d0a43a

Change-Id: I1186e55eda42bc383107669d21821540969670ee
2019-03-27 09:09:23 -07:00
Roshan Pius
f638d0a43a wifi(vts): Don't enforce interface combination in VTS tests
Devices are allowed to expose multiple AP or STA interfaces, fix the VTS
tests to allow this.

Bug: 112123615
Test: Compiles
Change-Id: I6cf60b3cb0429ca78fe5a54d9e42ba144d7609e9
2019-03-26 20:52:38 +00:00
sqian
e3c3d56907 Merge "Sleep one second after connect." into pie-vts-dev
am: e1704f3fd6

Change-Id: I426c3cc7a90e8c40bbf99e0f2104ca9431bb2423
2019-03-13 09:58:51 -07:00
Treehugger Robot
e1704f3fd6 Merge "Sleep one second after connect." into pie-vts-dev 2019-03-13 16:53:23 +00:00
Emil Jahshan
cbeda28395 Merge "VTS tests to work with depth Y16" into pie-vts-dev
am: 0e802961e2

Change-Id: I0a42e16b82c60c0c36e1809b9839b73226b22660
2019-03-12 14:39:33 -07:00
Treehugger Robot
0e802961e2 Merge "VTS tests to work with depth Y16" into pie-vts-dev 2019-03-12 21:24:59 +00:00
sqian
b2aa43ae94 Sleep one second after connect.
Modem side need time for connect to finish.

Test: Sanity (encountered by partner)
Bug: 122442056
Change-Id: Ib688b968730fcf604ef3807db9b6bd817594cad6
2019-03-11 16:07:49 -07:00
Yifan Hong
b77950c850 Merge changes from topic "healthd_vts_skip" into pie-vts-dev
am: a35c8253db

Change-Id: I008e46aa0bcdf2e31de18fe9329f332b4e959999
2019-03-11 16:03:28 -07:00
Treehugger Robot
a35c8253db Merge changes from topic "healthd_vts_skip" into pie-vts-dev
* changes:
  health vts: implement GTEST_SKIP if not defined.
  health: skip VTS on healthd if vendor HAL is present.
2019-03-11 22:51:33 +00:00
Manisha Jajoo
f31fd7f8cb omx:component: add support for tunneled components in ComponentTest
am: 4609857ee4

Change-Id: I54aef53b8a0a954e1df36bc8594283cffdc84639
2019-03-11 12:14:11 -07:00
Yifan Hong
68c09adf4c health vts: implement GTEST_SKIP if not defined.
gtest in Android P tree does not have GTEST_SKIP. Implement
a naive version of it.

Bug: 118852225
Test: manually undefine GTEST_SKIP, test with and without --force
Change-Id: I8df1154d8a94a67ae28e8024de6022fcfe76384d
Merged-In: I8df1154d8a94a67ae28e8024de6022fcfe76384d
(cherry picked from commit 03b2a3477b)
2019-03-08 15:03:40 -08:00
Yifan Hong
0d48dc81d0 health: skip VTS on healthd if vendor HAL is present.
If vendor HAL is present, healthd is not used by the framework. VTS should
skip testing it when this is the case.

Provide a --force option to the test if one wants to test healthd.

Fixes: 118852225
Test: on walleye, test healthd with and without --force.

Change-Id: I85f792f25406b1c02887a0ac273730e719003e2f
Merged-In: I85f792f25406b1c02887a0ac273730e719003e2f
(cherry picked from commit e6807ddec1)
2019-03-08 14:09:56 -08:00
Emil Jahshan
b8524954e6 VTS tests to work with depth Y16
modified VTS tests functions to work with the Y16 format with the correct dataspace.
Y16 changes are in this patch: 847192

Test: ran and tested on intel depth camera D415 and a regular RGB camera

Change-Id: Ie40347d58d4f72ed2fc9676bdaab2d1dca5dc5bc
Signed-off-by: Emil Jahshan <emil.jahshan@intel.com>
2019-02-24 09:40:24 +00:00
nagendra modadugu
d0a5c1dda5 [DO NOT MERGE] keymaster: add an EC attestation test
Add a test that creates an EC key by
using key-bits (rather than curve-id),
and check that the attestation message
corresponds to key characteristics.

Bug: 122375834
Bug: 119542230
Test: VTS passes
Change-Id: Iad6ff2ca90a951124940943f2484f9fb9f813a19
2019-02-22 13:33:03 -08:00
Manisha Jajoo
4609857ee4 omx:component: add support for tunneled components in ComponentTest
Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Host \
-l INFO

bug: 70933963

Change-Id: I5695820b225041f5b764506cdafacf7c95d836aa
2019-02-04 18:58:12 -08:00
Pierre Lee
e233a7c98d The test failed when one of the three cameras was configured with a maximum android.scaler.availableStreamConfiguration size of 1600*1200
am: 6f6fe9a5e2

Change-Id: I037a4eb21f0eee79acf78f15a1cd5bb9fef5da7b
2019-01-23 21:44:20 -08:00
Pierre Lee
6f6fe9a5e2 The test failed when one of the three cameras was configured with a maximum android.scaler.availableStreamConfiguration size of 1600*1200
VTS gets the name of all the cameras in the machine and check each camera, When traversal to the configuration reference of 1600*1200 camera, the outputPreviewStreams variable does not clear, save the value of the Previous camera
The outputPreviewStreams variable needs to be cleared when check next camera

Bug: 122806546
Test: ConfigureStreamsWithSessionParameters can pass when one of the three cameras was configured with a maximum android.scaler.availableStreamConfiguration size of 1600*1200
Change-Id: Ia4845d43871730e14b5ba1411ce72f8c4bb69042
Merged-In: Ia4845d43871730e14b5ba1411ce72f8c4bb69042
2019-01-22 04:13:52 +00:00
Yin-Chia Yeh
31ad8ce667 Merge "Camera: fill in bufferSize correctly" into pie-vts-dev
am: d04f64ef24

Change-Id: I1d3a33e8bc58d0f99167f5bc3da6b6abf81d6d52
2019-01-14 04:05:42 -08:00
Treehugger Robot
d04f64ef24 Merge "Camera: fill in bufferSize correctly" into pie-vts-dev 2019-01-14 11:53:27 +00:00
Yin-Chia Yeh
9d4ff706e1 Camera: fill in bufferSize correctly
Test: partner testing
Bug: 118724188
Change-Id: If21762467e6458f923d7f9b7eeef41d987c196a1
2019-01-14 10:54:11 +00:00