Commit graph

444 commits

Author SHA1 Message Date
Steven Moreland
3fe18f6c01 Merge "Remove empty generates clause." am: 12517de51d am: 4160ed79a0
am: bd45927b84

Change-Id: Ieef7a9ad258d3c783f833521e5d52754b8d3366c
2018-01-04 09:14:56 +00:00
Steven Moreland
8147d62e33 Remove empty generates clause.
Doesn't do anything, not part of the language.

Bug: 71545356
Test: none
Change-Id: I5fce87a9cf01ff546f2b7b177b60454b8bfbf106
2018-01-03 14:14:24 -08:00
Howard Chen
0cd07d214b Add a test method to test interface in struct
Add a test method to IBaz to test struct with a composed interface

Test: hidl_test_java/ internal master
Bug: 70529597
Change-Id: I73eaaf3dda6a24b88207729f31c75454c005c8cf
2018-01-03 17:16:58 +08:00
Steven Moreland
b325873134 Merge "Test for vec<union> vec<struct w/ union>." am: cd619af7bc am: bc3f5661c8
am: dc3e125f54

Change-Id: Ibb3cf3d695feacfa3fbf905f5cf2e55a51bd1241
2017-12-15 03:10:10 +00:00
Steven Moreland
3bcfa475e2 Test for vec<union> vec<struct w/ union>.
Bug: 31973802
Test: hidl_test
Change-Id: I4367f1f525caa8d1edb95b7bfdac78f21b234576
2017-12-14 16:02:46 -08:00
Steven Moreland
4cd5506baa Update makefiles.
Been seeing these in CLs. Some were forgotten.

Test/Bug: none

Change-Id: I678f9ef157a3631586a3d3a9cc503121eed5a703
2017-12-11 20:48:11 +00:00
Howard Chen
0a01e7511f Merge "Add more test methods to IMemoryTest" am: 4cd07b6e21 am: b4c725535e
am: e46a31d771

Change-Id: I5ea882cae7457afd82bc380a45e51535f0110315
2017-12-02 15:36:37 +00:00
Howard Chen
4cd07b6e21 Merge "Add more test methods to IMemoryTest" 2017-12-02 15:21:19 +00:00
Treehugger Robot
adf8208c52 Merge "Remove subdirs" 2017-11-29 17:53:33 +00:00
Steven Moreland
ced9e0ffa8 Merge "Update tests makefile for change." am: efbcd7de61 am: b56cfe36da
am: 59e5bd7589

Change-Id: I55e43110275be28b7ec29118c2655b271e9c33d5
2017-11-29 17:22:00 +00:00
Steven Moreland
b56cfe36da Merge "Update tests makefile for change."
am: efbcd7de61

Change-Id: I4477b859167b1a6b787e18f2aa1bbf5886fc5a2a
2017-11-29 17:13:25 +00:00
Howard Chen
4e7ccc4cb9 Add more test methods to IMemoryTest
Add haveSomeMemoryBlock to test transport of the hidl_memory_block.
Add set(hidl_memory) & get(IMemoryToken) to test IMemoryToken

Test: hidl_test
Bug: 68295540
Change-Id: I08bcfae256de9db7dd647cde0ccbee214b598f47
2017-11-29 16:55:49 +08:00
Steven Moreland
7b9888217e Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 17:19:46 -08: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
Steven Moreland
fcca4e23b7 Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:22:43 -08:00
Steven Moreland
8e5633ba07 Merge "Test for references to typedef'd enum." am: 6a5daf8cac am: 7b64abd011
am: 3266a19ce4

Change-Id: I0eb90ffbd2fea8e2e94274974bc38199fa3951ab
2017-11-28 02:18:29 +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
3381840285 Merge "Additional tests for enum iteration." am: d10cb041bc am: 53541a71c2
am: a110506924

Change-Id: I6c2ef27d9cb1996234b7d877fb88d7e7e7b1ba83
2017-11-27 20:26:36 +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
Steven Moreland
8db261bc99 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
2017-11-13 10:00:18 -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
Andreas Huber
ae8d1402ac Adds test cases to stress marshaling of primitive array types and am: aaa67596df am: 6445699dde
am: 149ecdb239

Change-Id: I49abc53a8d7d04e0371b859f7f01c60cd10f7c5e
2017-11-01 01:51:32 +00:00
Andreas Huber
aaa67596df Adds test cases to stress marshaling of primitive array types and
vectors of thereof.

