Commit graph

15878 commits

Author SHA1 Message Date
Xusong Wang
ead950d402 Modify 1.2 VTS tests to consume test struct directly.
Comparing with v1.1, the converter for 1.2 HIDL model has additional support
for extraParam, dynamic output shape, and zero-sized output.

Modify CompilationCachingTests to use the new test struct.

Bug: 123092187
Bug: 138718240
Test: All VTS
Change-Id: I54ac97f62898e47a338b51cc6d895a0309ab001f
Merged-In: I54ac97f62898e47a338b51cc6d895a0309ab001f
(cherry picked from commit 491b0a8913)
2019-08-26 15:10:18 -07:00
Xusong Wang
8161196bd5 Modify 1.1 VTS tests to consume test struct directly.
This CL is very similar to the 1.0 VTS CL. The only difference is that
1.1 Models have an additional field for relaxed model computation.

Bug: 123092187
Bug: 138718240
Test: All VTS
Change-Id: I9264e5b2468b9c6db47d86683d24f8c2c5ec46aa
Merged-In: I9264e5b2468b9c6db47d86683d24f8c2c5ec46aa
(cherry picked from commit 6aad040278)
2019-08-26 15:07:50 -07:00
Xusong Wang
7df4306f8c Modify 1.0 VTS tests to consume test struct directly.
Implement converter utilities constructing HIDL model and request from
TestModel.

Bug: 123092187
Bug: 138718240
Test: All VTS
Change-Id: I0b26b7f41d31d5e63ed083ab5f6f269a3620f034
Merged-In: I0b26b7f41d31d5e63ed083ab5f6f269a3620f034
(cherry picked from commit 8e8b70c439)
2019-08-26 15:07:35 -07:00
Steven Moreland
7e83072833 Merge "Lights: parameterized VTS tests."
am: 8028a27e66

Change-Id: Ia120608ebff1458cb9d67450efe1b3a87b088bc8
2019-08-26 13:43:37 -07:00
Steven Moreland
8028a27e66 Merge "Lights: parameterized VTS tests." 2019-08-26 19:57:44 +00:00
sqian
5a14d20ae8 Update the currentCalls before VTS notification.
It's reasonable to update the global variable "currentCalls" before
notifying the reader thread. Otherwise this can cause some issues such
as null pointer dereference in other modem.

Bug: 139264227
Test: Don't have devices that uses the corresponding modem that reports
 this issues. This is verified according to a partner CL:
https://partner-android-review.googlesource.com/c/platform/hardware/interfaces/+/1422356

Change-Id: Iee9e18149397c39b7c84ec1dc570b9bac7142eb6
Merged-In: Iee9e18149397c39b7c84ec1dc570b9bac7142eb6
(cherry picked from commit fcd55caafd)
2019-08-26 17:13:52 +00:00
Amy Zhang
6eb4d5927d Merge "Tuner HAL VTS for Tuner and Frontend Interface."
am: 54a8146aeb

Change-Id: Ida44c1c443ae36993a8e5910eebba10d21ac4f93
2019-08-24 01:19:54 -07:00
Amy Zhang
5371ac06d2 Merge "Tuner HAL default implementation for ATV for Tuner and Frontend Interface."
am: 6f2162e3db

Change-Id: I709ed72dcdef5533a6ac2bcc7b7180a35ae5434b
2019-08-24 01:19:47 -07:00
Amy Zhang
282236555f Merge "Tuner HAL for ATV Initialize Tuner HAL review from Tuner and Frontend Interface."
am: b14c604e03

Change-Id: I9c17b765a2917ac30e8a140d12d5ba19fb9f6206
2019-08-24 01:19:41 -07:00
TreeHugger Robot
214d43fd46 Merge "DO NOT MERGE - Merge build QP1A.190711.019 into stage-aosp-master" into stage-aosp-master 2019-08-24 06:48:48 +00:00
Amy Zhang
54a8146aeb Merge "Tuner HAL VTS for Tuner and Frontend Interface." 2019-08-23 21:36:34 +00:00
Amy Zhang
6f2162e3db Merge "Tuner HAL default implementation for ATV for Tuner and Frontend Interface." 2019-08-23 21:36:34 +00:00
Amy Zhang
b14c604e03 Merge "Tuner HAL for ATV Initialize Tuner HAL review from Tuner and Frontend Interface." 2019-08-23 21:36:34 +00:00
TreeHugger Robot
127728b560 Merge "DO NOT MERGE - Merge build QP1A.190711.001 into stage-aosp-master history" into stage-aosp-master 2019-08-23 20:27:17 +00:00
Steven Moreland
71521f83cf Deprecate thermal@1.1 HAL for launching devices.
This HAL interface was setup to have multiple clients, but the interface
(and many implementations) didn't separate clients use of callbacks.
That is, one client could delete the callback of the other.

Instead, thermal@2.0 should be used.

