Commit Graph

169 Commits

Author SHA1 Message Date
Changyeon Jo
8bcb492309 Use regex names for EVS HAL implementations
This change deprecates EvsEnumeratorHw, which has been a name for
EVS HAL Enumerator implementations, and uses regex names for them.

New method, isHardware(), is added to IEvsEnumerator and the clients
should use this method to tell whether current service is EVS manager
or driver.

Bug: 147010694
Test: m -j
Test: atest VtsHalEvsV1_1TargetTest
Change-Id: I89441936734fde0f0cc2f0151ee9b6622f61814d
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-01-29 19:59:48 -08:00
Automerger Merge Worker
296c6f1745 Merge "audio: Require Audio HAL V6 for level 5" am: b3149c34fc am: 71e883282e am: f266698695
Change-Id: I461f1ba8c8295383d197a6ec62210b766f4cf60b
2020-01-25 03:33:05 +00:00
Treehugger Robot
b3149c34fc Merge "audio: Require Audio HAL V6 for level 5" 2020-01-25 01:05:43 +00:00
Ilya Matyukhin
24178e0996 Merge changes from topic "biometrics.face@1.1"
* changes:
  Add biometrics.face@1.1 to current.txt
  Add enroll_1_1 with preview window id
  Add default implementation for biometrics.face@1.1
2020-01-24 19:08:53 +00:00
Automerger Merge Worker
6a25ade3f6 Merge "Add android.hardware.secure_element@1.2" am: 5b7f7d0b67 am: 6ee646adc4 am: 98b2c4dfbb
Change-Id: Ifff63066fd68c4641b77e546a776cead0c18ec04
2020-01-24 07:57:27 +00:00
Ilya Matyukhin
366cc53714 Add default implementation for biometrics.face@1.1
Bug: 145027036
Test: vts-tradefed run commandAndExit vts-hal -m VtsHalBiometricsFaceV1_0Target
Test: vts-tradefed run commandAndExit vts-hal -m VtsHalBiometricsFaceV1_1Target
Change-Id: I1aa682644b9b60705a1a8bf40867414b9fc99cd6
2020-01-23 23:15:25 -08:00
Mikhail Naganov
6b6325ef09 audio: Require Audio HAL V6 for level 5
Match GMS requirements.

Bug: 143257085
Test: N/A
Change-Id: I514ec4756b3d24d12c9156a04a45d01cbf2227c3
2020-01-23 16:11:33 -08:00
Shuzhen Wang
05066109ff Camera: Add ICameraProviderCallback version 2.6
The new version adds callback for physical sub-camera status callback.

Test: VtsHalCameraProviderV2_4TargetTest --hal_service_instance=android.hardware.camera.provider@2.6::ICameraProvider/internal/1
Bug: 119325027
Change-Id: I8148f6c55f80d7f4092d2fe5ccf92509bb8c069d
2020-01-23 10:47:54 -08:00
Ivailo Karamanolev
c9827471c8 Merge "Add AIDL Lights HAL to support multiple lights per type" 2020-01-23 16:05:07 +00:00
Hunter Knepshield
c9e2c6d319 Make IDumpstateDevice 1.1
Add dumpstateBoard_1_1 to accept a mode parameter (e.g. for limiting
vendor logs to the right bug reports).

Add setDeviceLoggingEnabled for the user to toggle vendor logging on and
off.

Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Change-Id: I5420e5e4ce88619c7e40cf967382f98babc3c3d5
2020-01-22 15:36:17 -08:00
Steven Moreland
bb89a958e5 Add AIDL Lights HAL to support multiple lights per type
This is a revision of the previous 2.0 HIDL-based light HAL.
It accomplishes 2 goals:
 1) Support more than 1 light for a given type. This allows Assistant to
    use the HAL on TV platforms that have usually 4 indicator lights.
 2) Use AIDL, which is the more modern way of writing HALs.
The previous HAL is in hardware/interfaces/light/2.0 and the new one is
in versioned as aidl, as that supports forward compatibility.