Bug: 68654583
Test: hidl_test_java
Change-Id: Id498fe9b1e153512be294c39aff783f7d0600219
2017-10-31 13:03:56 -07:00
Steven Moreland
8201a973af Merge "Update Light extension example to match docs." am: fed3134fa0 am: d5a3ac60f3 am: fa7389e922
am: ace3ea8c11

Change-Id: I26e45d60ac16ace363dfbd024577c9102bc8f5ac
2017-10-18 03:34:47 +00:00
Treehugger Robot
fed3134fa0 Merge "Update Light extension example to match docs." 2017-10-18 03:22:17 +00:00
Steven Moreland
6f5459d8eb Update Light extension example to match docs.
This light extension example was more of a POC. Now it
matches the suggestions for minor version requirements
and vendor extensions that are spelled out in publically
available documentation.

This includes things like:
- taking advantage of namespacing rather than renaming things
- adding documentation when extension differs from what a minor
  version extension should be
- importing things specifically rather than dumping namespaces
  into the types.hal file

Test: compilation only -- it doesn't do anything
Change-Id: Ia1bf9baaddcb630cc1b6cd4fe272def0c7c492e9
Fixes: 67787567
2017-10-17 18:33:26 -07:00
Chih-Hung Hsieh
1024478de1 Use -Werror in hardware/interfaces am: ceb435f2ba am: 1e48a3c563 am: 8247f4a2f3
am: 9d8731e255

Change-Id: Ibe4022b6f8b8089540931e47e78b5f4d8901e855
2017-10-18 00:24:55 +00:00
Chih-Hung Hsieh
ceb435f2ba Use -Werror in hardware/interfaces
* Fix warning of unused result.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I68e35ddcdeec4290b075ececf14f82335b43e22e
2017-10-17 10:12:29 -07:00
Steven Moreland
aecaa4c25c Merge changes from topic "hidl-test" am: 240f9e1476 am: 2c2ff9382d am: 58eeb555b4
am: 0f4ea1e5d8

Change-Id: I73592ca3aa63d0db8d2f3688729007616ab085f4
2017-10-15 04:02:14 +00:00
Zhuoyao Zhang
a1e6c6045d Static link test lib shims with test -impl libs. am: 38a78e1fa9 am: 5871a92c46 am: c217673b8c
am: 9ffd1c6d82

Change-Id: I1e2cf34bb95f2f389ff66565a751585b8574de7f
2017-10-15 04:02:03 +00:00
Steven Moreland
c911847166 Merge "Remove invalid annotations from IBaz." am: e322e7e1aa am: bc95bdc195 am: ee950c5f8f
am: 2faa60f4f1

Change-Id: If3646d56e99238867827a29faa44651a493f0f14
2017-10-15 04:00:39 +00:00
Zhuoyao Zhang
5871a92c46 Static link test lib shims with test -impl libs.
am: 38a78e1fa9

Change-Id: I080ccb82bb4b9131e67473b417fefb74e7a65fae
2017-10-15 02:57:08 +00:00
Treehugger Robot
240f9e1476 Merge changes from topic "hidl-test"
* changes:
  Statically link msgq test impl.
  Static link test lib shims with test -impl libs.
2017-10-13 22:02:31 +00:00
Steven Moreland
26d0dcf32e Statically link msgq test impl.
Also statically include it in the service binary.

Test: fmq_test
Bug: 67500459
Change-Id: Ia8728308dbce9acbdeafa8b2a56fd007be8c0832
2017-10-12 17:04:22 -07:00
Zhuoyao Zhang
38a78e1fa9 Static link test lib shims with test -impl libs.
* So that vts no longer needs to push the shim libs in hidl test.

Bug: 67500459
Test: make vts
      vts-tradefed run vts -m VtsHidlUnitTest
Change-Id: I52ad066370f08a461b848d7d96dc4a659eb2da4d
2017-10-12 15:47:39 -07:00
Steven Moreland
577097675f Remove invalid annotations from IBaz.
Test: pass
Change-Id: I8e39b510b724c0415a1cab523623bffd9f07f352
2017-10-11 17:21:41 -07:00
Steven Moreland
1d7374c5e1 Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1
am: 116161d94e

Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
2017-10-11 16:39:21 +00:00
Steven Moreland
c3e80fa01e Update for Soong java makefiles.
Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
2017-10-10 23:07:20 +00:00
Steven Moreland
9b019ac4fe Merge "Remove useless Android.mk files." am: 75d5cf515a am: f27cfa15d7 am: 33dc30ce49
am: 0653f3b212

