Commit graph

16318 commits

Author SHA1 Message Date
Robert Chou
fe8248cfdb Merge "hostapd: Ignore ACS relate vts testcase for hostapd 1.0 and hostapd 1.1" into qt-dev am: e9e4020560
am: 6059e56d92

Change-Id: If8c9aa3017825cdb8090d4d7504e39e4bca2f56e
2019-09-05 13:18:44 -07:00
Robert Chou
6059e56d92 Merge "hostapd: Ignore ACS relate vts testcase for hostapd 1.0 and hostapd 1.1" into qt-dev
am: e9e4020560

Change-Id: I738f6f239ba5ad3daea875f760dbb79be129861b
2019-09-05 12:42:56 -07:00
Robert Chou
e9e4020560 Merge "hostapd: Ignore ACS relate vts testcase for hostapd 1.0 and hostapd 1.1" into qt-dev 2019-09-05 19:17:33 +00:00
Steven Moreland
978e16f08a Merge "Rename a2dp impl as mock." am: 0504b501ff am: 526dbf24b9
am: 072c31c94d

Change-Id: I98826747bdfdb2089c00a2019bab4a925bf243b7
2019-09-05 04:27:06 -07:00
Steven Moreland
072c31c94d Merge "Rename a2dp impl as mock." am: 0504b501ff
am: 526dbf24b9

Change-Id: I5bab1d4222e9e906488db2d903a1e5b6fe7eafa5
2019-09-05 04:20:33 -07:00
Steven Moreland
526dbf24b9 Merge "Rename a2dp impl as mock."
am: 0504b501ff

Change-Id: I366a4f69d0af1adecd2190d47136dd295423a056
2019-09-05 04:14:03 -07:00
Treehugger Robot
0504b501ff Merge "Rename a2dp impl as mock." 2019-09-05 10:53:27 +00:00
Steven Moreland
59d39ab02c Rename a2dp impl as mock.
So that it isn't accidentally used.

Bug: 140115084
Test: codesearching for usages
Change-Id: I2736a875d8a3021ce496847c45259f10aa148bc0
2019-08-30 11:53:44 -07:00
Michael Butler
d42bc350b2 Cleanup NNAPI VTS tests am: 62749b917e am: f952adda07
am: fb3b426d6e

Change-Id: I5460bc9f1bd2ea62119e44a8848f0aa1b7d4f4c3
2019-08-30 11:47:39 -07:00
Michael Butler
fb3b426d6e Cleanup NNAPI VTS tests am: 62749b917e
am: f952adda07

Change-Id: I6337d46d526ec81dbfc57ca7f94f08dc95830fc7
2019-08-30 11:29:33 -07:00
Michael Butler
f952adda07 Cleanup NNAPI VTS tests
am: 62749b917e

Change-Id: Ia71e9765a810b2f07c4dbec5e101e357c64ba91d
2019-08-30 11:17:32 -07:00
Michael Butler
62749b917e Cleanup NNAPI VTS tests
This CL includes the following cleanups:
* namespace compression
* remove "using" from header files
* remove no-op code, default no-op constructors
* clang-formats the code

Bug: N/A
Test: mma
Test: VtsHalNeuralnetworksV1_*TargetTest
Change-Id: I023997d8686ca65223858eed3a0881f5444ed2d6
Merged-In: I023997d8686ca65223858eed3a0881f5444ed2d6
(cherry picked from commit bbe5dad266)
2019-08-29 12:55:56 -07:00
David Gross
39a515e2bc Merge "Fix V1_2::IDevice::getType documentation: was @param instead of @return" am: 15b826ad6a am: c9981f9592
am: 1da8ae3753

Change-Id: Ic63a78df2e27557e9ca6dad898c1721e74f7f651
2019-08-29 11:32:05 -07:00
David Gross
1da8ae3753 Merge "Fix V1_2::IDevice::getType documentation: was @param instead of @return" am: 15b826ad6a
am: c9981f9592

Change-Id: I0d3e630b71db47626f655de12a9e685fb385858e
2019-08-29 11:22:46 -07:00
David Gross
c9981f9592 Merge "Fix V1_2::IDevice::getType documentation: was @param instead of @return"
am: 15b826ad6a

