Commit Graph

967 Commits

Author SHA1 Message Date
Sally Qi
9568c57a90 Merge "Revup android.hardware.graphics.composer3 v1 to v2 for cuttelfish." 2022-12-07 21:48:42 +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
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