Commit Graph

814 Commits

Author SHA1 Message Date
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
eab578f9ba Merge "Revert "Radio HAL : Support N3IWF"" 2022-10-21 04:55:21 +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
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
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
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
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
3f15e3f15e Merge "Remove camera.provider HIDL entry in compat matrix." 2022-10-17 19:13:31 +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
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
f71279a2ab Merge "Radio HAL : Support N3IWF" 2022-10-11 00:01:43 +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
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
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
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
c42bc2473f Merge "Add sendHint method to the PowerHintSession API for load changes" 2022-09-29 19:22:50 +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
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
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
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
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
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