blob: cca0826d117a289b8491cd4c432e9ecd30fcc1a5 [file] [log] [blame]
Eric Lina26582d2022-02-16 19:08:47 +00001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2021 The Android Open Source Project
3 Licensed under the Apache License, Version 2.0 (the "License");
4 you may not use this file except in compliance with the License.
5 You may obtain a copy of the License at
6 http://www.apache.org/licenses/LICENSE-2.0
7 Unless required by applicable law or agreed to in writing, software
8 distributed under the License is distributed on an "AS IS" BASIS,
9 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 See the License for the specific language governing permissions and
11 limitations under the License.
12-->
13<configuration description="Config for CTS seeker scan provider test">
14 <option name="test-suite-tag" value="cts" />
15 <option name="config-descriptor:metadata" key="component" value="wifi" />
16 <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" />
17 <option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" />
18 <option name="config-descriptor:metadata" key="parameter" value="not_secondary_user" />
19
20 <device name="device1">
21 <!-- For coverage to work, the APK should not be uninstalled until after coverage is pulled.
22 So it's a lot easier to install APKs outside the python code.
23 -->
24 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
25 <option name="test-file-name" value="NearbyMultiDevicesClientsSnippets.apk" />
26 <option name="check-min-sdk" value="true" />
27 </target_preparer>
28 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
29 <option name="run-command" value="input keyevent KEYCODE_WAKEUP" />
30 <option name="run-command" value="wm dismiss-keyguard" />
31 </target_preparer>
32 <target_preparer class="com.android.tradefed.targetprep.PythonVirtualenvPreparer">
33 <!-- Any python dependencies can be specified and will be installed with pip -->
34 <option name="dep-module" value="mobly" />
35 <option name="dep-module" value="retry" />
36 </target_preparer>
37 </device>
38 <device name="device2">
39 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
40 <option name="test-file-name" value="NearbyMultiDevicesClientsSnippets.apk" />
41 <option name="check-min-sdk" value="true" />
42 </target_preparer>
43 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
44 <option name="run-command" value="input keyevent KEYCODE_WAKEUP" />
45 <option name="run-command" value="wm dismiss-keyguard" />
46 </target_preparer>
47 </device>
48
49 <test class="com.android.tradefed.testtype.mobly.MoblyBinaryHostTest">
50 <!-- The mobly-par-file-name should match the module name -->
51 <option name="mobly-par-file-name" value="CtsSeekerDiscoverProviderTest" />
52 <!-- Timeout limit in milliseconds for all test cases of the python binary -->
53 <option name="mobly-test-timeout" value="60000" />
54 </test>
55</configuration>
56