Change-Id: I81b920f6c0edb6f1709af8d8b609e21d64e5755e
2019-08-29 11:14:21 -07:00
David Gross
15b826ad6a Merge "Fix V1_2::IDevice::getType documentation: was @param instead of @return" 2019-08-29 17:44:04 +00:00
Android Build Merger (Role)
004027ac60 Merge "[automerger skipped] Fix wait_for timestamps in Sensors VTS am: eac8d9acc9 -s ours am: 32ecb053a9 -s ours am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history" into qt-r1-dev-plus-aosp 2019-08-29 17:44:01 +00:00
Anthony Stange
1da618f210 [automerger skipped] Fix wait_for timestamps in Sensors VTS am: eac8d9acc9
am: c19af4a907 -s ours
am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history

Change-Id: I14a37d75839322e6e99833886f86ecb1fc4d98e1
2019-08-29 10:43:51 -07:00
Anthony Stange
843df4415f [automerger skipped] Fix wait_for timestamps in Sensors VTS am: eac8d9acc9 -s ours
am: 32ecb053a9 -s ours
am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history

Change-Id: I6e5518a3f1a0f383dbc28dcfb8138966b3e8d7c6
2019-08-29 10:43:51 -07:00
Anthony Stange
32ecb053a9 [automerger skipped] Fix wait_for timestamps in Sensors VTS
am: eac8d9acc9 -s ours
am skip reason: change_id Ibba59dbf9312f97d7275e5aa8cd36547ab09e328 with SHA1 4a80e231ed is in history

Change-Id: I02fe7d1fe9f6068432723a3812a7b7a5a6f6bcbd
2019-08-29 10:34:49 -07:00
Anthony Stange
c19af4a907 Fix wait_for timestamps in Sensors VTS
am: eac8d9acc9

Change-Id: I21c8577ecc56e2d2334352e2f3e9c386cc6aead6
2019-08-29 10:34:49 -07:00
Anthony Stange
eac8d9acc9 Fix wait_for timestamps in Sensors VTS
Previously, NoStaleEvents was treating any timestamps it dealt with as
if they were in microseconds, but sensors.minDelay is in microseconds
and Event timestamps are in nanoseconds. This uses std::chrono helpers
to ensure the correct time is used when deciding how long to sleep
during the test so that if waitForEvents never passes, the test doesn't
time out.

Bug: 136736906
Test: Run VTS and verify VtsHalSensorsV2_0Target doesn't finish as an
    incomplete module.

Change-Id: Ibba59dbf9312f97d7275e5aa8cd36547ab09e328
Merged-In: Ibba59dbf9312f97d7275e5aa8cd36547ab09e328
2019-08-29 10:04:52 -04:00
lesl
6919cf1a70 hostapd: Ignore ACS relate vts testcase for hostapd 1.0 and hostapd 1.1
If driver doesn't support the hotspot ACS feature.
It will cause ACS relate vts testcase failure.
Temp disable the vts test case and file b/140172237 to fix in R.

Bug: 135975451
Test: build - make vts
Test: atest VtsHalWifiHostapdV1_1Target / atest VtsHalWifiHostapdV1_0Target
Test: vts-tradefed run commandAndExit vts-hal --skip-all-system-status-check \
      --primary-abi-only --skip-preconditions --module \
      VtsHalWifiHostapdV1_0Target -l INFO
      vts-tradefed run commandAndExit vts-hal --skip-all-system-status-check \
      --primary-abi-only --skip-preconditions --module \
      VtsHalWifiHostapdV1_1Target -l INFO

Change-Id: I489d5f5c54f37f3603128e127a6c8b1ee62390d3
2019-08-29 11:01:50 +08:00
Michael Butler
17d8081fbc NNAPI Combine Compatability test with VTS test am: 3247f76e35 am: 52da1b820c
am: 3967ccfffa

Change-Id: Id7f134627eccf33e55ae1c965717b3cb941cbb7a
2019-08-28 17:21:22 -07:00
Michael Butler
b6a206b411 Change NNAPI VTS to use static library am: 01ba094edb am: ba2da6c2d3
am: 41b38ee6d0

Change-Id: I59647f50d647bf90c55fcc27bcc27720a6753b87
2019-08-28 17:21:09 -07:00
Xusong Wang
0e8c242bf0 Merge changes from topic "nnapi_test_dynamic_reg" am: 6568622209 am: 0ac1896ef5
am: 2bfcfe37a9

