Commit graph

442 commits

Author SHA1 Message Date
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
Lev Proleev
a927c57a86 Revert "Increase neuralnetworks compatibility to 1.3"
This reverts commit 485abc99bc.

Reason for revert: the topic breaks git_qt-dev-plus-aosp

Change-Id: I5449cd84fe3085dd90a5f45c7fb4f13577b8b4f2
2019-10-10 13:54:42 +00:00
Michael Butler
485abc99bc Increase neuralnetworks compatibility to 1.3
Bug: 139120468
Test: mma
Change-Id: Ic41febe005dfefe834587ec67fdda52e112c37cb
Merged-In: Ic41febe005dfefe834587ec67fdda52e112c37cb
(cherry picked from commit 7259f3ab24)
2019-10-09 14:18:49 +01:00
Harpreet "Eli" Sangha
8502c2fd7c vibrator: Support Async Callback APIs
Bug: 136220871
Test: Manually via 'cmd vibrator'
Change-Id: I4201538e4b2e663ac0215c1deb1047658f4d602e
2019-10-09 13:52:54 +09:00
Kevin Rocard
e2fd183d62 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
Signed-off-by: Kevin Rocard <krocard@google.com>
2019-10-08 11:07:27 +01:00
David Anderson
e8f1a7fdc8 Introduce IBootControl 1.1.
libsnapshot needs to communicate to the bootloader that a merge is in
progress. This can be used to prevent factory data resets, prevent
flashing or wiping userdata/metadata, and warning when the active slot
changes.

Bug: 138861550
Test: builds
Change-Id: I577877696b5ec6920b9520d518374931ce9ddfaa
Merged-In: I577877696b5ec6920b9520d518374931ce9ddfaa
2019-10-07 12:41:46 -07:00
David Anderson
21ed9de1fb Introduce IBootControl 1.1.
libsnapshot needs to communicate to the bootloader that a merge is in
progress. This can be used to prevent factory data resets, prevent
flashing or wiping userdata/metadata, and warning when the active slot
changes.

Bug: 138861550
Test: builds
Change-Id: I577877696b5ec6920b9520d518374931ce9ddfaa
2019-10-07 12:32:55 -07:00
Michael Butler
7259f3ab24 Increase neuralnetworks compatibility to 1.3
Bug: 139120468
Test: mma
Change-Id: Ic41febe005dfefe834587ec67fdda52e112c37cb
2019-10-04 14:36:01 -07:00
TreeHugger Robot
dd7ddab13e Merge "composer: Add getDisplayConnectionType" 2019-10-03 19:47:13 +00:00
Dominik Laskowski
ce44a4b363 composer: Add getDisplayConnectionType
Distinguish between internal and external displays, to obviate assuming
that the first display is internal and subsequent displays are external.

Note that connector types (e.g. DSI, HDMI, DisplayPort) are not enumerated,
since that information is irrelevant for internal connections, and can be
extracted from the EDID for external connections in the few cases where it
matters, e.g. gating features like daisy chaining and content protection.

Bug: 134771872
Test: Build
Change-Id: I8a27e4ef569626620711910fcbaed5a7e12e6870
2019-10-02 15:10:41 -07:00
Harpreet "Eli" Sangha
9f290826b8 vibrator: Support Async Callback APIs
Bug: 136220871
Test: Manually via 'cmd vibrator'
Change-Id: I4201538e4b2e663ac0215c1deb1047658f4d602e
2019-10-02 16:17:16 +09:00
Jimmy Chen
1eb823636d wifi: add pmk cache interface
Bug: 36505680
Test: atest VtsHalWifiSupplicantV1_3TargetTest
Test: connect EAP access point and verify PMK cache works correctly.
Change-Id: Iab3a8a69b5fd23bda209c4fa8cf1518c9a1602db
2019-09-25 10:05:51 +08:00
Ahmed ElArabawy
f501a98aad Wifi: Uprev Wifi HAL to 1.4
Move Wifi HAL from 1.3 to 1.4
This commit also include adding the VINTF fragment definition for IWifi
hal.

Bug: 138243400
Test: Builds and wifi works
Change-Id: I5ec9b21f8d6b7e1b5b5e47e26681dd4ed3ffcc2d
2019-09-19 10:37:29 -07:00
Steven Moreland
1a8f1343c3 Merge "Deprecate thermal@1.1 HAL for launching devices." into stage-aosp-master am: 83bb776d31 am: 848e0b9a16 am: 31f51e2331
am: ffa980366d

Change-Id: I7dce227f44d9164f1eac165cbac370f4a4dac32a
2019-08-27 10:11:40 -07:00
Steven Moreland
71521f83cf Deprecate thermal@1.1 HAL for launching devices.
This HAL interface was setup to have multiple clients, but the interface
(and many implementations) didn't separate clients use of callbacks.
That is, one client could delete the callback of the other.

Instead, thermal@2.0 should be used.

