Commit graph

202 commits

Author SHA1 Message Date
Steven Moreland
3129bda396 Merge "Remove wifi.offload from Q compat matrix." into qt-dev 2019-04-24 01:10:43 +00:00
Steven Moreland
8f8d17756e Remove wifi.offload from Q compat matrix.
As it turns out, the client side of this HAL was never implemented.
Ideally, we could completely remove the HAL from old compatibility
matrices and remove the HAL from current.txt. However, this would
break some old devices which include an implementation.

Bug: 130080335
Bug: 126892442
Test: build only (checks manifest)
Change-Id: I7205faa719b9566af1b4e56fda083c540d622dff
2019-04-22 20:51:55 +00:00
Valerie Hau
3f99e1db08 Merge "Deprecate Mapper 2.0 from Q launching devices" into qt-dev 2019-04-22 17:05:23 +00:00
Valerie Hau
c88c624e2e Deprecate Mapper 2.0 from Q launching devices
Bug: 130669566, 62535446
Test: build, boot
Change-Id: I1bd576d5a8e8b8fef50a81eae1de18898fe895dd
2019-04-18 12:19:45 -07:00
Yifan Hong
3e39fed7a7 Merge "Rename kernel config modules from current to Q." into qt-dev 2019-04-17 22:48:53 +00:00
Yifan Hong
c0cbe539f3 Rename kernel config modules from current to Q.
Test: builds
Bug: 130295628
Change-Id: I4f519d9c67a983df15423f556ecc68586c6a100b
2019-04-15 10:33:10 -07:00
Cheney Ni
b1a144041e Remove bluetooth.a2dp from matrix as deprecated HAL
Bug: 129121468
Test: Manually play A2DP with presubmit build
Change-Id: Id1ddd780361110f6e944a095ce1f8ae7ae86b9e9
2019-04-16 01:11:17 +08:00
Steven Moreland
86eb7fc62b Compatibility_matrix: s/current/4/
To indicate frozen state/development shouldn't occur here.

Bug: 126892442
Test: TH (build checks compatibility matrices)
Change-Id: I3daf93d750462bf7dcb698a353801bc55a459d45
2019-04-16 01:10:31 +08:00
EdenSu
a83bb3a647 Revert "Fix the compatibility matrix with range"
This reverts commit 373a240386.

Bug: 123249760
Test: Both of P19 & P20 build pass, basic functions work and HAL 1.4 works.
Change-Id: I69f794f25d7c87c65df749c39ed29b1e0f476b03
2019-04-10 16:39:58 +00:00
Steven Moreland
61f233dffb Merge "current FCM: broadcastradio@2.0::IBroadcastRadio/*" into qt-dev 2019-04-09 21:04:11 +00:00
Steven Moreland
a04e949c4f current FCM: broadcastradio@2.0::IBroadcastRadio/*
This was added to the PI (3) compatibility matrix but not to the
current matrix.

Bug: 126892442
Test: diff between 3 and current FCM only reflects intentional changes
Change-Id: Ib6d243d2015cb847afad63075387945a74c30f13
2019-04-08 17:18:51 -07:00
Steven Moreland
7986bd66ad compatibility_matrix: restore P graphics.composer
graphics.composer 2.3 was added in Android Q, so it is in the
compatibility matrix for target-level 4. Devices updating from P
to Q will automatically have this option applies. However, for
sanity, we try to keep the P compatibility matrix between releases.

This change should have no functional difference except minimizing
the delta in this file between P/Q branches.

Bug: 126892442
Test: diff compatibility matrix files
Test: these matrices are verified at build time
Change-Id: I8514c7b6ce4c2670ce7926fb31b09ed783d17dca
2019-04-08 17:02:28 -07:00
Pawin Vongmasa
2dcd353f7f Add Codec2 entry; make Codec2 and Omx optional
Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Bug: 112362730
Bug: 121132171
Bug: 128320274
Change-Id: I4ee174bb434935bdf923a30bab40ed3024f45cbe
2019-04-04 21:27:55 +00:00
Jack Yu
57c15713c9 Update nfc@1.1 to nfc@1.2
Test: Manual
Bug: 129732996
Change-Id: Ieaef96a228c8410f8c84aae89a36ac8e494eca68
2019-04-02 14:02:05 +08:00
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