Commit graph

18389 commits

Author SHA1 Message Date
Automerger Merge Worker
a088726c45 Merge "Identity: Move signingKeyBlob from finishRetrieval() to startRetrieval()." am: 90a34e51e1
Change-Id: Ie52e80ea46e6d6e7caf3fbb266387a4546b4422e
2020-02-28 15:22:34 +00:00
Treehugger Robot
90a34e51e1 Merge "Identity: Move signingKeyBlob from finishRetrieval() to startRetrieval()." 2020-02-28 15:08:40 +00:00
Automerger Merge Worker
3e83f9593b Merge "Push prebuilt libvtswidevine to device for drm HAL tests" am: 99b3f37a51
Change-Id: Ia3591c7e4066f10c87d4a521c54dde8d69bf22b1
2020-02-27 23:06:05 +00:00
Dan Shi
99b3f37a51 Merge "Push prebuilt libvtswidevine to device for drm HAL tests" 2020-02-27 22:45:10 +00:00
Automerger Merge Worker
e1d8fbe4fd Merge "HalProxy unit test to expose incorrect numEventsOnPendingQueue" am: 4ce37f131d
Change-Id: I88f427ba574f7e2349dc20d979ba698b00edc438
2020-02-27 20:53:20 +00:00
Automerger Merge Worker
3e2dc4396a Merge "Build HalProxy unit tests with a test library ScopedWakelock" am: 43e05713c5
Change-Id: I3bb1cc38cc9761b3b0c9f31e3f817b5347c834b6
2020-02-27 20:53:12 +00:00
Treehugger Robot
4ce37f131d Merge "HalProxy unit test to expose incorrect numEventsOnPendingQueue" 2020-02-27 20:37:27 +00:00
Treehugger Robot
43e05713c5 Merge "Build HalProxy unit tests with a test library ScopedWakelock" 2020-02-27 20:34:09 +00:00
David Zeuthen
e35797ffca Identity: Move signingKeyBlob from finishRetrieval() to startRetrieval().
The implementation of the Identity Credential TA in constrained
environments may need to incrementally update the HMAC-SHA256 of
DeviceAuthencation CBOR to avoid keeping the entire CBOR structure in
memory. To do this they need to calculate the derived key before
starting to build the CBOR so they need access to the signingKey
earlier on.

Bug: 150390415
Test: atest android.security.identity.cts
Test: VtsHalIdentityTargetTest
Change-Id: I72ad30ec3ccec0b8161cbea360ef8c9212f8cbbc
2020-02-27 14:31:57 -05:00
Jordan Liu
ad21dc5d89 Add more info on control key param
Bug: 149957303
Test: no change to behavior
Change-Id: Id9d0e0e9cb2eb1eda83d7b5f1bd72be63216d976
Merged-In: Id9d0e0e9cb2eb1eda83d7b5f1bd72be63216d976
2020-02-27 18:09:09 +00:00
Automerger Merge Worker
9f0dc5f8aa Merge "Add parallel linking support for BIDIRECTIONAL_SEQUENCE_{LSTM|RNN}" am: ad54253647
Change-Id: I419f68824bf16a2368fc02026604c01c16020d92
2020-02-27 15:59:14 +00:00
Treehugger Robot
ad54253647 Merge "Add parallel linking support for BIDIRECTIONAL_SEQUENCE_{LSTM|RNN}" 2020-02-27 15:51:02 +00:00
Automerger Merge Worker
bc965dd1ad Merge changes from topics "caps_refactor", "phone-cap-revert", "radioconfig-revert" am: 48da0e3fe2
Change-Id: I7028108645ed0bcfff1519fb9b1846e3878e93af
2020-02-27 06:05:48 +00:00
Automerger Merge Worker
1b6ac8442f Revert "PhoneCapabilities changes for device capabilities" am: 6ba3da0d23
Change-Id: Ia32e50c14e9f138ed5a9ab3942445e691c16c3cf
2020-02-27 06:05:46 +00:00
Automerger Merge Worker
a757fa955d Revert "Update PhoneCapability to use 1.5 UTRAN bands" am: 7fac7578ca
Change-Id: I347ea8c57d2a12257d7f6c6c8f798e49036badfe
2020-02-27 06:05:42 +00:00
Sarah Chin
48da0e3fe2 Merge changes from topics "caps_refactor", "phone-cap-revert", "radioconfig-revert"
* changes:
  Revert "Set up IRadioConfig 1.3 skeleton"
  Revert "PhoneCapabilities changes for device capabilities"
  Revert "Update PhoneCapability to use 1.5 UTRAN bands"
