Commit graph

188 commits

Author SHA1 Message Date
Steven Moreland
195417f0a4 configstore@1.2: remove requirement
- configstore@1.2 no longer exists
- configstore@1.1 is being deprecated in favor of properties

Bug: 122461092
Bug: 124531214
Test: manual
Change-Id: Ia1411ca5db897b3d9f67a4450cf10f878ddc64b9
2019-03-01 10:08:19 -08:00
Steven Moreland
e2a5a7597e cas@1.1: must be used over cas@1.0 for Q devices
Bug: 122472761
Test: N/A
Change-Id: Ifb0fe8a83aed1cf6bc57612919d71a7b2e9a0c40
2019-02-25 23:36:37 +00:00
Steven Moreland
f0f1649ea0 Merge "target-level 4: allow camera provider 2.4-5" 2019-02-15 02:14:04 +00:00
TreeHugger Robot
5c2a49d556 Merge "DRM: optional 1.0 to 1.2." 2019-02-14 08:57:15 +00:00
Steven Moreland
369f17b7e0 target-level 4: allow camera provider 2.4-5
Bug: N/A
Test: N/A
Change-Id: I9171d94f2188bf37ec01e1bc1028c9a33e1aa7af
2019-02-13 17:36:38 -08:00
Eino-Ville Talvala
fbb176e069 Merge changes from topic "camera-provider-2.5"
* changes:
  Camera: Add default 2.5 provider for legacy and external webcam HALs
  Camera: Restructure default camera.provider 2.4
  camera.provider: Add @2.5 to support notifyDeviceStatusChange
2019-02-11 01:22:52 +00:00
Eino-Ville Talvala
918a7de8d5 camera.provider: Add @2.5 to support notifyDeviceStatusChange
Sometimes, the camera service needs to notify a camera HAL that the
overall device physical state has changed, so that the HAL can
properly remap how it handles logical multicamera devices or similar.

Test: Builds, new VTS tests pass
Bug: 121379978
Change-Id: I0982fdecaf53a0529289d63c08c5a31264ee7ec7
2019-02-07 16:20:11 -08:00
Steven Moreland
2a82e974a4 DRM: optional 1.0 to 1.2.
Before:
1.0-1.1 is optional, but an implementation of 1.2 is required.

After:
1.0-1.2 can be used.

Bug: N/A
Test: N/A
Change-Id: I631c253ee44f858e3c1912106cb42682eb044c05
2019-02-06 11:02:35 -08:00
Wei Wang
6016f10e66 Make atrace HAL optional am: 892624d06d am: 446597a2cc
am: 400c166293

Change-Id: I6dd5fd9f12df926f8feec867332e23af18c3f2d0
2019-02-05 20:34:42 -08:00
Wei Wang
892624d06d Make atrace HAL optional
Bug: 111098596
Test: build
Change-Id: I2a18f004926e4488b87dd1d830490717908de963
2019-02-05 16:55:04 -08:00
Henry Fang
1d0eab8086 Merge "Revert "Revert "Update cas@1.0 hal to cas@1.1""" 2019-02-01 15:17:39 +00:00
Henry Fang
3e3cbb7c21 Revert "Revert "Update cas@1.0 hal to cas@1.1""
This reverts commit 1b066c8d1d.

Reason for revert: <This CL isn't related to public API which triggered previous revert>

Change-Id: If1fa2a244e5f4ee7f978cda79421172da02220f1
2019-01-31 22:46:57 +00:00
Xusong Wang
d9c767a44f Merge "Revert "Update cas@1.0 hal to cas@1.1"" 2019-01-31 01:07:26 +00:00
Xusong Wang
1b066c8d1d Revert "Update cas@1.0 hal to cas@1.1"
This reverts commit f9f0a25b26.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I32657e10fa8ff58dd351aa8e0b611195c2826f07
2019-01-31 01:04:02 +00:00
Henry Fang
9c452cbaea Merge "Update cas@1.0 hal to cas@1.1" 2019-01-30 22:53:52 +00:00
Yifan Hong
b30e00be4e Merge "Build DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE." am: 40877b8c21 am: f84ae41b1e
am: 64e1a4bc74

Change-Id: Ie516f512aa82c23b94c3dbbec1bdd27fde7d8134
2019-01-28 20:51:07 -08:00
Henry Fang
f9f0a25b26 Update cas@1.0 hal to cas@1.1
Add sendSessionEvent to notify hal what happened on a session.
Add onSessionEvent to listen notification from hal for a session
Test: manual
Bug: 122472761

