xref: /aosp_15_r20/frameworks/base/tests/FlickerTests/IME/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1//
2// Copyright (C) 2018 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
17package {
18    default_team: "trendy_team_input_method_framework",
19    // See: http://go/android-license-faq
20    // A large-scale-change added 'default_applicable_licenses' to import
21    // all of the 'license_kinds' from "frameworks_base_license"
22    // to get the below license kinds:
23    //   SPDX-license-identifier-Apache-2.0
24    default_applicable_licenses: ["frameworks_base_license"],
25}
26
27android_test {
28    name: "FlickerTestsIme",
29    defaults: ["FlickerTestsDefault"],
30    manifest: "AndroidManifest.xml",
31    test_config_template: "AndroidTestTemplate.xml",
32    test_suites: [
33        "device-tests",
34        "device-platinum-tests",
35    ],
36    srcs: ["src/**/*"],
37    static_libs: ["FlickerTestsBase"],
38    data: ["trace_config/*"],
39}
40
41////////////////////////////////////////////////////////////////////////////////
42// Begin breakdowns for FlickerTestsIme module
43
44test_module_config {
45    name: "FlickerTestsIme-CatchAll",
46    base: "FlickerTestsIme",
47    exclude_filters: [
48        "com.android.server.wm.flicker.ime.CloseImeOnDismissPopupDialogTest",
49        "com.android.server.wm.flicker.ime.CloseImeOnGoHomeTest",
50        "com.android.server.wm.flicker.ime.CloseImeShownOnAppStartOnGoHomeTest",
51        "com.android.server.wm.flicker.ime.CloseImeShownOnAppStartToAppOnPressBackTest",
52        "com.android.server.wm.flicker.ime.CloseImeToAppOnPressBackTest",
53        "com.android.server.wm.flicker.ime.CloseImeToHomeOnFinishActivityTest",
54        "com.android.server.wm.flicker.ime.OpenImeWindowToFixedPortraitAppTest",
55        "com.android.server.wm.flicker.ime.ShowImeOnAppStartWhenLaunchingAppFromFixedOrientationTest",
56        "com.android.server.wm.flicker.ime.ShowImeOnAppStartWhenLaunchingAppFromOverviewTest",
57        "com.android.server.wm.flicker.ime.ShowImeOnAppStartWhenLaunchingAppFromQuickSwitchTest",
58        "com.android.server.wm.flicker.ime.ShowImeOnAppStartWhenLaunchingAppTest",
59        "com.android.server.wm.flicker.ime.ShowImeOnUnlockScreenTest",
60        "com.android.server.wm.flicker.ime.ShowImeWhenFocusingOnInputFieldTest",
61        "com.android.server.wm.flicker.ime.ShowImeWhileDismissingThemedPopupDialogTest",
62        "com.android.server.wm.flicker.ime.ShowImeWhileEnteringOverviewTest",
63    ],
64    test_suites: ["device-tests"],
65}
66
67test_module_config {
68    name: "FlickerTestsIme-CloseImeOnDismissPopupDialogTest",
69    base: "FlickerTestsIme",
70    include_filters: ["com.android.server.wm.flicker.ime.CloseImeOnDismissPopupDialogTest"],
71    test_suites: ["device-tests"],
72}
73
74test_module_config {
75    name: "FlickerTestsIme-CloseImeOnGoHomeTest",
76    base: "FlickerTestsIme",
77    include_filters: ["com.android.server.wm.flicker.ime.CloseImeOnGoHomeTest"],
78    test_suites: ["device-tests"],
79}
80
81test_module_config {
82    name: "FlickerTestsIme-CloseImeShownOnAppStartOnGoHomeTest",
83    base: "FlickerTestsIme",
84    include_filters: ["com.android.server.wm.flicker.ime.CloseImeShownOnAppStartOnGoHomeTest"],
85    test_suites: ["device-tests"],
86}
87
88test_module_config {
89    name: "FlickerTestsIme-CloseImeShownOnAppStartToAppOnPressBackTest",
90    base: "FlickerTestsIme",
91    include_filters: ["com.android.server.wm.flicker.ime.CloseImeShownOnAppStartToAppOnPressBackTest"],
92    test_suites: ["device-tests"],
93}
94
95test_module_config {
96    name: "FlickerTestsIme-CloseImeToAppOnPressBackTest",
97    base: "FlickerTestsIme",
98    include_filters: ["com.android.server.wm.flicker.ime.CloseImeToAppOnPressBackTest"],
99    test_suites: ["device-tests"],
100}
101
102test_module_config {
103    name: "FlickerTestsIme-CloseImeToHomeOnFinishActivityTest",
104    base: "FlickerTestsIme",
105    include_filters: ["com.android.server.wm.flicker.ime.CloseImeToHomeOnFinishActivityTest"],
106    test_suites: ["device-tests"],
107}
108
109test_module_config {
110    name: "FlickerTestsIme-OpenImeWindowToFixedPortraitAppTest",
111    base: "FlickerTestsIme",
112    include_filters: ["com.android.server.wm.flicker.ime.OpenImeWindowToFixedPortraitAppTest"],
113    test_suites: ["device-tests"],
114}
115
116test_module_config {
117    name: "FlickerTestsIme-ShowImeOnAppStartWhenLaunchingAppFromFixedOrientationTest",
118    base: "FlickerTestsIme",
119    include_filters: ["com.android.server.wm.flicker.ime.ShowImeOnAppStartWhenLaunchingAppFromFixedOrientationTest"],
120    test_suites: ["device-tests"],
121}
122
123test_module_config {
124    name: "FlickerTestsIme-ShowImeOnAppStartWhenLaunchingAppFromOverviewTest",
125    base: "FlickerTestsIme",
126    include_filters: ["com.android.server.wm.flicker.ime.ShowImeOnAppStartWhenLaunchingAppFromOverviewTest"],
127    test_suites: ["device-tests"],
128}
129
130test_module_config {
131    name: "FlickerTestsIme-ShowImeOnAppStartWhenLaunchingAppFromQuickSwitchTest",
132    base: "FlickerTestsIme",
133    include_filters: ["com.android.server.wm.flicker.ime.ShowImeOnAppStartWhenLaunchingAppFromQuickSwitchTest"],
134    test_suites: ["device-tests"],
135}
136
137test_module_config {
138    name: "FlickerTestsIme-ShowImeOnAppStartWhenLaunchingAppTest",
139    base: "FlickerTestsIme",
140    include_filters: ["com.android.server.wm.flicker.ime.ShowImeOnAppStartWhenLaunchingAppTest"],
141    test_suites: ["device-tests"],
142}
143
144test_module_config {
145    name: "FlickerTestsIme-ShowImeOnUnlockScreenTest",
146    base: "FlickerTestsIme",
147    include_filters: ["com.android.server.wm.flicker.ime.ShowImeOnUnlockScreenTest"],
148    test_suites: ["device-tests"],
149}
150
151test_module_config {
152    name: "FlickerTestsIme-ShowImeWhenFocusingOnInputFieldTest",
153    base: "FlickerTestsIme",
154    include_filters: ["com.android.server.wm.flicker.ime.ShowImeWhenFocusingOnInputFieldTest"],
155    test_suites: ["device-tests"],
156}
157
158test_module_config {
159    name: "FlickerTestsIme-ShowImeWhileDismissingThemedPopupDialogTest",
160    base: "FlickerTestsIme",
161    include_filters: ["com.android.server.wm.flicker.ime.ShowImeWhileDismissingThemedPopupDialogTest"],
162    test_suites: ["device-tests"],
163}
164
165test_module_config {
166    name: "FlickerTestsIme-ShowImeWhileEnteringOverviewTest",
167    base: "FlickerTestsIme",
168    include_filters: ["com.android.server.wm.flicker.ime.ShowImeWhileEnteringOverviewTest"],
169    test_suites: ["device-tests"],
170}
171
172// End breakdowns for FlickerTestsIme module
173////////////////////////////////////////////////////////////////////////////////
174