Change-Id: I7c2da3cf30da7b4a1eda7e5369e9caa5ebab2462
2017-10-05 21:52:50 +00:00
Treehugger Robot
75d5cf515a Merge "Remove useless Android.mk files." 2017-10-05 21:40:27 +00:00
Steven Moreland
0b63b4ad32 Merge "Test extension -> Android.bp" am: d35806414c am: f7e0bafa04 am: 6067a534b0
am: 457a40dbdd

Change-Id: If6c2c17edb6a3c85b0a20386642c7d519242003a
2017-10-05 19:21:37 +00:00
Treehugger Robot
d35806414c Merge "Test extension -> Android.bp" 2017-10-05 19:10:42 +00:00
Steven Moreland
066a9bdda1 Test extension -> Android.bp
Test: mma
Bug: 33420795
Change-Id: Ida23369c5bffb44cb20fef1127fae68b92167459
2017-10-04 16:13:49 -07:00
Steven Moreland
4b60470f1a Remove useless Android.mk files.
These have been c/p'd all over the place.

Test: m -j nothing
Bug: 33420795
Change-Id: I77979866dbb2345a41a873c84ec3fccd7b127510
2017-10-04 15:52:40 -07:00
Steven Moreland
70bfb9d250 Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985f am: b53e6ad535
am: 9a17f41f6f

Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
2017-10-04 21:54:11 +00:00
Treehugger Robot
988c977079 Merge "Update for hidl adapter module defaults." 2017-10-04 21:36:25 +00:00
Chih-hung Hsieh
bf5e381a8b Merge "Use -Werror in hardware/interfaces" am: 85bb01dd6b am: 3ed04cd35d am: baf19e17b3
am: 9890348480

Change-Id: Iadec8caae33b04a8cef45532fc2c940a8be23cea
2017-10-04 21:23:09 +00:00
Steven Moreland
527fd76a0e Update for hidl adapter module defaults.
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
2017-10-04 12:47:03 -07:00
Chih-Hung Hsieh
3da5b01946 Use -Werror in hardware/interfaces
* Remove unused local variables.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I48dbbf670cc9eeff2391983788983420f8547cc9
2017-10-04 11:16:31 -07:00
Steven Moreland
6a6a71cf38 Merge "Update inheritance test implementation." am: 31fba8cd40 am: 7a5c1b6fda am: e427bde5eb
am: 303035051a

Change-Id: I46e8c5de6f37fda698e00365c01e43b052885829
2017-10-03 22:39:25 +00:00
Steven Moreland
9d320e3fbe Update inheritance test implementation.
HIDL_FETCH_IParent returns a child object
when the "child" instance name is requested.

Bug: 67104214
Test: hidl's run_all_device_tests.sh
Change-Id: Ie4b85d657e5d066fb77832e188062af29bc2e7c6
2017-10-03 12:52:51 -07:00
Steven Moreland
91799c6cc7 Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3 am: 71a193a425
am: 9fdd241905

Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
2017-09-27 00:02:52 +00:00
Steven Moreland
a5299ee739 Fix typo in update makefiles.
Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
2017-09-26 21:59:43 +00:00
Steven Moreland
7741c0e17b Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e am: b94d0c7290
am: 97228c0b7d

Change-Id: Ic4b459b7c1a4325453945b0b00db8f44e4e77c26
2017-09-26 13:36:09 +00:00
Steven Moreland
26a0bb2762 Update makefiles for hidl adapter.
Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
2017-09-25 18:35:56 +00:00
Yifan Hong
827f2d1f4e Merge "hidl_test: update expression test" am: 9dc1284388 am: eed76d6fc9 am: 23072f6c52
am: 582e21e478

Change-Id: I3473f2d4c579a4dd6a3acec4bdb3dab0a6b122a7
2017-09-18 21:02:42 +00:00
Yifan Hong
9dc1284388 Merge "hidl_test: update expression test" 2017-09-18 19:52:10 +00:00
Jiyong Park
3fb028379d Merge changes from topic "hidl_for_test_aosp" am: a7603c38ac am: f78db71dae am: e9b22b6133
am: 7f344d6a66

