35 lines
1.8 KiB
XML
35 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2017 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="Runs Wearable Platform System Apps Jank Tests.">
|
|
<target_preparer class="com.android.tradefed.targetprep.TestAppInstallSetup">
|
|
<option name="test-file-name" value="SysAppJankTestsWear.apk" />
|
|
<option name="test-file-name" value="NotificationsGeneratorWear.apk" />
|
|
</target_preparer>
|
|
<target_preparer class="com.android.tradefed.targetprep.InstallApkSetup">
|
|
<option name="post-install-cmd" value="am start -n com.google.android.wearable.support/.CustomNotificationStubBroadcastActivity" />
|
|
</target_preparer>
|
|
|
|
<option name="post-boot-command" value="am broadcast -a com.google.android.clockwork.action.TEST_MODE" />
|
|
<option name="post-boot-command" value="setprop debug.hwui.filter_test_overhead true" />
|
|
<option name="post-boot-command" value="settings put secure accessibility_disable_animations 0" />
|
|
|
|
<option name="test-tag" value="SysAppJankTestsWear" />
|
|
<test class="com.android.tradefed.testtype.InstrumentationTest">
|
|
<option name="package" value="com.android.wearable.sysapp.janktests" />
|
|
<option name="runner" value="android.test.InstrumentationTestRunner" />
|
|
</test>
|
|
</configuration>
|