Commit graph

1192 commits

Author SHA1 Message Date
Jooyung Han
bab159cc73 wifi: put vintf fragment into wifi apex
The AOSP-version of wifi hal apex now contains the VINTF fragment in it.

Bug: 247018693
Bug: 266885060
Test: atest CtsWifiTestCases
Change-Id: Id8f196386967c3023cb5ee308d31b8cdeed7df0b
2023-01-30 11:21:39 +09:00
Devin Moore
d874a23fc0 Make android.hardware.thermal HAL optional
A common workflow for vendors is to develop their new launching devices
targeting N-1 compatibility matrix so they can update each of their HALs
independently at different times.

This works because the target (N-1) framework compatibility matrix is squashed
with the newer compatibility matrices allowing the use of newer
interfaces.

This doesn't work when converting a service from HIDL to AIDL when the
HIDL service is marked as optional="false". It allows for the use of the
new AIDL interface, but it still requires the old HIDL interface.

Marking the old HIDL interfaces as optional allows vendors to develop
before the device targets level 8.

Test: atest vts_treble_vintf_vendor_test
Bug: 247575800
Change-Id: I0da1b10b2bf5c10b19b2713b56be72738a15eec1
2023-01-27 23:10:56 +00:00
Devin Moore
f2cada53a3 Change optional="false" to "true" in compat matrix 7
A common workflow for vendors is to develop their new launching devices
targeting N-1 compatibility matrix so they can update each of their HALs
independently at different times.

This works because the target (N-1) framework compatibility matrix is squashed
with the newer compatibility matrices allowing the use of newer
interfaces.

This doesn't work when converting a service from HIDL to AIDL when the
HIDL service is marked as optional="false". It allows for the use of the
new AIDL interface, but it still requires the old HIDL interface.

Marking the old HIDL interfaces as optional allows vendors to develop
before the device targets level 8.

Test: m
Bug: 247575800
Change-Id: I4446cdaa4a44b4dae1e9eee68089bf723dd25276
2023-01-27 23:07:43 +00:00
Devin Moore
8088c09ace [conflict] Merge "Rename compatibility_matrix.current.xml" am: 227fecd3ed am: 18ace8f88c am: 3b48517261
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2402194

Change-Id: Idf682aae609afd6c6e0f28f4b00510b1b085b99c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-26 23:48:10 +00:00
Devin Moore
d89a33b8c7 Rename compatibility_matrix.current.xml
We can stick with the expected number and drop the use of "current".

Test: m
Bug: 266392619
Change-Id: I309f3e2a031ae364d59b4f86a711ca637a30e6e1
2023-01-25 22:21:22 +00:00
Treehugger Robot
972a950e39 Merge "health: expose battery health data and update version to V2" am: 9a484aa9c7 am: b13349648d am: 4ca56d9459
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2317431

Change-Id: I55e64b31c41915237c7e6dd8ef799bf6fcd38f4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 02:44:41 +00:00
Jack Wu
3356161d6c health: expose battery health data and update version to V2
1. add the new propertes
  - batteryHealthData
  - batteryStateOfHealth
  - chargingState
  - chargingPolicy
2. add new types to health status
3. add new methods
  - setChargingPolicy
  - getChargingPolicy
  - getBatteryHealthData

Bug: 251425963
Test: m android.hardware.health-update-api
Change-Id: Ie2339c50e1f9bfc28427e4108a95b1a16c739205
Signed-off-by: Jack Wu <wjack@google.com>
2023-01-21 07:33:51 +00:00
Treehugger Robot
7603d62a20 Merge "Drop <name>I</name> from mapper HAL." am: d2bbda8b32 am: 116ddaf033 am: 81f4ddd0c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2392038

Change-Id: Ieb1ffe7a2a24c93b6696acd9d9c178475b826aef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 18:54:25 +00:00
Treehugger Robot
d2bbda8b32 Merge "Drop <name>I</name> from mapper HAL." 2023-01-20 17:10:47 +00:00
Thomas Nguyen
991a89d922 Merge "Add Satellite HAL APIs" 2023-01-19 02:37:20 +00:00
Thomas Nguyen
7ea5df6eca Add Satellite HAL APIs
Bug: 260644201
Test: atest VtsHalRadioTargetTest
MO/MT SMS, MMS, voice calls with live network

Change-Id: Ia95b773c7ddd51d32ea987295d70a9a2e16ebf7a
2023-01-18 13:15:12 -08:00
Devin Moore
d5e04a33f6 Merge "Remove CAS HIDL interface from compat matrix" am: 6ffc5c4958 am: 043f6d6a12 am: 78a15937d2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2381020

Change-Id: Ibe8407b2f9b95efb3898b032281cfda4dea2c6ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-18 18:37:15 +00:00
Devin Moore
6ffc5c4958 Merge "Remove CAS HIDL interface from compat matrix" 2023-01-18 17:36:03 +00:00
Lorenzo Colitti
46c36d8aaa Merge "Convert Tetheroffload HIDL to AIDL." am: 7306073719 am: 2d2531d76b am: fd9dfb331c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2329897

Change-Id: I82c81834ee52ebb47efe2b777c02f6d0e9faa67f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-18 01:21:57 +00:00
Lorenzo Colitti
7306073719 Merge "Convert Tetheroffload HIDL to AIDL." 2023-01-18 00:04:51 +00:00
Yifan Hong
ccb250d550 Drop <name>I</name> from mapper HAL.
libvintf now supports empty interface names for native HALs.

Test: TH
Bug: 264267049
Change-Id: Ie525478631e785ce8b9d813d08b0a92331047ced
2023-01-17 15:23:32 -08:00
KH Shi
d97a308637 Convert Tetheroffload HIDL to AIDL.
This patch converts Tetheroffload HIDL to AIDL and adds an empty
example implementation.
There are some changes in AIDL HAL:
1. Combine IOffloadConfig and IOffloadControl into IOffload
2. Use AIDL builtin errors exception code with message as return

Bug: b/205762647
Test: m android.hardware.tetheroffload-update-api
      m android.hardware.tetheroffload-V1-ndk
      m android.hardware.tetheroffload-service.example
      atest VtsHalTetheroffloadTargetTest
Change-Id: I9859ff3df608c058786b4e2b91cb6cd5f38e653a
2023-01-17 22:44:55 +08:00
Treehugger Robot
31128fc339 Merge "EARC: Add version to compatibility_matrix.current" am: 8ec5472653 am: a9ed0175e2 am: 04ab468a1d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2385793

Change-Id: I3da826ca7ae0b235492900fd445e2be4e155f38f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-12 20:32:07 +00:00
Treehugger Robot
8ec5472653 Merge "EARC: Add version to compatibility_matrix.current" 2023-01-12 17:59:35 +00:00
Treehugger Robot
ef0ed10e8f Merge changes from topic "USB AIDL Migration"
* changes:
  Migrate IUsbGadget to AIDL (Fixed Commnets)
  Migrate IUsbGadget to AIDL
2023-01-12 05:37:41 +00:00
TreeHugger Robot
7cd927c419 Merge "Remove authsecret HIDL entry in compat matrix." 2023-01-11 20:12:54 +00:00
Sham Rathod
1539ced6f5 EARC: Add version to compatibility_matrix.current
Test: atest VtsHalTvEArcAidlTargetTest

Bug: 240388105
Change-Id: I4e2487c19638c365580eeafede241d189edc7968
2023-01-11 19:07:30 +05:30
Devin Moore
f1c5bd7382 Merge "Remove HIDL gatekeeper from compat matrix" am: e33ef6ccd2 am: 034335e7ea am: a37356cc63
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2381014