Change-Id: Id820cbc9706c2427b3f63d5e5a25e68f86767af5
2017-09-16 01:16:31 +00:00
Treehugger Robot
a7603c38ac Merge changes from topic "hidl_for_test_aosp"
* changes:
  Mark android.hardware.tests.trie as a test HAL interface
  HAL interface libs for testing are built w/o VNDK.
2017-09-16 01:02:31 +00:00
Yifan Hong
07dd1bbcc6 hidl_test: update expression test
Add more tests to constant expressions in HIDL.
Test: m hidl_test -j
Bug: 64613737

Change-Id: I9cd2bf7bbd8b911f49784f376a0cd834561cd0c8
2017-09-15 17:46:45 -07:00
Steven Moreland
9c212e4abd Merge "Add test for fq reference to local type." am: d8d0ba281f am: 3c8833d79f am: 48028a4e8b
am: 0eebf94bf8

Change-Id: I78a02769b7009e779c09c48db8469b29a98d8bc6
2017-09-16 00:26:49 +00:00
Steven Moreland
0eebf94bf8 Merge "Add test for fq reference to local type." am: d8d0ba281f am: 3c8833d79f
am: 48028a4e8b

Change-Id: I97dbaaf6eabde1fb7947b76e4aac7090c34f3280
2017-09-16 00:24:12 +00:00
Jiyong Park
fa8ff37769 Merge "HAL interface libs for testing are built w/o VNDK." into oc-mr1-dev am: 3f2c1c1b1c
am: ff9184f589

Change-Id: Ic5aa5e77cf7bdd4d114647ce0104d1ea86a6b448
2017-09-15 09:24:14 +00:00
Yifan Hong
4d3f643796 Merge "Revert "HAL interface libs for testing are now built as test lib"" into oc-mr1-dev am: 1f87d477ee
am: 38b892522c

Change-Id: I3d9a3ce8123fea03c5d518e303434b204cbec66a
2017-09-15 09:21:23 +00:00
Jiyong Park
d005c3ea41 Mark android.hardware.tests.trie as a test HAL interface
Bug: 64776708
Test: no android.hardware.tests.*.so file in
/system/lib[64]/vndk on 2017 pixel devices

Change-Id: I896798a77be2ee0295fbdc39ae0834492d29e3b9
2017-09-15 14:23:09 +09:00
Jiyong Park
b5e9a6bdc3 HAL interface libs for testing are built w/o VNDK.
The HAL interfaces for testing were copied to /system/lib[64]/vndk
directory since they are built as cc_library and thus falsely recognized
as members of VNDK, which isn't true.

Build them as non-VNDK so that they are filtered out. To do so,
.hidl_for_test files are added for the test HALs and update-makefiles.sh
were ran.

Bug: 64776708
Test: no android.hardware.tests.*.so file in /system/lib[64]/vndk on
2017 pixel devices

Merged-In: I6167da8572081adfb53f432b248ac3bbee39dc42
Change-Id: I6167da8572081adfb53f432b248ac3bbee39dc42
(cherry picked from commit 526a36ca24)
2017-09-15 13:33:41 +09:00
Jiyong Park
ff9184f589 Merge "HAL interface libs for testing are built w/o VNDK." into oc-mr1-dev
am: 3f2c1c1b1c

Change-Id: Ia22024ddbc0566f302f7061cbe89d72196b4c318
2017-09-15 04:17:19 +00:00
Yifan Hong
38b892522c Merge "Revert "HAL interface libs for testing are now built as test lib"" into oc-mr1-dev
am: 1f87d477ee

Change-Id: Id4a7dd4f77b2adcdc4ca89f3e77ed1e6432535ad
2017-09-15 02:52:11 +00:00
Jiyong Park
526a36ca24 HAL interface libs for testing are built w/o VNDK.
The HAL interfaces for testing were copied to /system/lib[64]/vndk
directory since they are built as cc_library and thus falsely recognized
as members of VNDK, which isn't true.

Build them as non-VNDK so that they are filtered out. To do so,
.hidl_for_test files are added for the test HALs and update-makefiles.sh
were ran.