Test: atest VtsHalLightTargetTest
Bug: 142715294, 142230898
Change-Id: I08d831ca0380d8bb187e43f6d5c214810ff72f50
2020-01-22 23:28:07 +01:00
Howard Yen
9ae790985a Merge changes from topic "usb_gadget_reset"
* changes:
  Add USB Gadget Hal v1.1 default implementation
  Add USB Gadget V1.1 with hash code
  USB Gadget V1.1 interface
2020-01-22 20:56:44 +00:00
Steven Moreland
758b8941c3 Merge "graphics: allow IAllocator 2.0 and IMapper to 2.1" 2020-01-22 17:13:42 +00:00
Jason Macnak
32cc5ae339 graphics: allow IAllocator 2.0 and IMapper to 2.1
Allows IAllocator 2.0 and IMapper 2.1 so that Cuttlefish can advertise
API level 30 for R before 4.0 is implemented.

Bug: b/136016160
Test: Compiles and boots
Change-Id: I6d8ebc7013a2887521358b1ba73a2def14c20b9a
2020-01-21 23:12:17 +00:00
Howard Yen
ff8a112203 USB Gadget V1.1 interface
Support USB Gadget reset from framework.

Bug: 138702846
Test: build pass, function works
Change-Id: I833b65943a4504b69472fb33d89eb06558aa5fb2
2020-01-20 17:27:40 +08:00
Jack Yu
0d914d8c2a Add android.hardware.secure_element@1.2
Test: None
Bug: 142495673
Change-Id: Ie0f3e87d58047b76ea47990a49d3eac745967255
2020-01-17 14:06:27 +00:00
Automerger Merge Worker
234830afc2 Merge "Power: PowerHAL AIDL interface" am: 384eb8a2bb am: fd7e72f323 am: 18b0839d06
Change-Id: I73d6a5d0772d7a57ddf123c16b5e022da6f498e3
2020-01-16 23:09:09 +00:00
Wei Wang
61c2a337a9 Power: PowerHAL AIDL interface
Bug: 146453294
Test: build and run VtsHalPowerTargetTest pass
Change-Id: Id2a0194173325015933b0db72067f03a375566ee
2020-01-15 16:51:14 -08:00
Kenny Root
4fba44c159 HAL for Resume on Reboot
This adds a HAL interface for escrowing a key over reboot during an OTA
that will unlock the Synthetic Password when the OTA has completed
successfully.

Bug: 63928581
Test: make
Test: atest VtsHalRebootEscrowTargetTest
Change-Id: I8485f3821157e67b6651f4fe425e46cb4499c710
2019-12-16 18:55:29 -08:00
Nicholas Ambur
1e90019220 add SoundTrigger HAL V2.3
add support for model parameter control APIs with THRESHOLD_FACTOR
as the first supported parameter

Bug: 141929369
Test: Tested manually with test app, GTS test
gts-tradefed run gts-dev -m GtsAssistIntentTestCases
and VTS test
vts-tradefed run vts-hal -m VtsHalSoundtriggerV2_3Target
Change-Id: I79d2b6365cc63fbdfe06fa94f1d0878903cbf554
2019-12-11 19:42:51 -08:00
lesl
0bad28f064 IHostapd: Add hostapd 1.2
Add new API: forceClientDisconnect

Bug:142752869
Test: Manual Test
Test: VTS: VtsHalWifiHostapdV1_2Target
Change-Id: Ia05ec993815c16731aa9be1f257f941eacf1575f
2019-12-10 17:55:27 +08:00
Kathan Shukla
ef6d127ea8 Merge changes from topic "occupant_awareness@1.0"
* changes:
  Default hal for Occupant Awareness.
  Occupant Awareness HAL definitions.
2019-12-04 22:16:13 +00:00
Yu-Han Yang
c06b536662 Add GNSS HAL 2.1
Bug: 136136192
Bug: 141758837

Test: atest VtsHalGnssV2_1TargetTest
Change-Id: I8e6d52695c8ab0aeacacb0107a6c0c8271983ed3
2019-12-03 13:42:22 -08:00
Malcolm Chen
fb6d6241c7 Adding HAL API for disabling subscription
Bug: 141018421
Test: vts on cuttlefish
Change-Id: I90ded163ddc047916c205513ab77a886ebcc48f7
Merged-In: I90ded163ddc047916c205513ab77a886ebcc48f7
2019-12-02 11:37:25 -08:00
Robert Shih
37e52fa88d Add Drm 1.3
New API(s):
* IDrmFactory::getSupportedCryptoScheme

