Commit graph

790 commits

Author SHA1 Message Date
Lorenzo Colitti
7306073719 Merge "Convert Tetheroffload HIDL to AIDL." 2023-01-18 00:04:51 +00: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
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
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
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
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
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
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
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
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
11bd25c78e Merge "Drop kernel configs p-4.4." 2022-10-26 17:53:12 +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
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
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
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
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
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
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
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