Bug: 64776708
Test: no android.hardware.tests.*.so file in /system/lib[64]/vndk on
2017 pixel devices

Change-Id: I6167da8572081adfb53f432b248ac3bbee39dc42
2017-09-14 15:52:43 -07:00
Yifan Hong
3d720e671a Revert "HAL interface libs for testing are now built as test lib"
This reverts commit 9a4b17e3e1.

Reason of revert: this breaks hidl_test / lshal_test

Bug: 65603915

Change-Id: I73427657615ab9c7e3c0c7d336f03510d9a53fe6
2017-09-14 20:12:48 +00:00
Steven Moreland
0cf302463a Add test for fq reference to local type.
Test: m hidl_test (checks are done statically)
Bug: 65597200
Change-Id: I6e73414dab00c3bf5a4684c5f839333e582e7cd7
2017-09-14 12:00:59 -07:00
Timur Iskhakov
9b2f0f1926 Merge "Print full name test" am: b5aef5a54d am: 617656f549 am: 99bd58cf4b
am: 5cbe90c520

Change-Id: I740e1b5d979f844270d65c6d3fffad1af5735961
2017-09-14 06:09:47 +00:00
Timur Iskhakov
528f0f1387 Merge "Test HIDL topological reordering" am: 0495818b3b am: 41953e0c17 am: 681a5b4855
am: 69e876fe42

Change-Id: If202932e68647f798e2b46c698237cee73b797e3
2017-09-14 05:59:38 +00:00
Timur Iskhakov
5cbe90c520 Merge "Print full name test" am: b5aef5a54d am: 617656f549
am: 99bd58cf4b

Change-Id: Id143f51f50329025c1e3f11a30a38b701fe4f266
2017-09-14 05:42:29 +00:00
Treehugger Robot
b5aef5a54d Merge "Print full name test" 2017-09-14 03:21:32 +00:00
Timur Iskhakov
d5112d3442 Merge "Interface for hidl forward reference test" am: 1b08076ad5 am: 812f779dfe am: 98e9734797
am: 3efd584fe4

Change-Id: If4a39cec2c9f34c0a39eaddb785706d5498760df
2017-09-14 02:24:15 +00:00
Zhuoyao Zhang
62424377c5 Merge "Update build for test hal: libhwbinder" am: 754d21772a am: 597f08a47b am: bf3c5d96c8
am: cf44876032

Change-Id: Ifc11c0bae4a8d8f15427e79c4a50ee3009d5d477
2017-09-14 02:23:30 +00:00
Timur Iskhakov
69e876fe42 Merge "Test HIDL topological reordering" am: 0495818b3b am: 41953e0c17
am: 681a5b4855

Change-Id: I23cada29a4da527df8524e2c6138fa2e3564a774
2017-09-14 01:48:55 +00:00
Timur Iskhakov
d8299ff809 Print full name test
Bug: 65563308

Test: hidl_test

Change-Id: I629a5a7fa708b567591e27bdb39ed5626add4895
2017-09-13 18:00:29 -07:00
Timur Iskhakov
3efd584fe4 Merge "Interface for hidl forward reference test" am: 1b08076ad5 am: 812f779dfe
am: 98e9734797

Change-Id: I878bf4b47073c3c23acf80a226a51cb8415146bc
2017-09-14 00:08:50 +00:00
Zhuoyao Zhang
cf44876032 Merge "Update build for test hal: libhwbinder" am: 754d21772a am: 597f08a47b
am: bf3c5d96c8

Change-Id: Ie421827cb7dd5d9f3b9e3cc25695b4227fd9e3e8
2017-09-14 00:07:31 +00:00
Timur Iskhakov
64c9669fd2 Test HIDL topological reordering
Bug: 65636464

Test: hidl_test
Change-Id: I7eae65c89252bebf865803d24101b08a7088c669
2017-09-13 14:17:29 -07:00
Treehugger Robot
1b08076ad5 Merge "Interface for hidl forward reference test" 2017-09-13 19:59:05 +00:00
Timur Iskhakov
67753ea3d7 Interface for hidl forward reference test
Test proofs that forward reference can now be used.
Test contains trie implementation and some forward reference examples.

Bug: 31827278

Test: hidl_test

