Commit graph

7566 commits

Author SHA1 Message Date
Chih-Hung Hsieh
a5d28736f4 Use -Werror in hardware/interfaces/biometrics/fingerprint
am: 5631258f07

Change-Id: I6c81b78c4d00faccefdaa3e40ebcecc26222c5e9
2017-11-29 00:02:41 +00:00
Steven Moreland
fe564275ea Update tests makefile for change.
Introduced in 4921bc2e13.

Test: manual
Change-Id: I8b2b8fc27ebae55871c656816f87374c792a8ace
2017-11-28 15:21:38 -08:00
Steven Moreland
e5c6548346 Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:23:43 -08:00
Chih-Hung Hsieh
d83c721543 Use -Werror in hardware/interfaces/automotive/vehicle/2.0
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I4de457fc522b490d0142b1f21552b993553a5982
Merged-In: I851c9b2ff956b0f6d9d7a6076d495aad9038a66a
2017-11-28 14:09:01 -08:00
Chih-Hung Hsieh
5631258f07 Use -Werror in hardware/interfaces/biometrics/fingerprint
* Fix warning of unused function call result.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I91da207b80d0715d015195357d645f8cf324fa1e
2017-11-28 13:40:33 -08:00
Chih-Hung Hsieh
f17049b9f7 Merge "Use -Werror in hardware/interfaces/automotive/evs/1.0"
am: 8500c095b9  -s ours

Change-Id: Ibe6b75d9468905abd88bf672da794225ae821a00
2017-11-28 20:09:35 +00:00
Treehugger Robot
8500c095b9 Merge "Use -Werror in hardware/interfaces/automotive/evs/1.0" 2017-11-28 20:01:08 +00:00
Chih-Hung Hsieh
8e736c21de Merge "Use -Werror in hardware/interfaces"
am: 02804915fb

Change-Id: Id73af9532487a85ad1d1170dbce809761d4a93a8
2017-11-28 19:24:00 +00:00
Treehugger Robot
02804915fb Merge "Use -Werror in hardware/interfaces" 2017-11-28 19:16:23 +00:00
Chih-Hung Hsieh
ae9fb022a3 Merge "Use -Werror in hardware/interfaces/audio"
am: 7a4422d2a5

Change-Id: Ib0cf1e15856fd58f0f2ea726e3d5b94177ab33a1
2017-11-28 19:03:31 +00:00
Treehugger Robot
7a4422d2a5 Merge "Use -Werror in hardware/interfaces/audio" 2017-11-28 18:50:14 +00:00
Chih-Hung Hsieh
aa7cddcd71 Merge "Use -Werror in hardware/interfaces/light/2.0"
am: 5261c278b9

Change-Id: I0991ff7666452a21848218b96c29d3dc5de6d3a8
2017-11-28 18:35:29 +00:00
Chih-Hung Hsieh
f751c1b9ef Use -Werror in hardware/interfaces/automotive/vehicle
am: 75714dff3a  -s ours

Change-Id: I4959c69e1b31a8dd9c90de8e11a7f1ffe3b0b355
2017-11-28 18:32:00 +00:00
Treehugger Robot
5261c278b9 Merge "Use -Werror in hardware/interfaces/light/2.0" 2017-11-28 18:28:03 +00:00
Chih-Hung Hsieh
1b275a2c41 Use -Werror in hardware/interfaces/light/2.0
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: If922bef89eba554c37b74a574bb0a042cfad46c7
Merged-In: I15c4779a7c9eea39fb20746f69800dcf20670275
2017-11-28 17:13:03 +00:00
Chih-Hung Hsieh
d8d5f63fa9 Use -Werror in hardware/interfaces/automotive/evs/1.0
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Id72582780b806b27ed126a92ee6af55ca6ac4237
Merged-In: I8b8490b3e828a9a31af8f6f823d9c70e1c11c9c5
2017-11-28 17:12:44 +00:00
Chih-Hung Hsieh
75714dff3a Use -Werror in hardware/interfaces/automotive/vehicle
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I6a9233b4a2df7b6403dbabffb75cc4905d3da887
Merged-In: I851c9b2ff956b0f6d9d7a6076d495aad9038a66a
2017-11-28 17:12:22 +00:00
Chih-Hung Hsieh
b38c1aebc1 Use -Werror in hardware/interfaces/audio
* Remove unused variables, lambda function parameters..

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I28e8eb1af434f62cab6f41285b9a400f7f57cd13
2017-11-28 17:11:33 +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
Badhri Jagan Sridharan
2520bb2aaa usb: Add owner file
Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: I0fe896da5eb1bf416d4c305a0188b52922a2e292
2017-11-27 20:51:09 +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
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
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
Chih-Hung Hsieh
3f2ea62d06 Use -Werror in hardware/interfaces
* Use hidl_defaults, which has -Wall -Werror.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ifbca0e176a8e031acc27256eb46d23b89cdf1a0e
2017-11-20 10:49:11 -08: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
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
Ryan Campbell
8ca98990ab Transfer VTS test ownership.
am: ae6b2a5f1e