Bug: 118792995
Test: assemble_vintf
Change-Id: I2338cf63c6f450b22894406c9426d8d2ddac1057
2019-08-23 09:32:34 -07:00
Marissa Wall
6534164fd6 graphics: rev IAllocator/IMapper to 4.0
Rev the IAllocator/IMapper HIDL interfaces to 4.0. This patch is
a copy paste from IAllocator/IMapper 3.0.

Bug: 136016160
Test: Compiles and boots

Change-Id: Ia7f159f97fe0f812b5f0e10a850715364090883c
2019-07-23 17:08:06 -07:00
Yifan Hong
f41233f7fd Merge "Current (5) matrix: use radio.config@1.2::IRadioConfig" into qt-dev-plus-aosp 2019-07-01 18:58:01 +00:00
Yifan Hong
4bada9d663 Merge "Q matrix: use radio.config@1.2::IRadioConfig" into qt-dev
am: 30ecfabab5

Change-Id: I5a137e792b62710ffed7df80a9bd15d3e08416e8
2019-06-28 22:30:04 -07:00
Yifan Hong
6da3b83996 Current (5) matrix: use radio.config@1.2::IRadioConfig
1.1 IRadioConfig does not exist. radio.config@1.2 is a
minor version uprev that only updates the sub interfaces,
not the top level interface.

Test: builds

Bug: 135172251
Change-Id: Ia576cea29c63850ddb531f7c972fa4ebaecd20c7
2019-06-28 16:58:21 -07:00
Yifan Hong
7d350fed1e Q matrix: use radio.config@1.2::IRadioConfig
1.1 IRadioConfig does not exist. radio.config@1.2 is a
minor version uprev that only updates the sub interfaces,
not the top level interface.

Test: builds
Test: on device with target-level 4, w/o this change,
      with radio config 1.1, see test failure on deprecated
      radio config HAL
Test: on this device, with this change, with radio config 1.1,
      deprecated radio config HAL failure goes away.

Bug: 135172251
Change-Id: Id51870a8a757af0895577a27723cff8ee3ba0fdd
2019-06-28 16:28:54 -07:00
Steven Moreland
40a81306a4 Merge "VINTF CM: changes from 4 into current." into qt-dev-plus-aosp 2019-06-26 17:30:51 +00:00
Steven Moreland
c2be577d25 Merge "compatibility_matrix: specify @1.2::ISap directly" into qt-dev
am: 7a605ba87e

Change-Id: Iecc6ad6d1daf9a7cad5948761efa28a7c42f59ea
2019-06-25 14:05:20 -07:00
Steven Moreland
82205d576c VINTF CM: changes from 4 into current.
compatibility_matrix.4.xml was updated for a late fix in Q, so the
current matrix also needs to be updated.

Bug: 135627722
Test: vts_treble_vintf_test
Change-Id: I0cca7c55007d42ed8e86256b7b280b075378bc40
2019-06-25 11:24:20 -07:00
Steven Moreland
c689517d59 compatibility_matrix: specify @1.2::ISap directly
@1.4::ISap and @1.3::ISap don't exist, so we can't declare a requirement
for them.

Bug: 135627722
Test: reproduce error with vts_treble_vintf_test and then test to see
    this change fixes it.
Change-Id: I8e48fcaf56701087d5720d5133ffa9b23a4ea31e
2019-06-25 18:22:04 +00:00
Steven Moreland
6c1e451691 Merge "Add current compatibility matrix for R." 2019-05-22 17:13:32 +00:00
Yifan Hong
5ec220664c Add current compatibility matrix for R.
Bug: 126892442
Test: builds
Merged-In: I1cccddf0736e0ffd5e3b5bb2da3bb5a32773f2f5
Change-Id: I1cccddf0736e0ffd5e3b5bb2da3bb5a32773f2f5
2019-05-21 20:00:09 +00:00
Yifan Hong
222803af27 Add current compatibility matrix for R.
Bug: 126892442
Test: builds
Change-Id: I1cccddf0736e0ffd5e3b5bb2da3bb5a32773f2f5
2019-05-21 12:59:42 -07:00
Jack Yu
e573c8a46c Update nfc@1.1 to nfc@1.2
Test: Manual
Bug: 129732996
Change-Id: Id7daa539208668727b4d18b9c032c5b68b422afd
Merged-In: Ieaef96a228c8410f8c84aae89a36ac8e494eca68
2019-05-02 08:48:28 +00:00
Anil Admal
11ae50dcc2 Merge "Enforce launched-in-Q devices support gnss@2.0 HAL package (hal)" into qt-dev 2019-05-01 00:21:49 +00:00
Anil Admal
e640a420af Enforce launched-in-Q devices support gnss@2.0 HAL package (hal)
Bug: 121287858
Test: atest VtsTrebleVendorVintfTest
Change-Id: I45d7f3b6c8353141922724df23780d42df870413
2019-04-26 15:12:37 -07:00
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
18cb552a97 Rename kernel config modules from current to Q.
Test: builds
Bug: 130295628
Change-Id: I4f519d9c67a983df15423f556ecc68586c6a100b
Merged-In: I4f519d9c67a983df15423f556ecc68586c6a100b
2019-04-17 22:56:37 +00:00
Yifan Hong
3e39fed7a7 Merge "Rename kernel config modules from current to Q." into qt-dev 2019-04-17 22:48:53 +00:00
Steven Moreland
52f5560d61 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
(cherry picked from commit 86eb7fc62b)
Merged-In: I3daf93d750462bf7dcb698a353801bc55a459d45
2019-04-17 10:24:57 -07: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
Cheney Ni
154fc1fabb Remove bluetooth.a2dp from matrix as deprecated HAL
Bug: 129121468
Test: Manually play A2DP with presubmit build
Change-Id: Id1ddd780361110f6e944a095ce1f8ae7ae86b9e9
Merged-In: Id1ddd780361110f6e944a095ce1f8ae7ae86b9e9
2019-04-11 11:09:52 +00: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
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
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
Peiyong Lin
9475cc240b 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
2018-06-21 14:02:13 -07:00
Yifan Hong
0887627cdd Merge "Do not install assembled framework matrix to device." am: c70978d890 am: bf4d56a5b3
am: 023eb2976e

