Commit graph

19197 commits

Author SHA1 Message Date
sqian
c921183279 Update documentation for RSRQ of SignalMeasurementType in types 1.5
am: 198c582509

Change-Id: I87a2798b2b7fc3911eebc98dbe04da18f68e2a87
2019-12-27 10:40:16 -08:00
Nathan Harold
89642b46a8 Merge "Add a Registration Failure indication to IRadio" 2019-12-26 17:20:10 +00:00
Kathan Shukla
ce00636ce5 Enable java backend for occupant awareness iface.
This change also enables VNDK libbraries to use occupant awareness NDK.

Test: Build test.
Change-Id: Ib85ca91252b9b96b53d886ad85f723b1d1f6178e
2019-12-26 03:22:55 -08:00
TreeHugger Robot
9043f4e51b Merge "Add controls for ALLM and Content Types to composer hal" 2019-12-25 13:14:51 +00:00
Paul Crowley
0080bde5fa Speed up encoding
Bug: 63928581
Test: atest HadamardTest
Change-Id: I1e37a9559892288f76e69fe81a746b77e2bf7495
2019-12-23 21:40:18 -08:00
Sunil Ravi
5a0ceeb422 Merge "Wifi: DPP test cases failing in VTS test" 2019-12-24 00:49:13 +00:00
sqian
198c582509 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
Merged-In: I3ce8aed99b2109f89ddb9ab0a9a6328716c40998
2019-12-23 23:45:48 +00:00
Nathan Harold
13834c4a79 Add a Registration Failure indication to IRadio
Add an indication to IRadio that is fired whenever
a cellular registration failure occurs.

Bug: 143187065
Test: atest VtsHalRadioV1_5TargetTest
Change-Id: I7765a7491f807a08272b9bc8923ae9377ff3b9d1
2019-12-23 15:34:40 -08: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
Paul Crowley
53c005ff34 Shuffle the encoding to prevent systematic errors
Bug: 63928581
Test: atest HadamardTest
Change-Id: Ide8ead4bf5efa629c631df52249cbb322265cc8c
2019-12-23 12:16:31 -08: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
Wenhao Wang
6008f37ae9 Add TAG_MAC_LENGTH to EncryptionOperationsTest.AesWrongPurpose
Without the setting of TAG_MAC_LENGTH, the test fails due to
MISSING_MAC_PURPOSE.

Bug: 145626599
Test: VtsHalKeymasterV4_0TargetTest
Change-Id: Ic58411b86e07dfeeb78211abf9271ee995beabc9
2019-12-23 11:29:19 -08: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
Kumar Anand
913d5604ee wifi: Legacy HAL Thermal API stub
Add the stub implementation for Wifi thermal API

Bug: 140311866
Test: Manual, on device
Change-Id: I401bf7a38fa52d160ae45cd519a225c07360cd3c
2019-12-20 16:40:37 -08: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