Commit graph

214 commits

Author SHA1 Message Date
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
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
Yifan Hong
222803af27 Add current compatibility matrix for R.
Bug: 126892442
Test: builds
Change-Id: I1cccddf0736e0ffd5e3b5bb2da3bb5a32773f2f5
2019-05-21 12:59:42 -07: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
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