Commit Graph

22478 Commits

Author SHA1 Message Date
Dan Shi
ea77824cce Fix bad test config for VtsHalRadioV1_4TargetTest
Bug: none
Test: build
Change-Id: Ie0c4895dd201735cc3a441e2e9bd3ac2290833b0
2020-09-14 15:58:10 -07:00
Felipe Leme
82120a8ce4 Merge "Add a native UserHalHelper library." 2020-09-11 17:43:04 +00:00
Felipe Leme
3e15feb00f Added myself (A.K.A felipeal@) to OWNERS.
Test: N/A
Bug: N/A

Change-Id: Ic5921afceecb1869fcfeda5670b2465a85202cfc
2020-09-11 09:59:11 -07:00
Lakshman Annadorai
3568c5c3b7 Add a native UserHalHelper library.
This library contains helper functions to convert the User HAL reponse
structs to VehiclePropValues and request VehiclePropValues to HAL
structs.

Test: atest android.hardware.automotive.vehicle@2.0-utils-unit-tests
Bug: 150409377
Bug: 167588307

Change-Id: I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b
Merged-In: I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b
(cherry picked from commit b33e2abbfe)
2020-09-11 16:06:42 +00:00
Xin Li
1136876068 Merge Android R
Bug: 168057903
Merged-In: I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68
Change-Id: I0586c24e16b7d052b0d209e2dffd6124492fcafa
2020-09-09 20:21:17 -07:00
Xusong Wang
e551cc102e Merge "Increase NNAPI VTS single-test timeout to 20m." 2020-09-10 00:58:28 +00:00
Xusong Wang
7a8a6dd5af Increase NNAPI VTS single-test timeout to 20m.
SaveToCache_TOCTOU/PrepareFromCache_TOCTOU loops 100 times to generate
and reload compilation cache. Some drivers may hit the 60-second
timeout.

Bug: 160197150
Test: Add a test sleeping for 2min to NNAPI 1.2/1.3 VTS
      and run with vts-tradefed
Change-Id: Id232f4954180d8d7a9b91f8d2e4e6f2ee4640ed7
2020-09-10 00:58:10 +00:00
Henry Fang
f9d897c0ce [automerger skipped] Add cas@1.2 to compatibility matrix am: 20e36cf74a -s ours
am skip reason: Change-Id I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7 with SHA-1 0ce0f981a7 is in history

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

Change-Id: I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68
2020-09-10 00:31:04 +00:00
Henry Fang
20e36cf74a Add cas@1.2 to compatibility matrix
Test: m check-vintf-all
Bug: 141783130
Bug: 110261831

Change-Id: Ie8fda69f5552e4e9d92262695884e0de0097fe76
Merged-In: I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7
2020-09-09 14:44:46 -07:00
TreeHugger Robot
5b0fb0dc5f Merge "Merge RP1A.200720.011" into stage-aosp-master 2020-09-02 22:29:52 +00:00
Steven Moreland
b793e77b3d Merge "msgq test service: installable by atest" am: f74120b1fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1313073

Change-Id: Ia3f23b103e165c03a9fc97673ac2240796bbdf0d
2020-09-02 20:32:54 +00:00
Steven Moreland
f74120b1fb Merge "msgq test service: installable by atest" 2020-09-02 19:42:58 +00:00
Xin Li
3211c41054 Merge RP1A.200720.011
Bug: 167588565
Merged-In: If6721904a50f164626d30460a2b13c59ffd2814f
Change-Id: I254b5fef3368a656c3f67cdab85623deb5399c88
2020-09-02 11:55:34 -07:00
Xin Li
380a862b2d Mark RP1A.200720.001 as merged
Bug: 167588565
Merged-In: Ic3b7ee64244f03625af7cd2aea055f31febdb19d
Change-Id: Iabf234ab7f9efb872d572e9a49e386bf5af4df01
2020-09-02 11:44:55 -07:00
Treehugger Robot
c12559f79e Merge "Allowing GSI patch level to be greater than vbmeta SPL" am: b22330e065
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1256345

Change-Id: Ic3b7ee64244f03625af7cd2aea055f31febdb19d
2020-09-02 02:27:02 +00:00
Treehugger Robot
b22330e065 Merge "Allowing GSI patch level to be greater than vbmeta SPL" 2020-09-02 01:57:50 +00:00
Steven Moreland
d4ed520c27 msgq test service: installable by atest
Bug: 127714188
Test: atest -v fmq_test
Change-Id: Icf696763cbcdd458d36ee709ee9640999c9034ab
2020-08-31 22:50:46 +00:00
Xin Li
36dcf1a404 Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: I6502829205ede2de914b27e6c2c5c42916af2b39
Change-Id: I7cb06511e43bd1fffd5f80a11dbdf5b1314cfe8e
2020-08-28 13:05:04 -07:00
Treehugger Robot
18aa69f6b2 Merge "Avoid unnecessary access of BoringSSL structs." am: 12d0f6d9a1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1412697

