Steven Moreland
de00740271
Merge "Convert usb service .mk -> .bp."
...
am: 16b3e062ce
Change-Id: Ic8011399e470a1c62156c656a0ea1987ed999382
2017-10-05 17:38:27 +00:00
Treehugger Robot
16b3e062ce
Merge "Convert usb service .mk -> .bp."
2017-10-05 17:33:49 +00:00
Steven Moreland
cb7fc21f1a
Convert usb service .mk -> .bp.
...
Test: none
Bug: 33420795
Change-Id: I4b489a08d850b7c49231e0daadcb9d96e57a7e55
2017-10-04 16:02:59 -07:00
Steven Moreland
861651985f
Merge "Update for hidl adapter module defaults."
...
am: 988c977079
Change-Id: I289818be1b30397391847ba1c532d1014fdbed27
2017-10-04 21:45: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
Steven Moreland
f07e364ce3
Merge "Fix typo in update makefiles."
...
am: 9960148420
Change-Id: I949634e72f817f3a5411130e968acd8efd1d7725
2017-09-26 23:51:07 +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
73949c1d7e
Update makefiles for hidl adapter.
...
am: 26a0bb2762
Change-Id: I3a811f5cd49bd4e81e8fcd5c8e88922115812539
2017-09-25 23:14:44 +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
Tri Vo
ba6d6e5767
VTS tests now static link to HAL def libs.
...
am: b65c5ceff2
Change-Id: I393284c12ca5cb79926c4891ffcfd332408a5b9f
2017-08-28 19:23:36 +00:00
Tri Vo
b65c5ceff2
VTS tests now static link to HAL def libs.
...
And use VtsHalTargetTestDefaults.
This is a partial cherry-pick of ag/2657080.
Bug: 64040096
Test: compiles, works fine in internal master
Merged-In: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
Change-Id: I76d47d8546416b57055841851a9d343026cd3210
2017-08-25 11:48:10 -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
ff308ea6ba
Updating all makefiles.
...
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Change-Id: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
2017-08-11 22:58:47 +00:00
TreeHugger Robot
6e1b08ff4b
Merge "Update internal makefiles."
2017-06-06 04:43:13 +00:00
Steven Moreland
f04fdeb83e
Update internal makefiles.
...
These makefiles are not in dev topic branches
or AOSP currently so they were not updated. This
update adds hidl-generated-module defaults.
Test: pass
Change-Id: Ie52c54877d795bf5358aa600e6d1a13a4f166d25
2017-06-05 17:47:36 -07:00
Badhri Jagan Sridharan
9b0a2c6493
VTS: USB: vts target test for USB 1_1 HAL interface.
...
Bug: 38034141
Test: Tested by manually pushing the native test.
Change-Id: Iabb7f13a63ed166f9e6d449e777f6de3b2ed55e3
2017-06-02 16:30:52 -07:00
Steven Moreland
7708449766
Update makefiles. (2/2) am: 76cfb84140
...
am: f203167814
Change-Id: I1f13401266f3c2f78c627088b09c79cd7c8d0276
2017-05-22 17:29:04 +00:00
Steven Moreland
f203167814
Update makefiles. (2/2)
...
am: 76cfb84140
Change-Id: I24d21438a5b2f447d2160929c6ff6e17b2b66820
2017-05-22 17:15:20 +00:00
Steven Moreland
76cfb84140
Update makefiles. (2/2)
...
Adds default configuration for all hals.
Bug: 38415912
Test: pass
Change-Id: Idd1f3a2b7b16ad956d31784a513e93a066cdd02e
2017-05-19 15:54:03 -07:00
Steven Moreland
320b5134b5
Update makefiles.
...
Note cleanspec required because of b/38205169 (genrule
doesn't delete output files before building, so when
removing some, they get stale).
Test: power vts test compiles
Change-Id: Ie7ef0fc3d943a75fe898238cf861fb7f99f4146b
Fixes: 35813011
2017-05-12 13:09:49 -07:00
Steven Moreland
d09cf863da
Update makefiles for c++-sources and c++-headers. (2/2) am: bc71124120
...
am: a32ebce372
Change-Id: Ic1dd8f98e72656bc12a6e5224e541f75afb79daa
2017-05-11 01:38:14 +00:00
Steven Moreland
a32ebce372
Update makefiles for c++-sources and c++-headers. (2/2)
...
am: bc71124120
Change-Id: Icf36068a4d863a8520854c7a83e51f960c188e12
2017-05-11 00:48:55 +00:00
Steven Moreland
bc71124120
Update makefiles for c++-sources and c++-headers. (2/2)
...
Test: pass
Bug: 38174080
Change-Id: Icad451f9f9ad5f46412356a4171a8a1222f8e545
2017-05-09 19:58:43 -07:00
Steven Moreland
5c63b11f76
Remove redundant dependencies
...
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.
Test: links
Bug: 33276472
Merged-In: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
Change-Id: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
2017-05-02 15:29:30 -07:00
Steven Moreland
2cd0d42d72
Remove redundant dependencies
...
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.
Test: links
Bug: 33276472
Change-Id: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
2017-05-02 10:17:28 -07:00
Badhri Jagan Sridharan
fbc5a0d068
USB: HIDL: V1_1 report accessory modes
...
This CL extends the USB HAL interface to report audio
accessory and debug accessory modes.
Bug:36604276
Test: Manually test plugging analog audio headset.
Change-Id: I7e0f0268e61cedf0910e8d62f2a8d8b73ee6c3fb
2017-04-26 21:10:16 +00:00
Andreas Huber
6fa374ad30
Changed the naming scheme for Treble java libraries (both static and dynamic)
...
android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java
Bug: 37207894
Test: make
Change-Id: I177f4cfd42f635aaf096107af8309d1a82ed41c0
Merged-In: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
2017-04-13 15:23:46 -07:00
Andreas Huber
e6e54801c1
Changed the naming scheme for Treble java libraries (both static and dynamic)
...
android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java
Bug: 37207894
Test: make
Change-Id: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
2017-04-13 14:28:05 -07:00
Steven Moreland
3b36a83a2e
Update makefiles (2/2).
...
Test: pass
Change-Id: Ic7e6289c7b69785491708ce0acbb657f4c704229
2017-04-11 09:58:03 -07:00
Steven Moreland
4e7a307730
Fix transitive includes.
...
Files relying on transitive include of utils/Log.h (and things that it
includes) from MQDescriptor.h
Test: pass
Merged-In: Iff316b21bef556bb026378b7f89e97ded3febef4
Change-Id: Iff316b21bef556bb026378b7f89e97ded3febef4
2017-04-06 22:04:05 +00:00
Badhri Jagan Sridharan
88a4d87415
USB: HIDL: check the status of registerAsService
...
registerAsService call could fail. Hence check the return value.
Bug: 36704362
Test: Manually checked to see if usb hal service is running.
Change-Id: I46dcd74dbee6aba72cf344f10854e5d4b1b6de18
2017-04-04 20:20:43 +00:00
Andreas Huber
40d3a9bd8c
Convert all comments into "doxygen-ready" comments.
...
Bug: 36453077
Test: mma
Change-Id: I0b1f77dfae5d2258969e33d85ecf45401ffbdfaa
2017-03-29 08:53:58 -07:00
Steven Moreland
561b602a99
Update makefiles for hwtypes.h
...
Test: pass
Change-Id: I8e17eb8fec5d2f04c526476a866c8dd54ccb556c
2017-03-28 15:18:20 +00:00
Yifan Hong
0e52252509
IUsb uses "default" service name
...
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.
Test: pass
Bug: 33844934
Change-Id: Ic04a7570c090d9d0a83bac1ec3f6d5ffe19e8923
2017-03-16 16:14:16 -07:00
Yuexi Ma
ed2bb4e8f8
Change vts target base test class name
...
Test: make vts succeed, vts kernel tests and nfc hal tests passed
Change-Id: I95f10ad7a66f261c9030357edd411fe6d94150e8
2017-03-10 21:14:48 +00:00
Steven Moreland
48c52249e4
hidl_default to all targets.
...
find hardware/interfaces -type f -not -path "*/.git/*" \
-exec sed -i -e '/cc_[A-Za-z_]\+/ { N; s/$/\n defaults:
\["hidl_defaults"\],/ }' {} \;
./hardware/interfaces/update-makefiles.sh
Test: pass
Bug: 35840847
Change-Id: If10c464d2f000b85c8d698fe11a4f3fc4cfad282
2017-03-08 19:31:53 -08:00
Yuexi Ma
50d7e27b3c
change all vts hidl tests to use VtsHalHidlTargetBaseTest (internal master)
...
Bug: 33385836
Test: mma
Change-Id: Ide3ebc4a9db76257f33bcfb0c1f13d2ee33eeaa8
2017-02-28 22:27:28 +00:00
TreeHugger Robot
2653620a61
Merge "Remove viral dependency on libhwbinder. (2/2)"
2017-02-24 23:25:26 +00:00
TreeHugger Robot
15558bf93b
Merge "USB HAL: Fix infinite loop."
2017-02-24 20:24:24 +00:00
TreeHugger Robot
6bce6f299d
Merge "Allow reregistering callback"
2017-02-24 20:21:24 +00:00
Steven Moreland
7e73d5b908
Remove viral dependency on libhwbinder. (2/2)
...
find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh
Note, automotive has some actual dependencies on libhwbinder, filed
b/35758626 for this.
Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6d0726c8130d00684b978efbdd48e3ae396f12e5
2017-02-24 12:18:01 -08:00
Badhri Jagan Sridharan
6e718f9e4c
Allow reregistering callback
...
Callbacks would have to be allowed being reregistered
to handle frameworks restarts.
Bug: 35758079
Test: adb shell stop; adb shell start; and see if USB notifications happen.
Change-Id: I256b4e714340f48c1dd8377e660cb28ebd716b8a
2017-02-24 19:56:02 +00:00
Badhri Jagan Sridharan
b31cbe9453
USB HAL: Fix infinite loop.
...
Bug: 35726475
Test: usb-service no longer consumes 100% CPU
Change-Id: I274caec45e7527cbacf57f9a735d711dcb481bfd
2017-02-24 05:52:25 -08:00
Tri Vo
e5b08a319b
Rename usb test according to vts convention.
...
Test: make vts
Change-Id: If2e99f5510f01772e26b5867a7a0152025233715
2017-02-21 16:03:39 -08:00
Badhri Jagan Sridharan
014888453c
VTS: USB: vts target test for USB HAL.
...
Test: vts-tradefed run vts -m UsbHidlTargetTest
Change-Id: Ib2c7b2dce2c8497a28501730fd32c2cd035f9e00
2017-02-17 17:21:52 -08:00
Steven Moreland
a0da1a1c3d
Move hidl shims to the vendor partition. (2/2)
...
We need google shims on the vendor partition because they are providing
an implementation of a vendor defined interface. They were written by
google just as a courtesy/to make the transition easier. They're
basically a set for vendors to assemble their hal implementations
from.
Bug: 34135607
Test: marlin persist.hal.binderization on/off
Change-Id: I2e2af5af39264cf290259755bb9b2eb9827a21f5
2017-02-13 15:03:41 -08:00
Tri Vo
85120c9490
Update makefiles to use filgroup syntax.
...
Test: mmma hardware/interfaces
Change-Id: I9f4457c78b7820c242d46359f0debe05d1b3e482
2017-02-10 12:45:19 -08:00
Andreas Huber
d38f147c35
Updated makefiles
...
Java intermediates are now created in the common rather than the device-
specific generated sources subdirectory.
Bug: 33842609
Test: make
Change-Id: I16af4cd19bf0b24baa0ad9ebfdb86b4d959c8672
2017-02-09 17:20:45 -08:00
Tri Vo
ce608bec74
Migrate driver/profiler to test/vts-testcase/hal.
...
Bug: 34893894
Test: mmma hardware/interfaces
Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d
2017-02-07 19:13:28 -08:00
Zhuoyao Zhang
e9b43bbe2d
Update Andriod.bp for hals.
...
* Add driver/profiler build rule for all hals.
Test: mma
Change-Id: I98325f7af14fec7dd1bb64b1668de8c7c20ace92
2017-02-03 10:03:01 -08:00