Change-Id: I26b0c4370ab2437cc1f51131e98dff47ce8218a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 23:29:59 +00:00
Devin Moore
e33ef6ccd2 Merge "Remove HIDL gatekeeper from compat matrix" 2023-01-10 21:58:43 +00:00
Devin Moore
c6221b09e7 Remove CAS HIDL interface from compat matrix
This interface is deprecated as of level 8. Use the AIDL CAS interface
instead.

Test: none
Bug: 227673974
Change-Id: I34c1034f247796f81f37a0c337385cdbe2005191
2023-01-10 21:46:56 +00:00
TreeHugger Robot
33e63a4b76 Merge "Remove the HIDL version of weaver HAL from compat matrix" 2023-01-10 20:50:24 +00:00
Nathalie Le Clair
16fed02090 Merge "Refactor HDMI related AIDL packages" am: e6c4ebb0de am: 8047dfe2ed am: dc0a6dcb9c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2347525

Change-Id: I5954f3b0106b9a01ae174fe787f0fe751f9295f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 17:50:40 +00:00
Nathalie Le Clair
e6c4ebb0de Merge "Refactor HDMI related AIDL packages" 2023-01-10 17:05:18 +00:00
Devin Moore
1cb36a537d Merge "Remove radio ISAP HIDL entry in compat matrix." 2023-01-10 16:28:58 +00:00
Treehugger Robot
32efa71e5e Merge "Remove HIDL atrace interface from compatibility matrix level 8" am: 143ab50f77 am: e1a0cd98c5 am: 7a4aad6758
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2381013

Change-Id: Iea91c1b4ccd1bdfdd18e80854d099b1e3c741e98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-10 04:27:19 +00:00
Treehugger Robot
143ab50f77 Merge "Remove HIDL atrace interface from compatibility matrix level 8" 2023-01-10 02:32:48 +00:00
Devin Moore
fa1266f547 Remove radio ISAP HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Change-Id: I1ce852dbbbde4bff8c2932863c1694988013554f
2023-01-09 23:22:54 +00:00
Devin Moore
3c63bb125b Remove HIDL gatekeeper from compat matrix
This HIDL interface is deprecate in level 8. The AIDL gatekeeper
interface should be used instead.

Test: none
Bug: 205760843
Change-Id: I58b8ca77ae9ab8d055a45871918dbd91435823a7
2023-01-09 23:14:38 +00:00
Devin Moore
da2777170d Remove HIDL atrace interface from compatibility matrix level 8
This interface is deprecated as of level 8.

Test: none
Bug: 204935495
Change-Id: Ie4cf7a45d70b9a9acf57f25e82fff64cfe379276
2023-01-09 21:47:02 +00:00
John Reck
741ffc2fd8 Merge "Add a README and a standardizable VERSION" am: a74147236c am: 313e0cec86 am: f42300352e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2375176

Change-Id: I68e182beadfeaa8cb932a8fab501812cca694294
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-09 20:36:39 +00:00
Venkatarama Avadhani
601d29917a Refactor HDMI related AIDL packages
Move CEC, EArc and the old "HDMI" package in to one common hdmi package
as cec, earc and connection.

Test: Build
Bug: 261729059

Change-Id: Ic657713e3a4078125e211bb0d337519a9192aaa1
2023-01-09 16:53:02 +05:30
John Reck
0124abc1e9 Add a README and a standardizable VERSION
* Changes the compatbility matrix version to 5.0 & marks optional
* Tweaks the interface name in case it doesn't get removed soon
  (otherwise readme looks silly)
* Adds a README.md to mapper/stable-c
* Adds VTS test to validate versions match

Test: build + mapper VTS

Change-Id: I9b1256e07aaf2876d579a5487d2051c60097fb70
2023-01-06 17:40:16 -05:00
TreeHugger Robot
3cd91863c3 Merge "Revert "Remove soundtrigger HIDL entry in compat matrix."" 2023-01-06 22:13:42 +00:00
Devin Moore
79ff7a0764 Revert "Remove soundtrigger HIDL entry in compat matrix."
This reverts commit f38eae91fc.

Reason for revert: Soundtrigger is allowed to remain in HIDL for one more release.

Change-Id: I59c3c4a867e73f97ff330a1f588d2a962b565f42
2023-01-06 20:47:27 +00:00
Bo Hu
249e4eb80e Merge changes from topic "isap_hidl2aidl"
* changes:
  Make Sap Interface Apex Available
  [ISap hidl2aidl] VTS Tests
  [ISap hidl2aidl] Compat Support
  Radio: hidl2aidl for ISap interface
2023-01-06 16:05:25 +00:00
Ricky Niu
1eaaea47b2 Migrate IUsbGadget to AIDL
This change migrates android.hardware.usb.IUsbGadget to AIDL and
adds the default implementation.

Compared to the HIDL interface, AIDL based interface adds
transactionId argument to each of the interface method which
is used while invoking the corresponding callback.

Note: This is a cherry-pick of ag/16819267
Bug: 218791946
Test: USB function switch success and AIDL service is running.

Signed-off-by: Ricky Niu <rickyniu@google.com>

Merged-In: Ie05354660f13c8047e2c1712bf373e8699874d28
Change-Id: Ie05354660f13c8047e2c1712bf373e8699874d28
(cherry picked from commit 73b7652e00)
2023-01-06 11:13:36 +00:00
Terry Guan
6a0ce09121 Merge "Update version for audiocontrol" 2023-01-04 17:17:41 +00:00
Treehugger Robot
6f211b7844 Merge "EARC: Add eARC AIDL files" am: 7fb9baae1c am: 87243fbbd7 am: f3686eba77
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2308889

Change-Id: Ib4f858b958a6eecdb07bf9d0a7eb4bee4758f8c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-04 05:02:45 +00:00
Treehugger Robot
7fb9baae1c Merge "EARC: Add eARC AIDL files" 2023-01-04 03:30:47 +00:00
Steven Moreland
a3d43a1497 Merge "stablec mapper VINTF entry" am: f131f46272 am: edd3404d9f am: 2e6b110638
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2367468

Change-Id: I316f82246fb998dae79a67b3edf6ce0f9d5b074c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-03 19:58:31 +00:00
Steven Moreland
f131f46272 Merge "stablec mapper VINTF entry" 2023-01-03 17:48:55 +00:00
Vlad Popa
2afbd1e549 Refactor the ISoundDose.aidl interface
This refactoring is fixing the hal_implementation_test workaround from
aosp/2363076. Adjusted the package name to match the aidl_interface and
declared the ISoundDose interface types only.

Test: VtsHalSoundDoseFactoryTargetTest, VtsHalAudioCoreTargetTest,
hal_implementation_test
Bug: 263388737

Change-Id: Ibce4cd95aaf600de2096179f137243939114ba6a
Merged-In: Ibce4cd95aaf600de2096179f137243939114ba6a
2022-12-28 18:01:01 +01:00
Vlad Popa
c88ea61337 Refactor the ISoundDose.aidl interface
This refactoring is fixing the hal_implementation_test workaround from
aosp/2363076. Adjusted the package name to match the aidl_interface and
declared the ISoundDose interface types only.

Test: VtsHalSoundDoseFactoryTargetTest, VtsHalAudioCoreTargetTest,
hal_implementation_test
Bug: 263388737

