Commit Graph

28605 Commits

Author SHA1 Message Date
Slava Shklyaev
5efe702d3b Merge "Migrate NNAPI to canonical types" 2020-10-27 09:51:56 +00:00
stevensd
55493667bd Merge "graphics: fix use-after-free in mapper 2.0 passthrough" am: 2d82c11b0f am: 4d7af21173 am: 2213315dff am: c384897178
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1468882

Change-Id: Ib5a6b58f5607e071c559192e028b43329247651c
2020-10-27 02:03:50 +00:00
stevensd
c384897178 Merge "graphics: fix use-after-free in mapper 2.0 passthrough" am: 2d82c11b0f am: 4d7af21173 am: 2213315dff
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1468882

Change-Id: I39ef92439dee2658a592f80b53a32ac8e3440ec1
2020-10-27 01:42:41 +00:00
stevensd
2213315dff Merge "graphics: fix use-after-free in mapper 2.0 passthrough" am: 2d82c11b0f am: 4d7af21173
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1468882

Change-Id: Iedd577650d8a1dffd70ffa81014eae06999b2483
2020-10-27 01:02:18 +00:00
stevensd
4d7af21173 Merge "graphics: fix use-after-free in mapper 2.0 passthrough" am: 2d82c11b0f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1468882

Change-Id: If1e261b913564d29ca15c5426408668650cba02e
2020-10-27 00:49:38 +00:00
stevensd
2d82c11b0f Merge "graphics: fix use-after-free in mapper 2.0 passthrough" 2020-10-27 00:35:56 +00:00
Amy Zhang
9b56370985 Merge "Add Scrambling Status Monitor merchanism in Tuner 1.1" 2020-10-26 21:34:07 +00:00
Amy Zhang
803f77cd47 Merge "Add new Frontend Status Types and a new scan msg in Tuner HAL 1.1" 2020-10-26 19:36:49 +00:00
TreeHugger Robot
c66e023c62 Merge "audio: Align lists of enum values between framework and HAL" 2020-10-26 18:24:08 +00:00
Amy Zhang
b6d44ea486 Add Scrambling Status Monitor merchanism in Tuner 1.1
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 158779948
Change-Id: Ie6d837dba732e213180ae5fac0ee86f9d310fa33
2020-10-26 10:56:49 -07:00
Kevin Chyn
4239f892ee Merge "Add default implementation for several methods" 2020-10-26 17:41:59 +00:00
TreeHugger Robot
c96601d211 Merge "Ability to configure NR dual connectivity" 2020-10-26 03:33:26 +00:00
Sooraj Sasindran
edeee5a914 Ability to configure NR dual connectivity
Provide ability to configure EUTRANR dual
connectivity

Bug: 162373679
Test: build
Change-Id: I628edc2d6157ab2db279c2f32deb57798f2dd9ce
2020-10-25 18:47:50 -07:00
TreeHugger Robot
3d1869c3cf Merge "wifi: add transition disable callback API" 2020-10-25 17:19:20 +00:00
Baligh Uddin
f851a6dc0a Merge "Switch "system/core/base" ref to "system/libbase"" am: cc1d613e76 am: 04b0bdee74 am: 4a70e3bf2f am: e2fe5c416b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1470497

Change-Id: I4bc2b64599496a225d3a2093175199eeca3ee0b5
2020-10-24 14:31:41 +00:00
Baligh Uddin
e2fe5c416b Merge "Switch "system/core/base" ref to "system/libbase"" am: cc1d613e76 am: 04b0bdee74 am: 4a70e3bf2f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1470497

Change-Id: I86b037e525ee30e3fb3db62bfefdae3b46c5ba73
2020-10-24 03:31:27 +00:00
Baligh Uddin
4a70e3bf2f Merge "Switch "system/core/base" ref to "system/libbase"" am: cc1d613e76 am: 04b0bdee74
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1470497

Change-Id: Ie15599eb365e4dd3559b00376bc73a034b9dbb96
2020-10-24 02:58:50 +00:00
Treehugger Robot
d8dcc34e3f Merge "android.hardware.common: support Java" am: ada6d347a2 am: 9d04438152 am: 712b569a9a am: 810b3bb2d7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1469694

Change-Id: I781bb0b541f599c5c4dcf2bf1983aa308ebe2629
2020-10-24 02:34:38 +00:00
Baligh Uddin
04b0bdee74 Merge "Switch "system/core/base" ref to "system/libbase"" am: cc1d613e76
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1470497

Change-Id: I5885afe955ece8f742f408c630db35ba8f911f9d
2020-10-24 02:04:48 +00:00
Treehugger Robot
810b3bb2d7 Merge "android.hardware.common: support Java" am: ada6d347a2 am: 9d04438152 am: 712b569a9a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1469694

