Commit graph

159 commits

Author SHA1 Message Date
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
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
Xusong Wang
95a303b4a7 Update nn hidl to version 1.2 in compatibility_matrix.current.xml.
Bug: 115390740

Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: Ib306dc558796a659592c0645a0610e3c8358c37d
(cherry picked from commit beecd569f4)
2018-11-01 17:42:23 -07:00
TreeHugger Robot
1028dd74bf Merge "Update nn hidl to version 1.2 in compatibility_matrix.current.xml." 2018-10-31 03:21:39 +00:00
Alistair Strachan
a280304ebc Add 4.19 to compatibility_matrix.current.xml
We will remove 4.4 once 4.19 settles down.

Bug: 116969327
Bug: 118439987
Change-Id: Ida11841bf972e6fde7171c839ad1ac32d85f9cbc
Signed-off-by: Alistair Strachan <astrachan@google.com>
2018-10-31 02:02:14 +00:00
Kevin DuBois
20e6a0f387 graphics.composer: add @2.3 compatibility
adds graphics.composer@2.3 to the compatibility_matrix

Test: boot Pixel 3 with 2.3 composer
Test: ./VtsHalGraphicsComposerV2_3TargetTest (13/13)
Bug: 116028976

Change-Id: Id4098a6580e119430429ec1fe045fd395540a2cc
2018-10-25 13:31:50 -07:00
Xusong Wang
beecd569f4 Update nn hidl to version 1.2 in compatibility_matrix.current.xml.
Bug: 115390740

Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: Ib306dc558796a659592c0645a0610e3c8358c37d
2018-10-24 11:51:08 -07:00
Wei Wang
84ce54ebaf Add thermal HAL 2.0
Bug: 116540200
Test: add default ThermalHAL 2.0 and VtsHalThermalV2_0TargetTest pass
Change-Id: Ib12634459d9ed5071230adf353b9737f5c90e771
2018-10-19 18:49:16 -07:00
Vinay Kalia
6eedcb5a19 Merge "power.stats: Add power.stats HIDL interface" 2018-10-17 22:06:04 +00:00
Vinay Kalia
f91dcb5bfd 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
2018-10-17 11:32:21 -07:00
Yifan Hong
722aff58c8 removed unused line. am: ab6de249ec am: 2507ba27cb
am: 64c8ab6793

Change-Id: I90ad91a874b0055c17c79813abe571315b4beac0
2018-10-16 20:06:53 -07:00
Yifan Hong
ab6de249ec removed unused line.
Test: builds
Change-Id: I6df9338de150e35147c191a551b1e5eb538db32e
2018-10-16 12:00:25 -07:00
Yifan Hong
11fc61f764 Merge "compatibility matrices: move to soong" am: 9cfddb6282 am: 9f897faa8b
am: 183ef4fba9

Change-Id: I0845142a5f723dcb35fbeadca846e9a63e63e2d2
2018-10-16 11:30:41 -07:00
Yifan Hong
0cd10dd03e compatibility matrices: move to soong
* Kernel config requirements are built as
separate rules in kernel/configs. All kernel requirements
(including minlts and configs) are represented there.

* device framework compatibility matrix and final
framework compatibility matrix need special environment
variables, so they are not generic enough to be written
in the soong rule.

See compatibility_matrices/Android.bp for sample usages.

Test: builds and compare output before change
Change-Id: I53bf88362314f96487ca243c9292570b7931f24b
2018-10-15 15:42:11 -07:00
Yifan Hong
748daf6c2f wifi hostapd: add to current.xml
... instead of 3.xml. Frozen matrices should not be changed.
Test: pass

Change-Id: Ib6ae1ea473703bb21d43c6a9446d9d36dee78804
2018-10-12 13:09:56 -07:00
Wei Wang
c45ef0e920 Add atrace HAL 1.0
Bug: 111098596
Test: vts, atrace and systrace

(cherry picked from commit db895ad8da)

Change-Id: Iea4ee4bff7509031a6daaf7c9570d0583a59affa
2018-09-27 16:35:31 -07:00
Wei Wang
db895ad8da Add atrace HAL 1.0
Bug: 111098596
Test: vts, atrace and systrace
Change-Id: If59efe6fe74e9ca832f38fe0cfe0186db5ca7fe3
2018-09-25 21:22:14 -07:00
Yifan Hong
b58edcd198 Add health filesystem HAL to compatibility matrix
Test: no build errors
Bug: 111655771
Change-Id: I4cc6308f969840996560ac65143744d37cbf0b14
(cherry picked from commit 62ca53926e)
Merged-In: I4cc6308f969840996560ac65143744d37cbf0b14
2018-09-24 17:44:05 -07:00
Peiyong Lin
73da92ea9a Update power hidl to version 1.3 in compatibility_matrix.current.xml.
BUG: 110112323
Test: adb shell /data/nativetest/VtsHalPowerV1_3TargetTest/VtsHalPowerV1_3TargetTest
Change-Id: I397a30044850ffa8d078dce7ef201073ae65c940
(cherry picked from commit 9475cc240b)
Merged-In: I397a30044850ffa8d078dce7ef201073ae65c940
2018-09-24 17:44:05 -07:00
Steven Moreland
54ed395017 Add configstore@1.1 to current matrix.
This was added late in P. Go ahead and require
configstore@1.1 since it is built from a universal source
for all devices as well.