Bug: 139134043
Test: MediaDrmTest
Change-Id: Ibe8c7eabcbdd96618c7c336281582ff19f349de9
2019-11-27 01:12:09 +00:00
Kathan Shukla
b6261cb2ae Default hal for Occupant Awareness.
Bug: 142383127
Test: Verified that the system starts the default hal automatically.
Change-Id: I851f85bc283165891943b82c6c07f3273847b032
2019-11-26 14:54:35 -08:00
Sarah Chin
438edf349a Merge "Set up IRadioConfig 1.3 skeleton" 2019-11-26 18:52:26 +00:00
Sarah Chin
b071f8ae53 Set up IRadioConfig 1.3 skeleton
Create IRadioConfig, IRadioConfigIndication, IRadioConfigResponse
Create vts for 1.3
Create default implementation for 1.3

Test: run vts -m VtsHalRadioConfigV1_3Target
Bug: 144101226
Change-Id: Ibf92683ca48b4053e86de3fb655ac15ad1e0725d
Merged-In: Ibf92683ca48b4053e86de3fb655ac15ad1e0725d
2019-11-25 16:23:41 -08:00
Malcolm Chen
a164db9e84 Adding HAL API for disabling subscription
Bug: 141018421
Test: vts on cuttlefish
Change-Id: I90ded163ddc047916c205513ab77a886ebcc48f7
2019-11-25 16:15:26 -08:00
Sarah Chin
ac9dbf6eb9 Merge "Set up IRadioConfig 1.3 skeleton" 2019-11-25 23:58:50 +00:00
Sarah Chin
83e3ca82e6 Set up IRadioConfig 1.3 skeleton
Create IRadioConfig, IRadioConfigIndication, IRadioConfigResponse
Create vts for 1.3
Create default implementation for 1.3

Test: run vts -m VtsHalRadioConfigV1_3Target
Bug: 144101226
Change-Id: Ibf92683ca48b4053e86de3fb655ac15ad1e0725d
2019-11-22 10:35:29 -08:00
Shawn Willden
bdc9434b3c Merge changes from topic "add-km-41" am: f66777ad50 am: 7f7e9608dc
am: 78926e3375

Change-Id: I7964555358e9150d58f53eb154ee7acf5eea1a78
2019-11-21 15:01:55 -08:00
Shawn Willden
94ad891792 Add Keymaster 4.1
Note that CL is missing complete tests (what's included is just a
stub, really) and support library code.  All of that will come in
near-future CLs.  This CL omits them because they'll take time and
there's a need to unblock Keymaster 4.1 implementers now.

Bug: 140193672
Bug: 140192237
Bug: 140824829
Test: Will be in a future CL
Change-Id: I0e6e3a38356f0517158a10604b549415641ad1b9
2019-11-20 12:14:36 -07:00
Jakub Pawlowski
1e32cdf320 Merge "bluetooth: V1.1" am: 58b3a47b89 am: 57ab4a1db2
am: 4fd666d86a

Change-Id: Ice95085e625ffb90db8efb0411fb70437093d41c
2019-11-20 11:05:38 -08:00
Jakub Pawlowski
13b4d3150c bluetooth: V1.1
Add ISO

Test: run rootcanal, verify 1.1 HAL can be used
Bug: 144413056
Change-Id: Ic5b33602e1e4ba8e6d16623b9f8c46f674fc476c
2019-11-20 00:47:22 +01:00
TreeHugger Robot
c32541c40c Merge "Add media.c2@1.1" 2019-11-19 02:05:48 +00:00
Pawin Vongmasa
a31394b245 Add media.c2@1.1
Add configureVideoTunnel() to IComponent.

Test: make vts -j123 && vts-tradefed run commandAndExit vts \
-m VtsHalMediaC2V1_0Host

Bug: 136316504
Change-Id: I505b7b89a02e5aaf2bd735dced1e39cd9e8b8991
2019-11-14 21:25:37 -08:00
Steven Moreland
55accab4d9 Remove vibrator@1.4 from VNDK. am: 1784b9a3cf am: 4b159da70a
am: 693dc6646d