Change-Id: I55cdde500baea3e70ebf4466c681ad652b6ff9fd
2017-09-12 17:41:13 -07:00
Zhuoyao Zhang
d2e1850a46 Update build for test hal: libhwbinder
* Use cc_default to extract common build rules.
* Static link android.hardware.tests.libhwbinder@1.0 to the impl lib.

Bug: 65483634
Test: make vts
      vts-tradefed run vts-performance

Change-Id: Ia6fc6593e3f833c1a7de91f817fb684280a8b555
2017-09-12 14:51:52 -07:00
Jaekyun Seok
81104ae5ef Add 'vendor.' prefix to a vendor HAL service name
To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.

Test: succeeded building and tested on a walleye device
Bug: 36796459
Change-Id: I4e8fbee791ec917a8f627a1366f4d44ec7e6febc
2017-09-12 08:01:42 +09:00
Jiyong Park
d8a2e2f0d4 Merge "HAL interface libs for testing are now built as test lib" into oc-mr1-dev
am: b0977150b0

Change-Id: Ia844b23838a29b2da0b4278f252c7941fa83ca65
2017-09-07 17:41:14 +00:00
Jiyong Park
9a4b17e3e1 HAL interface libs for testing are now built as test lib
The HAL interfaces for testing were copied to /system/lib[64]/vndk
directory since they are built as cc_library and thus falsely recognized
as members of VNDK, which isn't true.

Build them as cc_test_library so that they are filtered out. To do so,
.hidl_for_test files are added for the test HALs and update-makefiles.sh
were ran.

Bug: 64776708
Test: no android.hardware.tests.*.so file in /system/lib[64]/vndk on
2017 pixel devices

Change-Id: I5314db6cc08a43bccfc4521d4b80b614a91e7e48
2017-09-01 09:54:16 +09:00
Timur Iskhakov
a3b0f1f431 Check array dimenstion order
Bug: 65257916
Test: mma
Change-Id: I5dcd859120800909b6fc4811c5e5a0d2f8790bcd
2017-08-31 15:18:45 -07:00
Zhuoyao Zhang
36cb0a2d99 Move android.hardware.tests.libhwbinder@1.0-impl to system.img
am: d536358066

Change-Id: Ic407842046122563020b00d7df6b0e13d27aab74
2017-08-17 00:10:20 +00:00
Zhuoyao Zhang
d536358066 Move android.hardware.tests.libhwbinder@1.0-impl to system.img
Bug: 64723866
Test: make vts
      vts-tradefed run vts-performance

Change-Id: Ib5e993d98f7fa12dcb2b418a995887b59394c849
2017-08-16 10:21:09 -07:00
Steven Moreland
dfd8287506 Updating all makefiles.
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Merged-In: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
Change-Id: I170fa1c4fe39f8109b1670db58ef99bb11afc0be
2017-08-14 20:25:09 +00:00
Steven Moreland
271d53d836 Update makefiles for vndk enabled.
am: 5e59402492

Change-Id: I08414d68d5275df82336653cb91765af7235f914
2017-08-09 00:44:39 +00:00
Steven Moreland
5e59402492 Update makefiles for vndk enabled.
Test: none
Bug: 63866913
Merged-In: I29174fdadca2828455ef49f14e53bc95c5238dbb
Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb
(cherry picked from commit c716b8c307)
2017-08-08 17:09:10 +09:00
Steven Moreland
4e06dd1aa9 Merge changes from topic 'go-away-static-hidl-java'
am: f4c58cd48c

Change-Id: I3502ad1d51868cd82bbe811bdf2b96ec45ccfbe6
2017-08-04 19:22:05 +00:00
Justin Yun
608d773ef8 Update make file for vndk enabled.
Update the Android.bp generated with hidl-gen.

Test: build with and without BOARD_VNDK_VERSION=current
Bug: 63866913
Change-Id: I1a9db1df49e0f13c5790da2b118ae9ec63ba34a7
2017-08-04 14:12:23 +09:00
TreeHugger Robot
d9b12c13e5 Merge "Update makefiles for vndk enabled." into oc-mr1-dev 2017-08-04 00:52:06 +00:00
Steven Moreland
b5da32c177 Update makefiles.
Removes redundant "java-static" target.

Note, targets aren't removed here which have internal
targets that depend on them.

Bug: 36376126
Test: pass
Change-Id: I830f02e5f219d2d58721132c358d2783c3942eac
2017-08-03 15:25:21 -07:00