Change-Id: Ibce4cd95aaf600de2096179f137243939114ba6a
2022-12-28 17:13:04 +01:00
Venkatarama Avadhani
90373fe4d6 EARC: Add eARC AIDL files
AIDL files for eARC HAL.

Test: m android.hardware.tv.earc-update-api
      atest VtsHalTvEArcAidlTargetTest
Bug: 240388105
Change-Id: Id2a337b928e64e022d97b4339bf7788cc80ea653
2022-12-27 17:57:32 +05:30
Steven Moreland
61d6c00150 stablec mapper VINTF entry
Bug: 256701991
Test: vts_treble_vintf_vendor_test
Change-Id: I4a6597a10f80acefb28cb185988f82647b1c2e85
2022-12-22 03:29:33 +00:00
Terry Guan
ede24f77e6 Update version for audiocontrol
Bug: 255369346
Test: atest vts_treble_vintf_vendor_test
Change-Id: I17000be75963e511d2a56583be0f619a3dee66f1
2022-12-21 10:59:55 -08:00
TreeHugger Robot
f40ef02b0a Merge "GNSS AIDL Version 2 is also allowed in Android U" 2022-12-21 18:48:50 +00:00
Pomai Ahlo
1d10db6063 [ISap hidl2aidl] Compat Support
Add support for ISap in the compat shim.

Test: atest VtsHalRadioTargetTest:PerInstance/SapTest
Bug: 241969533
Change-Id: I9fe5fe194de877bcd2b85ccfa822bd6565e2dc72
Merged-In: I9fe5fe194de877bcd2b85ccfa822bd6565e2dc72
2022-12-21 17:40:43 +00:00
Yu-Han Yang
f8b5cf02bc GNSS AIDL Version 2 is also allowed in Android U
Bug: 253319784
Test: atest VtsHalGnssTargetTest
Change-Id: I666260d7ed2cc0eb385e1badd2b952d7c6f538f6
2022-12-21 03:23:51 +00:00
Peiyong Lin
929277712d Merge "Require Power V4 for all new U devices." 2022-12-20 00:31:22 +00:00
Treehugger Robot
0b68727775 Merge "Audio HAL: Add new HAL for sound dose" am: 4c4ebb3208 am: 163b808c09 am: 0b5e124e93
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2362880

Change-Id: I1668b5e75b9abad1046ba8e31645caaa09761637
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 21:19:24 +00:00
Peiyong Lin
ad48f05c8f Require Power V4 for all new U devices.
Bug: b/244216750
Change-Id: Ic0784cc2ecda8d3dd5b72691f39b460e2395c8b5
Test: atest VtsHalPowerTargetTest
2022-12-19 10:06:08 +00:00
Vlad Popa
f4fe41c873 Audio HAL: Add new HAL for sound dose
The new HAL is running as part of the HIDL audio HAL process. It is
meant as a workaround for HAL implementors that can not switch to the
audio AIDL yet and need to certify with IEC62368-1 3rd edition or
EN50332-3. Note that this HAL will be deprecated in the future.

Test: atest VtsHalSoundDoseFactoryTargetTest & flash bluejay-userdebug
Bug: 257937004
Change-Id: Ifbbf235bab58c1ee2f1ea246cf98c9e8966893c0
2022-12-18 10:18:10 +01:00
Pomai Ahlo
99ba55070e Merge changes from topic "isap_hidl2aidl"
* changes:
  [ISap hidl2aidl] VTS Tests
  [ISap hidl2aidl] Compat Support
  Radio: hidl2aidl for ISap interface
2022-12-16 01:21:44 +00:00
Treehugger Robot
94a68d04b7 Merge changes from topic "c2aidl"
* changes:
  Add Codec2 AIDL interface
  Add bufferpool AIDL definitions
2022-12-14 20:24:14 +00:00
Treehugger Robot
9a8dca4892 Merge "audio: Bring default HAL configuration closer to cuttlefish" am: b55e63fb51 am: e1f576c20b am: 49918b51f2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2338913

Change-Id: I393c71b20f06608d3254086111e4c4f9c04058c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 20:15:04 +00:00
Pomai Ahlo
25fb3aac3a [ISap hidl2aidl] Compat Support
Add support for ISap in the compat shim.

Test: atest VtsHalRadioTargetTest:PerInstance/SapTest
Bug: 241969533
Change-Id: I9fe5fe194de877bcd2b85ccfa822bd6565e2dc72
2022-12-13 10:38:30 -08:00
Mikhail Naganov
c8e4312da8 audio: Bring default HAL configuration closer to cuttlefish
This is to simplify switching of cuttlefish to
the AIDL implementation. Split out 'r_submix' module.

Add all IModule instance names to the compatibility
matrix.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I424db14257281671eea87aa743deb778ca75f388
2022-12-13 01:17:55 +00:00
Chris Weir
eb9d14cbf5 Merge "AIDL CAN HAL" 2022-12-13 00:52:07 +00:00
TreeHugger Robot
74280c2e1e Merge "Define the runtime sensor handle range in ISensors.aidl" 2022-12-12 23:24:27 +00:00
Gabriel Biren
1024df7ce2 Merge "Remove entry for the HIDL Wifi Vendor HAL from compatibility_matrix.current" 2022-12-10 00:23:24 +00:00
Gabriel Biren
6dfb792977 Remove entry for the HIDL Wifi Vendor HAL
from compatibility_matrix.current

Bug: 205044134
Test: m
Change-Id: I4c22fd4eb48bed3a8789c6fbc62b455e45c9b032
2022-12-09 21:21:35 +00:00
Chengyou Ho
a9edb59c9f Merge "Update weaver AIDL default to use V2" 2022-12-08 20:43:42 +00:00
Sally Qi
9568c57a90 Merge "Revup android.hardware.graphics.composer3 v1 to v2 for cuttelfish." 2022-12-07 21:48:42 +00:00
Devin Moore
daf12d9440 Update weaver AIDL default to use V2
Test: VtsHalWeaverTargetTest
Bug: 259556049
Change-Id: Id6aa9316a20541bf2c9a7cc53345a5010a188d00
2022-12-07 16:30:12 +00:00
Vladimir Komsiyski
08315ccbb6 Define the runtime sensor handle range in ISensors.aidl
Add a test to make sure that there are no sensors with handles within this range in the HAL.

Fix: 259227294
Test: VtsAidlHalSensorsTargetTest

Change-Id: Ib785984a0b43457eacd41031bbf361375f9d21f8
2022-12-07 09:44:40 +01:00
Sungtak Lee
8602fe3a0b Add Codec2 AIDL interface
Bug: 251850069
Test: m
Change-Id: I1fc28084519281df68bca7ae5e2b814b03214577
Merged-In: I1fc28084519281df68bca7ae5e2b814b03214577
2022-12-07 07:24:42 +00:00
Sungtak Lee
1468ddfbf3 Add bufferpool AIDL definitions
Bug: 254050250
Test: m
Change-Id: I4b371ccd9a1e1ed59e642d585aa4119c775fbd2c
Merged-In: I4b371ccd9a1e1ed59e642d585aa4119c775fbd2c
2022-12-07 07:23:32 +00:00
Steven Moreland
54ac1e3a2b Merge "require AIDL secure_element for U devices" am: bf788356d1 am: ca3a537b97 am: b16c552ffd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2325815