Bug: 118792995
Test: assemble_vintf
Change-Id: I2338cf63c6f450b22894406c9426d8d2ddac1057
2019-08-23 09:32:34 -07:00
Max Bires
dddf75c01b Merge "Adding testing functionality for TAG_ROLLBACK_RESISTANCE"
am: 28a7fed681

Change-Id: I48327bcf5effe56e5f57fa53092cde6c10c62ecd
2019-08-23 05:28:49 -07:00
Treehugger Robot
28a7fed681 Merge "Adding testing functionality for TAG_ROLLBACK_RESISTANCE" 2019-08-23 12:05:27 +00:00
Xin Li
68464fb5a0 DO NOT MERGE - Merge build QP1A.190711.019 into stage-aosp-master
Bug: 139893257
Change-Id: I7e48b5477b2edda72c940e05531782dd28a2f784
2019-08-23 06:45:16 +00:00
Xin Li
cdac17ba8a DO NOT MERGE - Merge build QP1A.190711.001 into stage-aosp-master history
Bug: 139893257
Change-Id: Ibd3257fe6f6f10539a746592a4dcc1299adf596c
2019-08-23 06:42:09 +00:00
Amy
7fb75d8cf8 Tuner HAL default implementation for ATV for Tuner and Frontend Interface.
Bug: 135709325
Test: Manual
Change-Id: I5603e2c6dd71c46c9c5f3b0e25425c965e77ed0c
Merged-In: I5603e2c6dd71c46c9c5f3b0e25425c965e77ed0c
2019-08-23 00:47:35 +00:00
Amy
aa2891826c Tuner HAL VTS for Tuner and Frontend Interface.
Bug: 135708935
Test: Manual
Change-Id: I5be2206ffe606ccc5464635f9a26e2c281930a0b
Merged-In: I5be2206ffe606ccc5464635f9a26e2c281930a0b
2019-08-23 00:47:16 +00:00
Henry Fang
ec76614f65 Tuner HAL for ATV
Initialize Tuner HAL review from Tuner and Frontend Interface.

Bug: 135709729
Test: Manual
Change-Id: Ibfc18049ea471a1cfec6fb9f5b71f8a92cf89045
Merged-In: Ibfc18049ea471a1cfec6fb9f5b71f8a92cf89045
2019-08-23 00:46:49 +00:00
Steven Moreland
022cda0236 Lights: parameterized VTS tests.
Bug: 139437880
Test: run VtsHalLightV2_0TargetTest as gtest
Change-Id: I43e8f43583e0ad5fc560c3ee2129305396751e29
2019-08-21 15:46:02 -07:00
Peter Kalauskas
caed24ba9b Convert LazyServiceRegistrar usage to singleton
Test: lshal
Bug: 139376253
Change-Id: I32cb803fb73aa15b52676847b6e7eb09b86657dc
2019-08-19 21:15:30 +00:00
Peter Kalauskas
0c7812c7f5 Merge "Convert LazyServiceRegistrar usage to singleton"
am: f71728f04b

Change-Id: Ia9c99cc1b986f266f0239aefcd74600d0c3485da
2019-08-16 11:54:24 -07:00
Peter Kalauskas
f71728f04b Merge "Convert LazyServiceRegistrar usage to singleton" 2019-08-16 18:09:13 +00:00
TreeHugger Robot
fa93b63879 Merge "DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master" into stage-aosp-master 2019-08-15 23:02:11 +00:00
Max Bires
b1b45ff81c Adding testing functionality for TAG_ROLLBACK_RESISTANCE
Due to changes in implementation between keymaster 3.0 and 4.0, rollback
resistance is now specified by the caller. This patch addresses that
inconsistency to make sure rollback resistance is properly tested. If
rollback resistance is supported by the hardware, then it will now be
tested.

Test: atest VtsHalKeymasterV4_0TargetTest
Change-Id: I21e8d1e66932ddfad2d42ce8a43591431f3ff284
2019-08-15 12:46:56 -07:00
Slava Shklyaev
adf64d6cbe Merge "Refactor generated NNAPI tests (follow-up)"
am: 651869e0c6

Change-Id: Ia3bdfbfc6abbdc970efcd0cf31df2b58676eebe8
2019-08-15 10:15:52 -07:00
Treehugger Robot
651869e0c6 Merge "Refactor generated NNAPI tests (follow-up)" 2019-08-15 16:44:36 +00:00
Slava Shklyaev
e2f9d55a26 Merge "Refactor generated NNAPI tests"
am: caedc76b18

Change-Id: I5087c042a51954a7276d7d20167f526884c987c0
2019-08-15 09:14:24 -07:00
Slava Shklyaev
caedc76b18 Merge "Refactor generated NNAPI tests" 2019-08-15 15:42:27 +00:00
Peter Kalauskas
701e7f6616 Convert LazyServiceRegistrar usage to singleton
Test: lshal
Bug: 139376253
Change-Id: Ib1cbfabec23a488868e807a4a9c2b29cd960cc1e
2019-08-14 13:53:14 -07:00
Xin Li
d6651f2888 DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master
Bug: 134405016
Change-Id: I3479c4c0906f4868bc6395b7129f09c695a67d9d
2019-08-14 12:04:07 -07:00
Les Lee
2ad166a35b Merge "WifiHal: Correct typo for code comment"
am: 12ca95ccc4