Bug: 69691076
Test: N/A
Change-Id: I0203ecc2e70127c11f596896f71c869d12cd3973
(cherry picked from commit 74274cfbc6)
Merged-In: I0203ecc2e70127c11f596896f71c869d12cd3973
2018-09-24 17:44:05 -07:00
Steven Moreland
3c86d9adb0 Add compatibility_matrix.current.xml for Android Q.
HAL development is starting for Andorid Q, so we need this.

Test: m compatibility_matrix.current.xml
Test: assemble_vintf (but b/78895849)
Test: boot a Pixel device after setting its target-level to 4
    and verify that the compatibility check passes, and the
    file is in the correct location (system/etc/vintf) and that
    the dependencies are setup properly.
Change-Id: I42426d0145a97c719092306abc4f7ce8fa2b51bd
(cherry picked from commit 2d2e2d5c05)
Merged-In: I42426d0145a97c719092306abc4f7ce8fa2b51bd
2018-09-24 17:38:08 -07:00
Yifan Hong
5a34303ad6 matrix: health filesystem->storage
Test: compiles
Bug: 111655771
Change-Id: I088ec32e4e3d5796b4dbe3f062d8cf32e3644c66
2018-09-19 16:04:03 -07:00
Zachary Iqbal
725a9194be Add the biometrics face HAL to the compatibility matrix.
Bug: 114777920
Test: Built and booted locally.
Change-Id: Ic489b931b750ef1dfcfd5249c4eeb2aef52557b1
2018-09-10 14:50:46 -07:00
TreeHugger Robot
151d9c1630 Merge "hostapd(interface): Add asynchronous failure callback" 2018-08-28 17:11:32 +00:00
Roshan Pius
c6dd60133c hostapd(interface): Add asynchronous failure callback
Adding a callback object to indicate asynchronous events back to
framework. Only a failure indication method is added currently.

Also, Uprev the hostapd interface to 1.1.

Bug: 112705137
Test: Compiles
Change-Id: Ib885001e68734caa5ff192721f618010c125e4b7
2018-08-23 10:11:34 -07:00
Peiyong Lin
2b3f82672a [ConfigStore] Add useColorManagement method.
Previously we couple wide color gamut display and color management together,
which is because we only do color management when we have wide color gamut
display. However, we would also want display that doesn't support wide color
gamut but is calibrated and is capable of managing sRGB gamut to have color
management. This means we will decouple wide color gamut display from color
management, a device can indicate that it's color managed without having wide
color gamut display and only manage color within sRGB gamut.

BUG: 111505327
Test: BUild, flash and check Natural/Boosted mode.
Change-Id: If1241ce040a6f691609d8f8d72a2d6f3141557cf
2018-08-21 15:21:54 -07:00
Yifan Hong
4b5acbafbb Merge "Fix matrix dep on kernel configs" am: a806c0c3bd am: dc575a4184
am: ab266539fd

Change-Id: I6b2de14cb10d2fe5777e1d17c40b3e6e1d71609e
2018-08-17 18:46:37 -07:00
Yifan Hong
f1ccd4d794 Fix matrix dep on kernel configs
Use global instead of rule variables.

Test: make a change in kernel configs, existing out files
are changed.

Change-Id: Ic731356b4533bc10743d3711309ab16de1d3bd78
2018-08-17 15:45:18 -07:00
Jong Wook Kim
165ce94032 Merge "Uprev Wifi HAL to 1.3" 2018-08-14 22:49:02 +00:00
Yifan Hong
34919840ec Merge "Allow OTA package to contain fake AVB version" am: 38d8d80b4c am: 3eb5e14db4
am: 7cbd118d5a

Change-Id: I7346c295801fcc31ab401b6440fbaa2be7b3b098
2018-08-14 11:08:57 -07:00
Yifan Hong
38d8d80b4c Merge "Allow OTA package to contain fake AVB version" 2018-08-14 17:47:24 +00:00