Commit graph

1058 commits

Author SHA1 Message Date
Treehugger Robot
65b8cf47e2 Merge "Remove the HIDL usb.gadget interface from the compat matrix" am: d26180e5ff am: a60ede843c am: 417e7538ab
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2385548

Change-Id: I6360782949eefd499e7933706dbd18b6b6be5757
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-04 04:10:55 +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
3161c9cea6 Merge "Merge "powerstats: bump version of PowerStats HAL to V2" am: 8c91779b64 am: 057a217409 am: 2397611890" 2023-02-03 01:48:09 +00:00
Devin Moore
5a4500a42f Remove automotive.can HIDL interface from current compat matrix
This interface is deprecated for new devices from level 8 of the
framework compatibility matrix.

Test: none
Bug: 170405615
Change-Id: Ibdf12a382435abe845a31cce580c4e98b2d57e06
2023-02-02 02:44:32 +00:00
Treehugger Robot
5ffee106df Merge "powerstats: bump version of PowerStats HAL to V2" am: 8c91779b64 am: 057a217409 am: 2397611890
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2390573

Change-Id: I4cbc5bc7352711364e3cca5028ac1cb635bc2798
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-02 02:03:47 +00:00
Treehugger Robot
8c91779b64 Merge "powerstats: bump version of PowerStats HAL to V2" 2023-02-02 01:21:00 +00:00
Yifan Hong
d0eb7cb442 Merge "Deprecate Android P VINTF." am: ae32aaeedf am: 878824fb9e am: 9c7c7b2eba
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2406438

Change-Id: Ib8338a5d8e65710c0d7d68aa702907266fe241cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-02 00:50:02 +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
d25c4e7817 Merge "Change optional="false" to "true" in compat matrix 7" am: adf99047d5 am: 8ab633b73c am: dbc7c523b1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2402196

Change-Id: I6457afc230f0b7756a0fc2444c45fe8ed5e9d673
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-30 19:24:51 +00:00
Treehugger Robot
5324d9a4aa Merge "Make android.hardware.thermal HAL optional" am: e47d1c9ebb am: ff3380de7a am: d8cccc6e3b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2402200

Change-Id: I8bc5e1337796d1412032cb9d606bfe19029ed867
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-30 19:21:36 +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
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