Change-Id: I8fba1780d3494a32e0b9be2e7990c5b2f89074dd
2018-06-12 14:08:18 -07:00
Yifan Hong
bf4d56a5b3 Merge "Do not install assembled framework matrix to device."
am: c70978d890

Change-Id: I607c056eb99e558b9adf172262392767434243cc
2018-06-12 13:05:11 -07:00
Yifan Hong
774c2bfcca Do not install assembled framework matrix to device.
Test: `m` dist
Test: make system matrix incompatible, `m` dist fails
Test: `m` and /system/etc/vintf files are installed
Bug: 110056937
Change-Id: If0bf2023f48ef31fffaf8636b3893cbfb40270ee
2018-06-11 19:28:15 -07:00
TreeHugger Robot
b37c1b64c8 Merge "Add configstore@1.1 to current matrix." 2018-05-24 22:35:00 +00:00
Jaesoo Lee
efc9693b39 Merge "configstore: configstore HAL uprev'ed to 1.1" into pi-dev am: ce7d394935
am: ff866b9b0d

Change-Id: I3fa3d2b579834c586b149055f158393a9b8991dd
2018-05-24 10:16:51 -07:00
Yifan Hong
dc523a0f59 Merge "P requires 4.14.42" into pi-dev am: 6e839e80bb
am: b50e8777f4

Change-Id: I49dd72822968c7126c2a93b0502fb29cefd271f0
2018-05-24 10:15:59 -07:00
Jaesoo Lee
ff866b9b0d Merge "configstore: configstore HAL uprev'ed to 1.1" into pi-dev
am: ce7d394935

Change-Id: I610b46eb5a8d959e7ebacbc2beecb953b9e5383c
2018-05-23 18:20:47 -07:00
Yifan Hong
b50e8777f4 Merge "P requires 4.14.42" into pi-dev
am: 6e839e80bb

Change-Id: I7d741a1faf84be0dbf452faba71e635ef0db3fbb
2018-05-23 18:07:39 -07:00
TreeHugger Robot
ce7d394935 Merge "configstore: configstore HAL uprev'ed to 1.1" into pi-dev 2018-05-24 00:50:19 +00:00
Jaesoo Lee
712ee82162 configstore: configstore HAL uprev'ed to 1.1
This change provides a reference implementation of the configstore HAL
v1.1.

Bug: 69691076
Test: tested on walleye-userdebug
Change-Id: I68ee224bcbda64f6fef91e8a0f95adb32d504aad
2018-05-23 15:48:36 -07:00
Yifan Hong
75c7e3d5b7 P requires 4.14.42
Test: build and manual inspection of matrices
Change-Id: Ib5223e41c175843babe9039011fe56a616b225af
Fixes: 72409164
2018-05-23 14:59:15 -07:00
Steven Moreland
74274cfbc6 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
2018-05-23 13:35:08 -07:00
Yifan Hong
39c6033ce8 Merge changes from topic "pi_matrix" into pi-dev am: 3569b0273f
am: cdd39fb0d7

Change-Id: Id9d5db03edbd9c53512d385c7c03f3d5eb0081dc
2018-05-16 16:38:32 -07:00
Yifan Hong
cdd39fb0d7 Merge changes from topic "pi_matrix" into pi-dev
am: 3569b0273f

Change-Id: I6c82b5536b11f458b28044cbe8c3ca469f3d88bf
2018-05-16 15:53:58 -07:00
TreeHugger Robot
3569b0273f Merge changes from topic "pi_matrix" into pi-dev
* changes:
  matrix: broadcastradio@2.0::IBroadcastRadio/.*
  matrix: nn@1.0-1
  matrix: graphics.mapper@2.0-1
  matrix: graphics.composer@2.1-2
2018-05-16 22:32:30 +00:00
Yifan Hong
f46d4d907e Merge "Update kernel minor revision for P." into pi-dev am: ae4136070e
am: f2fda5e4df

Change-Id: Iae6c5a640e395beaef06471ffcd2bae26c0f29b2
2018-05-16 15:31:45 -07:00
Yifan Hong
f2fda5e4df Merge "Update kernel minor revision for P." into pi-dev
am: ae4136070e

