Commit graph

18351 commits

Author SHA1 Message Date
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
Automerger Merge Worker
f04431c792 Merge "confirmationui: Add portability test" am: 7e6517f8e9
Change-Id: I9da903b8611fba5be0b0255870fb845bb19c55eb
2020-02-21 19:26:11 +00:00
Janis Danisevskis
7e6517f8e9 Merge "confirmationui: Add portability test" 2020-02-21 19:13:12 +00:00
Automerger Merge Worker
1ba075c9e1 IDumpstateDevice 1.1 tweak: "device" -> "verbose" am: 84dbf58f3c
Change-Id: Id339628165bc246241782a8a2851b0ee35a9a2b2
2020-02-21 15:41:32 +00:00
Sarah Chin
2f8f6c328b HAL changes for 1.5 setLinkCapacityReportingCriteria
Add to IRadio, IRadioResponse, and VTS

Test: make cf_x86_phone-userdebug && mm
Bug: 149112073
Change-Id: I330d5be6bf531c93439f8f1d55718f71ec46c1c3
Merged-In: I330d5be6bf531c93439f8f1d55718f71ec46c1c3
2020-02-20 17:05:39 -08:00
Janis Danisevskis
8d4f06f1f3 confirmationui: Add portability test
Add a test that starts the dialog with some Confirmation strings that
need to be supported to provide portability guarantees.

Bug: 149954317
Test: VtsHalConfirmationUIV1_0TargetTest
Change-Id: Ie6961848d41b7d23d13b85702330682c755a9bbc
2020-02-20 16:38:25 -08:00
Hunter Knepshield
ac0680beb3 Clean up dumpstate HAL 1.1 VTS test.
We separate out per-mode tests into a separate test suite for better
extensibility. If a new DumpstateMode value is added to 1.1, it will no
longer require updating a macro in the test.

All tests still run the same and if they're per-mode, still include the
actual mode string in their final name. No material behavior changes.

Test: atest VtsHalDumpstateV1_1TargetTest on cuttlefish
Change-Id: Ifefae981705e564c10ee450851d3d2320f8206f3
2020-02-20 15:05:48 -08:00
Hunter Knepshield
84dbf58f3c IDumpstateDevice 1.1 tweak: "device" -> "verbose"
Pixel has been dumping some non-sensitive information in bug reports
using IDumpstateDevice for a long time, and requiring nothing to be
dumped on user builds by default suddenly changes behavior.

To account for this use case, we instead change the meaning of the
toggle to control *verbose* logging, specifically anything with privacy,
storage, or battery impact.

VTS tests are updated appropriately.

Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Change-Id: Ib71ce43e9168d82fd9ee0564db813c5a3538c459
Merged-In: Ib71ce43e9168d82fd9ee0564db813c5a3538c459
(cherry picked from commit 09c8b5ba59)
2020-02-20 12:48:55 -08:00
Automerger Merge Worker
02a80f6aab Merge "Port IdentityCredential HAL to AIDL." am: 6a83338df9
Change-Id: Idf1e9ce02d150cde887c26e82c2a9c91196540f3
2020-02-19 22:23:13 +00:00
David Zeuthen
6a83338df9 Merge "Port IdentityCredential HAL to AIDL." 2020-02-19 21:14:41 +00:00
Slava Shklyaev
a96ab7407d Add NNAPI loop timeout API
Bug: 145906499
Bug: 136735929
Test: NNT_static
Change-Id: Ie40c248b174964676985403f9f1a5127b408a00a
Merged-In: Ie40c248b174964676985403f9f1a5127b408a00a
(cherry picked from commit f034bf9c92)
2020-02-19 11:58:35 +00:00
Slava Shklyaev
0fff59b961 Add control flow support to NNAPI VTS tests
See change I98a3edd1.