Change-Id: Ib266c556d5e4571e7c07ff44b4eb31f6981c1682
2020-10-24 01:54:15 +00:00
Baligh Uddin
cc1d613e76 Merge "Switch "system/core/base" ref to "system/libbase"" 2020-10-24 01:40:47 +00:00
Treehugger Robot
712b569a9a Merge "android.hardware.common: support Java" am: ada6d347a2 am: 9d04438152
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1469694

Change-Id: I03c84d1a73baf382773e1afe6eaf412adbf75874
2020-10-24 01:16:27 +00:00
Treehugger Robot
9d04438152 Merge "android.hardware.common: support Java" am: ada6d347a2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1469694

Change-Id: I6648c7221afe53991e866dcf657280dfc80efca2
2020-10-24 00:36:38 +00:00
Treehugger Robot
ada6d347a2 Merge "android.hardware.common: support Java" 2020-10-24 00:20:10 +00:00
Enrico Granata
3ba5d228ba Allow changing the mock location returned by GNSS HAL
This CL introduces a new lshal debug command for GNSS HAL
  location [lat=..] [lon=..] [ele=..] that allows changing
the mock location provided by GNSS HAL to clients

This can be used manually to configure a single mock location,
or in a scripted scenario to, e.g., supply a set of locations
from a GPX file to simulate a moving device

Bug: None
Test: set different locations via command line to Cuttlefish device, e.g.
$ adb shell lshal debug android.hardware.gnss@2.1::IGnss/default location lat=46.6317 lon=-114.0789
Change-Id: I7217c59f66f1ee7f5a9bd3f3dd3af7be4b43c024
2020-10-23 19:23:43 +00:00
Jimmy Chen
77f2c0780c wifi: add transition disable callback API
Bug: 160643860
Test: atest VtsHalWifiSupplicantV1_4TargetTest
Change-Id: I66839d6766b39483c78919aaa42d42db032f87a7
2020-10-23 18:47:00 +08:00
Baligh Uddin
797c509c69 Switch "system/core/base" ref to "system/libbase"
BUG: 148941208
Test: TH
Change-Id: I49184ac6e4d73172ddc066683dbd1ad3f2fc8429
2020-10-23 05:52:26 +00:00
Tim Lin
c146f8615b add new RadioError am: e29df60bdc am: 7f565c6ba8 am: b4c9e82e04 am: 034f6c8f20
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1463522

Change-Id: I8ca0880ca671e50cbeb6d115d863496f6ac05dbe
2020-10-23 05:00:49 +00:00
Tim Lin
034f6c8f20 add new RadioError am: e29df60bdc am: 7f565c6ba8 am: b4c9e82e04
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1463522

Change-Id: I4e74be7534174399884080a3373052f6c6201404
2020-10-23 04:46:23 +00:00
Tim Lin
b4c9e82e04 add new RadioError am: e29df60bdc am: 7f565c6ba8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1463522

Change-Id: If81342fb76b224305ce0509ae1b6a91202240bda
2020-10-23 04:31:24 +00:00
Daniel Bright
d56dd87e06 [automerger skipped] Merge "Add Handover Failure Mode to Radio Hal" am: f8e858b478 am: 1b6329f0ee am: 7f28f618ed am: 9e924af623 -s ours
am skip reason: Change-Id Iad778e83ffc264ee25f57f54ff58532d6a8c5cbf with SHA-1 ea8d801f54 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1470167

Change-Id: I9c7f276197eae366f8ce6010464fa779f68f3b13
2020-10-23 04:12:31 +00:00
Tim Lin
7f565c6ba8 add new RadioError am: e29df60bdc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1463522

Change-Id: Idde0e96fcb441f8e0ffae4c6f80f66245f45070a
2020-10-23 03:45:46 +00:00
Daniel Bright
9e924af623 Merge "Add Handover Failure Mode to Radio Hal" am: f8e858b478 am: 1b6329f0ee am: 7f28f618ed
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1470167

Change-Id: I8bddc5b15738a067c9b0ae681ff5cfe1becb4cae
2020-10-23 03:43:40 +00:00
Tim Lin
e29df60bdc add new RadioError
Support RadioError:RF_HARDWARE_ISSUE and RadioError:NO_RF_CALIBRATION_INFO for
setRadioPowerResponse_1_6().

Bug: 170938075
Test: build. VTS on Cuttlefish.
Change-Id: Iaf582c31f439810db34693c61e58ff1f4dfd19fd
2020-10-23 00:59:16 +00:00
Mikhail Naganov
bbbec8229f audio: Align lists of enum values between framework and HAL
Enum values defined in the XSD now correspond to the
"no system definitions" lists of enums in
system/media/audio/audio-hal-enums.h.

Added channel masks that used to be in s/m/a/audio-base-utils.h.
Removed use of "vectors of vectors" for channel masks
since individual channels are not allowed to be used
in the APM config and at the HAL transport level.

Fixed definition of the gain mode of audio ports:

