Commit graph

92 commits

Author SHA1 Message Date
Dan Shi
ba894f81db Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 15:17:02 -07:00
Dan Shi
bc404e6c80 Convert VtsHalRenderscriptV1_0TargetTest to be parameterized test
Bug: 142397658
Test: atest VtsHalRenderscriptV1_0TargetTest
Change-Id: I319f113d2c80afc75a28a480e3dd1c7739c5f2d7
2019-12-11 10:23:35 -08:00
Nick Desaulniers
91e1687dcc [hardware][interfaces][renderscript] fix -Wreorder-init-list
C++20 will require members in a designated initializer to be in order
unlike C99.

Bug: 139945549
Test: mm
Change-Id: I9529dba0fe407f0d16f7aee10e3629f0175b8e3e
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2019-10-14 11:05:57 -07:00
Steven Moreland
b3a4d3832e Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
2019-09-06 01:07:02 +00:00
Steven Moreland
1ae4615d9f Update hidl makefiles for bpfmt
hidl-generated makefiles are now generated such that bpfmt(file) == file.

Bug: 67417008
Test: enable bpfmt hook
Change-Id: I1f69d292bc23a7cc293a66110cb02d597e1019ad
2019-04-17 09:38:50 -07:00
Steven Moreland
a878aee9ab Update makefies: no 'types'
Bug: 123976090
Test: N/A
Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
2019-03-04 11:27:17 -08:00
Chih-Hung Hsieh
a8c052d038 Fix cert-dcl16-c clang-tidy warnings.
Bug: 120614316
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,cert-dcl16-c
Change-Id: I13b7b9951ed198f91203475736edb3495e8a50aa
2018-12-12 15:39:15 -08:00
Keun Soo YIM
68ae05dd2d pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-12-07 10:49:56 -08:00
Miao Wang
da4882059b Add missing copyright info to RS default implementation.
Bug: 118068536
Test: none
Change-Id: I896f8f4734d5bf76a889198255d5851bcd696714
2018-10-29 16:34:58 -07:00
Brian Carlstrom
3f2d71fb2d Log dlerror on dlopen related failures
Bug: 72300913
Bug: 72342986
Bug: 72462122
Test: manually confirmed logging on failure
Change-Id: I401587311e5c3e3d1ef69516645ebb2dd4479c51
2018-01-24 19:53:36 -08:00
Zhuoyao Zhang
a529b73890 Merge "Convert Renderscript Hal test to test against each of the service names."
am: 4fae0e4f75

Change-Id: I76769806c8e90411055c4864b57e8271cc1894a8
2017-11-15 18:16:46 +00:00
Xin Li
bb9e38fef9 Merge commit '1a06284b24f5eb7bb9c1fea0817da8898b3b1bff' from
oc-mr1-dev-plus-aosp into stage-aosp-master