Change-Id: I98434325915e7bee57e63bdeeedba9ed5578e493
2019-01-28 15:14:32 -08:00
Sooraj Sasindran
bed7070e4d Merge "Fix the compatibility matrix with range" 2019-01-28 19:48:44 +00:00
Sooraj Sasindran
373a240386 Fix the compatibility matrix with range
Fix the compatibility matrix with range of versions

Bug: 122994344
Test: verified manually
Change-Id: Ic5ebb7261d2fe8f379d46ebcc0c47efe8dbd3c59
Merged-In: Ic5ebb7261d2fe8f379d46ebcc0c47efe8dbd3c59
2019-01-28 18:05:20 +00:00
Yifan Hong
fee037aac8 Build DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE.
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE is installed on
/product/etc/vintf. It is considered as a replacement of
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE, so only one
of them may be defined. At build time, things like
SEPolicy versions etc. will be written to
/product/etc/vintf/compatibility_matrix.device.xml, just
like the /system one.

Also, split framework_compatibitity_matrix.xml to
system_compatibility_matrix.xml and product_compatibility_matrix.xml.
The latter two corresponds to matrices installed to respective
partitions only.

Test: build with DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE defined
Test: boot (sanity)
Bug: 120600021
Change-Id: I81f9a8f5028cbb88c45f44df04bccb8ccb483972
2019-01-25 13:58:34 -08:00
Badhri Jagan Sridharan
b577571fd9 USB V1.2 interface
Supports reporting and userspace control of USB contamination presence.

Bug: 117330206
Bug: 77606903
Bug: 119642987

Test: USB HAL V1.2 HIDL tests.
Change-Id: I70219641cdd48d59d217334dbd6d4ed8a8ce4927
2019-01-23 10:44:40 -08:00
Sooraj Sasindran
c87be8aace Fix the compatibility matrix with range
Fix the compatibility matrix with range of versions

Bug: 122994344
Test: verified manually
Change-Id: Ic5ebb7261d2fe8f379d46ebcc0c47efe8dbd3c59
2019-01-22 15:10:50 -08:00
Michael Dooley
58828095fb Merge "Enabling sound trigger V2_2" 2019-01-18 04:00:39 +00:00
Paul Mclean
559f16e1b6 Merge "Adding Audio HAL V5: Direction API" 2019-01-17 21:34:35 +00:00
mike dooley
2f0da26cd5 Enabling sound trigger V2_2
V2_2 has the same functionality as V2_1 except it adds one new
api, getModelState.

Note: V2_1 will be removed in a subsequent cl.

Test: built android and tested using SoundTriggerTestApp

Bug: 70206501
Change-Id: Ia1567bfc988482195b89b8d6a0901d51e870bfbf
2019-01-17 20:49:38 +01:00
Paul McLean
d983fe2a86 Adding Audio HAL V5: Direction API
Bug: 119137468
Test: Testbed App

Change-Id: Ief74abab49b68ac13e0433f5fe29dd25379c7aec
2019-01-16 21:00:05 -07:00
TreeHugger Robot
1be67b368a Merge changes from topic "IA/IM-3.0"
* changes:
  graphics: change composer 2.1 to support allocator/mapper 3.0
  graphics: rev IAllocator and IMapper
2019-01-15 23:21:27 +00:00
Hai Shalom
998d7369e3 [DPP] Added VTS tests for supplicant HAL v1.2
Added VTS tests for supplicant HAL v1.2.

Bug: 118733176
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_2Host
Change-Id: Ic68865493debb8c63ce005c7136ed5176a589b09
2019-01-14 13:12:52 -08:00
Pavlin Radoslavov
1ea96a3802 Bluetooth Audio HAL interface v2
Generalized Bluetooth Audio HAL interface.
It is similar to the original android.hardware.bluetooth.a2dp@1.0
interface with the following modifications:

* The session type can be one of the following:
  - A2DP Software Encoding Datapath
  - A2DP Hardware Encoding Datapath
  - Hearing Aid Software Encoding Datapath
* For Hardware Offload Datapath (A2DP), the HAL interface is used only
  for the control path
* For Software Encoding Datapath (A2DP or Hearing Aid), the HAL
  interface is used for both the control and data paths
* Added Delay Report support: IBluetoothAudioHost.getPresentationPosition()
  that was missing in the original android.hardware.bluetooth.a2dp@1.0
  HAL interface.
* Removed "oneway" calls to avoid potential reordering of HAL calls:
  b/111244402
