Commit Graph

7484 Commits

Author SHA1 Message Date
Iris Chang
25c654c064 Fix Keymaster VTS for OpenSSL error code change
am: 3cc78f1d3b  -s ours

Change-Id: I3f7ca5cb471f55e9f6f90079c1ac798f59ffd378
2017-11-28 08:13:50 +00:00
Steven Moreland
3266a19ce4 Merge "Test for references to typedef'd enum." am: 6a5daf8cac
am: 7b64abd011

Change-Id: Ic6756d9b06846243e5b551512cddaa3341dae86a
2017-11-28 02:14:30 +00:00
Steven Moreland
7b64abd011 Merge "Test for references to typedef'd enum."
am: 6a5daf8cac

Change-Id: I4f4edb7ad49105bd53c59d4a4428ad8573acbfa2
2017-11-28 02:11:27 +00:00
Treehugger Robot
6a5daf8cac Merge "Test for references to typedef'd enum." 2017-11-28 02:02:58 +00:00
Steven Moreland
4921bc2e13 Test for references to typedef'd enum.
Allow using an enum even when it is typedef'd.

Test: hidl-gen -Lcheck
Change-Id: I45f8b40d67773c1cd34c9353b847dbae1cc4bdcd
2017-11-27 16:05:09 -08:00
Steven Moreland
a110506924 Merge "Additional tests for enum iteration." am: d10cb041bc
am: 53541a71c2

Change-Id: If92bd1e2d89725186634ab0068b86112934bf7e9
2017-11-27 20:24:08 +00:00
Steven Moreland
53541a71c2 Merge "Additional tests for enum iteration."
am: d10cb041bc

Change-Id: Iad74708585a7cfbb97c9932ca7e1c3a8c2315749
2017-11-27 20:21:05 +00:00
Treehugger Robot
d10cb041bc Merge "Additional tests for enum iteration." 2017-11-27 20:17:30 +00:00
Jiyong Park
fde7d5b743 Merge "DO NOT MERGE: android.hardware.graphics.allocator@2.0 is no longer VNDK-SP" am: 5a05f0e3a1 -s ours
am: f0d7f85477

Change-Id: I43568b2f4df3f242a854634b15dedf87067ec391
2017-11-22 08:06:23 +00:00
Jiyong Park
f0d7f85477 Merge "DO NOT MERGE: android.hardware.graphics.allocator@2.0 is no longer VNDK-SP"
am: 5a05f0e3a1  -s ours

Change-Id: I27ec192afcb4e253f320b97846f0ae038200be27
2017-11-22 08:03:48 +00:00
Treehugger Robot
5a05f0e3a1 Merge "DO NOT MERGE: android.hardware.graphics.allocator@2.0 is no longer VNDK-SP" 2017-11-22 07:52:30 +00:00
Iris Chang
3cc78f1d3b Fix Keymaster VTS for OpenSSL error code change
OpenSSL changes error code of large RSA data from
KM_ERROR_INVALID_INPUT_LENGTH to KM_ERROR_INVALID_ARGUMENT which causes
HidlHalGTest#EncryptionOperationsTest.RsaOaepTooLarge and
HidlHalGTest#EncryptionOperationsTest.RsaPkcs1TooLarge tests failed.
Fix keymaster VTS to accept both the error codes.

Bug: 68289922
Test: HidlHalGTest#EncryptionOperationsTest.RsaOaepTooLarge and
      HidlHalGTest#EncryptionOperationsTest.RsaPkcs1TooLargeHidlHalGTest#EncryptionOperationsTest.RsaOaepTooLarge
      and HidlHalGTest#EncryptionOperationsTest.RsaPkcs1TooLarge are
      passed after applying this modification and other Keymaster 3.0
      VTS test cases are not affected.
Change-Id: I493bfa1c6e4b69560dfae3585a416b5c3d33e215
Merged-In: I493bfa1c6e4b69560dfae3585a416b5c3d33e215
(cherry picked from 890d3dfe27)
2017-11-22 12:06:33 +08:00
Iris Chang
11fab4809b Merge "Fix Keymaster VTS for OpenSSL error code change" am: fc23356909
am: f9fceff665