Change-Id: I84154db8f6c9036248cc922b5ea92a724f8f975b
2020-08-26 20:56:07 +00:00
Shuo Qian
9ab2f003ac Check emergency dialing result in DSDS or TSTS only if slot is in service or emergency only. am: 721fecbaaf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1412188

Change-Id: I297d1ec9a9ef3e95d6824a9a03ae1e67c677f905
2020-08-26 20:56:01 +00:00
Treehugger Robot
12d0f6d9a1 Merge "Avoid unnecessary access of BoringSSL structs." 2020-08-26 20:48:04 +00:00
David Benjamin
45ff9aa8ff Avoid unnecessary access of BoringSSL structs.
Checking cert_info->key->algor->algorithm is redundant with the checks
following it. If the public key is an EC key, that was the OID. Remove
the check so this code does not break when BoringSSL makes the X509
structures opaque in the future.

While we're not particularly aiming to make ECDSA_SIG opaque, getters
exist, so go ahead and use them.

Test: mm, treehugger
Change-Id: I1b37fef2290b7697a6e821f20ba702b3da5ef18d
2020-08-26 15:38:47 -04:00
Shuo Qian
721fecbaaf Check emergency dialing result in DSDS or TSTS only if slot is in service or emergency only.
Test: vts
Bug: 156525817
Change-Id: Ic4c735e6d920fc3df28eda7bc3f0b958782bf42d
Merged-In: Ic4c735e6d920fc3df28eda7bc3f0b958782bf42d
(cherry picked from commit 3381ce1f9a2c3ad06b59288e5ba359aa7a89de4e)
2020-08-26 17:00:44 +00:00
Bowgo Tsai
63c0129fa6 Allowing GSI patch level to be greater than vbmeta SPL
The GSI patch level might be greater than the vbmeta SPL, because
GSI system.img might be updated via the DSU flow, where vbmeta.img won't
be updated in this scenario.

  https://developer.android.com/topic/dsu

Allowing GSI patch level to be greater than or equal to the vbmeta SPL,
since Treble allows new system.img works on old vendor images.

Bug: 145377203
Test: atest VtsHalKeymasterV4_0TargetTest
Change-Id: Ib761d80c88695eb2db08b0dc00e30fcdc2788865
2020-08-26 13:16:25 +08:00
Devin Moore
bcf7751dcd Merge "Clean up android.hardware.common types" am: c26ba2dd21
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1402395

Change-Id: Ia34d9090ffa262eb2fd71e8b95ab7b66db188ab7
2020-08-25 23:30:54 +00:00
Devin Moore
c26ba2dd21 Merge "Clean up android.hardware.common types" 2020-08-25 22:53:38 +00:00
Treehugger Robot
bf31c055f5 Merge "Disable the test TooManyOperations in keymaster VTS" am: 8a42374ffa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1370458

Change-Id: Icab2fb38b336f693abcc74dae6ff616ad84cb2ea
2020-08-19 19:21:31 +00:00
Treehugger Robot
8a42374ffa Merge "Disable the test TooManyOperations in keymaster VTS" 2020-08-19 19:07:08 +00:00
Sushil Nath
ec1780378b Update language to comply with Android's inclusive language guidance am: 898088df75
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1402272

Change-Id: Ia736bec16457242e20f81a9c9e178c3bd11a8bd7
2020-08-18 18:35:07 +00:00
Sushil Nath
898088df75 Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference


BUG=162536543

Change-Id: I360c610e89aea020bbeff89d496fa8033d551916
2020-08-18 01:07:26 +00:00
Devin Moore
f3eaf31e3b Clean up android.hardware.common types
Removed unnecessary 'flags' and 'fdIndex' fields from GrantorDescriptor.
Added additional comments for clarity.

Test: builds
Bug: 142326204
Change-Id: Id818ceb593ba2837d56dbfb3351d2127ec50b7ed
2020-08-17 17:43:32 -07:00
Jayachandran Chinnakkannu
adb91855aa Merge "Add indication APIs to expose QOS from LTE and NR bearers" am: 0ba3a5e2e5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1368896

Change-Id: Ia2ccab0be6e345b20d0b3acb05199826f88844d5
2020-08-17 22:16:20 +00:00
Jayachandran Chinnakkannu
0ba3a5e2e5 Merge "Add indication APIs to expose QOS from LTE and NR bearers" 2020-08-17 22:02:52 +00:00
Devin Moore
b087fa8051 Merge "Adding AidlMQDescriptor and GrantorDescriptor" am: f0fc3e4b8f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1370896

