xref: /aosp_15_r20/frameworks/base/libs/WindowManager/Shell/tests/e2e/splitscreen/flicker-legacy/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1//
2// Copyright (C) 2020 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_multitasking_windowing",
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
27filegroup {
28    name: "WMShellFlickerTestsSplitScreenBase-src",
29    srcs: [
30        "src/**/benchmark/*.kt",
31    ],
32}
33
34java_library {
35    name: "WMShellFlickerTestsSplitScreenBase",
36    srcs: [
37        ":WMShellFlickerTestsSplitScreenBase-src",
38    ],
39    static_libs: [
40        "WMShellFlickerTestsBase",
41        "wm-shell-flicker-utils",
42        "androidx.test.ext.junit",
43        "flickertestapplib",
44        "flickerlib",
45        "flickerlib-helpers",
46        "flickerlib-trace_processor_shell",
47        "platform-test-annotations",
48        "wm-flicker-common-app-helpers",
49        "wm-flicker-common-assertions",
50        "launcher-helper-lib",
51        "launcher-aosp-tapl",
52        "com_android_wm_shell_flags_lib",
53    ],
54}
55
56android_test {
57    name: "WMShellFlickerTestsSplitScreen",
58    defaults: ["WMShellFlickerTestsDefault"],
59    manifest: "AndroidManifest.xml",
60    package_name: "com.android.wm.shell.flicker.splitscreen",
61    instrumentation_target_package: "com.android.wm.shell.flicker.splitscreen",
62    test_config_template: "AndroidTestTemplate.xml",
63    srcs: ["src/**/*.kt"],
64    exclude_srcs: ["src/**/benchmark/*.kt"],
65    static_libs: [
66        "WMShellFlickerTestsBase",
67        "WMShellFlickerTestsSplitScreenBase",
68    ],
69    data: ["trace_config/*"],
70}
71
72////////////////////////////////////////////////////////////////////////////////
73// Begin breakdowns for FlickerTestsRotation module
74
75test_module_config {
76    name: "WMShellFlickerTestsSplitScreen-CatchAll",
77    base: "WMShellFlickerTestsSplitScreen",
78    exclude_filters: [
79        "com.android.wm.shell.flicker.splitscreen.CopyContentInSplit",
80        "com.android.wm.shell.flicker.splitscreen.DismissSplitScreenByDivider",
81        "com.android.wm.shell.flicker.splitscreen.DismissSplitScreenByGoHome",
82        "com.android.wm.shell.flicker.splitscreen.DragDividerToResize",
83        "com.android.wm.shell.flicker.splitscreen.EnterSplitScreenByDragFromAllApps",
84        "com.android.wm.shell.flicker.splitscreen.EnterSplitScreenByDragFromNotification",
85        "com.android.wm.shell.flicker.splitscreen.EnterSplitScreenByDragFromShortcut",
86        "com.android.wm.shell.flicker.splitscreen.EnterSplitScreenByDragFromTaskbar",
87        "com.android.wm.shell.flicker.splitscreen.EnterSplitScreenFromOverview",
88        "com.android.wm.shell.flicker.splitscreen.MultipleShowImeRequestsInSplitScreen",
89        "com.android.wm.shell.flicker.splitscreen.SwitchAppByDoubleTapDivider",
90        "com.android.wm.shell.flicker.splitscreen.SwitchBackToSplitFromAnotherApp",
91        "com.android.wm.shell.flicker.splitscreen.SwitchBackToSplitFromHome",
92        "com.android.wm.shell.flicker.splitscreen.SwitchBackToSplitFromRecent",
93        "com.android.wm.shell.flicker.splitscreen.SwitchBetweenSplitPairs",
94        "com.android.wm.shell.flicker.splitscreen.SwitchBetweenSplitPairsNoPip",
95        "com.android.wm.shell.flicker.splitscreen.",
96    ],
97    test_suites: ["device-tests"],
98}
99
100test_module_config {
101    name: "WMShellFlickerTestsSplitScreen-CopyContentInSplit",
102    base: "WMShellFlickerTestsSplitScreen",
103    include_filters: ["com.android.wm.shell.flicker.splitscreen.CopyContentInSplit"],
104    test_suites: ["device-tests"],
105}
106
107test_module_config {
108    name: "WMShellFlickerTestsSplitScreen-DismissSplitScreenByDivider",
109    base: "WMShellFlickerTestsSplitScreen",
110    include_filters: ["com.android.wm.shell.flicker.splitscreen.DismissSplitScreenByDivider"],
111    test_suites: ["device-tests"],
112}
113
114test_module_config {
115    name: "WMShellFlickerTestsSplitScreen-DismissSplitScreenByGoHome",
116    base: "WMShellFlickerTestsSplitScreen",
117    include_filters: ["com.android.wm.shell.flicker.splitscreen.DismissSplitScreenByGoHome"],
118    test_suites: ["device-tests"],
119}
120
121test_module_config {
122    name: "WMShellFlickerTestsSplitScreen-DragDividerToResize",
123    base: "WMShellFlickerTestsSplitScreen",
124    include_filters: ["com.android.wm.shell.flicker.splitscreen.DragDividerToResize"],
125    test_suites: ["device-tests"],
126}
127
128test_module_config {
129    name: "WMShellFlickerTestsSplitScreen-EnterSplitScreenByDragFromAllApps",
130    base: "WMShellFlickerTestsSplitScreen",
131    include_filters: ["com.android.wm.shell.flicker.splitscreen.EnterSplitScreenByDragFromAllApps"],
132    test_suites: ["device-tests"],
133}
134
135test_module_config {
136    name: "WMShellFlickerTestsSplitScreen-EnterSplitScreenByDragFromNotification",
137    base: "WMShellFlickerTestsSplitScreen",
138    include_filters: ["com.android.wm.shell.flicker.splitscreen.EnterSplitScreenByDragFromNotification"],
139    test_suites: ["device-tests"],
140}
141
142test_module_config {
143    name: "WMShellFlickerTestsSplitScreen-EnterSplitScreenByDragFromShortcut",
144    base: "WMShellFlickerTestsSplitScreen",
145    include_filters: ["com.android.wm.shell.flicker.splitscreen.EnterSplitScreenByDragFromShortcut"],
146    test_suites: ["device-tests"],
147}
148
149test_module_config {
150    name: "WMShellFlickerTestsSplitScreen-EnterSplitScreenByDragFromTaskbar",
151    base: "WMShellFlickerTestsSplitScreen",
152    include_filters: ["com.android.wm.shell.flicker.splitscreen.EnterSplitScreenByDragFromTaskbar"],
153    test_suites: ["device-tests"],
154}
155
156test_module_config {
157    name: "WMShellFlickerTestsSplitScreen-EnterSplitScreenFromOverview",
158    base: "WMShellFlickerTestsSplitScreen",
159    include_filters: ["com.android.wm.shell.flicker.splitscreen.EnterSplitScreenFromOverview"],
160    test_suites: ["device-tests"],
161}
162
163test_module_config {
164    name: "WMShellFlickerTestsSplitScreen-MultipleShowImeRequestsInSplitScreen",
165    base: "WMShellFlickerTestsSplitScreen",
166    include_filters: ["com.android.wm.shell.flicker.splitscreen.MultipleShowImeRequestsInSplitScreen"],
167    test_suites: ["device-tests"],
168}
169
170test_module_config {
171    name: "WMShellFlickerTestsSplitScreen-SwitchAppByDoubleTapDivider",
172    base: "WMShellFlickerTestsSplitScreen",
173    include_filters: ["com.android.wm.shell.flicker.splitscreen.SwitchAppByDoubleTapDivider"],
174    test_suites: ["device-tests"],
175}
176
177test_module_config {
178    name: "WMShellFlickerTestsSplitScreen-SwitchBackToSplitFromAnotherApp",
179    base: "WMShellFlickerTestsSplitScreen",
180    include_filters: ["com.android.wm.shell.flicker.splitscreen.SwitchBackToSplitFromAnotherApp"],
181    test_suites: ["device-tests"],
182}
183
184test_module_config {
185    name: "WMShellFlickerTestsSplitScreen-SwitchBackToSplitFromHome",
186    base: "WMShellFlickerTestsSplitScreen",
187    include_filters: ["com.android.wm.shell.flicker.splitscreen.SwitchBackToSplitFromHome"],
188    test_suites: ["device-tests"],
189}
190
191test_module_config {
192    name: "WMShellFlickerTestsSplitScreen-SwitchBackToSplitFromRecent",
193    base: "WMShellFlickerTestsSplitScreen",
194    include_filters: ["com.android.wm.shell.flicker.splitscreen.SwitchBackToSplitFromRecent"],
195    test_suites: ["device-tests"],
196}
197
198test_module_config {
199    name: "WMShellFlickerTestsSplitScreen-SwitchBetweenSplitPairs",
200    base: "WMShellFlickerTestsSplitScreen",
201    include_filters: ["com.android.wm.shell.flicker.splitscreen.SwitchBetweenSplitPairs"],
202    test_suites: ["device-tests"],
203}
204
205test_module_config {
206    name: "WMShellFlickerTestsSplitScreen-SwitchBetweenSplitPairsNoPip",
207    base: "WMShellFlickerTestsSplitScreen",
208    include_filters: ["com.android.wm.shell.flicker.splitscreen.SwitchBetweenSplitPairsNoPip"],
209    test_suites: ["device-tests"],
210}
211
212test_module_config {
213    name: "WMShellFlickerTestsSplitScreen-UnlockKeyguardToSplitScreen",
214    base: "WMShellFlickerTestsSplitScreen",
215    include_filters: ["com.android.wm.shell.flicker.splitscreen.UnlockKeyguardToSplitScreen"],
216    test_suites: ["device-tests"],
217}
218
219// End breakdowns for FlickerTestsRotation module
220////////////////////////////////////////////////////////////////////////////////
221