Commit graph

28593 commits

Author SHA1 Message Date
TreeHugger Robot
c66e023c62 Merge "audio: Align lists of enum values between framework and HAL" 2020-10-26 18:24:08 +00: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
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
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
Treehugger Robot
9d6657b109 Merge "Modify VTS NoStaleEvents test to omit on-change sensors" am: f3d65e5278
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1465784

Change-Id: Iaa0ca51aafd512347f4d15dd8cd7ecccadf61d66
2020-10-21 23:11:43 +00:00
Steven Moreland
d9a93ca476 android.hardware.common: support Java
The handle type here is needed in some HALs now (specifically in order
to encode a Surface, which is backed by a handle). This previously
wasn't in Java simply because handles are more common in native code,
and so it wasn't expected to be used.

Fixes: 171087128
Test: build
Change-Id: Ie1eaf50cc8e62932cc553b80c02be434bfbaf3b3
2020-10-21 22:59:12 +00:00
Treehugger Robot
f3d65e5278 Merge "Modify VTS NoStaleEvents test to omit on-change sensors" 2020-10-21 22:07:51 +00:00
Daniel Bright
64c8da6fa0 Add Handover Failure Mode to Radio Hal
On a handover request failure, the modem can now determine
whether or not to fallback.  There is also the option to revert
to the legacy logic.  Following the legacy logic is the default
behavior.

Test: FrameworkTelephonyTests
Bug: 161572465
Change-Id: Iad778e83ffc264ee25f57f54ff58532d6a8c5cbf
Merged-In: Iad778e83ffc264ee25f57f54ff58532d6a8c5cbf
2020-10-21 13:44:26 -07:00
Yu-Han Yang
5383a1bead Fix build breakage in crosshatch_hwasan-userdebug target
Test: the target builds
Bug: 171400704
Change-Id: I36d7a89f40f7ee08fc38a8c441a7e9d7233b899f
2020-10-21 10:45:45 -07:00
Hui Wang
1c246b7784 Merge "Add SUCCESS to the response of SAP VTS test cases" 2020-10-21 02:26:51 +00:00
Treehugger Robot
c486f78b75 [automerger skipped] Merge "Update VNDK version for common graphics HALs." am: 61c62c6b56 am: 9ccd4fb780 -s ours am: 9861ee4fd0 -s ours am: 23b79cc007 -s ours
am skip reason: Change-Id I4094240656f357b5ae52194befd0e10627b9fe23 with SHA-1 6006eb1b82 is in history

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

Change-Id: I2313c581b8129396b74cd3a880406c665ea04fa7
2020-10-21 02:01:36 +00:00
Treehugger Robot
23b79cc007 [automerger skipped] Merge "Update VNDK version for common graphics HALs." am: 61c62c6b56 am: 9ccd4fb780 -s ours am: 9861ee4fd0 -s ours
am skip reason: Change-Id I4094240656f357b5ae52194befd0e10627b9fe23 with SHA-1 6006eb1b82 is in history

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

Change-Id: Ibf7dade2c5338c752b8482183d0612407b556f8e
2020-10-21 01:40:10 +00:00
Kevin Chyn
de2610f075 Add default implementation for several methods
Test: atest FingerprintServiceTest
Bug: 170518383

Change-Id: If724d26e85967a4b3ec07c22c706efca5cfc3f86
2020-10-20 18:27:45 -07:00
Treehugger Robot
9861ee4fd0 [automerger skipped] Merge "Update VNDK version for common graphics HALs." am: 61c62c6b56 am: 9ccd4fb780 -s ours
am skip reason: Change-Id I4094240656f357b5ae52194befd0e10627b9fe23 with SHA-1 6006eb1b82 is in history

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

Change-Id: I5edde656a3ad45e38a39cb11d878da0394258e2e
2020-10-21 01:13:39 +00:00
Amy Zhang
2576dcc525 Add Dvbc Frontend Bandwidth settings in Tuner 1.1
Test: make -j44 dist
Bug: 169868608
Change-Id: Ief4d795a1671d77722d554f6af6536eaa1f8013d
2020-10-20 17:57:33 -07:00