Change-Id: I97adbb5087c950df99af8962ff400978d5ad64af
2019-08-13 01:28:57 -07:00
Les Lee
12ca95ccc4 Merge "WifiHal: Correct typo for code comment" 2019-08-13 08:10:38 +00:00
Steven Moreland
d2e2e9ae5b Add restricted OWNERS for .hal/.aidl files.
am: 2c3eacc779

Change-Id: I7954b4e318ff98820f7f5232981f9432bf6cc16e
2019-08-12 16:32:51 -07:00
Steven Moreland
2c3eacc779 Add restricted OWNERS for .hal/.aidl files.
Since new hardware interfaces may start containing .aidl interfaces.

Bug: 136027762
Test: N/A
Change-Id: Ie560aadb8882faa532778a5653a07868df2801b6
2019-08-09 15:07:49 -07:00
Neel Mehta
00cdb1d1d2 Remove annotations with constexpr params
am: 3dfccafba4

Change-Id: Ice6677138250a3c67ed07022d36649ea529ab0f4
2019-08-07 14:27:12 -07:00
Slava Shklyaev
0da5c34a3a Refactor generated NNAPI tests (follow-up)
Bug: 136097638
Test: m
Change-Id: I0688a843ab04caca9d62f95d38179804eb1b0f80
2019-08-07 12:29:38 +01:00
Slava Shklyaev
e8b2446b35 Refactor generated NNAPI tests
See change I2c0366fb87c96851fa6e0f8fe9ceac012d8e3513

Bug: 136097638
Test: m VtsHalNeuralnetworksV1_0TargetTest
Test: m VtsHalNeuralnetworksV1_1TargetTest
Test: m VtsHalNeuralnetworksV1_2TargetTest
Test: m VtsHalNeuralnetworksV1_2CompatV1_0TargetTest
Change-Id: I6fdede028422145d313d46532b5d2154ef0d40bc
Merged-In: I6fdede028422145d313d46532b5d2154ef0d40bc
(cherry picked from commit 2bcfdc82a0)
2019-08-07 12:17:59 +01:00
Neel Mehta
3dfccafba4 Remove annotations with constexpr params
These are not used anywhere in the tree and are hence not supported.
These are being removed from hidl-gen so this code is being removed.

Bug: N/A
Test: hidl-gen -Lcheck android.hardware.tests.expression@1.0
Change-Id: Ia19746da8ba361c7f29cc8732058a27cdc7a1bfe
2019-08-06 17:32:40 -07:00
lesl
83530c7fe9 WifiHal: Correct typo for code comment
Test: full build
Change-Id: Ia457f39d1d68527c2bdfaa700d45ead3d2064a52
2019-08-06 12:03:28 +08:00
Janis Danisevskis
e84234afc8 Merge "Keymaster should be developed in AOSP"
am: a5e28d6abf

Change-Id: I290f732459635300fa84ca69523d2935bec9fd89
2019-08-02 10:01:58 -07:00
Treehugger Robot
a5e28d6abf Merge "Keymaster should be developed in AOSP" 2019-08-02 16:32:24 +00:00
Janis Danisevskis
11d910b6a4 Keymaster should be developed in AOSP
This patch adds notifications for internal contributors of
confirmationui, gatekeeper, and keymaster, indicating that these HALS
are developed in AOSP.

Test: N/A
Bug: 118491737
Change-Id: I7f6d5da663026c3cd2124cc3a025a08835585a1c
2019-08-01 15:52:53 -07:00
android-build-team Robot
4dd458dab6 Merge cherrypicks of [9111407, 9111408, 9111409, 9111410, 9111411, 9111332, 9110454] into qt-release
Change-Id: Ic9723493034182084113fcdb716988d4329c7037
2019-08-01 00:59:19 +00:00
Youming Ye
f5d07b84c1 Add non-dds check for startNetworkScan
Providing non-dds exemption for HAL 1.2 network scan due to some devices
only perform network scan on preferred data sim. Since logical modem
id(0/1) and physical sim slot id(0/1) are intuitively aligned. Set
first sim as dds sim, and skip the network scan on the second one
(non-dds).

Test: Vts
Bug: 135243177
Change-Id: I58b89473714dc6d3ce6567ba1809baad6cd6d799
(cherry picked from commit fc85e8fa50)
2019-08-01 00:58:48 +00:00
Daniel Norman
3a6c4696bd Merge "Replaces 'oneshot' and 'interface' with 'onrestart restart audioserver'."
am: 5bb99e24ad

Change-Id: I38708e1b102546d6024a1f80d2c7d7a7e1c18ee9
2019-07-31 15:21:08 -07:00
Daniel Norman
5bb99e24ad Merge "Replaces 'oneshot' and 'interface' with 'onrestart restart audioserver'." 2019-07-31 21:12:12 +00:00