Commit Graph

12 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
Jooyung Han
c0b24f4f13 Remove AIDL-libs from VNDK
Some are still in VNDK because they are used in other VNDK libs.

Ignore-AOSP-First: some libs are still in internal master only.

Bug: 234181591
Test: m
Merged-In: If999df9c78a20df931177da11742b1c5de19bc08
Change-Id: If999df9c78a20df931177da11742b1c5de19bc08
(cherry picked from commit 5527adfd7f)
2022-06-14 14:08:59 +09:00
Jiyong Park
70f5837e1f Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: I61eb51c0334eb99489c6f1570110d7e18c350c99
2022-04-16 07:03:24 +09:00
Devin Moore
c681ac991a Merge "Add android.hardware.ir to vndk" 2022-01-15 00:30:46 +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
12788a4288 Add android.hardware.ir to vndk
Bug: 206116595
Test: m
Change-Id: Iab49b78b87957387fd3f82685fc430dc3da00456
2022-01-05 01:00:33 +00:00
Steven Moreland
a049eb0faf Remove separate_platform_variant entries.
This no longer does anything.

Bug: 161456198
Test: build
Change-Id: If7ca08cc1d7a829c637e1ea8254eed6361be0490
2022-01-04 18:22:44 +00: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