Change-Id: I0ad36b2b03aee9f2b7e87b7befbfe7750be8eee4
2018-05-16 15:08:30 -07:00
Yifan Hong
e18d1cd547 matrix: broadcastradio@2.0::IBroadcastRadio/.*
Test: builds
Bug: 79871481
Change-Id: Icd81124f74f60443f48322ab882cb6170b61ebb7
2018-05-16 14:31:19 -07:00
Yifan Hong
9b917bd21a matrix: nn@1.0-1
Test: builds
Bug: 79871481
Change-Id: I5d68a32dbbe740738e202aebf9cf867a39f48be8
2018-05-16 14:28:10 -07:00
Yifan Hong
71965a570d matrix: graphics.mapper@2.0-1
Test: builds
Bug: 79871481
Change-Id: I32accd4f4a20843c3491b1e5fa4508107bb275cd
2018-05-16 14:27:37 -07:00
Yifan Hong
84dd44b630 matrix: graphics.composer@2.1-2
Test: builds
Bug: 79871481
Change-Id: Icaa31db4b6c5795474fd423a3ac65562fb6a6e6d
2018-05-16 14:26:43 -07:00
Yifan Hong
22af37df18 Update kernel minor revision for P.
These are the P requirements of kernel versions:
4.4.107, 4.9.84, 4.14.40.

Test: build and manual inspection of matrices
Test: boots
Test: vts_treble_vintf_test

Change-Id: Ic3cec1395e960000b70c6e001aa4981a9ffcd8c6
Fixes: 72409164
2018-05-16 11:07:28 -07:00
Steven Moreland
b713793f93 rename BUILT_SYSTEM_{COMPATIBILITY_,}MATRIX am: 515324a7a4 am: 240aa37762
am: 93df7cf513

Change-Id: Ia233238a01ef612e178a91d1a5e08a5ec72b0c76
2018-05-02 18:36:44 -07:00
Steven Moreland
9679cb8942 Remove early checks on manifest. am: a5cca55a1f am: e03003b4de
am: 5920eae277

Change-Id: I8637f62475356fb7999f2085f191500a03d10bdb
2018-05-02 18:36:37 -07:00
Steven Moreland
93df7cf513 rename BUILT_SYSTEM_{COMPATIBILITY_,}MATRIX am: 515324a7a4
am: 240aa37762

Change-Id: Ib11c05f8591c559d70154f8d06007f7d3c027342
2018-05-02 18:29:05 -07:00
Steven Moreland
5920eae277 Remove early checks on manifest. am: a5cca55a1f
am: e03003b4de

Change-Id: I6932f9a4091ad6d3d6ab1c9c2ee464becd53752f
2018-05-02 18:29:00 -07:00
Steven Moreland
515324a7a4 rename BUILT_SYSTEM_{COMPATIBILITY_,}MATRIX
For consistency with BUILT_VENDOR_MATRIX.

Bug: 66917623
Test: manual
Change-Id: I666eceeb9fc20e5f5754f605c2fbb6530e51b326
2018-05-01 18:36:30 -07:00
Steven Moreland
a5cca55a1f Remove early checks on manifest.
These are to be checked in verify_vintf_matrices at
the end of the build when all of the manifest fragments
are available.

Bug: 66917623
Test: check that verify_vintf_matrices hits these checks
Change-Id: I3f184a05a6a95751384da077257dddcf73d3a6f2
2018-05-01 18:36:30 -07:00
android-build-team Robot
0aa7b9ccb8 Merge "matrix: copy kernel configs to subdirectory." into pi-dev am: 14bdba8865
am: faf69300b6

Change-Id: Iba9dd65c68d9b90e8162c3be67416df0be0624d0
2018-04-30 23:18:41 -07:00
Yifan Hong
a6a1e0b2d2 Restore kernel requirements for frozen matrices.
Requirements for legacy/1/2.xml has changed because
android-base.cfg files are changed. These files should
build from an older snapshot of the requirements.

Fixes: 78576469
Test: builds
Test: vts_treble_vintf_test

Change-Id: I908ebbe495ae06f983ef983a1be7937cf6be1c12
Merged-In: I908ebbe495ae06f983ef983a1be7937cf6be1c12
2018-04-30 17:27:46 -07:00
Yifan Hong
d8a4d3463e Add 4.14.0 kernel to all matrices.
P framework can work with 4.14 kernel. 0 should
be updated to the correct value in a follow-up
patch.

This creates the following tags in all matrices:
Kernel 4.14 common requirements
Kernel 4.14 requirements on CONFIG_ARM is set
Kernel 4.14 requirements on CONFIG_ARM64 is set

