summaryrefslogtreecommitdiff
path: root/hwbinder_latency_test/binderize_systrace/AndroidTest.xml
diff options
context:
space:
mode:
authorHsin-Yi Chen <hsinyichen@google.com>2017-05-12 17:21:21 +0800
committerHsin-Yi Chen <hsinyichen@google.com>2017-05-17 18:10:53 +0800
commit9f0853cfb155c904004669c6ead4bec203349ab0 (patch)
tree4640284a53e79c85003adb3573026d5ffaca85b8 /hwbinder_latency_test/binderize_systrace/AndroidTest.xml
parent95d21659529c7f887e3a0ddf16995a7f9084baf1 (diff)
downloadperformance-9f0853cfb155c904004669c6ead4bec203349ab0.tar.gz
Add hwbinder latency Test
Integrate system/libhwbinder/vts/performance/Latency.cpp with VTS. Test: vts-tradefed run commandAndExit vts -m HwBinderBinderizeLatencyTest Bug: 37331532 Change-Id: Ib0e17dec501868b1e607270b1114baa36b81045b
Diffstat (limited to 'hwbinder_latency_test/binderize_systrace/AndroidTest.xml')
-rw-r--r--hwbinder_latency_test/binderize_systrace/AndroidTest.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/hwbinder_latency_test/binderize_systrace/AndroidTest.xml b/hwbinder_latency_test/binderize_systrace/AndroidTest.xml
new file mode 100644
index 0000000..a6ca43f
--- /dev/null
+++ b/hwbinder_latency_test/binderize_systrace/AndroidTest.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 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 libhwbinder latency tests with systrace">
+ <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" />
+ <option name="cleanup" value="true" />
+ <option name="push" value="DATA/lib/android.hardware.tests.libhwbinder@1.0.so->/data/local/tmp/32/android.hardware.tests.libhwbinder@1.0.so" />
+ <option name="push" value="DATA/lib64/android.hardware.tests.libhwbinder@1.0.so->/data/local/tmp/64/android.hardware.tests.libhwbinder@1.0.so" />
+ <option name="push" value="DATA/nativetest/libhwbinder_latency/libhwbinder_latency->/data/local/tmp/32/libhwbinder_latency32" />
+ <option name="push" value="DATA/nativetest64/libhwbinder_latency/libhwbinder_latency->/data/local/tmp/64/libhwbinder_latency64" />
+ <option name="push" value="DATA/vendor/lib/hw/android.hardware.tests.libhwbinder@1.0-impl.so->/vendor/lib/hw/android.hardware.tests.libhwbinder@1.0-impl.so" />
+ <option name="push" value="DATA/vendor/lib64/hw/android.hardware.tests.libhwbinder@1.0-impl.so->/vendor/lib64/hw/android.hardware.tests.libhwbinder@1.0-impl.so" />
+ </target_preparer>
+ <target_preparer class="com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer">
+ </target_preparer>
+ <test class="com.android.tradefed.testtype.VtsMultiDeviceTest">
+ <option name="test-module-name" value="HwBinderBinderizeLatencySystraceTest" />
+ <option name="test-case-path" value="vts/testcases/performance/hwbinder_latency_test/HwBinderLatencyTest" />
+ <option name="test-config-path" value="vts/testcases/performance/hwbinder_latency_test/binderize/HwBinderBinderizeLatencyTest.config" />
+ <option name="enable-systrace" value="true" />
+ </test>
+</configuration>