Change-Id: I31e9a6f5da3e894287dbb76d94b766e236767a63
2017-11-22 02:06:23 +00:00
Iris Chang
f9fceff665 Merge "Fix Keymaster VTS for OpenSSL error code change"
am: fc23356909

Change-Id: If832fc5e82618c394fd253215cd5c8e5e0011e39
2017-11-22 02:04:08 +00:00
Treehugger Robot
fc23356909 Merge "Fix Keymaster VTS for OpenSSL error code change" 2017-11-22 01:55:27 +00:00
Jiyong Park
3a6ecdcdaa DO NOT MERGE: android.hardware.graphics.allocator@2.0 is no longer VNDK-SP
The interface lib has been in VNDK-SP because
android.hardware.graphics.mapper@1.0 was using it. However, since the
dependency has gone [1], there is no need keep it in VNDK-SP. The
VNDK-SP set should be kept as small as possible because libs in VNDK-SP
are subject to double-loading.

Unmark the 'support_system_process' property to exclude the lib from
VNDK-SP.

Bug: 69480083
Test: walleye boots to the UI
Merged-In: I8722c1ac15ddf56a627a12a0c649b4d734e5e5cd
Change-Id: I8722c1ac15ddf56a627a12a0c649b4d734e5e5cd
(cherry picked from commit ec44d18dbe)
2017-11-22 09:57:13 +09:00
Roshan Pius
e141301cbb Merge "wifi(vts): Ignore HAL stop failure" into oc-mr1-dev
am: 436ca9240e

Change-Id: I7763cb156d3d4b9e041664c4bdeae5a03962250d
2017-11-20 20:32:56 +00:00
TreeHugger Robot
436ca9240e Merge "wifi(vts): Ignore HAL stop failure" into oc-mr1-dev 2017-11-20 20:22:09 +00:00
Badhri Jagan Sridharan
f437c82c13 Initialize usb_count in the setup funtion. am: 9272727df8
am: cf105b679d

Change-Id: I0538274aa5ef47e55a8037064fa3f965ad84c57a
2017-11-20 18:01:15 +00:00
Badhri Jagan Sridharan
cf105b679d Initialize usb_count in the setup funtion.
am: 9272727df8

Change-Id: I8ca47ee5d3481319f36d3a58e9410d65ed442fdc
2017-11-20 17:58:43 +00:00
Keun Soo Yim
6061043397 Merge "Loosen speed check for first GPS location" into oc-dev am: dda16e990b -s ours am: ee9021e20d -s ours
am: 4949283158  -s ours

Change-Id: I5b6dbd4d584c8f30c9102f022e274b436c47ff6a
2017-11-20 02:33:57 +00:00
Keun Soo Yim
4949283158 Merge "Loosen speed check for first GPS location" into oc-dev am: dda16e990b -s ours
am: ee9021e20d  -s ours

Change-Id: I8661c4ed8ac876cbb096a0a19d4e3e554a8bf15f
2017-11-20 02:31:25 +00:00
Keun Soo Yim
ee9021e20d Merge "Loosen speed check for first GPS location" into oc-dev
am: dda16e990b  -s ours

Change-Id: I16309ef4faf6ffc9225c4a1509ace1519c60c273
2017-11-20 02:29:22 +00:00
Keun Soo Yim
dda16e990b Merge "Loosen speed check for first GPS location" into oc-dev 2017-11-20 02:26:24 +00:00
Steven Moreland
ed3255672c Additional tests for enum iteration.
Bug: 68715899
Test: hidl_test
Change-Id: I78ca51568a5380839782ead5698f4d0ac0a3a7dd
2017-11-17 14:25:32 -08:00
Badhri Jagan Sridharan
9272727df8 Initialize usb_count in the setup funtion.
Spurious wakeups can cause the test thread to return even if the
callback was not actually called as the usb_count isnt initialized.