Change-Id: I4dd526bbfc6e8fa51495f4298e820e62f2fb62dd
2017-11-17 02:10:09 +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
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
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
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
Iris Chang
0c9df89f88 Merge "VTS: fix RadioHidlTest.getAvailableNetworks issue"
am: 89b2d24fb0

Change-Id: I96c5b3873c53fba6fca5905f0a5897a7f8801f4a
2017-11-15 04:10:23 +00:00
Treehugger Robot
89b2d24fb0 Merge "VTS: fix RadioHidlTest.getAvailableNetworks issue" 2017-11-15 04:06:29 +00:00
Zhuoyao Zhang
c8c5001b00 Convert GraphicsMapper Hal test to test against each of the service names.
am: 94b11ca19f

Change-Id: I067c835282bdd84571f3e57ab61073ed2fd54b15
2017-11-15 01:35:13 +00:00
Xin Li
bb9e38fef9 Merge commit '1a06284b24f5eb7bb9c1fea0817da8898b3b1bff' from
oc-mr1-dev-plus-aosp into stage-aosp-master

Change-Id: I2a044eb8c9981d0a8198ffe2df55559afbd76341
Merged-In: I4fb9f18884f7ef21162015a0032c4431444f7025
2017-11-14 12:08:38 -08:00
Zhuoyao Zhang
674b34d42f Convert Renderscript Hal test to test against each of the service names.
Bug:64203181
Test: vts-tradefed run vts -m VtsHalRenderscriptV1_0Target
Change-Id: I40bb519f901a553363837a42ee7450db32d22e27
2017-11-13 17:45:23 -08:00
Zhuoyao Zhang
94b11ca19f Convert GraphicsMapper Hal test to test against each of the service
names.

Bug:64203181
Test: vts-tradefed run vts -m VtsHalGraphicsMapperV2_0Target
Change-Id: Icbef0f0575183033c069d8ec097ab774207c40de
2017-11-13 17:10:25 -08:00
Iris Chang
6429f0677f VTS: fix RadioHidlTest.getAvailableNetworks issue
Analysis: VtsHalRadioV1_0Target's timeout is too short for
getAvailableNetworks, because this request duration depends on NW
environment or frequency.

Suggested solution: Add a timeout parameter to wait() and default
timeout value is 5 minutes in order to avoid timeout fail due to NW
environment.

Bug: 68834032
Test: getAvailableNetworks can be passed after we apply this patch and
      test result for all other telephony 1.0 and 1.1 test cases are not
      changed.
Change-Id: Iaae71e0abacd28275d86a19264813ff209ddb79c
2017-11-14 01:08:03 +00:00
Yifan Hong
b86b2d2881 Merge "Revert "Add micro-vts.sh""
am: f097a56a2c

Change-Id: I9a1ae2fc44a254fedf20792eb5c63bd3774207dc
2017-11-14 00:05:14 +00:00
Yifan Hong
f097a56a2c Merge "Revert "Add micro-vts.sh"" 2017-11-14 00:01:39 +00:00
Yifan Hong
161cc94287 Revert "Add micro-vts.sh"
This reverts commit 0cfbe28704.

Reason for revert: Moved to internal master

Change-Id: I4adbc59799c9a6315e2b9dfa76189d22f40b8b32
2017-11-13 22:18:38 +00:00