Change-Id: I33c9099aa5ebcbb9bbb072d59e88f7566e911e3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-05 23:01:20 +00:00
Devin Moore
8f57cfe508 Merge "Remove the HIDL version of oemlock HAL from compat matrix" 2022-12-05 21:59:17 +00:00
Steven Moreland
3cefaa0486 require AIDL secure_element for U devices
This is ready several months before release. We would like to save memory.

Bug: N/A
Change-Id: I6b533c2e9e03336e804d76b29f346400cb5375c7
Test: N/A
2022-12-02 19:53:11 +00:00
Matthew Sedam
3d598ca5b8 Merge "Adds a HAL API to get the list of preloaded nanoapp" 2022-12-02 17:38:04 +00:00
Arthur Ishiguro
fd5e65c7c1 Adds a HAL API to get the list of preloaded nanoapp
Bug: 258074235
Test: make android.hardware.contexthub-update-api
Test: atest VtsAidlHalContextHubTargetTest
Change-Id: Ifdb849d3ccb6a9303c6f561e941c5be9aa13661f
2022-12-02 17:17:18 +00:00
John Reck
4346ad0f75 Merge "IMapper 5 - the Stable C approach" 2022-12-01 23:48:40 +00:00
John Reck
97f313746f IMapper 5 - the Stable C approach
Test: make VtsHalGraphicsMapperStableC_TargetTest VtsHalGraphicsAllocatorAidl_TargetTest

Change-Id: I910b27f388e3fb7261425dd4b2133885c05edd37
Merged-In: I910b27f388e3fb7261425dd4b2133885c05edd37
2022-12-01 17:37:59 +00:00
TreeHugger Robot
ccf629e426 Merge "Migrate IUsbGadget to AIDL" 2022-12-01 04:30:29 +00:00
RD Babiera
776fe2d8ef Merge "Usb non-compliant port partner aidl extension" 2022-11-30 01:39:18 +00:00
Steven Moreland
18e8522584 Merge "secure-element to AIDL" am: 40e84d92e0 am: 800c7ec54c am: 7b9346108a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2285294

Change-Id: Ia9ef16fb229d03d4c773bf82035df56b596f0a18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-30 00:07:03 +00:00
Chris Weir
d76e07e604 AIDL CAN HAL
CAN HAL: now HIDL-free with 100% of your daily value of AIDL.

Bug: 170405615
Test: atest CanControllerAidlTest
Test: manually test slcan and socketcan hardware
Change-Id: I06bbb1379f4385e89757722c0276009b54cc7255
2022-11-29 15:31:10 -08:00
Steven Moreland
6fe6954dd4 secure-element to AIDL
Bug: 205762050
Test: atest VtsHalSecureElementTargetTest (8/8 passed)
Test: atest CtsOmapiTestCases
    - all tests pass except testStatusWordTransmit,
      testTransmitApdu, and testSelectNext. This is because
      these tests don't increase coverage of the HAL API
      except they call 'transmit' several times. Doing a full
      mock OMAPI/APDU implementation for cuttlefish/AOSP is
      tracked in b/123254068

Change-Id: I0ec0eb08fbcc4207d8c07427ccdf7ff106995627
2022-11-24 01:24:13 +00:00
Yu Shan
a955a595cb Merge "Specify IRemoteAccess and IVehicle instance name to be default." 2022-11-22 23:02:27 +00:00
Yu Shan
72b987222d Specify IRemoteAccess and IVehicle instance name to be default.
Change-Id: I0176066125df2c75ec8c4985838aefc9ea79cf2a
Bug: 255848419
Test: Presubmit
2022-11-21 21:09:28 +00:00
Sungtak Lee
d8631076ec Merge "Add Codec2 AIDL interface" 2022-11-18 23:52:41 +00:00
John Reck
06edfd2d60 Merge "IMapper 5 - the Stable C approach" 2022-11-18 22:40:28 +00:00
Ilya Matyukhin
2395c73a46 Merge "Add @hide to the biometric interfaces" 2022-11-18 22:19:29 +00:00
John Reck
48c546c7e9 IMapper 5 - the Stable C approach
Test: make VtsHalGraphicsMapperStableC_TargetTest VtsHalGraphicsAllocatorAidl_TargetTest

Change-Id: I910b27f388e3fb7261425dd4b2133885c05edd37
2022-11-18 11:20:00 -05:00
Sarah Chin
ef437d900f Remove LTE_CA from HAL
Update IRadio imports to use V2

Test: build
Bug: 240997187
Change-Id: Ie84a98156d8d02a36c3faa654decba6c837c362a
2022-11-18 06:28:57 -08:00
Ilya Matyukhin
8453178f18 Add @hide to the biometric interfaces
This change allows the framework to depend on biometric AIDL types, for
example: `android.hardware.biometrics.fingerprint.PointerContext`.

The dependency can be introduced with a `-java-source` target, for
example: `:android.hardware.biometrics.common-V3-java-source`.

The "@hide" annotation informs Metalava that these types are not a
public API (not part of the SDK).

Bug: 218388821
Test: m android.hardware.biometrics.common-update-api
Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.fingerprint-update-api
Change-Id: Ib3327594c64dbb800b9d1744869ceb490d63e553
2022-11-18 06:37:09 +00:00
Sungtak Lee
45b06598bd Add Codec2 AIDL interface
Bug: 251850069
Test: m
Change-Id: I1fc28084519281df68bca7ae5e2b814b03214577
2022-11-17 23:21:07 +00:00
Sarah Chin
309090c573 Merge "Remove REQUEST_NOT_SUPPORTED from IRadio" 2022-11-16 20:58:51 +00:00
Sarah Chin
1044308363 Remove REQUEST_NOT_SUPPORTED from IRadio
Existing APIs should not allow REQUEST_NOT_SUPPORTED as a valid
error. VTS will be updated next to enforce this behavior.
Deprecate unused APIs and remove REQUEST_NOT_SUPPORTED. Deprecated APIs
will not be tested through VTS.

Test: atest hal_implementation_test
Bug: 254095902
Change-Id: I75861eaf632f624afd5fbee2acffb1dd5c5dde27
2022-11-16 09:31:36 -08:00
TreeHugger Robot
69a8937460 Merge "Remove neuralnetworks HIDL entry in compat matrix." 2022-11-16 01:37:28 +00:00
Gabriel Biren
df17bd36e6 Update Supplicant HAL compatibility matrix entry to V2.
Bug: 243980093
Bug: 244597141
Test: Treehugger tests
Change-Id: I5968ac57112e2f0492250562c0b3f9ddfad85584
2022-11-15 14:56:04 +08:00
Jooyung Han
59ab6bb6ff Set android.hardware.camera.provider as updatable
android.hardware.camera.provider has been updatable since Android S. In
Android U, HALs updatable via APEX should declare the updatability.

Bug: 248142818
Test: checkvintf with updated DM
Merged-In: I51ddb9d141c71d22b7c7909b33ebfc8a0a703431
Change-Id: I51ddb9d141c71d22b7c7909b33ebfc8a0a703431
2022-11-14 23:24:11 +00:00
Jooyung Han
c10018a330 Set android.hardware.camera.provider as updatable
android.hardware.camera.provider has been updatable since Android S. In
Android U, HALs updatable via APEX should declare the updatability.

Bug: 248142818
Test: checkvintf with updated DM
Change-Id: I51ddb9d141c71d22b7c7909b33ebfc8a0a703431
2022-11-14 16:01:09 +09:00
Sally Qi
8ec063ff4d Revup android.hardware.graphics.composer3 v1 to v2 for cuttelfish.
- Enable Vts getOverlaySupport case.

