blob: d5ed203488d5c5b8f11e7d9587ad893388908213 [file] [log] [blame]
Antonio Kantek415b8f12023-11-03 18:50:08 +00001<?xml version="1.0" encoding="utf-8"?><!--
2 ~ Copyright (C) 2023 The Android Open Source Project
3 ~
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
7 ~
8 ~ http://www.apache.org/licenses/LICENSE-2.0
9 ~
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
15 -->
16
17<configuration description="Config for Concurrent Multi-Session IME tests">
18 <object class="com.android.tradefed.testtype.suite.module.DeviceFeatureModuleController"
19 type="module_controller">
Yabin Huanga14e26b2024-02-15 13:31:34 -080020 <!-- TODO(b/323372972): require this feature once the bug is fixed. -->
21 <!-- option name="required-feature" value="android.software.input_methods" -->
Antonio Kantek415b8f12023-11-03 18:50:08 +000022
23 <!-- Currently enabled to automotive only -->
24 <option name="required-feature" value="android.hardware.type.automotive" />
25 </object>
26 <option name="test-suite-tag" value="apct" />
27
Yabin Huanga14e26b2024-02-15 13:31:34 -080028 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
29 <option name="cleanup-apks" value="true" />
30 <option name="force-install-mode" value="FULL" />
31 <option name="test-file-name" value="ConcurrentMultiSessionImeTest.apk" />
32 <option name="test-file-name" value="CtsMockInputMethod.apk" />
33 </target_preparer>
34
35 <!-- RunOnSecondaryUserTargetPreparer must run after SuiteApkInstaller. -->
36 <target_preparer class="com.android.tradefed.targetprep.RunOnSecondaryUserTargetPreparer">
37 <option name="start-background-user" value="true" />
38 <option name="test-package-name" value="com.android.server.inputmethod.multisessiontest" />
39 <option name="test-package-name" value="com.android.cts.mockime" />
40 </target_preparer>
41
Antonio Kantek415b8f12023-11-03 18:50:08 +000042 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
43 <option name="run-command" value="setprop debug.wm.disable_deprecated_abi_dialog 1" />
44 <option name="run-command" value="settings put secure show_ime_with_hard_keyboard 1" />
45 <option name="teardown-command"
46 value="settings delete secure show_ime_with_hard_keyboard" />
47 </target_preparer>
48
Antonio Kantek415b8f12023-11-03 18:50:08 +000049 <test class="com.android.tradefed.testtype.AndroidJUnitTest">
50 <option name="package" value="com.android.server.inputmethod.multisessiontest" />
51 </test>
52</configuration>