2020-02-27 05:46:08 +00:00
Henry Fang
4fe33ed200 Add comments for invalid IP/port and add Invalid filterID/avSyncId
To allow client to identify and specify invalid value

bug: 148110220
Test: Manual
Change-Id: Ib5e88a13cdcca0b62f55fab992293ed17e0ed708
(cherry picked from commit 460b9610bf)
2020-02-26 16:42:30 -08:00
Henry Fang
355a90a4d0 Remove vberCn, lberCn, xerCn
These values are specific to phase modulation in ISDB-S.
It's not general use case.

bug: 148110220
Test: Manual
Change-Id: If847ca6c31681b1fe9dd94512c41b194dba41127
(cherry picked from commit 875cd25c07)
2020-02-26 16:37:11 -08:00
Robert Shih
d85c649e5b drm vts: link dynamic libcrypto.so to pass FIPS
Bug: 149035295
Test: VtsHalDrmV1_0TargetTest
Test: VtsHalDrmV1_2TargetTest
Change-Id: I6206e39411ccf0ccd72dd02d9b9d932f7d488a42
2020-02-26 15:31:23 -08:00
Stan Rokita
2f4ac1599a HalProxy unit test to expose incorrect numEventsOnPendingQueue
Bug: 147912609
Test: run unit test
Change-Id: Ia6fe3cafc1c2adb02463c28481bcf4c723551860
2020-02-26 15:19:17 -08:00
Stan Rokita
8c51fca223 Build HalProxy unit tests with a test library ScopedWakelock
Unit tests do not currently build because they cannot find the
ScopedWakelock shared object. Make a test library version of
ScopedWakelock for them.

Test: Build and run atest android.hardware.sensors@2.0-halproxy-unit-tests
Change-Id: Ie8d3eb606ccba3825be2c8102b9a7bc6ea033f65
2020-02-26 10:42:14 -08:00
Dan Shi
3d0285b182 Push prebuilt libvtswidevine to device for drm HAL tests
Bug: 143220441
Test: atest VtsHalDrmV1_0TargetTest \
  VtsHalDrmV1_1TargetTest\
  VtsHalDrmV1_2TargetTest
Change-Id: I4ad91c99956525120549321d227aaf6864877c76
2020-02-26 09:24:34 -08:00
Slava Shklyaev
c6018e2297 Merge changes from topic "nnapi-control-flow"
am: d7975bf8d5

Change-Id: I0de4c13d0ad4790282cc41283c64cf56875240d5
2020-02-26 08:25:35 -08:00
Slava Shklyaev
bec4c4084f Add control flow support to NNAPI VTS tests
am: 0fff59b961

Change-Id: I841bbb8e0ad338a417e177291f0d096b1c5b3e06
2020-02-26 08:25:05 -08:00
Slava Shklyaev
7f5d604c59 Add control flow performance to NNAPI Capabilities
am: 315e9b8924