Bug: 250036572
Test: this
Change-Id: I8a4acb53d5ac317f5dd51fefeeb2bc0859ad1c40
2022-11-12 11:21:04 -08:00
RD Babiera
3a8b5ee143 Usb non-compliant port partner aidl extension
Adds aidl api definitions for notifying if the plugged Type-C
port partner (power source/accessory/cable) is non-compliant
with type-c power delivery specification. PortStatus is extended to have
a boolean that states whether or not this feature is supported as well
as an array for a new enum ComplianceWarning.

Test: atest VtsAidlUsbTargetTest
new test nonCompliantChargerStatus expects expects array to be empty
when the feature is not supported. new test nonCompliantChargerValues
expects any values in array to be in range of ComplianceWarning enums
if feature is supported.

Bug: 236322506
Change-Id: Ie3c2365e7c713327b44421c4d132b321d0e03d5f
2022-11-09 23:30:46 +00:00
Maciej Żenczykowski
6e89f03960 Merge "Delete {p,q}/android-4.9." am: bd9a5c2699 am: e1e103b8b5 am: ef8623b5b8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2288873

Change-Id: Ic74251ff7bccd03adce1f9d400e7e8121c8fdbb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-08 05:52:59 +00:00
Maciej Żenczykowski
d05e5fa654 Delete {p,q}/android-4.9.
U will not support 4.9

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ia637833f5bfaf9ba2a3043beb09e53dc3c11caf6
2022-11-05 07:15:18 +00:00
Myles Watson
16bd18ddb7 Bluetooth HIDL -> AIDL conversion am: 10d29e4934 am: 392b64f13e am: 6f3c0716c6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2239899

Change-Id: Ibdd31e6dc627dd8dc8abc796d3255e8a07d278bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 01:31:06 +00:00
Myles Watson
392b64f13e Bluetooth HIDL -> AIDL conversion am: 10d29e4934
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2239899

Change-Id: Ie85ef6f4889977f78c8ef090bc51479ce5a2f5d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 00:17:02 +00:00
Myles Watson
88150368f8 Merge changes from topic "hci_aidl_hal"
* changes:
  Bluetooth HAL: Add an AIDL default implementation
  Start with async and HCI
  Bluetooth HIDL -> AIDL conversion
2022-11-02 23:47:01 +00:00
Sungtak Lee
90584d2caa Add bufferpool AIDL definitions
Bug: 254050250
Test: m
Change-Id: I4b371ccd9a1e1ed59e642d585aa4119c775fbd2c
2022-11-02 21:27:45 +00:00
Ricky Niu
73b7652e00 Migrate IUsbGadget to AIDL
This change migrates android.hardware.usb.IUsbGadget to AIDL and
adds the default implementation.

Compared to the HIDL interface, AIDL based interface adds
transactionId argument to each of the interface method which
is used while invoking the corresponding callback.

Bug: 218791946
Test: USB function switch success and AIDL service is running.

Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: Ie05354660f13c8047e2c1712bf373e8699874d28
2022-11-02 16:09:51 +08:00
Myles Watson
10d29e4934 Bluetooth HIDL -> AIDL conversion
Bug: 205758693
Test: updated vts tests
Change-Id: Iac4d387dba3715d17c63369f392d091e9228333a
2022-11-01 09:29:23 -07:00
Jooyung Han
bff24b7c52 Merge "Mark android.hardware.drm as an updatable hal" 2022-11-01 02:33:36 +00:00
TreeHugger Robot
5221f90e9c Merge "[AOSP Ims] Merge Ims and ImsMedia HAL from 'main-ims-dev' to 'master' branch" 2022-10-28 03:04:15 +00:00
Jooyung Han
91c09a4dd4 Mark android.hardware.drm as an updatable hal
As widevine impl has been moved to an updatable APEX.

Bug: 248142818
Bug: 243333942
Test: check-vintf-all
Merged-In: I2e8ea011af8dbcc8d6eb55236c039795851ad9b7
Change-Id: I2e8ea011af8dbcc8d6eb55236c039795851ad9b7
(cherry picked from commit ca78b7a817)
2022-10-28 09:12:20 +09:00
TreeHugger Robot
d4d140108f Merge "Mark android.hardware.drm as an updatable hal" 2022-10-27 23:56:28 +00:00
Yu Shan
362e18c978 Merge changes from topic "remoteaccess_hal"
* changes:
  Add INFO_VIN in reference VHAL.
  Add remote access HAL interface and ref impl.
2022-10-27 21:13:47 +00:00
Yu Shan
7a5283fda1 Add remote access HAL interface and ref impl.
Add remote access HAL interface and reference implementation. This
CL is a merge of multiple CLs commited in internal master.

Test: Presubmit
Bug: 241170646
Change-Id: I55ba98015055d779a362cac05a9f68650b5b92ab
Merged-In: I332221b303274463dfa5b46d78cf0d81f6045e4b
2022-10-26 17:16:05 -07:00
Yifan Hong
2f3fb70f9d Merge "Drop kernel configs p-4.4." am: 11bd25c78e am: a169c7d948 am: 2c5f9a38fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2269083

Change-Id: I500903d68c49b8f397e7165fdd7c718214349d10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-26 19:53:31 +00:00
Yifan Hong
11bd25c78e Merge "Drop kernel configs p-4.4." 2022-10-26 17:53:12 +00:00
Helen
b423fafc36 [AOSP Ims] Merge Ims and ImsMedia HAL from 'main-ims-dev' to 'master' branch
Bug: 250912118, 251319296
Test: atest VtsHalRadioTargetTest

Change-Id: Idad3b444f57c3964549bd64222967fed954219cd
2022-10-26 08:55:20 +00:00
Yifan Hong
6f9a4947fb Drop kernel configs p-4.4.
4.4 has reached EOL.

Devices running 4.4 kernel will no longer be able to update
to the latest Android version.

Test: TH
Change-Id: I5b9d0bc6c0cf422cb53193fee4e118ea1bfe2b70
2022-10-25 15:27:17 -07:00
Henry Fang
d967bec1ff Merge changes from topic "cas_aidl" am: 9d7488c540 am: bf30bc6187 am: 2de678e695
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2222080

Change-Id: I0c40f9ec8f86411bdb2762977f65154e6c1985f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 18:01:33 +00:00
Henry Fang
9d7488c540 Merge changes from topic "cas_aidl"
* changes:
  Add VTS test cases for CAS AIDL
  Add default implementation for CAS AIDL
  Add AIDL files for cas and cas/native modules
2022-10-25 16:38:20 +00:00
Austin Borger
3ab0c3acf5 Merge "Create API for reporting color space support to Camera2 framework consumers." 2022-10-24 17:25:11 +00:00
TreeHugger Robot
ed23b2742f Merge "Remove tv.input from compat matrix for U" 2022-10-24 17:12:16 +00:00
Devin Moore
28277be719 Remove tv.input from compat matrix for U
This means that new launching devices will use the AIDL interface.

Test: m
Bug: 227673740
Change-Id: Id5aa3ceb2f1781973da95684b00dce5776edafba
2022-10-24 15:32:01 +00:00
Austin Borger
4728fc48cc Create API for reporting color space support to Camera2 framework consumers.
Test: Ran CtsCameraTestCases.
Test: Ran VtsAidlHalCameraProvider_TargetTest.
Test: Created app to test display P3 camera, switching between color spaces
Bug: 238359088
Change-Id: I382dea5d13582817959001246240141e83d8172d
2022-10-21 11:01:18 -07:00
Sewook Seo
8001cc05fa [conflict] Merge "Revert "Radio HAL : Support N3IWF"" am: eab578f9ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20251245

