Commit graph

489 commits

Author SHA1 Message Date
Steven Moreland
98ba8fb7f0 vibrator: use package as name
In order to provide a more descriptive name, and to be consistent
with HIDL, the stable AIDL package names are switching from
vintf-vibrator format to the package format
(android.hardware.vibrator).

Bug: N/A
Test: all build time
Change-Id: I52959482898f329ad1b3a3a5b345a0c6dc72197d
Merged-In: I52959482898f329ad1b3a3a5b345a0c6dc72197d
2020-01-06 14:08:01 -08:00
Steven Moreland
7696aa885f ./update-makefiles.sh, for union changes/memory
Many more types can be used in Java.

Bug: 143566068
Test: N/A
Change-Id: Ie18e1e0f9c22f2ea15b755df3b048c9d651c4945
2019-11-26 09:24:31 -08:00
Steven Moreland
741347b49d Merge "vibrator extension: use checked_interface_cast" 2019-11-25 18:06:24 +00:00
Steven Moreland
43d168751c vibrator extension: use checked_interface_cast
Since interface_cast doesn't currently check.

Bug: 136027762
Test: test-vintf-vibrator-ext-client
Change-Id: I4faeba339d8c54f6618e871a46d811943a398e0a
2019-11-21 15:58:35 -08:00
Ytai Ben-Tsvi
2db42995a5 More memory test interfaces
Merged-In: I21bb7c28aa774801cad94cd530ccb6b5c3b621e0
Change-Id: I21bb7c28aa774801cad94cd530ccb6b5c3b621e0
Bug: 143566068
2019-11-21 15:32:17 -08:00
Steven Moreland
8ba8c03a49 example AIDL HAL extension
This CL shows an example of how to use and retrieve a HAL extension.

Bug: 136027762
Test: run HAL and:
- use "dumpsys --pid android.hardware.vibrator.IVibrator/default" to
make sure that the HAL I'm running is the binary being added.
- VtsHalVibratorTargetTest
- test-vintf-vibrator-ext-client

Change-Id: I8614007a727e8e05ba4667c2cd1623ce936a1609
2019-11-18 18:02:12 -08:00
Steven Moreland
cbd3f444c7 Merge "update-makefiles.sh: for partial Java pkgs" 2019-11-05 17:57:51 +00:00
Steven Moreland
077b73b7ab update-makefiles.sh: for partial Java pkgs
Packages which contain some non-supported Java types can still have
their Java-supported types used in Java.

Bug: 143566068
Test: mma
Change-Id: I2afc5cc8d0a1bd981108ee2b87d6033fd48bdb37
2019-11-04 12:50:41 -08:00
Steven Moreland
2cf4446f45 android.hardware.tests.libhwbinder@1.0-impl{,.test}
Since it is accidentally installed on some devices, although it is a
test.

Bug: 123878766
Test: atest hwbinderThroughputTest
Change-Id: Id43aa7e9ca3152c35bb2dac84d7386c9d7a5e0aa
2019-11-04 09:47:59 -08:00
Ytai Ben-Tsvi
c861055316 HIDL test: update for java bitfields in lists
Bug: 141187928
Test: HIDL's run_all_host_tests.sh

Change-Id: Ib282ed03b85c798b724ed4c44ac2d59ea8dbf420
2019-09-17 14:25:35 -07:00
Steven Moreland
b3a4d3832e Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
2019-09-06 01:07:02 +00:00
Neel Mehta
3dfccafba4 Remove annotations with constexpr params
These are not used anywhere in the tree and are hence not supported.
These are being removed from hidl-gen so this code is being removed.

Bug: N/A
Test: hidl-gen -Lcheck android.hardware.tests.expression@1.0
Change-Id: Ia19746da8ba361c7f29cc8732058a27cdc7a1bfe
2019-08-06 17:32:40 -07:00
Steven Moreland
f4ad670671 android.hardware.tests.libbinder static
So that the test doesn't require modifying the system partition.

Still creating a shared version of this library since some things
downstream still depend on this.

Bug: 136111641
Test: libbinder_benchmark
Change-Id: I636f53c2a2bc4705804ca36d124102eba55c23e6
2019-07-01 21:49:19 +00:00
Steven Moreland
13374bd7f2 Remove ref<>.
This type is unused and some parts of it has bitrot. In order to reduce
the complexity of new features, removing this.

