summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSungtak Lee <taklee@google.com>2018-02-28 14:43:14 -0800
committerSungtak Lee <taklee@google.com>2018-02-28 17:45:26 -0800
commit3c2aeebbb6f9734c7120e91218f268b2913f70dc (patch)
tree3b97646615e7739c9c214eed15e90ee970f6b8a9
parent40b572afa0fe052e1b43bf1cbe2b5f69004674db (diff)
downloadvndk-3c2aeebbb6f9734c7120e91218f268b2913f70dc.tar.gz
Add VtsVndkHidlBufferpoolV1_0Target
Add vts unit tets for libstagefright_bufferpool@1.0. Bug: 73312686 Change-Id: I3f8be404037370a87a6e7ec49d7fa87453df6673
-rw-r--r--hidl/bufferpool/V1_0/target/Android.mk23
-rw-r--r--hidl/bufferpool/V1_0/target/AndroidTest.xml32
2 files changed, 55 insertions, 0 deletions
diff --git a/hidl/bufferpool/V1_0/target/Android.mk b/hidl/bufferpool/V1_0/target/Android.mk
new file mode 100644
index 0000000..89dd65d
--- /dev/null
+++ b/hidl/bufferpool/V1_0/target/Android.mk
@@ -0,0 +1,23 @@
+#
+# Copyright (C) 2018 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := VtsVndkHidlBufferpoolV1_0Target
+VTS_CONFIG_SRC_DIR := testcases/vndk/hidl/bufferpool/V1_0/target
+include test/vts/tools/build/Android.host_config.mk
diff --git a/hidl/bufferpool/V1_0/target/AndroidTest.xml b/hidl/bufferpool/V1_0/target/AndroidTest.xml
new file mode 100644
index 0000000..a4d2398
--- /dev/null
+++ b/hidl/bufferpool/V1_0/target/AndroidTest.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2018 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<configuration description="Config for VTS VtsVndkHidlBufferpoolV1_0Target test cases">
+ <option name="config-descriptor:metadata" key="plan" value="vts-vndk" />
+ <target_preparer class="com.android.compatibility.common.tradefed.targetprep.VtsFilePusher">
+ <option name="abort-on-push-failure" value="false"/>
+ <option name="push-group" value="HostDrivenTest.push"/>
+ </target_preparer>
+ <multi_target_preparer class="com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer" />
+ <test class="com.android.tradefed.testtype.VtsMultiDeviceTest">
+ <option name="test-module-name" value="VtsVndkHidlBufferpoolV1_0Target"/>
+ <option name="binary-test-source" value="_32bit::DATA/nativetest/VtsVndkHidlBufferpoolV1_0TargetSingleTest/VtsVndkHidlBufferpoolV1_0TargetSingleTest"/>
+ <option name="binary-test-source" value="_64bit::DATA/nativetest64/VtsVndkHidlBufferpoolV1_0TargetSingleTest/VtsVndkHidlBufferpoolV1_0TargetSingleTest"/>
+ <option name="binary-test-source" value="_32bit::DATA/nativetest/VtsVndkHidlBufferpoolV1_0TargetMultiTest/VtsVndkHidlBufferpoolV1_0TargetMultiTest"/>
+ <option name="binary-test-source" value="_64bit::DATA/nativetest64/VtsVndkHidlBufferpoolV1_0TargetMultiTest/VtsVndkHidlBufferpoolV1_0TargetMultiTest"/>
+ <option name="binary-test-type" value="gtest_binary_test"/>
+ <option name="test-timeout" value="1m"/>
+ </test>
+</configuration>