Commit graph

812 commits

Author SHA1 Message Date
Alice Wang
acc1a5bd38 [dice] Remove unused service android.hardware.security.dice
This cl removes the unused service android.hardware.security.dice
together with all its usages (all of them are tests), because the
service is incomplete and not used anywhere for now and in the
near future.

The cl also removes dice from the compat matrix.

This helps us reduce some maintainance burden for the Rust dice
wrapper libraries such as libdiced_open_dice[_nostd],
libdiced_sample_inputs, libdiced_utils and their tests.

Test: atest diced_utils_test diced_sample_inputs_test \
diced_open_dice_cbor_test \
libdiced_open_dice_nostd.integration_test \
libdiced_open_dice.integration_test diced_open_dice_cbor_test
Test: m pvmfw_img microdroid_manager
Bug: 267575445
Bug: 270511529

Change-Id: I3d2497d2e8d3f88c49cae9ae80a6b4f7b652cc4a
2023-02-24 09:03:11 +00:00
Alistair Delva
b5a6aefc11 Add 6.1 kernel to current matrix
..and remove 5.10 kernel.

Bug: 264456132
Change-Id: I4c111d85b70133351d86bc1f000a388207e23b1b
2023-02-22 13:37:55 -08:00
Treehugger Robot
abe7b164e4 Merge "Marking HIDL version of gatekeeper as optional." 2023-02-14 17:48:17 +00:00
Rongxuan Liu
6945dd3bb3 Update android.hardware.bluetooth.audio to V3
Tag: #feature
Bug: 266740545
Test: m android.hardware.bluetooth.audio-update-api &&
      atest VtsHalBluetoothAudioTargetTest
Change-Id: Ia92043aeedf12a8c68d7f4ee18a1dd52ac5a252f
Merged-In: Ia92043aeedf12a8c68d7f4ee18a1dd52ac5a252f
2023-02-10 04:11:44 +00:00
Subrahmanyaman
85d9c3a81d Marking HIDL version of gatekeeper as optional.
To avoid incompatibility errors marking the hidl version of
gatekeeper as optional.

Bug: 268342724
Test: VtsHalGatekeeperTargetTest
Change-Id: Id9546844998ce88ed597eaae0c05a119fb9322c9
2023-02-08 18:36:19 +00:00
Treehugger Robot
d26180e5ff Merge "Remove the HIDL usb.gadget interface from the compat matrix" 2023-02-04 03:10:54 +00:00
Devin Moore
10ff4a1fc3 Remove the HIDL usb.gadget interface from the compat matrix
This has been deprecated in level 8. Use the AIDL interface instead.

Test: none
Bug: 205764057

Change-Id: I5c7ca0dc26b5dd14daceb5a31d1040f59d1421e3
2023-02-03 22:29:27 +00:00
Treehugger Robot
8c91779b64 Merge "powerstats: bump version of PowerStats HAL to V2" 2023-02-02 01:21:00 +00:00
Yifan Hong
ae32aaeedf Merge "Deprecate Android P VINTF." 2023-02-01 21:57:44 +00:00
Yifan Hong
909db8a309 Deprecate Android P VINTF.
Devices launching with P VINTF requirements
(including HALs and kernels) will
not be able to update to Android U.

If a device wish to do so, it must update the
vendor / odm partitions to match newer VINTF
requirements.

The list in fcm_execlude is generated with:

  system/libvintf/analyze_matrix/hals_for_release.py  -d -j --package-only | python3 -m json.tool

in the 3~4 section.

Test: TH
Bug: 205175891
Change-Id: I0f3584f461f9545ca9d3a508baa1e2fc562eabd3
2023-01-31 15:21:56 -08:00
Darren Hsu
c4fad13c9b powerstats: bump version of PowerStats HAL to V2
Bug: 264669398
Bug: 258321000
Bug: 266943256
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I009c09e4cd7e27250266cc7b2c1596df6fee95fe
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-01-31 14:16:23 +08:00
Treehugger Robot
9113258fe0 Merge "wifi: put vintf fragment into wifi apex" 2023-01-31 02:57:52 +00:00
Devin Moore
adf99047d5 Merge "Change optional="false" to "true" in compat matrix 7" 2023-01-30 17:55:31 +00:00
Jooyung Han
caad2b9831 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
Merged-In: Id8f196386967c3023cb5ee308d31b8cdeed7df0b
Change-Id: Id8f196386967c3023cb5ee308d31b8cdeed7df0b
2023-01-30 11:27:22 +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
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
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
d2bbda8b32 Merge "Drop <name>I</name> from mapper HAL." 2023-01-20 17:10:47 +00:00
Devin Moore
6ffc5c4958 Merge "Remove CAS HIDL interface from compat matrix" 2023-01-18 17:36:03 +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
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
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
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
Nathalie Le Clair
e6c4ebb0de Merge "Refactor HDMI related AIDL packages" 2023-01-10 17:05:18 +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
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
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
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
Treehugger Robot
7fb9baae1c Merge "EARC: Add eARC AIDL files" 2023-01-04 03:30:47 +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
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
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
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
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
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
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
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
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