Bug: 148077633
Bug: 148601177
Bug: 136735929
Test: VtsHalNeuralnetworksV1_0TargetTest
Test: VtsHalNeuralnetworksV1_1TargetTest
Test: VtsHalNeuralnetworksV1_2TargetTest
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I1e436cdba404b68026a45797ac4fb3a34f8be76a
Merged-In: I1e436cdba404b68026a45797ac4fb3a34f8be76a
(cherry picked from commit 1f98e2e929)
2020-02-19 11:58:34 +00:00
Slava Shklyaev
315e9b8924 Add control flow performance to NNAPI Capabilities
Bug: 139181916
Test: m
Change-Id: I62696a6519191e33568c9664c0047fb57426b99f
Merged-In: I62696a6519191e33568c9664c0047fb57426b99f
(cherry picked from commit 8a9b306571)
2020-02-19 11:58:32 +00:00
Michael Butler
36902cbc2f NNAPI VTS: use max time point instead of uint64_t max
Bug: 149441015
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Ic74f83242cbe04a4cec47adbfc51002fdf8bb47d
Merged-In: Ic74f83242cbe04a4cec47adbfc51002fdf8bb47d
(cherry picked from commit 79d6bb1ad2)
2020-02-19 11:58:30 +00:00
Lev Proleev
17689aa67d NNAPI: Add state outputs for {UNI|BI}DIRECTIONAL_SEQUENCE_{RNN|LSTM}
Fix: 138443991
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I0a3af22826d438f6f38de1f64042a50f98265e2d
Merged-In: I0a3af22826d438f6f38de1f64042a50f98265e2d
(cherry picked from commit 188a8f90f0)
2020-02-19 11:58:27 +00:00
Automerger Merge Worker
08e6bd392c Merge "Add proto dumpstate mode" am: 294cfe01fc
Change-Id: I09c95e155720dfb17efd74cc1206073abe6dc3f6
2020-02-19 00:52:14 +00:00
Mike Ma
294cfe01fc Merge "Add proto dumpstate mode" 2020-02-19 00:30:48 +00:00
Mike Ma
6165e2dd30 Add proto dumpstate mode
Add a "PROTO" dumpstate mode to request a protobuf dump from
IDumpstateDevice HAL, primarily used by incidentd to get
device-specific state as a proto for automated issue reporting and
debugging.
Since the format of these states can vary across vendors and devices,
the proto schema will not be defined in AOSP.

Bug: 140521164
Test: VtsHalDumpstateV1_1TargetTest
Change-Id: I1d586c99b654471db5028039792c3d9e6e2184bb
Merged-In: I1d586c99b654471db5028039792c3d9e6e2184bb
2020-02-18 15:13:35 -08:00
Treehugger Robot
49a258dd49 Merge "Add UNSUPPORTED to health 2.1 types" am: 6a4ab26005
Change-Id: I2fdb7eca68377b0bcdb658c508b0d44d09c13975
2020-02-18 21:12:32 +00:00
Treehugger Robot
a5439e227c Merge "Fix VTS fail for GraphicsMapperHidlTest" am: eef384a88e
Change-Id: I346104d31743741ebac4c4fe1539179f3353d207
2020-02-18 20:55:13 +00:00
Treehugger Robot
6a4ab26005 Merge "Add UNSUPPORTED to health 2.1 types" 2020-02-18 20:45:15 +00:00
Treehugger Robot
eef384a88e Merge "Fix VTS fail for GraphicsMapperHidlTest" 2020-02-18 19:45:04 +00:00
Stephane Lee
0b6542c17b Add UNSUPPORTED to health 2.1 types
Test: lshal debug android.hardware.health@2.1::IHealth/default
Bug: 149429835
Change-Id: I084d225d49eada022e3f2504bacdb67c0c241697
2020-02-15 17:25:18 -08:00
Treehugger Robot
65a070de36 Merge "Fix VTS test for health HAL 2.1" am: 0935243c44
Change-Id: Ibb4705efef6c6faa472dbd4fcd580d2185cdc1fa
2020-02-16 00:35:18 +00:00
Treehugger Robot
0935243c44 Merge "Fix VTS test for health HAL 2.1" 2020-02-16 00:16:05 +00:00
Treehugger Robot
f7e2840952 Merge "power: Make AIDL HAL mandatory for new devices" am: a36ef09893
Change-Id: I6d4b44a80a116fde46b0018e279eb6908c6291f1
2020-02-15 18:48:13 +00:00
Treehugger Robot
a36ef09893 Merge "power: Make AIDL HAL mandatory for new devices" 2020-02-15 18:33:25 +00:00
Stephane Lee
05c31c601f Fix logging in Health HAL 2.0 am: 45f8ab3477
Change-Id: I8f3e57437e0e29dbba8d6f70c136e9b30d8f2250
2020-02-15 10:14:36 +00:00
Stephane Lee
32c4ec09d4 Fix VTS test for health HAL 2.1
Latest update on the ticket to use hard coded thresholds

