Commit Graph

137 Commits

Author SHA1 Message Date
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
TreeHugger Robot
1028dd74bf Merge "Update nn hidl to version 1.2 in compatibility_matrix.current.xml." 2018-10-31 03:21:39 +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
Yifan Hong
53891ac2be Allow OTA package to contain fake AVB version
The system_matrix.xml in compatibility.zip can contain a fake
AVB version as specified by BOARD_OTA_FRAMEWORK_VBMETA_VERSION_OVERRIDE.
This allows OTA to pass compatibility check when the AVB version is
updated *during* the OTA.
Bug: 112291283
Test: specify BOARD_OTA_FRAMEWORK_VBMETA_VERSION_OVERRIDE and
      manual test

Change-Id: I53c2de49ee68d6a3afc97201e759be344de6bdff
2018-08-13 12:44:51 -07:00
Michael Wright
966356e089 Update power HAL to version 1.3.
am: 795990cca6

Change-Id: I4ddb4c23790467c9ffe921d8c698ec4f5ce76c38
2018-08-10 18:42:47 -07:00
Michael Wright
795990cca6 Update power HAL to version 1.3.
Adds new EXPENSIVE_RENDERING power hint.

This adds a new library which does not affect any pre-existing
targets unless they create and add a new binary which uses this.

BUG: 110112323
Test: adb shell /data/nativetest/VtsHalPowerV1_3TargetTest/VtsHalPowerV1_3TargetTest
Change-Id: I5fb33abbbe4c4958882a106dfa400ad74013e40d
2018-08-10 18:37:07 -07:00
Yifan Hong
aca9e3ebe1 Merge changes from topic "health_filesystem_hal"
* changes:
  Add health filesystem HAL to compatibility matrix
  Add health.filesystem HAL.
2018-08-10 18:35:40 +00:00
Yifan Hong
62ca53926e Add health filesystem HAL to compatibility matrix
Test: no build errors
Bug: 111655771
Change-Id: I4cc6308f969840996560ac65143744d37cbf0b14
2018-08-09 17:21:20 -07:00
Yifan Hong
f8c0c17cfe Merge "matrix: IR HAL specifies interface/instance" am: 4ccae0fd74 am: ec2f7d96ff am: 282c07b49c
am: 8b28ae4f59

Change-Id: I339865df18d94dc460ac82117d59d141971a2823
2018-08-09 16:10:30 -07:00
Yifan Hong
282c07b49c Merge "matrix: IR HAL specifies interface/instance" am: 4ccae0fd74
am: ec2f7d96ff

Change-Id: I3b919295570b89955af6d0d5eab205b22cfde25d
2018-08-09 15:47:24 -07:00
Jong Wook Kim
da830c9da7 Uprev Wifi HAL to 1.3
Move Wifi HAL from 1.2 to 1.3

Bug: 111753174
Test: Builds and wifi works
Change-Id: I6a2b203997d6328d09065f23636d4ce01420942a
2018-08-09 15:40:09 -07:00
Yifan Hong
a8fc3a2542 matrix (current): IR HAL specifies interface/instance
This is missing from a very old CL. IR is an optional
HAL so specifying interface / instance here doesn't break
requirements.

Test: builds
Change-Id: I3aeab2798ce48cd1851b155fd41194fe70357aa2
2018-08-09 13:43:43 -07:00
Yifan Hong
baa72a6e63 matrix: IR HAL specifies interface/instance
This is missing from a very old CL. IR is an optional
HAL so specifying interface / instance here doesn't break
requirements.

Test: builds
Change-Id: I6d30d33041a01d8a8a724a89e00ba4c57d820d46
2018-08-09 13:43:01 -07:00
Yifan Hong
dcbd63920b Merge "matrix: Enforce kernel requirements in OTA only when flag is set." am: 0084639ada am: 0e193786e8 am: 707b4be33c
am: 5b97350e31

Change-Id: I60a2557ccab2873a3d2696698f6632188d6cffde
2018-07-30 10:55:25 -07:00
Yifan Hong
707b4be33c Merge "matrix: Enforce kernel requirements in OTA only when flag is set." am: 0084639ada
am: 0e193786e8

Change-Id: Icdd6ae9a045e801806fdfd449f7d36fd8f50c7d3
2018-07-30 10:42:58 -07:00
Yifan Hong
0e193786e8 Merge "matrix: Enforce kernel requirements in OTA only when flag is set."
am: 0084639ada

Change-Id: Iad98f059fd3a15a7bd5dffa1c53300340e3f9e19
2018-07-30 10:38:43 -07:00
Yifan Hong
f529c34cc4 matrix: Enforce kernel requirements in OTA only when flag is set.
Enforce only when PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS
is set. If a device does want to require kernel configs, it has to
provide info for new kernel in OTA package.
Bug: 111840577
Test: build and manual inspection

Change-Id: I36b3fcd9d14a9795aaf8d020bba6180c5e8681d1
2018-07-27 12:42:28 -07:00
Steve Muckle
3528bab763 Merge "change kernel config naming convention" am: f4fdfc325f am: 0564f4d6a9 am: 25b6255792
am: a156c4fdc6

Change-Id: Id7b51c88ac8698f7b58c7a815c0a19766baffc01
2018-07-25 16:44:58 -07:00
Steve Muckle
25b6255792 Merge "change kernel config naming convention" am: f4fdfc325f
am: 0564f4d6a9

Change-Id: I022e2854b4282034b409aa9f19470b42301cb17f
2018-07-25 16:35:53 -07:00
Steve Muckle
0564f4d6a9 Merge "change kernel config naming convention"
am: f4fdfc325f

Change-Id: I4c9e0e3baa0ec27ecb9e74f4accff4e2d2b91790
2018-07-25 16:31:47 -07:00
Steve Muckle
914a897385 change kernel config naming convention
The kernel config naming convention is being modified
to use .config instead of .cfg.

Bug: 111762107
Test: builds
Change-Id: I33fb46226313abc2c8e854301cef1ac1b34342d2
2018-07-23 17:30:28 -07:00
TreeHugger Robot
4d887f79ba Merge "Update power hidl to version 1.3 in compatibility_matrix.current.xml." 2018-06-23 01:30:11 +00:00
Peiyong Lin
4926bc12c4 Merge "Update power HAL to version 1.3." into pi-dev am: d8725d1521
am: ccb69d4d5b

Change-Id: I21afd7ffa7370e940993e5b316bc1075bddfa6fe
2018-06-22 16:50:58 -07:00
Peiyong Lin
ccb69d4d5b Merge "Update power HAL to version 1.3." into pi-dev
am: d8725d1521

Change-Id: I75ff593c6135dd77fb0bc03ec7ca53dc05ae06e2
2018-06-22 16:47:28 -07:00
Michael Wright
07eabef427 Update power HAL to version 1.3.
Adds new EXPENSIVE_RENDERING power hint.

This adds a new library which does not affect any pre-existing
targets unless they create and add a new binary which uses this.

BUG: 110112323
Test: adb shell /data/nativetest/VtsHalPowerV1_3TargetTest/VtsHalPowerV1_3TargetTest
Change-Id: I5fb33abbbe4c4958882a106dfa400ad74013e40d
2018-06-22 19:36:58 +00:00