Bug: 65469351
Test: mma and pushed locally to the device & tested.
--skip-preconditions --module VtsHalUsbV1_0Target
Change-Id: Ib0e838cf4a44807142eab6aa5e9df0cc462bb973
2017-11-17 12:58:34 -08:00
Roshan Pius
2d6676a1ce wifi(vts): Ignore HAL stop failure
The stop may fail if the interface down operation takes too long on some
devices. This is not fatal as long as we're able to bring up the
interfae for the next HAL start.

Bug: 68303248
Test: VTS tests
Change-Id: I93943f9d0cfb83cf07253c6f9b3866d6d137028f
2017-11-17 11:02:38 -08:00
Keun Soo Yim
f94324f436 Merge "VTS: fix RadioHidlTest.getAvailableNetworks issue" into oc-mr1-dev
am: 6d73f04788  -s ours

Change-Id: Ic16f35efa75bc65a727d648f2dfcece36d2aaac2
2017-11-17 04:46:08 +00:00
Keun Soo Yim
6d73f04788 Merge "VTS: fix RadioHidlTest.getAvailableNetworks issue" into oc-mr1-dev 2017-11-17 04:41:07 +00:00
Ryan Campbell
4596756e1b Transfer VTS test ownership. am: ae6b2a5f1e
am: 8ca98990ab

Change-Id: Iafe4c27fc759f10671218c1fb66505d55cb7960e
2017-11-17 02:12:26 +00:00
Ryan Campbell
8ca98990ab Transfer VTS test ownership.
am: ae6b2a5f1e

Change-Id: I4dd526bbfc6e8fa51495f4298e820e62f2fb62dd
2017-11-17 02:10:09 +00:00
Shuo Qian
41c87515c8 Merge "Add REQUEST_NOT_SUPPORTED / SIM_ABSENT for vts tests" into oc-dr1-dev am: 3f7603e3c7 -s ours
am: ac20dd4a58

Change-Id: I197a5f55bb239cac4a831782f082fd0273c424c5
2017-11-17 01:56:25 +00:00
Shuo Qian
ac20dd4a58 Merge "Add REQUEST_NOT_SUPPORTED / SIM_ABSENT for vts tests" into oc-dr1-dev
am: 3f7603e3c7  -s ours

Change-Id: I6d38d10d3da7d456a5189bdf98cf5b3051d49da1
2017-11-17 01:54:53 +00:00
Shuo Qian
3f7603e3c7 Merge "Add REQUEST_NOT_SUPPORTED / SIM_ABSENT for vts tests" into oc-dr1-dev 2017-11-17 01:46:33 +00:00
sqian
e2c574d863 Merge "Add REQUEST_NOT_SUPPORTED / SIM_ABSENT for vts tests" into oc-dev am: 545d21c91f -s ours am: a8ed4185d5
am: aae77c7fef

Change-Id: Ic3dc4d0284be9a58110730658776654a189c9b6d
2017-11-17 00:31:38 +00:00
sqian
aae77c7fef Merge "Add REQUEST_NOT_SUPPORTED / SIM_ABSENT for vts tests" into oc-dev am: 545d21c91f -s ours
am: a8ed4185d5

Change-Id: I2af7758b2eea161bee61be78ad751e357651bd56
2017-11-17 00:26:15 +00:00
sqian
a8ed4185d5 Merge "Add REQUEST_NOT_SUPPORTED / SIM_ABSENT for vts tests" into oc-dev
am: 545d21c91f  -s ours

Change-Id: I83d54e6f658f940267350d6aee205ec663d03f08
2017-11-17 00:20:47 +00:00
Ryan Campbell
ae6b2a5f1e Transfer VTS test ownership.
Remove self from test ownership and transfer to new owners as agreed.

Test: none
Bug: 69425312
Change-Id: I8b189e6f2d7076b9ee7f3bad91445ccf6c5e1767
Merged-In: I8b189e6f2d7076b9ee7f3bad91445ccf6c5e1767
2017-11-16 14:48:00 -08:00
sqian
ecc213b124 Fix merge conflict CL for o-dr hashing
am: 297522bd65