Change-Id: Idc0e79a24bed75df4debe2f5b0f085724cfb8ba2
2019-08-28 15:00:28 -07:00
Xusong Wang
eacac2df48 Update VTS tests with the new test harness. am: bcaa78293a am: 5fb57da9a2
am: c0ab90d98a

Change-Id: I2aa3b8a4b2e46639d072f62206fb4c16b8ce83f4
2019-08-28 15:00:14 -07:00
Michael Butler
3967ccfffa NNAPI Combine Compatability test with VTS test am: 3247f76e35
am: 52da1b820c

Change-Id: I8b64c6134d2af39ae5acd51cb0520e820d29d9e2
2019-08-28 14:52:27 -07:00
Michael Butler
41b38ee6d0 Change NNAPI VTS to use static library am: 01ba094edb
am: ba2da6c2d3

Change-Id: Ib965d08aff8aab0d9ea1261131a06be8d9bc230f
2019-08-28 14:52:19 -07:00
Michael Butler
52da1b820c NNAPI Combine Compatability test with VTS test
am: 3247f76e35

Change-Id: If447a9db2d0a9d5906396eb5f927a0df13f868ae
2019-08-28 14:12:36 -07:00
Michael Butler
ba2da6c2d3 Change NNAPI VTS to use static library
am: 01ba094edb

Change-Id: Ia6d6fc4f68c77a36c514025af4384bbe18b0db99
2019-08-28 14:12:28 -07:00
Xusong Wang
2bfcfe37a9 Merge changes from topic "nnapi_test_dynamic_reg" am: 6568622209
am: 0ac1896ef5

Change-Id: I069481fd6df14709cc14ddeace3f927d46e6b6a5
2019-08-28 14:09:46 -07:00
Xusong Wang
c0ab90d98a Update VTS tests with the new test harness. am: bcaa78293a
am: 5fb57da9a2

Change-Id: I548b9dcfe6a054376d698cd60674c3fa77129e2d
2019-08-28 14:09:27 -07:00
Xusong Wang
0ac1896ef5 Merge changes from topic "nnapi_test_dynamic_reg"
am: 6568622209

Change-Id: I298f137a70b07bdb7f9e6f85d8b293ec1bad7c86
2019-08-28 13:21:01 -07:00
Xusong Wang
5fb57da9a2 Update VTS tests with the new test harness.
am: bcaa78293a

Change-Id: I690d0111167d8ec1e7db98021a6f302dfe01f839
2019-08-28 13:20:49 -07:00
David Gross
9dedd439ab Fix V1_2::IDevice::getType documentation: was @param instead of @return
Bug: 124346013

Test: $ cd neuralnetworks/1.2 ; mma
Change-Id: I45d1320a9edae73cde7d9ccaca57b5b9519b0210
Merged-In: I45d1320a9edae73cde7d9ccaca57b5b9519b0210
(cherry picked from commit c7cdd550a0)
2019-08-28 11:40:01 -07:00
Michael Butler
3247f76e35 NNAPI Combine Compatability test with VTS test
Bug: 139889855
Fixes: 140120312
Test: mma
Test: VtsHalNeuralnetworksV1_*TargetTest (with sample-all)
Change-Id: Ib93d159dc657eaf292d16140ebdd9de3b0f5f1d3
Merged-In: Ib93d159dc657eaf292d16140ebdd9de3b0f5f1d3
(cherry picked from commit 72227f3ef8)
2019-08-28 11:35:29 -07:00
Michael Butler
01ba094edb Change NNAPI VTS to use static library
This CL also adds Compilation Caching tests to the Presubmit tests,
which were missing configuration files before.

Bug: 139889855
Test: mma
Test: VtsHalNeuralnetworksV1_*TargetTest (with sample-all)
Test: VtsHalNeuralnetworksV1_*CompatV1_*TargetTest (with sample-all)
Change-Id: I65274b5f72def815ff238a8d8df10c9d014afc44
Merged-In: I65274b5f72def815ff238a8d8df10c9d014afc44
(cherry picked from commit f7a8f03e3d)
2019-08-28 11:34:58 -07:00
Xusong Wang
6568622209 Merge changes from topic "nnapi_test_dynamic_reg"
* changes:
  Statically check test enums against HIDL definitions.
  Update VTS tests with the new test harness.
