Commit graph

7401 commits

Author SHA1 Message Date
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
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
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
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
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
Martijn Coenen
32ba3eaade Merge "Fix library loading order in .mk files."
am: b796529a56

Change-Id: I19dcd234f143c9aae758ea66d9273d015d04e7b7
2017-11-13 22:08:08 +00:00
Treehugger Robot
b796529a56 Merge "Fix library loading order in .mk files." 2017-11-13 21:58:52 +00:00
Martijn Coenen
cf426f0fea Fix library loading order in .mk files.
Test: angler boots again
Bug: 69180318
Change-Id: Id71e2348eabf5101d1fd286bbc0076154703d159
Merged-In: Id71e2348eabf5101d1fd286bbc0076154703d159
2017-11-13 20:42:40 +00:00
Yifan Hong
e85a296dfc Merge "Add micro-vts.sh"
am: 1338e22def

Change-Id: Ieeaa48e43644c023ce8011b656bc272c9931ae59
2017-11-13 19:43:25 +00:00
Yifan Hong
1338e22def Merge "Add micro-vts.sh" 2017-11-13 19:37:37 +00:00
Steven Moreland
afd7e4746c Merge changes from topic "hidl-soong-plugin"
am: 0f2eb8b2ee

Change-Id: I4315fecb7466a4432e4f90f66c1ac6ef6e9d43e4
2017-11-11 02:36:50 +00:00
Treehugger Robot
0f2eb8b2ee Merge changes from topic "hidl-soong-plugin"
* changes:
  Update makefiles for hidl_interface.
  Update makefiles for transitive interfaces.
2017-11-11 02:31:20 +00:00
Yifan Hong
0cfbe28704 Add micro-vts.sh
Test: ./micro-vts.sh -m VtsHalHealthV2_0TargetTest
Test: ./micro-vts.sh -m VtsHalHealthV2_0TargetTest -j0
Test: ./micro-vts.sh -m VtsHalHealthV2_0TargetTest -j -p
Test: ./micro-vts.sh -p -m VtsHalHealthV2_0TargetTest -m \
      VtsHalLightV2_0TargetTest
Bug: 64541287
Change-Id: Ieedf7d7ec65f43b0325911ae8a78e93af07ee318
2017-11-10 16:28:24 -08:00
Ruchi Kandoi
5883f33628 Merge "Remove strong pointer in contructor to "this""
am: 62ab659b28

Change-Id: I95a270e5abbe89fcd1ece8de15ee8beef135f670
2017-11-10 21:54:12 +00:00
Treehugger Robot
62ab659b28 Merge "Remove strong pointer in contructor to "this"" 2017-11-10 21:44:13 +00:00
Chih-Hung Hsieh
fc67ecce2a Merge "Use -Werror in hardware/interfaces/dumpstate/1.0/default"
am: 641fc32fc0

Change-Id: Iea1ce7e3832d7cd3151c114a98f79c7d7a9160fd
2017-11-10 18:48:08 +00:00
Treehugger Robot
641fc32fc0 Merge "Use -Werror in hardware/interfaces/dumpstate/1.0/default" 2017-11-10 18:44:26 +00:00
Ruchi Kandoi
461deddb4d Remove strong pointer in contructor to "this"
Bug: 69110631
Test: NFC on/off
Change-Id: I6c0173df6b6f49e7c07e9670c827b2944c6fe23f
2017-11-10 09:32:30 -08:00
Steven Moreland
a1169dd600 Update makefiles for hidl_interface.
Bug: 35570956
Test: manual
Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
2017-11-10 09:06:55 -08:00
Steven Moreland
771dff2a2d Update makefiles for transitive interfaces.
Transitive includes accidentally added by hidl-gen
were getting added to import lists. This import isn't
actually required and is now properly excluded from
hidl-gen update makefiles.

Bug: 65055216
Test: none
Merged-In: I4fb4de8ef5547a3081cd55b3c75f6288cc518ba6
Change-Id: I4fb4de8ef5547a3081cd55b3c75f6288cc518ba6
2017-11-10 08:48:15 -08:00