Change-Id: Ic136af1a06ef98bf00c7d6a29e1d26dbf545834b
2020-02-26 08:24:27 -08:00
Lev Proleev
e3080db4e8 Add align_corners and half_pixel_centers parameters to resize ops
Fix: 135147454
Test: NNTest_static
Change-Id: I4115120c8b6261c5518d561c043cda913d47dd45
Merged-In: I4115120c8b6261c5518d561c043cda913d47dd45
(cherry picked from commit 3ab17d6b02)
2020-02-26 10:36:15 +00:00
Michael Butler
5c40bcc475 Fix NNAPI QoS Deadline test
The Deadline test was directly loading into the field of a std::optional
instead of emplacing, which is undefined behavior. This has been
corrected to emplace.

Additionally, previously the deadline test always checked the tensor
results of the execution. This is changed to only check the results
when the driver reports that the execution completed successfully.

Finally, this CL merges similar switch case statements.

Bug: 149766387
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I1068fe70e74a12006dea3cdf4ae9da50004ad24b
Merged-In: I1068fe70e74a12006dea3cdf4ae9da50004ad24b
(cherry picked from commit c7327c57f9)
2020-02-26 10:36:13 +00:00
Michael Butler
ff7d6c5493 Relax NNAPI QoS deadline parameter
Prior to this CL, the NNAPI QoS deadline is a strict deadline: a task
with a deadline must either complete or abort by the deadline. To
avoid as much overhead as possible, it is requested for Android R to
have a relaxed deadline, where the task *may* be aborted after the
deadline has passed or when the task is estimated to take too long.

Because the deadline is now relaxed, the querying method
IDevice::supportsDeadlines can be removed.

Bug: 149766387
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Ib9937b5bb95646c2fd82e1aa17f2b0b639e2c420
Merged-In: Ib9937b5bb95646c2fd82e1aa17f2b0b639e2c420
(cherry picked from commit 9b9a804fe4)
2020-02-26 10:36:09 +00:00
Slava Shklyaev
a37c2c84aa Add NNAPI loop timeout VTS test
Fix: 149554639
Bug: 145906499
Bug: 136735929
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I642772d3c00c12d72380598d9d86743706179d72
Merged-In: I642772d3c00c12d72380598d9d86743706179d72
(cherry picked from commit cc873aee8f)
2020-02-26 10:36:07 +00:00
Lev Proleev
6be8f3ea67 Add parallel linking support for BIDIRECTIONAL_SEQUENCE_{LSTM|RNN}
Change-Id: I51396f82de8dd7282db85a26b0a1be84b236b8c1
Merged-In: I51396f82de8dd7282db85a26b0a1be84b236b8c1
Fix: 138653129
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
(cherry picked from commit 13c43c0059)
2020-02-26 10:35:43 +00:00
Slava Shklyaev
d7975bf8d5 Merge changes from topic "nnapi-control-flow"
* changes:
  Add NNAPI loop timeout API
  Add control flow support to NNAPI VTS tests
  Add control flow performance to NNAPI Capabilities
2020-02-26 10:30:31 +00:00
Automerger Merge Worker
3ab7c6f8b2 Merge "Move libboot_control to boot_control 1.1" am: f89784a55f
Change-Id: I34471b38172fb790a62513fe662589dbf82160c1
2020-02-25 21:57:24 +00:00
Tianjie Xu
f89784a55f Merge "Move libboot_control to boot_control 1.1" 2020-02-25 21:43:07 +00:00
Automerger Merge Worker
545148b721 Merge "Add attestation certificate generation and identity credential tags." am: 93bba950ed
Change-Id: I7146d7f46a367f82fac2aa616809b673d6ac1aa0
2020-02-25 21:26:10 +00:00
Selene Huang
93bba950ed Merge "Add attestation certificate generation and identity credential tags." 2020-02-25 21:21:02 +00:00
Automerger Merge Worker
553896d8e7 Merge "Remove String8(StaticLinkage) references." am: 19b9aad80d
Change-Id: Ic98bb955e7adf20e954f015b456ea3c6a791c3ed
2020-02-25 17:19:40 +00:00
Steven Moreland
19b9aad80d Merge "Remove String8(StaticLinkage) references." 2020-02-25 17:05:01 +00:00
Automerger Merge Worker
0040a2cdc5 Merge "NNAPI VTS: use max time point instead of uint64_t max" am: 775fe5c617
Change-Id: I6fae96257fc88ae5e1da91fac433f9269d76c711
2020-02-25 15:58:11 +00:00
Slava Shklyaev
775fe5c617 Merge "NNAPI VTS: use max time point instead of uint64_t max" 2020-02-25 15:36:51 +00:00
Steven Moreland
15f04b8af9 Remove String8(StaticLinkage) references.
These are a legacy holdover from when libutils String8 couldn't be used
at static time.

