Commit graph

19085 commits

Author SHA1 Message Date
Sunil Ravi
5a0ceeb422 Merge "Wifi: DPP test cases failing in VTS test" 2019-12-24 00:49:13 +00:00
Sunil Ravi
ae33929ac9 Wifi: DPP test cases failing in VTS test
call  1_3 version of GetKeyMgmtCapabilities() from isDppSupported() method.

Bug: 146804291
Test: atest -c VtsHalWifiSupplicantV1_3TargetTest
Change-Id: Ib0bfe2e48b8cbe3d04e73f65bd926ab1992a4bae
2019-12-23 15:09:10 -08:00
Shuo Qian
a01974f56f Update documentation for RSRQ of SignalMeasurementType in types 1.5
Update the minimum value of range for RSRQ according to TS 36.133
v12.6.0.

Test: build
Bug: 133400544

Change-Id: I3ce8aed99b2109f89ddb9ab0a9a6328716c40998
2019-12-23 13:34:36 -08:00
TreeHugger Robot
acea8b8e60 Merge "Add @export to frontend scan enums" 2019-12-23 20:27:34 +00:00
Automerger Merge Worker
bffab8f00e [automerger skipped] Added SSC mode 3 support am: 7f6c8d03e7 am: ce8f0170bb am: 2a20c5cee5 -s ours
am skip reason: Change-Id Ia00827f5ff1201d36439f5b2219312b3fd2f0d24 with SHA-1 a9b1d79ed0 is in history

Change-Id: I5aec7060b724c73bc04149d947a7df4fdef79ea0
2019-12-23 19:29:22 +00:00
Automerger Merge Worker
2a20c5cee5 Added SSC mode 3 support am: 7f6c8d03e7 am: ce8f0170bb
Change-Id: I98d6f01aa08819fade22e0db6953b2428c8fad32
2019-12-23 19:11:51 +00:00
Jack Yu
ce8f0170bb Added SSC mode 3 support
am: 7f6c8d03e7

Change-Id: I4bdc261b1308e39fd305bdac91da43f6c5c8075e
2019-12-23 10:57:41 -08:00
TreeHugger Robot
d97b9ab2e2 Merge "composer 2.4: Add new test case for getDisplayCapabilities" 2019-12-23 11:38:00 +00:00
Paul Crowley
b6ed52a194 Merge "Transpose the encoding matrix" 2019-12-21 17:42:45 +00:00
Sunil Ravi
c6489a5641 Wifi: MBO-OCE feature support (phase 3)
Added hidl call back function to notify framework about
bss transition request frame handling status.
Also fixed few code style issues by running hidl-gen -Lformat.

Bug: 139474288
Test: Manual
Test: VTS test
Change-Id: I00760f14d81a59e63042b1a5be9f9e3f74ff3a83
2019-12-21 01:37:17 +00:00
Hai Shalom
d0e56364c2 Merge "[DPP R2] Update VTS test for supplicant 1.2" 2019-12-21 00:05:14 +00:00
Hai Shalom
a94e59a387 [DPP R2] Update VTS test for supplicant 1.2
Update VTS test for supplicant 1.2 to skip the DPP tests
if the underyling HAL is 1.3. The reason is because 1.3
HAL uses different callbacks.

Bug: 139381558
Test: atest VtsHalWifiSupplicantV1_2Host
Change-Id: Ie9cd93e33bda3ca22ee2b5593d185f1918be847e
2019-12-20 14:31:56 -08:00
Paul Crowley
c675b182b3 Transpose the encoding matrix
Stripe together the encodings from each of the 16 codewords, so that
if a 512-byte DRAM line is knocked out, it affects 256 bits from each
codeword rather than 4096 bits from a single encoded codeword.

Rather than using std::bitset, we directly set and read bits in
the std::vector<uint8_t>, because the striping means that copying it
will now cost not4k in allocation but 64k.

Decode directly to a word, without using list decoding. It seems
we don't need list decoding for the error rates that matter here,
and we never completed the implementation of it anyway.

Declare and test only the full interface, now that it doesn't decompose
quite so neatly.

Bug: 63928581
Test: atest HadamardTest
Change-Id: If022d3f4a8d6fccdf68119d4666f83ce5005bccb
2019-12-20 12:03:21 -08:00
Hai Shalom
182ff20675 Merge "[DPP R2] Support for DPP R2" 2019-12-20 19:25:15 +00:00
Hao Chen
bae27ff8c1 Merge changes I6686a15d,I6c561d51
* changes:
  Set Timestamp By the Server when the client called 'set'
  Simplify Connector class APIs and hierachy
2019-12-20 18:50:36 +00:00
Hao Chen
0885f9b10a Set Timestamp By the Server when the client called 'set'
Test: Build; unit tests `atest packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/CarPropertyTest.java`

Bug: b/141493212