Change-Id: I09144e6b79b4f50f6b52043a0a98119e80e6f721
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-21 12:17:46 +00:00
Jooyung Han
ca78b7a817 Mark android.hardware.drm as an updatable hal
As widevine impl has been moved to an updatable APEX.

Bug: 248142818
Bug: 243333942
Test: check-vintf-all
Change-Id: I2e8ea011af8dbcc8d6eb55236c039795851ad9b7
2022-10-21 14:21:25 +09:00
Sewook Seo
eab578f9ba Merge "Revert "Radio HAL : Support N3IWF"" 2022-10-21 04:55:21 +00:00
TreeHugger Robot
b3c4cb7b1f Merge "Add gnssSetSignalTypeCapabilitiesCb()" am: 6f71eea54c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20193553

Change-Id: I10a955c1b2eb7cdb735efc14c85cbcdaa115fffb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-21 00:58:52 +00:00
Sewook Seo
f8b2031064 Revert "Radio HAL : Support N3IWF"
Revert "Update IRadioNetworkImpl of MockModem"

Revert "N3IWF HAL support: update NetworkResponse"

Revert submission 20057104-hal_support_n3iwf

Reason for revert: <N3IWF development will be done in private branch>
Reverted Changes:
Ie7784ffa3:Update IRadioNetworkImpl of MockModem
Iad6a6cc2e:N3IWF HAL support: update NetworkResponse
I2b5506d84:Radio HAL : Support N3IWF cuttlefish work
I8b4b055be:Radio HAL : Support N3IWF

Change-Id: I767ed13a8cd63bcbb28d4804e72cf3f01cd3584b
2022-10-21 00:43:46 +00:00
TreeHugger Robot
6f71eea54c Merge "Add gnssSetSignalTypeCapabilitiesCb()" 2022-10-21 00:27:39 +00:00
Yu-Han Yang
d2377447d5 Add gnssSetSignalTypeCapabilitiesCb()
Bug: 253319784
Test: atest VtsHalGnssTargetTest
Change-Id: Ib1485a2002bb3af01954698f490060da46331a5d
2022-10-20 22:29:18 +00:00
Devin Moore
c46e34ee91 Merge "Remove CEC HIDL from compatibility matrix" am: a1b1e5d180 am: 309c0a929c am: f5f89ff6bc am: 7f36bf7ddd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2262223

Change-Id: I93c9e79035208f09588903ae6633b91e7bc94dcc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-20 19:21:47 +00:00
Devin Moore
7f36bf7ddd Merge "Remove CEC HIDL from compatibility matrix" am: a1b1e5d180 am: 309c0a929c am: f5f89ff6bc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2262223

Change-Id: Ib19474596f6fd2eab527ca829b1d8f4e21bbb46e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-20 18:39:03 +00:00
Devin Moore
a1b1e5d180 Merge "Remove CEC HIDL from compatibility matrix" 2022-10-20 16:43:57 +00:00
Shraddha Basantwani
fdeb39f878 Add AIDL files for cas and cas/native modules
Bug: 230377377, 227673974, 233862815
Test: manual, build
Change-Id: Ic94a839c0c8afc51bf277dcb31952c771ad3445f
2022-10-20 21:14:41 +05:30
Venkatarama Avadhani
d2b8db7ae5 Remove CEC HIDL from compatibility matrix
AIDL will have to be used for CEC/HDMI HALs.

Bug: 233026642
Test: m android.hardware.tv.cec-update-api
Change-Id: I34b4a9d8c873c498c86c6d14100d2cda265202d5
2022-10-20 11:40:49 +05:30
Tri Vo
beba7a1a5a Bump Identity and KM AIDL API versions am: f48a2a7bbf am: d60f5bc61f am: 328ecb6ada am: c70e7db50d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2205679

Change-Id: Ied9677a12417e5470617f49be5d665179faadd0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-20 04:11:25 +00:00
Tri Vo
c70e7db50d Bump Identity and KM AIDL API versions am: f48a2a7bbf am: d60f5bc61f am: 328ecb6ada
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2205679

Change-Id: Ife24072ad8a65f620b36a026044f768199e40ebf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-20 03:44:41 +00:00
Tri Vo
d60f5bc61f Bump Identity and KM AIDL API versions am: f48a2a7bbf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2205679

Change-Id: Ic9cac9d245efcefd50a3b871351593bec1565856
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-20 03:14:59 +00:00
Tri Vo
5ae39a28c2 Merge changes from topic "rkp_v3"
* changes:
  Update VtsHalRemotelyProvisionedComponentTargetTest to v3
  Bump Identity and KM AIDL API versions
2022-10-20 02:43:12 +00:00
Treehugger Robot
106c109fa6 Merge "CEC: Add AIDL interface" am: 2a5c5fc11e am: 20b8f0aa23 am: 5c24fd738c am: 1d4085ec13
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2106006

Change-Id: I6c11de1249870557efa9ef63cca90d55611f867d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 07:07:43 +00:00
Treehugger Robot
1d4085ec13 Merge "CEC: Add AIDL interface" am: 2a5c5fc11e am: 20b8f0aa23 am: 5c24fd738c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2106006

Change-Id: I4185c1e6144739ad2810573e6d2d9c6538599bb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 07:05:09 +00:00
Treehugger Robot
2a5c5fc11e Merge "CEC: Add AIDL interface" 2022-10-19 02:58:03 +00:00
Tri Vo
f48a2a7bbf Bump Identity and KM AIDL API versions
Imported interfaces are versioned, i.e. bumping an interface version
necessiates bumping the version of importing interfaces.

Keystore and Identity import KM. We are uprevving KM, so all three need
to be bumped at the same time.

Test: m
Change-Id: I46b253e72f2f245bd628ed2ae1f2f4e0572827e7
2022-10-17 15:04:59 -07:00
Devin Moore
7234db2f35 Merge "Remove camera.provider HIDL entry in compat matrix." am: 3f15e3f15e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19458498

Change-Id: I9e0be03c84cea37e4983a1aceae1959e626861f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-17 20:08:03 +00:00
Devin Moore
3f15e3f15e Merge "Remove camera.provider HIDL entry in compat matrix." 2022-10-17 19:13:31 +00:00
Devin Moore
cb7d960910 Merge "Remove OMX from compat matrix" am: db4829df15 am: f1efb54069 am: fb693b1a20 am: 0f983b83b9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2254396

Change-Id: I64d299eb3f270703ee7c8c4fbb230fc4e7b3711a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-17 17:52:48 +00:00
Devin Moore
0f983b83b9 Merge "Remove OMX from compat matrix" am: db4829df15 am: f1efb54069 am: fb693b1a20
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2254396

Change-Id: Ie2b5bc6a387cf080dde7a719a2861ee725a5fadd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-17 17:10:17 +00:00
Devin Moore
e36409e806 Remove OMX from compat matrix
This HAL is being deprecated.

Test: m
Bug: 218588089
Change-Id: Ia6f4f8588ff69c97857b9258937cb8c1a6d719b1
2022-10-13 22:04:02 +00:00
Devin Moore
902a896e68 Remove the HIDL version of weaver HAL from compat matrix
The AIDL HAL is replacing it.

Test: m
Bug: 182976659
Change-Id: Iee4466cc17708d5813129d78945238c0e36c3627
2022-10-13 19:37:33 +00:00
Devin Moore
49781e9cee Remove the HIDL version of oemlock HAL from compat matrix
The AIDL HAL is replacing it.