Bug: 72409164
Bug: 77886167
Test: manually inspect built matrix
Change-Id: I82168df314ad61b21440ec5c703db8358468e083
Merged-In: I82168df314ad61b21440ec5c703db8358468e083
2018-04-30 16:33:56 -07:00
Yifan Hong
efbb22fec4 matrix: copy kernel configs to subdirectory.
Bug: 78576469
Test: make vintf metadata and manual inspect
Test: vts_treble_vintf_test
Change-Id: Ie3c299e74c9479cbf9a868aeef96f5850feb8cfe
2018-04-30 15:41:41 -07:00
Steven Moreland
2d2e2d5c05 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
2018-04-30 14:28:49 -07:00
Yifan Hong
366101caf4 Restore kernel requirements for frozen matrices.
Requirements for legacy/1/2.xml has changed because
android-base.cfg files are changed. These files should
build from an older snapshot of the requirements.

Fixes: 78576469
Test: builds
Test: vts_treble_vintf_test

Change-Id: I908ebbe495ae06f983ef983a1be7937cf6be1c12
2018-04-26 18:40:37 -07:00
Steven Moreland
db33cf2552 Deprecate nfc@1.0 for P.
nfc@1.0 requires a conf file (libnfc-nci.conf) in order to work.
Since this file has no schema, it is a system<->vendor violation
and must be placed on the system image, however this makes the
system image non-generic.

nfc@1.1 contains this configuration in the interface, and so it
can be used entirely without creating a Treble violation.

Test: P-launching devices have nfc@1.1
Bug: 72080121
Change-Id: I7a99eb7cd5e577be0c70b4c5124f28fa471717e6
2018-04-23 09:30:37 -07:00
Yifan Hong
26e3a58f53 Add 4.14.0 kernel to all matrices.
P framework can work with 4.14 kernel. 0 should
be updated to the correct value in a follow-up
patch.

This creates the following tags in all matrices:
Kernel 4.14 common requirements
Kernel 4.14 requirements on CONFIG_ARM is set
Kernel 4.14 requirements on CONFIG_ARM64 is set

Bug: 72409164
Bug: 77886167
Test: manually inspect built matrix
Change-Id: I82168df314ad61b21440ec5c703db8358468e083
2018-04-12 16:18:15 -07:00
Steven Moreland
92ea6540a5 Freeze current as compatibility_matrix.3.xml.
This freezes the current compatibility_matrix for
Android P.

Fixes: 68112778
Test: m (assemble_vintf checks devices)

Change-Id: Ida30b7ba7f5df7c2755bd7c737190574b9195a92
2018-04-03 11:19:40 -07:00
Steven Moreland
61f1ddf635 Add confirmationui to compatibility matrix.
Bug: 68112778
Test: install compatibility matrix
Change-Id: Ibab77dce5848b0843c5c33048e7d027f0d3fe099
2018-04-02 15:02:26 -07:00
Steven Moreland
adbe943fd5 Add automotive.audiocontrol to compatibility matrix.
Bug: 68112778
Test: install compatibility matrix
Change-Id: I0829a91d2f715886dc226131d4ef50ad0dec8075
2018-04-02 15:01:13 -07:00
Yifan Hong
e84319da9d Merge "matrix: add radio.config" into pi-dev 2018-04-02 18:21:01 +00:00
TreeHugger Robot
1398462d18 Merge "matrix: secure_element use regex eSE[1-9][0-9]*" into pi-dev 2018-03-30 20:57:29 +00:00
TreeHugger Robot
e7fb362dc1 Merge "matrix: radio 1.0-2 IRadio/slot[1-3], ISap/slot1" into pi-dev 2018-03-30 20:09:56 +00:00
Yifan Hong
45ab966221 matrix: secure_element use regex eSE[1-9][0-9]*
Bug: 68112778
Bug: 73738616
Test: m framework_compatibility_matrix.xml

Change-Id: Ia9db2d3e55c0745f715de14be768ee73adaad988
2018-03-30 12:31:52 -07:00
Yifan Hong
1f8a14fce5 Merge "matrix: add gnss 1.1" into pi-dev 2018-03-30 18:04:20 +00:00
Yifan Hong
a1f7f7171a matrix: radio 1.0-2 IRadio/slot[1-3], ISap/slot1
Framework only uses these instances. If a vendor extension
of the framework use more instances, they should be added
via DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE.

Bug: 68112778
Test: builds + treehugger (telephony test)
Change-Id: Ie08db3c61f940d78e33f46ecc36e931dc688a7aa
2018-03-30 10:51:20 -07:00
Yifan Hong
ae85d49b31 Merge "matrix: add nfc 1.1" into pi-dev 2018-03-30 17:34:42 +00:00
Yifan Hong
f56d92f582 Merge "matrix: add bluetooth.a2dp" into pi-dev 2018-03-30 17:27:48 +00:00
Yifan Hong
860d745e0d matrix: add bluetooth.a2dp
Add bluetooth.a2dp to matrix as optional HAL.

Bug: 68112778
Test: m framework_compatibility_matrix.xml

Change-Id: I818a1d278eeae625f563ce74f056140407c50a64
2018-03-30 00:14:24 +00:00
Yifan Hong
fd7674f596 matrix: add gnss 1.1
Add gnss 1.1 to matrix as optional HAL.

Bug: 68112778
Test: m framework_compatibility_matrix.xml