2019-08-28 18:02:59 +00:00
Steven Moreland
a2848d2ac7 Merge "Rename dumpstate service to include '.example'." am: b25a7316a5 am: c0f9a7935b
am: 2deb6000a6

Change-Id: Icd2687cd6f8f9b253ea06a375e5b963e71d200e5
2019-08-27 17:24:58 -07:00
Xusong Wang
3bd97e5bf6 [automerger skipped] Merge changes from topic "nnapi-cp-test-model" am: 70764914db -s ours am: e44f9e509c -s ours
am: 4c6fefaeed -s ours
am skip reason: change_id I54ac97f62898e47a338b51cc6d895a0309ab001f with SHA1 ead950d402 is in history

Change-Id: Icb1d2111c282f2bfbf883a1b8a100ac555d7f52a
2019-08-27 17:24:34 -07:00
Xusong Wang
1abd3fe246 [automerger skipped] Modify 1.2 VTS tests to consume test struct directly. am: ead950d402 -s ours am: a94e5846da -s ours
am: 2a841e284d -s ours
am skip reason: change_id I54ac97f62898e47a338b51cc6d895a0309ab001f with SHA1 6d0270b056 is in history

Change-Id: I011a0dfe339c7817f9db69bbcad3270ed8666c78
2019-08-27 17:21:37 -07:00
Steven Moreland
2deb6000a6 Merge "Rename dumpstate service to include '.example'." am: b25a7316a5
am: c0f9a7935b

Change-Id: Ic957fd6de672f9f5ce90296dc8634c53f267ce54
2019-08-27 16:44:36 -07:00
Xusong Wang
4c6fefaeed [automerger skipped] Merge changes from topic "nnapi-cp-test-model" am: 70764914db -s ours
am: e44f9e509c -s ours
am skip reason: change_id I54ac97f62898e47a338b51cc6d895a0309ab001f with SHA1 6d0270b056 is in history

Change-Id: Ifb8ef1b93a18fc0cf83effd3aae02423014e6203
2019-08-27 16:44:06 -07:00
Xusong Wang
2a841e284d [automerger skipped] Modify 1.2 VTS tests to consume test struct directly. am: ead950d402 -s ours
am: a94e5846da -s ours
am skip reason: change_id I54ac97f62898e47a338b51cc6d895a0309ab001f with SHA1 6d0270b056 is in history

Change-Id: I95200f706f846b779f0afdc8d98319d43b2233ee
2019-08-27 16:27:10 -07:00
Steven Moreland
c0f9a7935b Merge "Rename dumpstate service to include '.example'."
am: b25a7316a5

Change-Id: I4d40f208d81bc4bf48f6808bee0d164aef4be206
2019-08-27 16:26:16 -07:00
Xusong Wang
e44f9e509c [automerger skipped] Merge changes from topic "nnapi-cp-test-model"
am: 70764914db -s ours
am skip reason: change_id I54ac97f62898e47a338b51cc6d895a0309ab001f with SHA1 6d0270b056 is in history

Change-Id: Iedddfbe74f07a856dbe63d07cd4ee9d629c88883
2019-08-27 16:25:43 -07:00
Xusong Wang
ee80b02ae9 Statically check test enums against HIDL definitions.
Fixes: 123092187
Test: mma all VTS
Test: Attempt to modify test enum value,
      confirm that there is build error with proper error message.

Change-Id: I0129378c87637b33bb145ec93307634273a9d2fd
Merged-In: I0129378c87637b33bb145ec93307634273a9d2fd
(cherry picked from commit cbfa6b998e)
2019-08-27 16:09:30 -07:00
Xusong Wang
bcaa78293a Update VTS tests with the new test harness.
Bug: 120601396
Test: All VTS
Change-Id: I539e75585b2cc01d153565814491361adfa048be
Merged-In: I539e75585b2cc01d153565814491361adfa048be
(cherry picked from commit 9e2b97b83c)
2019-08-27 16:09:12 -07:00
Xusong Wang
a94e5846da [automerger skipped] Modify 1.2 VTS tests to consume test struct directly.
am: ead950d402 -s ours
am skip reason: change_id I54ac97f62898e47a338b51cc6d895a0309ab001f with SHA1 6d0270b056 is in history

Change-Id: Iee182115d04a18f7b99730843997fdbc7b37a9bd
2019-08-27 16:07:47 -07:00