Change-Id: I2a044eb8c9981d0a8198ffe2df55559afbd76341
Merged-In: I4fb9f18884f7ef21162015a0032c4431444f7025
2017-11-14 12:08:38 -08:00
Zhuoyao Zhang
674b34d42f Convert Renderscript Hal test to test against each of the service names.
Bug:64203181
Test: vts-tradefed run vts -m VtsHalRenderscriptV1_0Target
Change-Id: I40bb519f901a553363837a42ee7450db32d22e27
2017-11-13 17:45:23 -08:00
Steven Moreland
a1169dd600 Update makefiles for hidl_interface.
Bug: 35570956
Test: manual
Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
2017-11-10 09:06:55 -08:00
Jae Shin
6a70875ba8 Fix cpp style cast and variable name
Test: run vts -m VtsHalRenderscriptV1_0TargetTest
Change-Id: I0c902aea13da7d4af2357ec42d8f712fda7269d4
2017-10-26 05:22:06 +00:00
Jiyong Park
0f70905b7d Load libRS_internal.so from the rs namespace
Bug: 64747884
Test: VtsHalRenderscriptV1_0TargetTest successful on the device built
with BOARD_VNDK_VERSION=current and [system] namespace config is applied
to /data/nativetest[64]/* processes.

Merged-In: I9e967c80ac2dba718cd47e1f378bcbf18abe9ad2
Change-Id: I9e967c80ac2dba718cd47e1f378bcbf18abe9ad2
(cherry picked from commit a7ef697a0a)
2017-10-26 05:21:57 +00:00
Steven Moreland
116161d94e Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1
am: 6c811964a1

Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
2017-10-11 16:31:07 +00:00
Steven Moreland
0fff75dee1 Update for Soong java makefiles.
am: c3e80fa01e

Change-Id: Ia8835f9c95bd98a96f5fd3aff11191e7d3726fb9
2017-10-11 16:23:54 +00:00
Steven Moreland
c3e80fa01e Update for Soong java makefiles.
Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
2017-10-10 23:07:20 +00:00
Steven Moreland
9a17f41f6f Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985f
am: b53e6ad535

Change-Id: I23269fb7a9bdd352e670a80f390527d9eef31412
2017-10-04 21:51:00 +00:00
Steven Moreland
861651985f Merge "Update for hidl adapter module defaults."
am: 988c977079

Change-Id: I289818be1b30397391847ba1c532d1014fdbed27
2017-10-04 21:45:09 +00:00
Steven Moreland
527fd76a0e Update for hidl adapter module defaults.
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
2017-10-04 12:47:03 -07:00
Steven Moreland
9fdd241905 Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3
am: 71a193a425

Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
2017-09-26 23:58:51 +00:00
Steven Moreland
f07e364ce3 Merge "Fix typo in update makefiles."
am: 9960148420

Change-Id: I949634e72f817f3a5411130e968acd8efd1d7725
2017-09-26 23:51:07 +00:00
Steven Moreland
a5299ee739 Fix typo in update makefiles.
Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
2017-09-26 21:59:43 +00:00
Steven Moreland
97228c0b7d Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e
am: b94d0c7290

Change-Id: If766cffbcc003cc0cc5eb98969b924aa918fff44
2017-09-26 12:53:13 +00:00
Steven Moreland
73949c1d7e Update makefiles for hidl adapter.
am: 26a0bb2762

Change-Id: I3a811f5cd49bd4e81e8fcd5c8e88922115812539
2017-09-25 23:14:44 +00:00
Steven Moreland
26a0bb2762 Update makefiles for hidl adapter.
Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
2017-09-25 18:35:56 +00:00
Jiyong Park
a7ef697a0a Load libRS_internal.so from the rs namespace
Bug: 64747884
Test: VtsHalRenderscriptV1_0TargetTest successful on the device built
with BOARD_VNDK_VERSION=current and [system] namespace config is applied
to /data/nativetest[64]/* processes.

Change-Id: I9e967c80ac2dba718cd47e1f378bcbf18abe9ad2
2017-08-16 23:35:57 +09:00
Justin Yun
cc74a34528 Manually update makefile for vndk-sp hidl libs. am: 282278fa9e am: 7cfdc92f66
am: 8f80b6fd9c

Change-Id: I5dd2d2cfcc18f8fa3c511fbccc0e012e72653a1d
2017-08-09 20:36:53 +00:00
Steven Moreland
65de66a67e Update makefiles for vndk enabled. am: 5e59402492 am: 271d53d836
am: 148ca84740

Change-Id: I5ef3611026b9c770bf713c14b9e01899a796e61c
2017-08-09 20:36:43 +00:00
Justin Yun
7cfdc92f66 Manually update makefile for vndk-sp hidl libs.
am: 282278fa9e

Change-Id: Iab8a3fe2dba402804ef47b3dbb09b87ceec490d6
2017-08-09 00:44:43 +00:00
Steven Moreland
271d53d836 Update makefiles for vndk enabled.
am: 5e59402492

Change-Id: I08414d68d5275df82336653cb91765af7235f914
2017-08-09 00:44:39 +00:00
Justin Yun
282278fa9e Manually update makefile for vndk-sp hidl libs.
vndk-sp is not automatically tagged by hidl-gen.
For vndk-sp libs, "support_system_process: true" is manually added
in "vndk" property.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: I2b18d691411e58dc55bcdfa39ecb3659242c8437
Change-Id: I2b18d691411e58dc55bcdfa39ecb3659242c8437
(cherry picked from commit f2bd6c12a2)
2017-08-08 17:10:25 +09:00
Steven Moreland
5e59402492 Update makefiles for vndk enabled.
Test: none
Bug: 63866913
Merged-In: I29174fdadca2828455ef49f14e53bc95c5238dbb
Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb
(cherry picked from commit c716b8c307)
2017-08-08 17:09:10 +09:00
Tri Vo
070dd5d28a Renderscript test static link to HAL def libs.
And use VtsHalTargetTestDefaults.

Bug: 64040096
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalRenderscriptV1_0Target
Change-Id: Id6177663b441b5b0971143309401d73395ab51db
2017-08-07 14:11:33 -07:00
Justin Yun
f2bd6c12a2 Manually update makefile for vndk-sp hidl libs.
vndk-sp is not automatically tagged by hidl-gen.
For vndk-sp libs, "support_system_process: true" is manually added
in "vndk" property.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: I2b18d691411e58dc55bcdfa39ecb3659242c8437
2017-08-04 14:40:55 +09:00
TreeHugger Robot
d9b12c13e5 Merge "Update makefiles for vndk enabled." into oc-mr1-dev 2017-08-04 00:52:06 +00:00
Steven Moreland
c716b8c307 Update makefiles for vndk enabled.
Test: none
Bug: 63866913
Change-Id: I29174fdadca2828455ef49f14e53bc95c5238dbb
2017-08-02 18:00:14 -07:00
Steven Moreland
208a586cf8 Update HIDL makefiles.
Allow them to be static.

This is required for a couple of reasons:
- enabling HIDL passthrough in recovery
- enabling VTS tests to be static blobs

Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Merged-In: I1b2401fb273ab80819e3870aa71fe742269674ba
Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba
(cherry picked from commit 7206708528)
2017-08-02 12:52:41 -07:00
Steven Moreland
a1a7a39695 Merge "Update HIDL makefiles." am: 49dad304a5 am: 68a25d22e3
am: 27e608f01c

Change-Id: I1d9c2c1d1b15f865890f3c11310abd4096497ff5
2017-07-31 19:40:02 +00:00
Steven Moreland
68a25d22e3 Merge "Update HIDL makefiles."
am: 49dad304a5

Change-Id: I29f1de44312f589ba6e1df9498809cbb31315a2b
2017-07-31 19:33:34 +00:00
Steven Moreland
7206708528 Update HIDL makefiles.
Allow them to be static.

This is required for a couple of reasons:
- enabling HIDL passthrough in recovery
- enabling VTS tests to be static blobs

Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba
2017-07-26 10:14:57 -07:00
Michael Butler
5cc58a7699 Merge "Added protections to RenderScript VTS class teardown." am: 80002c1ff3 am: 06f79dbd05
am: 88d9fda69a

Change-Id: I5610aa46a612acbd3b854de9721fd4c204a2f5f0
2017-07-14 22:54:58 +00:00
Michael Butler
06f79dbd05 Merge "Added protections to RenderScript VTS class teardown."
am: 80002c1ff3

Change-Id: I55d1b0432e87068913a0e40cb72717a3a034b1e7
2017-07-14 22:46:57 +00:00
Michael Butler
4c65977854 Added protections to RenderScript VTS class teardown.
If RenderScript HIDL server does not exist or cannot be opened,
currently it results in a nullptr dereference when the VTS test is
torn down. This CL adds a check before the cleanup.

Test: mm -j40
Bug: 63711002
Change-Id: I11a226a78b31444e7b198b2ff1dfa3794963caa0
2017-07-14 20:47:14 +00:00
Miao Wang
e3df60111e Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." into oc-dev am: 827e291043
am: 0fd82f993e

Change-Id: I2d5240836e75f47342894c33dca5866afeca4037
2017-06-02 23:34:35 +00:00
Miao Wang
0fd82f993e Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." into oc-dev
am: 827e291043

Change-Id: I1b6548be61440b195d283b929792a2342810120d
2017-06-02 23:28:07 +00:00
Miao Wang
827e291043 Merge "[RenderScript] Use OVERRIDE_RS_DRIVER string in the default implementation." into oc-dev 2017-06-02 23:21:00 +00:00
Miao Wang
41d8a44280 [RenderScript] Use OVERRIDE_RS_DRIVER string in the default
implementation.

Bug: 37035983
Test: mm
Test: manually push to sailfish & angler, verify GPU driver successfully
load, and tests are passing.

Change-Id: Ic55c74228e7eae599702365c513009aa3454656b
Merged-In: Ic55c74228e7eae599702365c513009aa3454656b
2017-06-02 23:17:31 +00:00