Fixes: 131616631
Test: HIDL's test/run_all_device_tests.sh
Test: HIDL's test/run_all_host_tests.sh
Change-Id: Ib7f94053ab987ccb6858eec1cfd7e53fd7320ba3
2019-05-28 17:29:17 -07:00
Steven Moreland
1ae4615d9f Update hidl makefiles for bpfmt
hidl-generated makefiles are now generated such that bpfmt(file) == file.

Bug: 67417008
Test: enable bpfmt hook
Change-Id: I1f69d292bc23a7cc293a66110cb02d597e1019ad
2019-04-17 09:38:50 -07:00
Steven Moreland
a878aee9ab Update makefies: no 'types'
Bug: 123976090
Test: N/A
Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
2019-03-04 11:27:17 -08:00
Steven Moreland
532c05a3ec Test ...libhwbinder-impl static.
So that it can be included in tests.

Bug: 122456128
Test: libhwbinder_benchmark, hwbinderThroughputTest, libhwbinder_latency
Change-Id: I4c77c04252c7d6f0c2215ee052d747561db181e0
2019-02-01 15:13:32 -08:00
Keun Soo YIM
68ae05dd2d pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-12-07 10:49:56 -08:00
Steven Moreland
55cb014dc9 Add safe union for cpp-only test.
Bug: 110269925
Test: hidl_test
Change-Id: I18e52f8f41779e57828209882f1191aebc1e6782
2018-11-08 13:14:00 -08:00
Steven Moreland
4fc9b6e8de Tests for Enum#len
Bug: 117951873
Test: hidl_test
Change-Id: I532c983f72013446869e3c8e3bbc11c776bfcbfa
2018-11-02 17:41:12 -07:00
Steven Moreland
17c437eac1 Merge "Add monostate to optional safe unions." 2018-10-11 21:23:27 +00:00
Steven Moreland
dec5272582 Add monostate to optional safe unions.
Bug: 116156870
Test: hidl_test, hidl_test_java
Change-Id: Ie17a80dee982775e267a39086016071ac2361fb5
2018-10-11 11:02:25 -07:00
Steven Moreland
da1d79bf07 Merge "tests IFoo: WithFmq is more complicated." 2018-10-10 19:03:51 +00:00
Steven Moreland
bd5b4dc9b3 tests IFoo: WithFmq is more complicated.
When an interface is in the struct, scatter gather isn't used.

Bug: 117239572
Test: hidl_test
Change-Id: I749dd7cce85d220c1908ad583b1744c799a105cc
2018-10-09 15:50:31 -07:00
Treehugger Robot
b035e3a246 Merge "tests: IBaz, nasty nesting struct" 2018-10-09 20:36:36 +00:00
Steven Moreland
a20d00ba60 tests: IBaz, nasty nesting struct
toString is broken in some cases because of recursive definitions. This
exercises that case.

Bug: 117342189
Test: hidl_test
Test: m android.hardware.tests.baz@1.0 android.hardware.tests.baz-V1.0-java
    (this runs hidl-gen on this for both Java and C++ output)
Test: manually inspected output

Change-Id: Ic09ac133345f2d83d6f83d3d0af1f63e7e3250ee
2018-10-09 10:13:10 -07:00
Steven Moreland
2b01956dac IFoo: send struct with fmq.
Bug: 117239572
Test: hidl_test
Change-Id: I968916a9d62e1c8f7a237bd24e6b4267dd013366
2018-10-08 20:11:34 +00:00
Steven Moreland
dad22198be IFoo: remove pointer from u.
pointer needs a fixup (to abort) since they can't be used in remote
transactions, so removing it from the union here.

Bug: 117322722
Test: hidl_test
Change-Id: Ie582f6b79a8176ca1585bf4b1f43ae9d5d97fa92
2018-10-05 11:16:20 -07:00
Steven Moreland
429faabc73 ISafeUnion: add case w/ enum
Bug: 115638948
Test: hidl_test
Test: hidl_test_java
Change-Id: I26b5cc25bd29c420160686b5572a005a7629784c
2018-09-13 16:38:25 -07:00
Nirav Atre
4b34843cfb Adding handle types to Java-compatible test HALs
This change adds HIDL handle types to the baz@1.0 and safeunion@1.0 test
HALs to exercise native handles in Java.

Bug: 35098567
Test: Ran the hidl_test (C++ and Java) suites
Change-Id: Iddf1c269cbdc68ce337f1e787570f3810f7baad2
2018-08-10 14:46:45 -07:00
Hans Chen
2fd891939b Modified ITestMsgQ hal service interface
am: 58d52f70b3