Change-Id: I6686a15d6e9fa483d9b361acfe88001b7497b937
2019-12-20 10:48:45 -08:00
Hao Chen
de6835be3e Simplify Connector class APIs and hierachy
Test: Build; unit tests `atest
 packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/CarPropertyTest.java`

Bug: b/141493212

Change-Id: I6c561d517646760dfff63cb6c6b50c3c5994098a
2019-12-20 10:48:15 -08:00
TreeHugger Robot
00df3442e4 Merge "Migrate CAN bus HAL to nested namespaces" 2019-12-20 18:46:49 +00:00
Tomasz Wasilczyk
55f21936e9 Migrate CAN bus HAL to nested namespaces
Test: it builds
Change-Id: I83d9ef4f1fff1585e6487c95f09b55b1aa5b3e63
2019-12-20 09:20:24 -08:00
Hai Shalom
36768048c4 [DPP R2] Support for DPP R2
Added necessary types and enhanced the callbacks for DPP R2.
Added VTS tests for DPP R2 using HAL 1.3.

Bug: 139381558
Test: atest VtsHalWifiSupplicantV1_3Host
Change-Id: I18a58d6bd0e0b8260946f2186abda5bac93729c7
2019-12-20 09:19:23 -08:00
Jack Yu
5a286c1273 Merge "Added SSC mode 3 support" 2019-12-20 01:51:15 +00:00
Mikhail Naganov
598bcf2277 Merge "Add audio stream and usage for virtual assistant" 2019-12-20 00:08:22 +00:00
Kenny Root
73697b7628 Merge "Resume on Reboot default implementation" 2019-12-20 00:04:10 +00:00
Marissa Ikonomidis
69819f2e77 Merge changes I620f3cc0,I5ff86539
* changes:
  gralloc: update doc to reflect security change
  graphics.mapper@4.0: Document previously-implicit accessRegion behavior.
2019-12-19 23:26:04 +00:00
Marissa Ikonomidis
c7fabc6f8f Merge "Add HDR metadata types to graphics/common" 2019-12-19 23:25:14 +00:00
Jack Yu
a9b1d79ed0 Added SSC mode 3 support
Added flags, deprecated time, and expired time field to the IP
address. This will allow baseband vendor to mark an IP address
as deprecated and inform upper layer when the IP address will
become deprecated and expired.

Test: Telephony sanity tests
Bug: 135717900

Change-Id: Ia00827f5ff1201d36439f5b2219312b3fd2f0d24
2019-12-19 14:02:56 -08:00
Marissa Wall
9506563fb4 gralloc: update doc to reflect security change
The MetadataType must be prepended to any StandardMetadataType byte
stream. The encode/decode support library already adds the MetadataType.
This patch updates the documentation.

Test: Compiles
Bug: 137966819

Change-Id: I620f3cc0edd088b062844bb7a718f34360454d71
2019-12-19 13:49:10 -08:00
Marissa Wall
4bb9cab24c graphics.mapper@4.0: Document previously-implicit accessRegion behavior.
Existing Android framework code (and transitively, CTS test) require
that an accessRegion of (0,0,0,0) is treated the same as an
accessRegion covering the entire buffer, when calling lock() or
lockYCbCr().

Document this so that there is no confusion about this going forward,
since this requirement pre-dates the HIDL HALs.

Bug: 119440345
Test: Builds, passes CTS

Change-Id: I5ff86539ee28a72dd972255ad405db357e62536d
2019-12-19 13:49:02 -08:00
Hao Chen
5f82b989bb Merge changes from topic "proto_package_name"
* changes:
  A more generalized package name for VHal proto IDLs
  Protobuf message converter should be a public utility library
2019-12-19 21:30:40 +00:00
Jack Yu
7f6c8d03e7 Added SSC mode 3 support
Added flags, deprecated time, and expired time field to the IP
address. This will allow baseband vendor to mark an IP address
as deprecated and inform upper layer when the IP address will
become deprecated and expired.

Test: Telephony sanity tests
Bug: 135717900

Merged-In: Ia00827f5ff1201d36439f5b2219312b3fd2f0d24
Change-Id: Ia00827f5ff1201d36439f5b2219312b3fd2f0d24
(cherry picked from commit 246fc142c9bebc941b80c559e315b101da92fbeb)
2019-12-19 12:07:03 -08:00
Tianjie Xu
5d24869221 Merge "Add hadamard utilities to encode keys" 2019-12-19 18:17:30 +00:00
Kenny Root
d0c4f2bb40 Resume on Reboot default implementation
A default implementation of the RebootEscrow HAL which relies on RAM
retention to keep a key around during a reboot to apply an OTA. This
should work on devices that use a "warm reboot" and most likely will
work on devices that use a "cold reboot" as well.

DRAM will retain information for several seconds depending on the
temperature and other factors. This is enough to survive a reboot. With
the Hadamard code used in this change for error recovery, many errors
can be recovered.