Change-Id: I4a3676ab85db6c4bd632224298524dfa70f9ecf6
2018-03-30 00:10:06 +00:00
Yifan Hong
da9ee894a2 matrix: add nfc 1.1
Add nfc 1.1 to matrix as optional HAL.

Bug: 68112778
Test: m framework_compatibility_matrix.xml
Change-Id: I48ea252b5f6318f091ecf91dfaee8b71625eafe3
2018-03-30 00:09:19 +00:00
Yifan Hong
3874ebc5b2 matrix: add radio.config
Add radio.config to matrix as optional HAL.

Bug: 68112778
Test: m framework_compatibility_matrix.xml
Change-Id: If4466e3f189897219b33cf7da09883cf63c66de3
2018-03-30 00:08:31 +00:00
Yifan Hong
e62d476e3d matrix: ENFORCE_NO_UNUSED_HALS
Enforce that all hals in the device manifest are
in framework compatibility matrix -- at build time.

Bug: 65028233
Test: build a phone without DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX.
Change-Id: Ibf220f80ca3621ddbf8288d372d5f40336e45248
Merged-In: Ibf220f80ca3621ddbf8288d372d5f40336e45248
2018-03-29 14:55:07 -07:00
Yifan Hong
4d6c4a96ae matrix: generalize case for LOCAL_WARN_REQUIRED_HALS
Add LOCAL_ASSEMBLE_VINTF_ENV_VARS_OVERRIDE and
LOCAL_ASSEMBLE_VINTF_ERROR_MESSAGE for a more generic case.

Test: m framework_compatibility_matrix.xml -j
Bug: 65028233
Change-Id: Iec142d161daa18122e7a6daebb82c7230cb98ba6
Merged-In: Iec142d161daa18122e7a6daebb82c7230cb98ba6
2018-03-29 14:55:07 -07:00
Yifan Hong
b2a83d1770 matrix: IGNORE_TARGET_FCM_VERSION -> VINTF_*
All "private" environment variables to assemble_vintf
(inserted by the build rules, not build system variables)
should have this prefix (to distinguish against,
e.g. PRODUCT_ENFORCE_VINTF_MANIFEST)

Test: m framework_compatibility_matrix -j

Bug: 65028233
Change-Id: Iaefa88cefc0918fb86235ea6fcd8e367cbd82788
Merged-In: Iaefa88cefc0918fb86235ea6fcd8e367cbd82788
2018-03-29 14:55:07 -07:00
Yifan Hong
37ad8c4f64 matrix: define LOCAL_MODULE for all modules.
Test: m framework_compatibility_matrix -j
Bug: 65028233
Change-Id: Iab61771b8ebe0e1b771404bb25a0a04caf399585
Merged-In: Iab61771b8ebe0e1b771404bb25a0a04caf399585
2018-03-29 14:55:07 -07:00
Yifan Hong
7d61a8d47b matrix: ENFORCE_NO_UNUSED_HALS
Enforce that all hals in the device manifest are
in framework compatibility matrix -- at build time.

Bug: 65028233
Test: build a phone without DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX.
Change-Id: Ibf220f80ca3621ddbf8288d372d5f40336e45248
2018-03-29 11:29:32 -07:00
Yifan Hong
3693fe4ab5 matrix: generalize case for LOCAL_WARN_REQUIRED_HALS
Add LOCAL_ASSEMBLE_VINTF_ENV_VARS_OVERRIDE and
LOCAL_ASSEMBLE_VINTF_ERROR_MESSAGE for a more generic case.

Test: m framework_compatibility_matrix.xml -j
Bug: 65028233
Change-Id: Iec142d161daa18122e7a6daebb82c7230cb98ba6
2018-03-29 11:29:32 -07:00
Yifan Hong
e0cad7a553 matrix: IGNORE_TARGET_FCM_VERSION -> VINTF_*
All "private" environment variables to assemble_vintf
(inserted by the build rules, not build system variables)
should have this prefix (to distinguish against,
e.g. PRODUCT_ENFORCE_VINTF_MANIFEST)

Test: m framework_compatibility_matrix -j