Change-Id: I6d95a65fc778867737c92a6432a3a1fc83e897c1
2017-11-16 22:20:39 +00:00
sqian
5e5b441361 Add REQUEST_NOT_SUPPORTED / SIM_ABSENT for vts tests
Bug: 65230472
Test: run vts
Change-Id: I1fab6f49f04a04a7f1cd3b613fe7049f927171d1
2017-11-16 19:57:27 +00:00
sqian
297522bd65 Fix merge conflict CL for o-dr hashing
Bug: 65230472
Test: run vts
Change-Id: I25e2e8390d7d4c2ce45c0c0378435754ddb81ac0
2017-11-16 11:25:32 -08:00
Roshan Pius
b6805fda2a wifi(vts): Skip tests if feature not supported am: fbe5aff5e4
am: 405f2869bc

Change-Id: I73778baa541537f58a7dc002099e551e8ab3ce7e
2017-11-16 18:28:24 +00:00
Roshan Pius
405f2869bc wifi(vts): Skip tests if feature not supported
am: fbe5aff5e4

Change-Id: I8c87bfff60c4964a5ab99da961f166a8e86ee81e
2017-11-16 18:26:21 +00:00
Roshan Pius
fbe5aff5e4 wifi(vts): Skip tests if feature not supported
Bug: 69338713
Test: `make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module VtsHalWifiV1_0Target -l
INFO`
Change-Id: If70050811ce87f8eff32696ecdd4d3f49646bad0
2017-11-15 13:36:47 -08:00
Wyatt Riley
763b4eab01 Loosen speed check for first GPS location
As it is often found in a short integration
window with very high Doppler uncertainty.

Bug: 67877519
Merged-In: Ia05359f572f4ea7be81f9d5fe30bd619322bebd3
Test: Verified Pixel still passes VTS
Change-Id: Ia05359f572f4ea7be81f9d5fe30bd619322bebd3
2017-11-15 11:47:29 -08:00
Zhuoyao Zhang
8fab8190df Merge "Convert Renderscript Hal test to test against each of the service names." am: 4fae0e4f75
am: a529b73890

Change-Id: If309387e374e48d5e72364b3da4fd4522ba16da1
2017-11-15 18:40:49 +00:00
Zhuoyao Zhang
a529b73890 Merge "Convert Renderscript Hal test to test against each of the service names."
am: 4fae0e4f75

Change-Id: I76769806c8e90411055c4864b57e8271cc1894a8
2017-11-15 18:16:46 +00:00
sqian
4e49b594f3 Fix merge conflict CL
am: 9545fed275

Change-Id: I9d7069fefd2ba5f7dca80ce8e8e0f2f2d5ec7abf
2017-11-15 18:11:03 +00:00
Zhuoyao Zhang
4fae0e4f75 Merge "Convert Renderscript Hal test to test against each of the service names." 2017-11-15 17:34:35 +00:00
Iris Chang
890d3dfe27 Fix Keymaster VTS for OpenSSL error code change
OpenSSL changes error code of large RSA data from
KM_ERROR_INVALID_INPUT_LENGTH to KM_ERROR_INVALID_ARGUMENT which causes
HidlHalGTest#EncryptionOperationsTest.RsaOaepTooLarge and 
HidlHalGTest#EncryptionOperationsTest.RsaPkcs1TooLarge tests failed. 
Fix keymaster VTS to accept both the error codes.

Bug: 68289922
Test: HidlHalGTest#EncryptionOperationsTest.RsaOaepTooLarge and
      HidlHalGTest#EncryptionOperationsTest.RsaPkcs1TooLargeHidlHalGTest#EncryptionOperationsTest.RsaOaepTooLarge
      and HidlHalGTest#EncryptionOperationsTest.RsaPkcs1TooLarge are
      passed after applying this modification and other Keymaster 3.0
      VTS test cases are not affected.
Change-Id: I493bfa1c6e4b69560dfae3585a416b5c3d33e215
2017-11-15 08:09:52 +00:00