1. Since it's a bit mask in the framework, it must be a list in
   the audio policy configuration XML file. Note that the old
   definition is compatible with the new one as one element is a
   valid list.
2. As gain mode is defined in the XSD file, it shouldn't be
   defined again in types.hal.

Bug: 122858783
Bug: 142480271
Test: audio smoke tests
Change-Id: I2df5eb4bc4a393611d3adb0ee30583767197591b
2020-10-23 00:22:30 +00:00
Daniel Bright
7f28f618ed Merge "Add Handover Failure Mode to Radio Hal" am: f8e858b478 am: 1b6329f0ee
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1470167

Change-Id: Ib86993c0bcc14079be9c26c597eb566ccc040051
2020-10-22 23:22:12 +00:00
Amy Zhang
7e669ce577 Add new Frontend Status Types and a new scan msg in Tuner HAL 1.1
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 169868608
Change-Id: I04b108bab20e6a1969998bb954e48c2f1c5e0772
2020-10-22 15:55:02 -07:00
Yifan Hong
12f66020d5 Merge "Reland "Remove legacy/O/O-MR1 matrices."" am: a53f69e158 am: c035573845 am: 13c12bc10f am: c698d7f28a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1467927

Change-Id: If97f6f317aadf6b1d5c407aff780c16281c98762
2020-10-22 22:44:15 +00:00
Daniel Bright
1b6329f0ee Merge "Add Handover Failure Mode to Radio Hal" am: f8e858b478
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1470167

Change-Id: I931bcd2019fceb2ae7fd4ecaeb3772ea9fda551d
2020-10-22 22:24:06 +00:00
Yifan Hong
c698d7f28a Merge "Reland "Remove legacy/O/O-MR1 matrices."" am: a53f69e158 am: c035573845 am: 13c12bc10f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1467927

Change-Id: I03511003b38fb8d18e91370b9cddb8eb1a469afe
2020-10-22 22:19:32 +00:00
Yifan Hong
13c12bc10f Merge "Reland "Remove legacy/O/O-MR1 matrices."" am: a53f69e158 am: c035573845
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1467927

Change-Id: I62a03be182ec178c6221d4b34c718f1c002d4fe2
2020-10-22 21:53:09 +00:00
Daniel Bright
f8e858b478 Merge "Add Handover Failure Mode to Radio Hal" 2020-10-22 21:38:58 +00:00
Yifan Hong
c035573845 Merge "Reland "Remove legacy/O/O-MR1 matrices."" am: a53f69e158
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1467927

Change-Id: I255eb47ffce9881741a56b2c34a734c257d4769f
2020-10-22 21:05:10 +00:00
Amy Zhang
d8f643f884 Merge "Add Dvbc Frontend Bandwidth settings in Tuner 1.1" 2020-10-22 17:40:54 +00:00
Yifan Hong
a53f69e158 Merge "Reland "Remove legacy/O/O-MR1 matrices."" 2020-10-22 17:24:50 +00:00
Treehugger Robot
4971285b66 Merge "Modify VTS NoStaleEvents test to omit on-change sensors" am: f3d65e5278 am: 9d6657b109 am: aba049aa2d am: 576155eaf5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1465784

Change-Id: Id3b78aba2a4e1bafdd66b8f7e8e0c52364fcf91e
2020-10-22 06:10:52 +00:00
Treehugger Robot
576155eaf5 Merge "Modify VTS NoStaleEvents test to omit on-change sensors" am: f3d65e5278 am: 9d6657b109 am: aba049aa2d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1465784

Change-Id: I09327472c23b727907cc1decb01916ba80b01310
2020-10-22 05:46:08 +00:00
David Stevens
be8f52e8b0 graphics: fix use-after-free in mapper 2.0 passthrough
The mapper 2.0 gralloc passthrough keeps a set of the native_handle_t
pointers of all imported buffers. This change ensures that the
underlying HAL wrapper freeing the native_handle_t is performed
atomically with respect to accesses to the passthrough's native_handle_t
pointer set.

This fixes a race where a native_handle_t could be reallocated between
being freed by the HAL wrapper and removed from the passthrough's set,
which could then cause the import which happened to reallocate that
native_handle_t to spuriously fail.

Bug: 170798776
Test: Manually very no more spurious import failures in ARCVM's decoder.
Change-Id: I654a44e94adb319f54fb462f4484db414ca1b154
2020-10-22 09:45:09 +09:00
Treehugger Robot
aba049aa2d Merge "Modify VTS NoStaleEvents test to omit on-change sensors" am: f3d65e5278 am: 9d6657b109
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1465784

Change-Id: I78df181ac44a413638d2ba151c9d78fecdb43509
2020-10-22 00:33:06 +00:00
TreeHugger Robot
170441d3ab Merge "Fix build breakage in crosshatch_hwasan-userdebug target" 2020-10-21 23:33:45 +00:00