Test: m
Bug: 182976659
Change-Id: I5a8a3597136bc579056dc11115d77c7d93d3f29f
2022-10-13 19:22:50 +00:00
Venkatarama Avadhani
820b548de9 CEC: Add AIDL interface
Split and convert to AIDL the HDMI CEC HAL into two separate HALs -
CEC and HDMI. CEC handles the CEC messages while HDMI handles the
hotplug and physical ports.
Also add the default and VTS for the two HALs.

Bug: 233026642
Test: m android.hardware.tv.cec-update-api
      make
Change-Id: I67c6d7aeea6922f69a1ffa7acb36c811c80afabf
2022-10-11 10:03:02 +05:30
TreeHugger Robot
c9394abe24 [conflict] Merge "Radio HAL : Support N3IWF" am: f71279a2ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20057104

Change-Id: I13cd2d7533945f9cd702a3b708415fcb5864ce2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-11 02:26:45 +00:00
TreeHugger Robot
f71279a2ab Merge "Radio HAL : Support N3IWF" 2022-10-11 00:01:43 +00:00
Devin Moore
32994e0379 Merge "Remove confirmationUI HIDL entry from compatibility matrix." am: 036a421a3d am: 3e40b98b31 am: 3d12d96f31 am: 87feb14c19
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2246513

Change-Id: I3942fccff7cabafc030a3a972f8123b99b4aac8b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-10 22:10:51 +00:00
Devin Moore
87feb14c19 Merge "Remove confirmationUI HIDL entry from compatibility matrix." am: 036a421a3d am: 3e40b98b31 am: 3d12d96f31
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2246513

Change-Id: I51e0c5a223e1f179fb57b1c6b2dccbc830160654
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-10 21:44:51 +00:00
Devin Moore
036a421a3d Merge "Remove confirmationUI HIDL entry from compatibility matrix." 2022-10-10 20:18:51 +00:00
Subrahmanyaman
3ec44dd327 Remove confirmationUI HIDL entry from compatibility matrix.
Bug: b/205760172
Test: run vts -m VtsHalConfirmationUIV1_0Target
Change-Id: If9700c8ece6846e5f0e8960b16ea3db43e802690
2022-10-10 18:08:43 +00:00
Peiyong Lin
936c80b820 Merge "Convert Thermal HIDL to AIDL." am: 793bb7f070 am: f8e0c59d45 am: 834088abe6 am: 623b829fd8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2239858

Change-Id: I476cb99e88f07801a207c3b2b919ecdb3e412c56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 06:08:00 +00:00
Peiyong Lin
623b829fd8 Merge "Convert Thermal HIDL to AIDL." am: 793bb7f070 am: f8e0c59d45 am: 834088abe6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2239858

Change-Id: I758dd0b485ed79b3b24aa3efa2c64f12a990dafa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-07 05:41:07 +00:00
Peiyong Lin
793bb7f070 Merge "Convert Thermal HIDL to AIDL." 2022-10-07 04:00:18 +00:00
Sandeep Dhavale
20ca710fed Merge "Fastboot: Convert Fastboot HIDL HAL to AIDL" am: 59f7b08bc9 am: 968def1a8c am: 4b4072bc38 am: ec29ac2e1f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2237803

Change-Id: I225c87e67dae7841c92d6586e418df005f182c93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-06 23:47:54 +00:00
Sandeep Dhavale
ec29ac2e1f Merge "Fastboot: Convert Fastboot HIDL HAL to AIDL" am: 59f7b08bc9 am: 968def1a8c am: 4b4072bc38
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2237803

Change-Id: Ie3c1dc12b66e66afe4a540224bceeafb848d0f00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-06 23:36:07 +00:00
Sewook Seo
0e966f3ef3 Radio HAL : Support N3IWF
Introduce a new RadioTechnologyFamily type (NON_3GPP)
Include Radio tech family in RegStateResult to differentiate NR & N3IWF.
Add getRegistrationState to differentiate response between NR &
N3IWF.
Add unthrottleDataProfile to differentiate unthrottle event between NR & N3IWF

Bug: 249129495
Test: update-api, Android build, atest VtsHalRadioTargetTest
Change-Id: I8b4b055be140afd26b453fa8d50c999ad4c19bec
2022-10-06 22:28:00 +00:00
Peiyong Lin
56960758ad Convert Thermal HIDL to AIDL.
This patch converts Thermal HIDL to AIDL and adds an empty example
implementation.

Bug: b/205762943
Test: atest VtsHalThermalTargetTest
Change-Id: I0c80ac400cc41f50916dbed58bb48f878dfae17f
2022-10-06 17:13:40 +00:00
Sandeep Dhavale
7bc10fb520 Fastboot: Convert Fastboot HIDL HAL to AIDL
Also adds mock implementation based on AIDL.

Bug: 205760652
Test: m
Signed-off-by: Sandeep Dhavale <dhavale@google.com>
Change-Id: Iee32e3e859d90ba494ab41fab739f6317993a3c3
2022-10-05 19:58:06 +00:00
Subrahmanyaman
9661fe000a hidl2aidl: conversion of confirmationui hidl to aidl am: 77acd43ccb am: 07d44ea699 am: 3cedb29080 am: 0d9001a8cc am: 373121d0da am: 5de737c9d0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2183878

Change-Id: I2c279a52a51bb2437e12ddcbfe6b588b2d366a0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-03 23:14:58 +00:00
Subrahmanyaman
5de737c9d0 hidl2aidl: conversion of confirmationui hidl to aidl am: 77acd43ccb am: 07d44ea699 am: 3cedb29080 am: 0d9001a8cc am: 373121d0da
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2183878

Change-Id: I356384b641d3d0e9d7a81ff9a376d3cf4a0cd83a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-03 22:33:35 +00:00
Subrahmanyaman
07d44ea699 hidl2aidl: conversion of confirmationui hidl to aidl am: 77acd43ccb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2183878

Change-Id: If6f6ce29f3dab029f949593a3d48cd15ab3ccfaf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-03 19:41:03 +00:00
Steven Moreland
1b7bec0011 Merge changes from topic "hidl2aidl_confirmationui"
* changes:
  hidl2aidl: conversion of vts confirmationui hidl to aidl
  hidl2aidl: conversion of confirmationui hidl to aidl
2022-10-03 19:10:31 +00:00
Matt Buckley
4caa5dd7c5 Merge "Add sendHint method to the PowerHintSession API for load changes" am: c42bc2473f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19971948

Change-Id: If5471dca26ce82cb4245163fc92d02af6f4b951f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 19:53:09 +00:00
Matt Buckley
c42bc2473f Merge "Add sendHint method to the PowerHintSession API for load changes" 2022-09-29 19:22:50 +00:00
Yu Shan
ed19ff61bf Merge "Define IRemoteAccess.aidl." am: 79830e13e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19510164

Change-Id: I21a08ea295afe58d9e0b511e668dc84a8cc74e1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-28 23:10:43 +00:00
Matt Buckley
1384388fb2 Add sendHint method to the PowerHintSession API for load changes
Add a new sendHint(SessionHint hint) method to the PowerHintSession to
allow clients to inform the session about upcoming changes in load ahead
of time.

Bug: b/243973548
Test: atest VtsHalPowerTargetTest
Change-Id: I0a8af42d3b0ccd3bbb72287a9b91ffb13fccaf9c
2022-09-27 16:10:35 +00:00
Yu Shan
5b1a1c787f Define IRemoteAccess.aidl.
Define the HAL interface for a wakeup client. This interface will
be used by remote task client to receive remote tasks.