Bug: 65028233
Change-Id: Iaefa88cefc0918fb86235ea6fcd8e367cbd82788
2018-03-29 11:29:32 -07:00
Yifan Hong
7831d437d4 matrix: define LOCAL_MODULE for all modules.
Test: m framework_compatibility_matrix -j
Bug: 65028233
Change-Id: Iab61771b8ebe0e1b771404bb25a0a04caf399585
2018-03-29 11:29:32 -07:00
TreeHugger Robot
4e2a68ee79 Merge "Build DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE" into pi-dev 2018-03-29 03:21:33 +00:00
Yifan Hong
dc83563449 matrix: Set drm 1.1/* as required, 1.0/* as optional
This correctly specifies the requirement of framework
on device. Specifically:

A device at target FCM version 2 is still required to
provide 1.0/default as specified in 2.xml.

Combined matrix at FCM version 2 has the following:
optional: 1.1/.*
optional: 1.0/.*
required: 1.0/default

A device at target FCM version 3 is required to provide
1.0-1/(any instance) as specified in 3.xml.

Matrix at FCM version 3 has the following:
required: 1.1/.*
optional: 1.0/.*

OTA: old libvintf does not recognize the <regex-instance>
tag, and parse this as "no instance requirements"
(satisfyAllInstances returns true). Hence this should
state no restrictions for old libvintf.

Caveat:
if a device does not provide any DRM instance, OTA
(specifically, full OTA that upgrades vendor image to
target level 3) will pass, but when the device is booted
there will be run-time checks about inconsistent builds
and VTS failures. But this case should be caught at build
time.

Test: vts_treble_vintf_test
Test: vts_testability_checker64 --compliance \
      android.hardware.drm@1.0::IDrmFactory
Test: vts_testability_checker64 --compliance \
      android.hardware.drm@1.1::IDrmFactory
Fixes: 73556059
Bug: 68112778
Change-Id: I45c76356d304a94d716eddebc621d367c0ce165a
2018-03-29 00:48:30 +00:00
Yifan Hong
13df628b8f Build DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE
... along with compatibility_matrix.device.xml.
The new module cm.device.xml contains the original content
of empty.xml (kernel configs, sepolicy, etc.) as well
as HALs from DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE.
This variable points to a framework compatibility matrix
that contains framework HALs as a vendor extension; all
HALs in this file must be optional.

Bug: 65028233
Test: m framework_compatibility_matrix.xml -j and manual inspection
Test: vts_treble_vintf_test

Change-Id: I94949f62f7f5b332d845f2e7fa4714df7c49ed3e
Merged-In: I94949f62f7f5b332d845f2e7fa4714df7c49ed3e
2018-03-28 17:45:26 -07:00
TreeHugger Robot
28efdacd2c Merge "matrix: camera HAL uses [^/]+/[0-9]+ instance." into pi-dev 2018-03-28 20:51:08 +00:00
TreeHugger Robot
2953a165c7 Merge "matrix: NN HAL uses .* instance." into pi-dev 2018-03-28 17:54:58 +00:00
Yifan Hong
383860105f matrix: NN HAL uses .* instance.
Use regular expression. NN HAL is a new
HAL so this does not break OTA.

Bug: 73738616
Test: builds
Test: vts_treble_vintf_test (compatible and No deprecate HALs)
Change-Id: I1bfb916854c62fa75d341d4572a15a944178eb47
2018-03-28 17:50:40 +00:00
Yifan Hong
f945261b30 matrix: camera HAL uses [^/]+/[0-9]+ instance.
Use regular expression. Camera HAL is an optional
HAL so this does not break OTA.

Bug: 73738616
Test: builds
Test: vts_treble_vintf_test (compatible and No deprecate HALs)
Change-Id: Idf2b8cbe49f5a913df744833147bb1c48588c956
2018-03-27 23:49:16 +00:00
Yifan Hong
fee9ea41cc Build DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE
... along with compatibility_matrix.device.xml.
The new module cm.device.xml contains the original content
of empty.xml (kernel configs, sepolicy, etc.) as well
as HALs from DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE.
This variable points to a framework compatibility matrix
that contains framework HALs as a vendor extension; all
HALs in this file must be optional.

Bug: 65028233
Test: m framework_compatibility_matrix.xml -j and manual inspection
Test: vts_treble_vintf_test

Change-Id: I94949f62f7f5b332d845f2e7fa4714df7c49ed3e
2018-03-27 16:28:51 -07:00
Yifan Hong
9b3392dcb5 matrix: radio HAL uses slot[0-9]+ instance.
Use regular expression. Radio HAL is an optional
HAL so this does not break OTA.

Bug: 73738616
Test: builds
Test: vts_treble_vintf_test (compatible and No deprecate HALs)
Change-Id: I00a0d97a9528e0c4a72bde6244e47dc2842686ed
2018-03-27 15:24:29 -07:00
nagendra modadugu
8862966152 Add strongbox KM instance as optional
The strongbox instance of the Keymaster 4.0 HAL
is optional, as not all P devices are expected
to provide an implementation.

Test: builds
Bug: 68112778
Change-Id: I96a18cb31058d82b04ba3486a88ceac26058a7d2
2018-03-20 14:21:42 -07:00
nagendra modadugu
597197a5bf Remove KM strongbox instance temporarily
Strongbox is not supported on all devices
and breaks device builds (cf_x86_phone-userdebug).

This change to be relanded once dependencies are resolved.

Test: builds
Bug: 68112778
Change-Id: I846cdbcfdf7d0a76e0c86518da8a1bb4eeed3caa
2018-03-20 14:08:46 -07:00
nagendra modadugu
02d1bb7a96 Add strongbox KM instance to compatibilty matrix
Test: builds
Bug: 68112778
Change-Id: If04ff2b5ab95dd1a17c145f509657e5438d00bdc
2018-03-19 18:11:02 -07:00
Steven Moreland
6684b2c65c Fix order of compatibility matrix.
Bug: 65028233
Test: N/A
Change-Id: I46a0f86d19ba74186fc6eac32fa7c7b2289bcbdb
2018-03-19 11:23:56 -07:00
Yifan Hong
1d853503ef Update compatibility_matrix.current.xml.
Add the following:
    android.hardware.neuralnetworks@1.0::IDevice/hvx
    android.hardware.soundtrigger@2.1::ISoundTriggerHw/default
    android.hardware.usb.gadget@1.0::IUsbGadget/default
    android.hardware.vibrator@1.2::IVibrator/default
    android.hardware.wifi.hostapd@1.0::IHostapd/default
    android.hardware.wifi.supplicant@1.1::ISupplicant/default
    android.hardware.wifi@1.2::IWifi/default

Test: builds (checks VINTF data at build time)
Bug: 68112778
Change-Id: I3c48f2c35c1a7a63549b1a30c9c2bb02d707a4a2
2018-03-16 16:32:25 -07:00
Kevin Rocard
802931b173 Only allow audio V4 for devices targeting level 3
Device targeting the last level must use the last version of the
audio HAL.

Bug: 38184704
Test: cuttlefish has no build target, so there is no way to test,
      nevertheless the exact same trivial change was made to Pixel 2
Change-Id: If767803e08caf5b03edcea26fd8dba1cca12cc38
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-07 19:12:50 -08:00
Kevin Rocard
5b84bbb548 Audio V4: Require audio V4 in new devices, optional for upgrades
Upgrading devices are allowed to stay on audio V2,
but can also update to V4.

Bug: 38184704
Test: compile and check V4 can be loaded and functional with lshal
Change-Id: Ib1c8381925837a8402ae535755a0558afcf26f4d
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-06 18:30:23 +00:00
nagendra modadugu
897dbb572c keymaster: add 4.0 to compatibility matrix
Change-Id: I53af1c33f05b73459372a8f8bfc8c0997a925a92
2018-03-01 17:26:12 -08:00
Yifan Hong
e3d0fd346b Merge "Fwk matrix use PLATFORM_SEPOLICY_*" am: 8f7ff5730b am: 9dda065989
am: 777d18ccaf

Change-Id: I076b6a910f6b6c43b00beb42cdf19502514f2e9f
2018-02-07 23:21:49 +00:00
Yifan Hong
b426af39ad Fwk matrix use PLATFORM_SEPOLICY_*
It used BOARD_SEPOLICY_VERS as a workaround, which is incorrect.

Test: m framework_compatibility_matrix.xml -j
Bug: 67920434
Change-Id: I029edd2f573740af272f8b767bb1ec5cc1dc0415
2018-02-05 13:45:36 -08:00
Ruchi Kandoi
54791a993b Merge "Add VTS Test for Secure Element HAL" am: 6a75cdbe96 am: 3b24df528a
am: 6e3948f36b

Change-Id: I0a360479fd9f31352bacb4b857672f642c99b253
2018-02-02 06:55:31 +00:00
Ruchi Kandoi
22a4d0e07e Add VTS Test for Secure Element HAL
Test: Run VTS test
Bug: 64881253
Change-Id: If77d87c88bd073409dce3d18aba8f15a1267a80e
2018-01-31 11:51:48 -08:00
Yifan Hong
21bd732f22 Merge changes from topic "vintf_kernel_ver" am: f3dd36fd5c am: 3c0032a742
am: ec8fb9e8ef

Change-Id: I2ddb722ec90ea07dc0b8d234fa55ac85b2cb8d6e
2018-01-24 22:52:44 +00:00
Yifan Hong
94b7d2ca19 Compatibility matrices: add minor revision to kernel versions
Test: builds
Bug: 72388844
Change-Id: Id60cef10610f39d70eebccbeb6e625e3d93795c6
2018-01-23 17:28:27 -08:00
Yifan Hong
44c9b2e1f4 Compatibility matrices: kernel req at each FCM version
* devices with Shipping FCM version
   legacy / O / O-MR1 use 3.18, 4.4, 4.9

* devices with Shipping FCM version P use 4.4 4.9

Bug: 72389707

Test: manual inspection on
$OUT/system/etc/vintf/compatibility_matrix.*.xml

Change-Id: I4f37325c0210f88e9e6d3e7136a82d50da3e93fe
2018-01-23 17:28:27 -08:00
Wei Wang
277ce85c27 add powerhal 1.2 to compatibility_matrix
Bug: 71613821
Test: Build
Change-Id: I4587028c5c38e35e00522b2e9041f0b07ac7e036
2018-01-16 18:37:58 -08:00
Yifan Hong
c8b8599fd4 Merge "Install all comp mat to system image" am: 1612a3c27e am: 8f44cca63e
am: c420de7939

Change-Id: Iee2942bb2b8ce0874ea8bfed781368d8ac5284c8
2018-01-11 19:28:51 +00:00
Yifan Hong
2d8442c762 Install all comp mat to system image
Moved framework_compatibility_matrix.xml module definition
from target/board/Android.mk here because it depends on
compatibility_matrix.*.xml.

Test: m dist
Bug: 69636193

Change-Id: I7480b27756992b47555f6b397925170ae9d1ac22
2018-01-10 19:17:23 -08:00