* Updated SBC-specific codec configuration
* Added AAC-specific and LDAC-specific codec configuration
* Reorganized the original CodecConfiguration into two sections:
  - PcmDataConfiguration: Audio PCM data configuration
  - EncodedDataConfiguration: Encoded audio data codec configuration.
    It is used only if the HAL is responsible for encoding the PCM audio
    data.
* Added new HAL IBluetoothAudioProvidersFactory.
  It is used to open an audio provider for an audio session as specified by
  the session type and the codec configuration as negotiated with the
  remote device.

Bug: 111519504
Test: manual
Change-Id: I2ee4cf50b177baee077cf0b5143dbeadda57c8fb
Merged-In: I2ee4cf50b177baee077cf0b5143dbeadda57c8fb
(cherry picked from commit fcc0732db4)
2019-01-14 03:55:18 +08:00
Marissa Wall
bd1ca51841 graphics: rev IAllocator and IMapper
Increase IAllocator and IMapper to 3.0. This patch does not add
any new features.

Bug: 120493579
Test: vts
Change-Id: I84d9887f94d91eca1cc5d845bb11ac1d8affbf62
2019-01-12 15:40:02 -08:00
TreeHugger Robot
b77643d06f Merge "Bluetooth Audio HAL interface v2" 2019-01-11 22:43:22 +00:00
Nathan Harold
1edaaa9bdb Merge "Require IRadio 1.4 for Devices Launching Q" am: 15213e4175 am: 228d0c28c3
am: 9fa1c9ccda

Change-Id: Id346112dccf04ac5adcf1aff6e6da838f1e995f8
2019-01-11 13:09:37 -08:00
Pavlin Radoslavov
fcc0732db4 Bluetooth Audio HAL interface v2
Generalized Bluetooth Audio HAL interface.
It is similar to the original android.hardware.bluetooth.a2dp@1.0
interface with the following modifications:

* The session type can be one of the following:
  - A2DP Software Encoding Datapath
  - A2DP Hardware Encoding Datapath
  - Hearing Aid Software Encoding Datapath
* For Hardware Offload Datapath (A2DP), the HAL interface is used only
  for the control path
* For Software Encoding Datapath (A2DP or Hearing Aid), the HAL
  interface is used for both the control and data paths
* Added Delay Report support: IBluetoothAudioHost.getPresentationPosition()
  that was missing in the original android.hardware.bluetooth.a2dp@1.0
  HAL interface.
* Removed "oneway" calls to avoid potential reordering of HAL calls:
  b/111244402
* Updated SBC-specific codec configuration
* Added AAC-specific and LDAC-specific codec configuration
* Reorganized the original CodecConfiguration into two sections:
  - PcmDataConfiguration: Audio PCM data configuration
  - EncodedDataConfiguration: Encoded audio data codec configuration.
    It is used only if the HAL is responsible for encoding the PCM audio
    data.
* Added new HAL IBluetoothAudioProvidersFactory.
  It is used to open an audio provider for an audio session as specified by
  the session type and the codec configuration as negotiated with the
  remote device.

Bug: 111519504
Test: manual
Change-Id: I2ee4cf50b177baee077cf0b5143dbeadda57c8fb
2019-01-11 12:04:51 +08:00
Nathan Harold
0bc890da0c Require IRadio 1.4 for Devices Launching Q
In order to continue providing the best Telephony
experience possible, Android devices that ship
with Q should implement the IRadio 1.4 HAL.

Likewise, new devices should ship with IRadioConfig
version 1.2.

Bug: 112764647
Test: compilation; boots with Pixel 2
Change-Id: I7ce1a7e81dc54d6e4e13b4bdaad8228465bf1570
2019-01-11 00:36:50 +00:00
TreeHugger Robot
12333da58a Merge "vibrator: Add Vibrator HAL 1.3" 2019-01-10 06:55:50 +00:00
TreeHugger Robot
a3684b19cc Merge "Add an InputClassifier HAL" 2019-01-10 04:07:23 +00:00
Siarhei Vishniakou
a0e7f731c7 Add an InputClassifier HAL
The new HAL will be responsible for processing touch video frames that
are received from InputClassifier stage.
After processing, the HAL will generate a classification of the current
gesture. This classification will later be provided to the app via
the MotionEvent.getClassification() public API.

The eventual goal is to classify each event stream as a force touch
or not a force touch.

An example implementation of the HAL is presented here. This code was
used for local testing on blueline, and should not be actually installed
or used in any way other than for reference.

