Commit graph

7 commits

Author SHA1 Message Date
Jooyung Han
f65ce603ae Fix the path to IR HAL
The .rc file is used by IR HAL binary. So the path should be
/vendor/bin instead of /apex. The apex version of .rc file is generated
by a soong rule.

This fixes the IR HAL in -next- configuration.

Bug: 315827315
Test: atest vts_treble_vintf_vendor_test
Change-Id: I1644660f6734bb4452fd7c6fd897ca31e2447dd5
2023-12-12 18:06:34 +09:00
Jooyung Han
367dbf3ac1 Add apex_defaults for consumerir HAL APEX
The IR HAL APEX can be defined by inheriting the default one. Note that
HAL in APEX can't load a legacy libhardware module from /vendor/lib/hw.
Instead, it tries to load the hardware module from the APEX. Hence, the
APEX inheriting this should embed it along with the HAL binary.

Bug: 300011390
Test: ConsumerIrTest VtsHalIrTargetTest hal_implementation_test
Change-Id: I14ab4a7e52195f630aa394f74a3f2852f6007ecc
2023-09-26 19:09:39 +09:00
Steven Moreland
19d780b8d9 ir impl point fixes
Removing UB.

Change-Id: I34b488329facbbcc760b01e72f2cb58945aa040b
2022-10-31 20:43:43 +00:00
sangweilin
94f687884d [BugFix] open ir hal lib to support aidl ir service
Android T change hidl to aidl for many services, also the ir hal service. We make ir aidl service running with real ir hardware through this patch.

Change-Id: I5bd2fa28b34bec8183ad110639d85e4fc59d8f3f
Signed-off-by: sangweilin <sangweilin@xiaomi.com>
2022-10-31 18:19:14 +00:00
Devin Moore
4811381f3e Update IConsumerIr method comments and add units to parameter
Test: atest ConsumerIrTest VtsHalIrTargetTest hal_implementation_test
Bug: 213468221
Change-Id: Ied20fec1a522e3757fbbc9ec60812b6805acd0f5
2022-01-10 17:46:47 +00:00
Bob Badour
6acef468cc [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  ir/aidl/Android.bp
  ir/aidl/default/Android.bp
  wifi/supplicant/aidl/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I6796bb068122811520f911c0376b7f6caecf471c
2022-01-05 11:14:10 -08:00
Devin Moore
0de7ad674e Convert IR interface to AIDL
Add new default that implements/serves the AIDL interface.
Add new VTS test to test the interface implementation.

Test: atest ConsumerIrTest VtsHalIrTargetTest hal_implementation_test
Bug: 205000342

Change-Id: I52c4b3a70341cf91efc2fd187794e3fd60b9000c
2021-12-16 00:25:59 +00:00