Change-Id: I7a03ab864b28a865b6c8581ce1b3c08c3f2c7954
2019-11-12 14:09:45 -08:00
Steven Moreland
1784b9a3cf Remove vibrator@1.4 from VNDK.
Because this HAL was converted to AIDL.

Can't be completely removed until frameworks/base is refactored not to
use it, but doing this so no more dependencies are accidentally taken
downstream.

Bug: 141828236
Test: N/A
Change-Id: Ic920f59a1a0ad933e5c80c468700ef4514b4a9c9
2019-11-10 20:21:23 -08:00
Kevin Rocard
4b99dc65e3 Allow device to have use Audio HAL V6
This HAL is optional for now as breaking changed are planned.
It might get required for new device before R release.

Test: push V6 to device and check audio works fine
Bug: 134940862
Change-Id: Ib4a906da1c1d3d489003a6642bfc55b142424155
Merged-In: Ib4a906da1c1d3d489003a6642bfc55b142424155
Signed-off-by: Kevin Rocard <krocard@google.com>
2019-11-07 14:19:48 -08:00
Henry Fang
0ce0f981a7 Add cas@1.2 support
Test: Manual
bug: 141783130
Change-Id: I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7
2019-11-07 13:03:11 -08:00
Steven Moreland
119bc0a2f8 Merge "Vibrator: Stable AIDL interface." am: ad51fe22b7 am: dfbaa68529
am: aaa72ec044

Change-Id: I23c481d5174c780f1de1a41f73fac89c22d215ac
2019-11-01 14:54:12 -07:00
Steven Moreland
d44007e625 Vibrator: Stable AIDL interface.
This is from running:
hidl2aidl android.hardware.vibrator@1.4

and then making several small modifications.

Bug: 141828236
Test: dumpsys on cf
Change-Id: I612e903c1e3f63f0470f8e5c827345c5b67d5645
2019-10-30 12:26:22 -07:00
Yifan Hong
68100de149 Merge changes from topic "health21" am: a1e654d8f1 am: 43952e9e56 am: 9c1328bb49
am: 74f5618690

Change-Id: Ieb1bfa8a10d14009759696e543bc2395415392c7
2019-10-23 18:51:27 -07:00
Yifan Hong
a1e654d8f1 Merge changes from topic "health21"
* changes:
  Require health 2.1 on R devices
  health 2.1
2019-10-24 01:03:09 +00:00
Mikhail Naganov
718fe6480c Merge changes from topic "audio-v6"
* changes:
  Allow device to have use Audio HAL V6
  Introduce Audio V6
  Script to generate new audio HAL version
  Change some formatting for better script parsing
  Convert audio HAL service mk to bp and rename the service
2019-10-17 18:59:40 +00:00
Michael Butler
860f7d1dcf Increase neuralnetworks compatibility to 1.3
Bug: 139120468
Test: mma
Change-Id: I66247588f8e42ebd85cc95b844f2d352adc81462
Merged-In: I66247588f8e42ebd85cc95b844f2d352adc81462
(cherry picked from commit 7259f3ab24)
2019-10-17 18:34:51 +01:00
Yifan Hong
abdf4198ed Require health 2.1 on R devices
Test: builds
Bug: 137670450

Change-Id: If0ca2fe2f7ec6fedd39726561391302f47d18369
2019-10-15 17:38:40 -07:00
Colin Cross
bcc123b2df Revert "Merge "Revert "Increase neuralnetworks compatibility to 1.3"" am: c805505344 am: 5b33b3e129 am: 9c0273b979"
This reverts commit af3e3516aa.

Reason for revert: revert of a cherry-pick broke master

Change-Id: I66247588f8e42ebd85cc95b844f2d352adc81462
2019-10-10 22:58:19 +00:00
Lev Proleev
af3e3516aa Merge "Revert "Increase neuralnetworks compatibility to 1.3"" am: c805505344 am: 5b33b3e129 am: 9c0273b979
am: f47b9f9625

Change-Id: Iec8d447df883a4316a20a668e42fed4fcaf94b8e
2019-10-10 14:55:04 -07:00