Bug: 63928581
Test: make
Test: atest VtsHalRebootEscrowTargetTest
Change-Id: Ib8db7888d64fee8d827d7c06892b9a1f2af87add
2019-12-19 09:59:40 -08:00
Automerger Merge Worker
418ddc1754 Merge "Updating a public exponent check" am: 3702b15a2a am: 42b6ecbd53 am: d680601c72
Change-Id: If2a31f11981f6c793efc70a739fe54160c4fc281
2019-12-19 17:10:39 +00:00
Automerger Merge Worker
1026f2c33f Merge "Adding sanity check for VBMeta device state" am: 63cc8d12a5 am: 051f044853 am: ff9179099e
Change-Id: I305f6f30a2f5f4ddb483131a5ef48cf501fb2b74
2019-12-19 17:10:29 +00:00
Automerger Merge Worker
5fc2c40179 Merge "Wifi: fix p2p vts failure on no p2p support devices" am: 189894129c am: 96643ab05c am: 2406c41f21
Change-Id: I406fca1dbafa54b28daf467de2272e8750793222
2019-12-19 17:10:18 +00:00
Automerger Merge Worker
66174ac292 [automerger skipped] [AWARE] Protect string copy against buffer overflow am: 5039b6099e am: d719d5726e -s ours
am skip reason: skipped by user bferris

Change-Id: I7a5b8179eadeed8e14ef888a305b7ad46d9821a2
2019-12-19 17:09:59 +00:00
Automerger Merge Worker
d680601c72 Merge "Updating a public exponent check" am: 3702b15a2a am: 42b6ecbd53
Change-Id: I8b35aca11d945ab06efad5caa7a85425c80e3224
2019-12-19 15:46:41 +00:00
Max Bires
42b6ecbd53 Merge "Updating a public exponent check"
am: 3702b15a2a

Change-Id: I91c067acd106edd1c5dbedbadec82d8b6b8293c7
2019-12-19 07:31:25 -08:00
Treehugger Robot
3702b15a2a Merge "Updating a public exponent check" 2019-12-19 15:28:33 +00:00
Jimmy Chen
29caaf770c Merge "Wifi: WAPI constants and methods" 2019-12-19 09:28:52 +00:00
Automerger Merge Worker
ff9179099e Merge "Adding sanity check for VBMeta device state" am: 63cc8d12a5 am: 051f044853
Change-Id: Ied69a536dedf1f4a2d64af1d0680c0706435a994
2019-12-19 09:25:04 +00:00
Max Bires
051f044853 Merge "Adding sanity check for VBMeta device state"
am: 63cc8d12a5

Change-Id: Ic642331cf6f3d0ad04bcaea691f860bd182d3059
2019-12-19 01:05:35 -08:00
Max Bires
444468b3dd Updating a public exponent check
This is updating the public exponent being checked from 3 to 65537. The
test was updated to use the latter public exponent without the check
also being updated

Test: atest VtsHalKeymasterV4_0TargetTest
Change-Id: I55fa2e67c94f0c52a1d65644f16b5f703a661e00
2019-12-19 00:49:24 -08:00
Treehugger Robot
63cc8d12a5 Merge "Adding sanity check for VBMeta device state" 2019-12-19 08:43:15 +00:00
Tianjie Xu
a0a12cfcf2 Add hadamard utilities to encode keys
Add the utility functions to encode & decode 32 bytes keys. The
hadamard encoding will expand a 2 bytes word to 2^15 bits. And thus the
32 byte key will expand to 64KiB in space. The encoded value is more
robust and we will be able to recover the key even if there is some
corruption.

Test: unittest pass
Change-Id: Iae8a28a8c7c1699f8641f9250f0eccde5c2ff138
2019-12-18 22:45:54 -08:00
Shuzhen Wang
a3462a5ddc Merge "Camera: Add support for CONTROL_ZOOM_RATIO" 2019-12-19 03:32:58 +00:00
Automerger Merge Worker
2406c41f21 Merge "Wifi: fix p2p vts failure on no p2p support devices" am: 189894129c am: 96643ab05c
Change-Id: I4134c6c97d1a8338fc0ba8c0cf0973e3479523ab
2019-12-19 02:39:27 +00:00
Ahmed ElArabawy
b039035685 Merge "Wifi-hostapd: Add 6GHz impacts to softAP" 2019-12-19 02:30:14 +00:00
Jimmy Chen
96643ab05c Merge "Wifi: fix p2p vts failure on no p2p support devices"
am: 189894129c

Change-Id: I12b8d0331af03ea9d7a1a6212c68d6240e69d3f4
2019-12-18 18:22:53 -08:00
Jimmy Chen
189894129c Merge "Wifi: fix p2p vts failure on no p2p support devices" 2019-12-19 02:20:44 +00:00