Bug: 62940136
Test: observed "detected deep press" logs when pressing with large
finger area on the touchscreen
Change-Id: Id6ac4337435e4ac07877da11ca184b6dd4d64780
2019-01-09 15:01:16 -08:00
TreeHugger Robot
7436ee15b4 Merge "Add Sensors 2.0 to Framework Compatibility Matrix" 2019-01-08 22:11:49 +00:00
Benjamin Schwartz
df43c41b27 Merge changes from topic "power.stats HAL"
* changes:
  power/stats: Add VTS test cases for power.stats HAL
  power/stats: Add VTS testcases
  power/stats: Add default implementation
  power/stats: Update HIDL to include power stats API
  power/stats: Update HIDL to use synchronous FMQ
  power.stats: Add power.stats HIDL interface
2019-01-08 17:58:59 +00:00
Vinay Kalia
f12c171b3a power.stats: Add power.stats HIDL interface
Initial commit defines APIS to collect on-device
power-related data.

BUG: 117424656
BUG: 111185513
Test: Compilation and device boot
Change-Id: I6e3153c9fcd2d67e4a566a4621d7aa4c01da7636
(cherry picked from commit f91dcb5bfd)
Merged-In: I6e3153c9fcd2d67e4a566a4621d7aa4c01da7636
2019-01-07 13:58:41 -08:00
Sandeep Patil
17e842f5c0 Merge "fcm: kernel: Remove 4.4 kernel from current matrix" am: 2953251eff am: 06f0bd516d
am: a61daa382b

Change-Id: Ibd3e9df24640ab6cff36231813379aa7e2b5e714
2019-01-04 19:06:42 -08:00
Sandeep Patil
e5f4947bf8 fcm: kernel: Remove 4.4 kernel from current matrix
Test: builds
Bug: none
Change-Id: I8e472edf1e050968a7a1e6f9c82e41eeee473eb3
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-01-03 14:22:03 -08:00
Brian Stack
1e28c806dd Add Sensors 2.0 to Framework Compatibility Matrix
Bug: 122271863
Test: Verified Sensors 1.0 is used if DCM requests Sensors 1.0
Test: Verified Sensors 2.0 is used if DCM requests Sensors 2.0
Change-Id: I3d5d21f0c1a75440e777ddb9a9afe4b0efbdda12
2019-01-02 14:28:48 -08:00
Harpreet "Eli" Sangha
1f1532631a vibrator: Add Vibrator HAL 1.3
Add API for enabling/disabling external control of vibrator.

Bug: 117835666
Test: Sanity Check Via 'cmd vibrator'
Change-Id: I5342ca9feba1811efcb5483668858db3f70ad686
Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
2018-12-25 13:40:38 +09:00
Peiyong Lin
dc8d65754c Add composer 2.3 support to the compatibility matrix
BUG: 115554640
Test: Build, flash and boot
Change-Id: I40dd0c246ad63fa4fb2ea8bdc8a557dca7410653
2018-12-19 23:33:33 -08:00
Alistair Strachan
0898d6dfbb Merge "Add 4.19 to compatibility_matrix.current.xml" am: 43ec700725 am: f1f3e0e45e
am: 3d4ee6288a

Change-Id: I1972ed02aef01de4df4c510f228973fc5a347ce6
2018-11-30 01:00:35 -08:00
Treehugger Robot
43ec700725 Merge "Add 4.19 to compatibility_matrix.current.xml" 2018-11-30 04:30:20 +00:00
Yu-Han Yang
b0469ebebd Merge "Add GNSS HAL v2.0" 2018-11-30 01:34:33 +00:00
Yu-Han Yang
9c6c20b506 Add GNSS HAL v2.0
- Add GnssMeasurementCodeType in IGnssMeasurementCallback.
- Add VTS tests.
- Add default implementation.

Bug: 112260995
Change-Id: Ie319cc793e9b23e86d672c826c4f5fd6a0f90d04
Fixes: 112260995
Test: atest VtsHalGnssV2_0TargetTest
2018-11-28 15:17:28 -08:00
Jeff Tinker
259be69eed Update clearkey plugin to v1.2
Clearkey v1.2 implements the android.hardware.drm@1.2 HAL

bug:117570956
bug:110838441
bug:116252891

test: android.media.cts.MediaDrmClearkeyTest#testOfflineKeyManagement

Change-Id: Iaa9bec41a36b99483131dd7ee791dc0e2d8d3f7b
2018-11-08 16:00:02 -08:00