Test: atest VtsHalHealthV2_1TargetTest
Bug: 149428646
Change-Id: Id7f86ba05a203a926e8d316bf7af4d24c7e0e2f0
2020-02-14 15:30:17 -08:00
Stephane Lee
45f8ab3477 Fix logging in Health HAL 2.0
Bug: 149577800
Test: Ensure logging works as expected
Change-Id: I79b78593ee6bdbda59e49a27e70076184a30668d
2020-02-14 11:56:48 -08:00
David Zeuthen
81603155a9 Port IdentityCredential HAL to AIDL.
This includes add a partial types-only HAL for KeyMaster for
HardwareAuthToken.

Bug: 111446262
Test: atest android.security.identity.cts
Test: VtsHalIdentityTargetTest
Test: android.hardware.identity-support-lib-test
Change-Id: I7a6254d33200bfd62269aed1957cbb2a84b16272
2020-02-14 13:48:55 -05:00
mtk07406
e308ceb1e9 Fix VTS fail for GraphicsMapperHidlTest
VTS_10 testing item VtsHalGraphicsMapperV2_1Target fail due to
Gralloc0 HAL do not have return value : BAD_VALUE and BAD_BUFFER
so add Error::BAD_VALUE and Error::BAD_BUFFER as return value to
fix this VTS fail.

Bug: 146034198
Test: ran VtsHalGraphicsMapperV2_1Target 10 times and it all pass.
Change-Id: I792830ddf98cbf59de7d3a7b4dd4cf5f72269244
2020-02-14 10:25:19 +08:00
Treehugger Robot
a4931f9b19 Merge "Use design capacity instead of full charge capacity" am: 25c2de29b9
Change-Id: I4bba155589be27ed8f5c39f5dee8b2e0c57d8566
2020-02-14 01:55:50 +00:00
Treehugger Robot
25c2de29b9 Merge "Use design capacity instead of full charge capacity" 2020-02-14 01:35:16 +00:00
Dan Stoza
2756a9f508 Merge "power: Add DPF and update imminent hints to AIDL" am: a35e3bb452
Change-Id: I64008beaf3f14d5e5e10b2723d8145fb409c6caa
2020-02-14 00:51:35 +00:00
Dan Stoza
a35e3bb452 Merge "power: Add DPF and update imminent hints to AIDL" 2020-02-14 00:48:43 +00:00
Michael Butler
4bf3b669cd NN 1.3 HAL: ANAPIC review follow up am: c3e1a29a60
Change-Id: Ibcfb43fcf0ee3d1545b6fd237efd4f4ea55bdee0
2020-02-14 00:46:24 +00:00
Stephane Lee
34714688d5 Use design capacity instead of full charge capacity
Full charge capacity is already included as part of
health HAL 1.0. Concluded in b/149121450 to add a value
that is valuable.

Bug: 149428646
Bug: 149121450
Test: lshal debug android.hardware.health@2.1::IHealth/default
Change-Id: Iadf3c14850df57034378dcc10cdbab0eb43c3aae
2020-02-13 15:19:56 -08:00
Dan Stoza
8fa535c78e power: Make AIDL HAL mandatory for new devices
Makes the AIDL Power HAL mandatory for new devices. As almost all of
the power hints are already optional, this is effectively just
requiring FIXED_PERFORMANCE mode, which is necessary for game tuning
and performance profiling.

Bug: 136285293
Test: N/A
Change-Id: Ie4c01f13661b2388d8c905159d957f9996c41ee6
2020-02-13 14:50:34 -08:00