Test: m android.hardware.automotive.remoteaccess-update-api
Bug: 241170646
Change-Id: I332221b303274463dfa5b46d78cf0d81f6045e4b
2022-09-26 18:37:50 -07:00
Weilin Xu
98bdd75992 Merge changes from topic "broadcastradio-aidl" am: e5b48f1d56
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18218367

Change-Id: I150444dd416f1c5e6cfc86207b0cf113cc908050
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-26 23:07:06 +00:00
Weilin Xu
e5b48f1d56 Merge changes from topic "broadcastradio-aidl"
* changes:
  Default implementation for BroadcastRadio AIDL HAL
  Migrate broadcast radio HAL from HIDL to AIDL
2022-09-26 22:36:48 +00:00
Subrahmanyaman
e43b9a0f08 hidl2aidl: conversion of gatekeeper hidl to aidl am: 82599ddafa am: caf275b15b am: f55dd8e1b6 am: 92edeedf74 am: eb60a3f6f5 am: 9281ae50ed
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2161976

Change-Id: Idd30b8f07d930dd372ae6cd4e5bad3c0d0f55d22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-22 03:37:15 +00:00
Subrahmanyaman
9281ae50ed hidl2aidl: conversion of gatekeeper hidl to aidl am: 82599ddafa am: caf275b15b am: f55dd8e1b6 am: 92edeedf74 am: eb60a3f6f5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2161976

Change-Id: Ieff3524414a560c3758cf2f59b5ad127988bbd0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-22 03:18:44 +00:00
Shunkai Yao
4590517a96 AIDL effect: Initial IEffect interface implementation and vts test
Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest
Merged-In: Id64d28af9122e82acd96e3349cf37c3d9728069a
Change-Id: Id64d28af9122e82acd96e3349cf37c3d9728069a
2022-09-22 01:36:00 +00:00
Hunsuk Choi
f4a5555b3d [conflict] Merge "Upgrade the version of IRadioNetwork to V2" am: 89417f14ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19879601

Change-Id: I58d36670a059398a0c550b985de4b0a7c00d85d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-21 23:14:43 +00:00
Weilin Xu
a8cebd5c8f Migrate broadcast radio HAL from HIDL to AIDL
Radio HAL is migrated to AIDL by hidl2aidl tool, and the
following changes are applied:
- Result type is returned as service-specific error than normal
return value since AIDL only allows one return value of primitive
types.
- Integer data types were changed to int, long and byte.
- Constant enum was removed and replaced by constants defined in
IBroadcastRadio.
- Rds and Deemphasis enums were removed and defined as const in
AmFmRegionConfig
- MetadataKey was removed, and Metadata was defined as union.
- ITunerSession:scan() was renamed to ITunerSession:seek().
- ITunerSession was removed and its methods were added to
IBroadcastRadio.
- Callback for config flag setting was added to ITunerCallback.
- Callback and timeout behaviors are clarified.

Bug: 170336130
Test: m -j
Change-Id: Id1cdc5651037429ca07a4d4dc4682709cfc4949b
2022-09-21 23:09:50 +00:00
Hunsuk Choi
89417f14ef Merge "Upgrade the version of IRadioNetwork to V2" 2022-09-21 18:43:28 +00:00
Subrahmanyaman
77acd43ccb hidl2aidl: conversion of confirmationui hidl to aidl
Conversion of the confirmationui hidl interface to stable aidl interface.

Bug: b/205760172
Test: run vts -m VtsHalConfirmationUIV1_0Target
Change-Id: I1cd655b0abb319f0134e876955f298cb53fcf43c
2022-09-20 06:02:02 +00:00
Subrahmanyaman
82599ddafa hidl2aidl: conversion of gatekeeper hidl to aidl
Conversion of the gatekeeper hidl interface to stable aidl interface.

Bug: 205760843
Test: run vts -m VtsHalGatekeeperTarget
Change-Id: Iacba60935581c38348437875b452aeb4b5121f9e
2022-09-20 01:19:48 +00:00
TreeHugger Robot
ad67001551 Merge changes from topic "aidl_audio_effect_2" am: 7382601be8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19750857

Change-Id: I58206e648be92ff01d740b1789102ecd0c4dc8e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-19 21:35:29 +00:00
Hunsuk Choi
60d28d2c24 Upgrade the version of IRadioNetwork to V2
Bug: 243344927
Bug: 232285403
Test: build and flash
Change-Id: I4cc204c9237f017126a52cb12da5891671f248d6
2022-09-16 08:06:09 +00:00
Shunkai Yao
e4bab46e14 AIDL effect: Initial IEffect interface implementationi and vts test
Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest
Change-Id: Id64d28af9122e82acd96e3349cf37c3d9728069a
2022-09-06 21:32:00 +00:00
Shunkai Yao
c23916b96f AIDL effect: Minimal example implementation
Add effect factory placeholder implementation.
Update android.hardware.audio.service-aidl.example to include effects.

Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest

Merged-In: I88266b509a03ee336e22be460580c5b22123659e
Change-Id: I88266b509a03ee336e22be460580c5b22123659e
(cherry picked from commit 8a0ae5430f)
2022-08-30 22:11:16 +00:00
Yixiao Luo
20d482ec02 Merge "TV Input HAL 2.0 AIDL interface" am: 29b6721e15
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19603041

Change-Id: I49e8667fc6c0f062c22d65629e6f8c159b7f4723
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-26 23:40:49 +00:00
Yixiao Luo
29b6721e15 Merge "TV Input HAL 2.0 AIDL interface" 2022-08-26 23:19:47 +00:00
Treehugger Robot
b4adbffdc4 Merge "Remove usb HIDL entry in compat matrix." 2022-08-25 20:14:47 +00:00
Treehugger Robot
870d2ac41a Merge "Remove nfc HIDL entry in compat matrix." 2022-08-25 19:43:28 +00:00
Treehugger Robot
a60aa56278 Merge "Remove gnss HIDL entry in compat matrix." 2022-08-25 19:17:27 +00:00
Yixiao Luo
2b41ee5263 TV Input HAL 2.0 AIDL interface
Initial version, fixed tabs.
Addressed comments.

Bug: 227673740
Test: atest VtsHalTvInputTargetTest
Change-Id: Id4bc501c4898239bd9325c8688687d95db74cf1d
2022-08-23 17:17:22 -07:00
Shunkai Yao
ee6ab480e8 AIDL effect: Minimal example implementation am: 8a0ae5430f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19277814

Change-Id: Ieef333228e89be58732566ce9bdde8d4297a4b6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 17:09:10 +00:00
Shunkai Yao
8a0ae5430f AIDL effect: Minimal example implementation
Add effect factory placeholder implementation.
Update android.hardware.audio.service-aidl.example to include effects.

Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest

Change-Id: I88266b509a03ee336e22be460580c5b22123659e
2022-08-23 01:02:42 +00:00
Mikhail Naganov
df5adfde15 audio HAL: Minimal example implementation
Implements basic functionality for enumerating
capabilities of an audio module, audio patches
creation, and opening of I/O streams.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Merged-In: Ie5d67e9192a598260e762ae9368f99592c8ad97e
Change-Id: Ie5d67e9192a598260e762ae9368f99592c8ad97e
(cherry picked from commit ecdc6ca8e8)
2022-08-20 00:14:53 +00:00