Commit graph

225 commits

Author SHA1 Message Date
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
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
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
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
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
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