Change-Id: I79fab9357ed17e2108e12714400238d1dd9c57be
2020-08-17 20:17:10 +00:00
Devin Moore
f0fc3e4b8f Merge "Adding AidlMQDescriptor and GrantorDescriptor" 2020-08-17 20:06:59 +00:00
Steven Moreland
4bc528c3be Remove identity@1.0 am: afb18a8dac
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1399833

Change-Id: Ia466d7971bd831d81df6373a2ca296a2fff6f728
2020-08-17 17:58:38 +00:00
Jayachandran C
9bc276b2c3 Add indication APIs to expose QOS from LTE and NR bearers
Add indication APIs to expose Quality Of Service (QOS) information
from LTE and NR default as well as dedicated bearers. The QOS is
added to the existing SetupDataCallResult structure so that the
baseband can notify whenever there is a change in QoS on a PDN.

The baseband vendor shall notify the {@link Qos} of the default
bearer at the time of setup data call success. The dedicated bearer
QOS shall be notified whenever network establishes or modfies a
dedicated bearer using dataCallListChanged() API. When network tears
down the dedicated bearer, vendor shall update the same with a empty
{@link QosSession} for the particular data call.

Bug: 158315614
Test: make, VTS
Change-Id: I58cd3fd2cf354de8916aeed1292cd7071e79e184
2020-08-14 14:58:20 -07:00
Devin Moore
1b34d67b7a Adding AidlMQDescriptor and GrantorDescriptor
Adding these two types to android.hardware.common for future use with
Fast Message Queue in libfmq.

Also adding to the mq_test_service to test them.

Test: system/tools/hidl/tests/run_all_device_tests.sh

Bug: 142326204

Change-Id: I424c4849c822436f58e40f206b09ffdf9baf260b
2020-08-14 09:21:22 -07:00
Steven Moreland
afb18a8dac Remove identity@1.0
This HAL was converted to HIDL and is no longer needed.

Bug: N/A
Test: N/A
Change-Id: I497e9f87c1bc77ef66a0cd71ceddc5577ae8895c
2020-08-14 00:53:33 +00:00
Treehugger Robot
c07a0bb942 Merge "vts: remove deprecated gtest macros" am: fcd14d1824
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1394016

Change-Id: I62c4c1d9ff5e7fb08bd56f4f5fa57e78796e4c1b
2020-08-11 12:57:46 +00:00
Treehugger Robot
fcd14d1824 Merge "vts: remove deprecated gtest macros" 2020-08-11 12:44:02 +00:00
Treehugger Robot
f8f2391f8e Merge "Remove unnecessary type and dup for fd" am: 5428551ba9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1374049

Change-Id: I56da62cf488530f40a79e7de339817fbeb23c13b
2020-08-10 19:34:51 +00:00
Treehugger Robot
5428551ba9 Merge "Remove unnecessary type and dup for fd" 2020-08-10 19:10:55 +00:00
Jim Pollock
9df50c6615 vts: remove deprecated gtest macros
INSTANTIATE_TEST_SUITE_P is the drop-in replacement for
INSTANTIATE_TEST_CASE_P and will enable uprev of gtest.

See
https://github.com/google/googletest/releases/tag/release-1.10.0 for
full context.

BUG=chromium:1091244
Test: mma within hardware/interfaces/neuralnetworks

Change-Id: Ibb44a06f3e9a682847d47f64676b3bb7afdde1d9
2020-08-07 13:20:09 +01:00
Dan Shi
18833972f8 Suppress gtest error for tests without any instance am: 4a91699105
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1378657

Change-Id: I3ca7c414d69e1ef34d0ff4304df8a682637f68eb
2020-08-05 22:13:09 +00:00
Dan Shi
4a91699105 Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I58bc808a82b2128bb8774f762f9b9fcecd2614fb
Merged-In: I58bc808a82b2128bb8774f762f9b9fcecd2614fb
2020-08-05 14:02:44 -07:00
Treehugger Robot
fafd15d0c7 Merge "remove duplicate soundtrigger VTS tests" am: 1b634bed68
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1383509

Change-Id: Ieaad9ff2750d1071115e51c91e3da3ec6b4e60ec
2020-08-05 17:46:36 +00:00
Treehugger Robot
1b634bed68 Merge "remove duplicate soundtrigger VTS tests" 2020-08-05 17:35:02 +00:00
Howard Chen
4a4e0595b5 Merge "Move HIDL interfaces not included in mainline_system.mk to system_ext" am: 3fec2daf23
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1371698

Change-Id: I1d19f39502ba2ef5653c06508d675f0a278c6533
2020-08-04 02:42:52 +00:00
Howard Chen
3fec2daf23 Merge "Move HIDL interfaces not included in mainline_system.mk to system_ext" 2020-08-04 02:26:11 +00:00