Change-Id: Iaea0a9ebef6ff4ef5a2cb0beedafd05376d0c09c
2018-07-17 16:22:03 -07:00
Hans Chen
58d52f70b3 Modified ITestMsgQ hal service interface
Test: make vts -j; fmq_test
Changes:
* Modified method that configures the synchronized queue. Now this method takes in a descriptor of an existing queue and creates a queue on the HAL server side.

Change-Id: I395d6311f3580af6a87556849b3e921fa9eaf097
2018-07-17 10:56:03 -07:00
Nirav Atre
1233e0a7eb Merge "Updated HALs to test structs/safe_unions containing interfaces"
am: 76b383d5c2

Change-Id: Idbf119111f9d3a1e916b4753bc68aec35638a275
2018-07-16 17:16:02 -07:00
Nirav Atre
6a8d93f34e Updated HALs to test structs/safe_unions containing interfaces
Bug: 111019943
Test: Ran the hidl_test suite (C++ and Java)
Change-Id: I93e8fb9611327e263a02af8fccef1fc878746e02
2018-07-13 22:37:45 -07:00
Nirav Atre
bb18da12bc Merge "Make safeunion@1.0 test HAL Java-compatible"
am: 314f9503a9

Change-Id: Ieaad7392eb81605d1ae0b626db5c1f336eb6d10b
2018-07-13 12:49:56 -07:00
Nirav Atre
0534690fa6 Make safeunion@1.0 test HAL Java-compatible
This change removes Java-incompatible types (memory, handle) from the
safeunion@1.0 test HAL. Moving forward, the idea is to keep this HAL
Java & C++-friendly, and create another version (likely safeunion@2.0)
to regress on C++-only types; tracked by b/110269925.

Bug: n/a
Test: Ran the existing hidl_test suite
Change-Id: Ic7458c3f5b571e77e5f894a9854a2b201f53fe18
2018-07-07 19:31:21 -07:00
Nirav Atre
807848693d Merge "Adding HIDL interface type to safeunion test HAL"
am: 5f64ae9872

Change-Id: I232939e4bf2e846f44b948d540c27e0a42fc11a2
2018-07-06 13:08:29 -07:00
Nirav Atre
894556cebd Adding HIDL interface type to safeunion test HAL
This change adds a new HIDL safe union, InterfaceTypeSafeUnion
(containing an interface+array) to the safeunion test HAL.

Bug: 79878527
Bug: 110269925
Test: Existing hidl_test suite passes successfully. Added more test-
cases to hidl_test_client.cpp to exercise InterfaceTypeSafeUnion
(included in a separate CL).

Change-Id: I04ffeeeabccc1dc2651aac9371569c36d37f4f87
2018-07-02 16:21:30 -07:00
Nirav Atre
0e4e94a892 Merge "Test HAL for HIDL safe_union construct"
am: 0ee23b3c1b

Change-Id: I64c8d51228908d996476665efde88f374ddc2d72
2018-06-26 18:06:24 -07:00
Nirav Atre
b418616ea4 Test HAL for HIDL safe_union construct
This change implements a basic HAL and server-side functionality to test
the HIDL implementation of safe unions.

Bug: 79878527
Test: Ran make, new tests in hidl_test/ pass successfully (included in a
separate CL).

Change-Id: Ia420137bc1dc0a188e04176081c7f5418e74449c
2018-06-26 15:42:54 -07:00
Steven Moreland
d44102998c Merge "Remove extra space." am: 3a9680bd44 am: 958be72e31
am: 5f6471ea6b

Change-Id: I1e894c0e3c06b8886bb9d91256c674d5ec8e4d98
2018-02-03 02:34:10 +00:00
Steven Moreland
dcb1ff7104 Remove extra space.
Pointed out to me.

Bug/Test: none

Change-Id: I2cd01c5d46525cda3cfe32a2bf79655e6f9b84bd
2018-02-02 12:35:40 -08:00
Steven Moreland
a6c5ff2c6d Update makefiles.
Some have missed being updated.

Bug: N/A
Test: N/A
Change-Id: I0925e85701f6e8b98f9b09bfafbed73469d1d185
2018-01-17 11:20:17 -08:00
Howard Chen
5fbc2279f3 Merge "Add a test method to test interface in struct" am: c0204ee13d am: 932c93f52e
am: 3495400a59

Change-Id: I6e58800fde8a6a44d342e15b9c79d02a9e5f7156
2018-01-05 04:11:25 +00:00
Howard Chen
c0204ee13d Merge "Add a test method to test interface in struct" 2018-01-05 03:55:14 +00:00
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