Bug: N/A
Test: N/A
Change-Id: I009b2ca53631509072b4085f3f53c0b94e71b13e
2020-02-24 17:39:51 -08:00
Sarah Chin
98c2c53f8c Revert "Set up IRadioConfig 1.3 skeleton"
This reverts commit b071f8ae53.

Reason for revert: Change will not be supported by vendor, so HAL for RadioConfig is no longer necessary.

Change-Id: I33bf652c6aa2f8516ee6ec1c462a1a575d2a5d27
Merged-In: I2eb83fd2356134ef45a782d99174fdd65f8c5a13
2020-02-24 16:55:00 -08:00
Sarah Chin
6ba3da0d23 Revert "PhoneCapabilities changes for device capabilities"
This reverts commit e1d1b0b92c.

Reason for revert: Change not supported by vendor

Change-Id: I5e2cdf0797124e0a1d272ca4b0525d2425954c3f
Merged-In: I9b268f41614149b5cd55caf3d730b25bb1f885e9
2020-02-24 16:20:36 -08:00
Sarah Chin
7fac7578ca Revert "Update PhoneCapability to use 1.5 UTRAN bands"
This reverts commit f0cfc3ef60.

Reason for revert: Change not supported by vendor

Change-Id: Ie148208a890834b0cd05b0ae4d6190e1a0b5dede
Merged-In: Ief5c5325f51a9bb3921bd2eb6e0ea8c9e7111581
2020-02-24 16:10:46 -08:00
Automerger Merge Worker
d5037bed93 Merge "HAL changes for 1.5 setLinkCapacityReportingCriteria" am: f595ab64ca
Change-Id: I050cbc739e74145c996cff81ca1fd2fd1d0089b7
2020-02-24 23:44:33 +00:00
Sarah Chin
f595ab64ca Merge "HAL changes for 1.5 setLinkCapacityReportingCriteria" 2020-02-24 23:32:55 +00:00
Automerger Merge Worker
f06b451d55 Merge "Clean up dumpstate HAL 1.1 VTS test." am: 449e8e12c9
Change-Id: I2ecb9ff21fee7fb83418091cdf6aec633e0c8c7c
2020-02-24 21:00:16 +00:00
Hunter Knepshield
449e8e12c9 Merge "Clean up dumpstate HAL 1.1 VTS test." 2020-02-24 20:41:35 +00:00
Automerger Merge Worker
de92e47213 Merge "NNAPI: Add state outputs for {UNI|BI}DIRECTIONAL_SEQUENCE_{RNN|LSTM}" am: e60fc46c56
Change-Id: I735d847175fd8f530d8aa2bfb8f07ae276fbea26
2020-02-24 18:07:00 +00:00
Treehugger Robot
e60fc46c56 Merge "NNAPI: Add state outputs for {UNI|BI}DIRECTIONAL_SEQUENCE_{RNN|LSTM}" 2020-02-24 17:56:00 +00:00
Selene Huang
459cb80866 Add attestation certificate generation and identity credential tags.
Bug: 149908474
Test: atest android.security.identity.cts.AttestationTest
Test: atest VtsHalIdentityCredentialTargetTest
Test: atest android.hardware.identity-support-lib-test

Change-Id: I18c5d05d806d4157c9dce42a398cc89421e26907
2020-02-21 16:02:26 -08:00