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: "WMShellFlickerTestsPipApps-src", 29 srcs: ["src/**/apps/*.kt"], 30} 31 32filegroup { 33 name: "WMShellFlickerTestsPipCommon-src", 34 srcs: ["src/**/common/*.kt"], 35} 36 37android_test { 38 name: "WMShellFlickerTestsPip", 39 defaults: ["WMShellFlickerTestsDefault"], 40 manifest: "AndroidManifest.xml", 41 package_name: "com.android.wm.shell.flicker.pip", 42 instrumentation_target_package: "com.android.wm.shell.flicker.pip", 43 test_config_template: "AndroidTestTemplate.xml", 44 srcs: ["src/**/*.kt"], 45 exclude_srcs: [":WMShellFlickerTestsPipApps-src"], 46 static_libs: ["WMShellFlickerTestsBase"], 47 data: ["trace_config/*"], 48} 49 50android_test { 51 name: "WMShellFlickerTestsPipApps", 52 defaults: ["WMShellFlickerTestsDefault"], 53 manifest: "AndroidManifest.xml", 54 package_name: "com.android.wm.shell.flicker.pip.apps", 55 instrumentation_target_package: "com.android.wm.shell.flicker.pip.apps", 56 test_config_template: "AndroidTestTemplate.xml", 57 srcs: [ 58 ":WMShellFlickerTestsPipApps-src", 59 ":WMShellFlickerTestsPipCommon-src", 60 ], 61 static_libs: ["WMShellFlickerTestsBase"], 62 data: ["trace_config/*"], 63} 64 65android_test { 66 name: "WMShellFlickerTestsPipAppsCSuite", 67 defaults: ["WMShellFlickerTestsDefault"], 68 additional_manifests: ["AndroidManifest.xml"], 69 package_name: "com.android.wm.shell.flicker.pip.apps", 70 instrumentation_target_package: "com.android.wm.shell.flicker.pip.apps", 71 test_config_template: "AndroidTestTemplate.xml", 72 srcs: [ 73 ":WMShellFlickerTestsPipApps-src", 74 ":WMShellFlickerTestsPipCommon-src", 75 ], 76 static_libs: ["WMShellFlickerTestsBase"], 77 test_suites: [ 78 "csuite", 79 "device-tests", 80 ], 81 data: ["trace_config/*"], 82} 83 84csuite_test { 85 name: "csuite-1p3p-pip-flickers", 86 test_plan_include: "csuitePlan.xml", 87 test_config_template: "csuiteDefaultTemplate.xml", 88} 89 90//////////////////////////////////////////////////////////////////////////////// 91// Begin breakdowns for WMShellFlickerTestsPip module 92 93test_module_config { 94 name: "WMShellFlickerTestsPip-CatchAll", 95 base: "WMShellFlickerTestsPip", 96 exclude_filters: [ 97 "com.android.wm.shell.flicker.pip.AutoEnterPipOnGoToHomeTest", 98 "com.android.wm.shell.flicker.pip.AutoEnterPipWithSourceRectHintTest", 99 "com.android.wm.shell.flicker.pip.ClosePipBySwipingDownTest", 100 "com.android.wm.shell.flicker.pip.ClosePipWithDismissButtonTest", 101 "com.android.wm.shell.flicker.pip.EnterPipOnUserLeaveHintTest", 102 "com.android.wm.shell.flicker.pip.EnterPipViaAppUiButtonTest", 103 "com.android.wm.shell.flicker.pip.ExitPipToAppViaExpandButtonTest", 104 "com.android.wm.shell.flicker.pip.ExitPipToAppViaIntentTest", 105 "com.android.wm.shell.flicker.pip.ExpandPipOnDoubleClickTest", 106 "com.android.wm.shell.flicker.pip.ExpandPipOnPinchOpenTest", 107 "com.android.wm.shell.flicker.pip.FromSplitScreenAutoEnterPipOnGoToHomeTest", 108 "com.android.wm.shell.flicker.pip.FromSplitScreenEnterPipOnUserLeaveHintTest", 109 "com.android.wm.shell.flicker.pip.MovePipDownOnShelfHeightChange", 110 "com.android.wm.shell.flicker.pip.MovePipOnImeVisibilityChangeTest", 111 "com.android.wm.shell.flicker.pip.MovePipUpOnShelfHeightChangeTest", 112 "com.android.wm.shell.flicker.pip.PipAspectRatioChangeTest", 113 "com.android.wm.shell.flicker.pip.PipDragTest", 114 "com.android.wm.shell.flicker.pip.PipDragThenSnapTest", 115 "com.android.wm.shell.flicker.pip.PipPinchInTest", 116 "com.android.wm.shell.flicker.pip.SetRequestedOrientationWhilePinned", 117 "com.android.wm.shell.flicker.pip.ShowPipAndRotateDisplay", 118 "com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfAutoEnterPipOnGoToHomeTest", 119 "com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfEnterPipOnUserLeaveHintTest", 120 "com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfEnterPipToOtherOrientation", 121 "com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfEnterPipViaAppUiButtonTest", 122 "com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfExitPipToAppViaExpandButtonTest", 123 "com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfExitPipToAppViaIntentTest", 124 "com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfSetRequestedOrientationWhilePinned", 125 "com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfFromSplitScreenAutoEnterPipOnGoToHomeTest", 126 "com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfFromSplitScreenEnterPipOnUserLeaveHintTest", 127 ], 128 test_suites: ["device-tests"], 129} 130 131test_module_config { 132 name: "WMShellFlickerTestsPip-AutoEnterPipOnGoToHomeTest", 133 base: "WMShellFlickerTestsPip", 134 include_filters: ["com.android.wm.shell.flicker.pip.AutoEnterPipOnGoToHomeTest"], 135 test_suites: ["device-tests"], 136} 137 138test_module_config { 139 name: "WMShellFlickerTestsPip-AutoEnterPipWithSourceRectHintTest", 140 base: "WMShellFlickerTestsPip", 141 include_filters: ["com.android.wm.shell.flicker.pip.AutoEnterPipWithSourceRectHintTest"], 142 test_suites: ["device-tests"], 143} 144 145test_module_config { 146 name: "WMShellFlickerTestsPip-ClosePipBySwipingDownTest", 147 base: "WMShellFlickerTestsPip", 148 include_filters: ["com.android.wm.shell.flicker.pip.ClosePipBySwipingDownTest"], 149 test_suites: ["device-tests"], 150} 151 152test_module_config { 153 name: "WMShellFlickerTestsPip-ClosePipWithDismissButtonTest", 154 base: "WMShellFlickerTestsPip", 155 include_filters: ["com.android.wm.shell.flicker.pip.ClosePipWithDismissButtonTest"], 156 test_suites: ["device-tests"], 157} 158 159test_module_config { 160 name: "WMShellFlickerTestsPip-EnterPipOnUserLeaveHintTest", 161 base: "WMShellFlickerTestsPip", 162 include_filters: ["com.android.wm.shell.flicker.pip.EnterPipOnUserLeaveHintTest"], 163 test_suites: ["device-tests"], 164} 165 166test_module_config { 167 name: "WMShellFlickerTestsPip-EnterPipViaAppUiButtonTest", 168 base: "WMShellFlickerTestsPip", 169 include_filters: ["com.android.wm.shell.flicker.pip.EnterPipViaAppUiButtonTest"], 170 test_suites: ["device-tests"], 171} 172 173test_module_config { 174 name: "WMShellFlickerTestsPip-ExitPipToAppViaExpandButtonTest", 175 base: "WMShellFlickerTestsPip", 176 include_filters: ["com.android.wm.shell.flicker.pip.ExitPipToAppViaExpandButtonTest"], 177 test_suites: ["device-tests"], 178} 179 180test_module_config { 181 name: "WMShellFlickerTestsPip-ExitPipToAppViaIntentTest", 182 base: "WMShellFlickerTestsPip", 183 include_filters: ["com.android.wm.shell.flicker.pip.ExitPipToAppViaIntentTest"], 184 test_suites: ["device-tests"], 185} 186 187test_module_config { 188 name: "WMShellFlickerTestsPip-ExpandPipOnDoubleClickTest", 189 base: "WMShellFlickerTestsPip", 190 include_filters: ["com.android.wm.shell.flicker.pip.ExpandPipOnDoubleClickTest"], 191 test_suites: ["device-tests"], 192} 193 194test_module_config { 195 name: "WMShellFlickerTestsPip-ExpandPipOnPinchOpenTest", 196 base: "WMShellFlickerTestsPip", 197 include_filters: ["com.android.wm.shell.flicker.pip.ExpandPipOnPinchOpenTest"], 198 test_suites: ["device-tests"], 199} 200 201test_module_config { 202 name: "WMShellFlickerTestsPip-FromSplitScreenAutoEnterPipOnGoToHomeTest", 203 base: "WMShellFlickerTestsPip", 204 include_filters: ["com.android.wm.shell.flicker.pip.FromSplitScreenAutoEnterPipOnGoToHomeTest"], 205 test_suites: ["device-tests"], 206} 207 208test_module_config { 209 name: "WMShellFlickerTestsPip-FromSplitScreenEnterPipOnUserLeaveHintTest", 210 base: "WMShellFlickerTestsPip", 211 include_filters: ["com.android.wm.shell.flicker.pip.FromSplitScreenEnterPipOnUserLeaveHintTest"], 212 test_suites: ["device-tests"], 213} 214 215test_module_config { 216 name: "WMShellFlickerTestsPip-MovePipDownOnShelfHeightChange", 217 base: "WMShellFlickerTestsPip", 218 include_filters: ["com.android.wm.shell.flicker.pip.MovePipDownOnShelfHeightChange"], 219 test_suites: ["device-tests"], 220} 221 222test_module_config { 223 name: "WMShellFlickerTestsPip-MovePipOnImeVisibilityChangeTest", 224 base: "WMShellFlickerTestsPip", 225 include_filters: ["com.android.wm.shell.flicker.pip.MovePipOnImeVisibilityChangeTest"], 226 test_suites: ["device-tests"], 227} 228 229test_module_config { 230 name: "WMShellFlickerTestsPip-MovePipUpOnShelfHeightChangeTest", 231 base: "WMShellFlickerTestsPip", 232 include_filters: ["com.android.wm.shell.flicker.pip.MovePipUpOnShelfHeightChangeTest"], 233 test_suites: ["device-tests"], 234} 235 236test_module_config { 237 name: "WMShellFlickerTestsPip-PipAspectRatioChangeTest", 238 base: "WMShellFlickerTestsPip", 239 include_filters: ["com.android.wm.shell.flicker.pip.PipAspectRatioChangeTest"], 240 test_suites: ["device-tests"], 241} 242 243test_module_config { 244 name: "WMShellFlickerTestsPip-PipDragTest", 245 base: "WMShellFlickerTestsPip", 246 include_filters: ["com.android.wm.shell.flicker.pip.PipDragTest"], 247 test_suites: ["device-tests"], 248} 249 250test_module_config { 251 name: "WMShellFlickerTestsPip-PipDragThenSnapTest", 252 base: "WMShellFlickerTestsPip", 253 include_filters: ["com.android.wm.shell.flicker.pip.PipDragThenSnapTest"], 254 test_suites: ["device-tests"], 255} 256 257test_module_config { 258 name: "WMShellFlickerTestsPip-PipPinchInTest", 259 base: "WMShellFlickerTestsPip", 260 include_filters: ["com.android.wm.shell.flicker.pip.PipPinchInTest"], 261 test_suites: ["device-tests"], 262} 263 264test_module_config { 265 name: "WMShellFlickerTestsPip-SetRequestedOrientationWhilePinned", 266 base: "WMShellFlickerTestsPip", 267 include_filters: ["com.android.wm.shell.flicker.pip.SetRequestedOrientationWhilePinned"], 268 test_suites: ["device-tests"], 269} 270 271test_module_config { 272 name: "WMShellFlickerTestsPip-ShowPipAndRotateDisplay", 273 base: "WMShellFlickerTestsPip", 274 include_filters: ["com.android.wm.shell.flicker.pip.ShowPipAndRotateDisplay"], 275 test_suites: ["device-tests"], 276} 277 278// Not-match Parent test cases 279 280test_module_config { 281 name: "WMShellFlickerTestsPip-BottomHalfExitPipToAppViaExpandButtonTest", 282 base: "WMShellFlickerTestsPip", 283 include_filters: ["com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfExitPipToAppViaExpandButtonTest"], 284 test_suites: ["device-tests"], 285} 286 287test_module_config { 288 name: "WMShellFlickerTestsPip-BottomHalfExitPipToAppViaIntentTest", 289 base: "WMShellFlickerTestsPip", 290 include_filters: ["com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfExitPipToAppViaIntentTest"], 291 test_suites: ["device-tests"], 292} 293 294test_module_config { 295 name: "WMShellFlickerTestsPip-BottomHalfAutoEnterPipOnGoToHomeTest", 296 base: "WMShellFlickerTestsPip", 297 include_filters: ["com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfAutoEnterPipOnGoToHomeTest"], 298 test_suites: ["device-tests"], 299} 300 301test_module_config { 302 name: "WMShellFlickerTestsPip-BottomHalfEnterPipOnUserLeaveHintTest", 303 base: "WMShellFlickerTestsPip", 304 include_filters: ["com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfEnterPipOnUserLeaveHintTest"], 305 test_suites: ["device-tests"], 306} 307 308test_module_config { 309 name: "WMShellFlickerTestsPip-BottomHalfEnterPipViaAppUiButtonTest", 310 base: "WMShellFlickerTestsPip", 311 include_filters: ["com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfEnterPipViaAppUiButtonTest"], 312 test_suites: ["device-tests"], 313} 314 315test_module_config { 316 name: "WMShellFlickerTestsPip-BottomHalfEnterPipToOtherOrientation", 317 base: "WMShellFlickerTestsPip", 318 include_filters: ["com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfEnterPipToOtherOrientation"], 319 test_suites: ["device-tests"], 320} 321 322test_module_config { 323 name: "WMShellFlickerTestsPip-BottomHalfSetRequestedOrientationWhilePinned", 324 base: "WMShellFlickerTestsPip", 325 include_filters: ["com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfSetRequestedOrientationWhilePinned"], 326 test_suites: ["device-tests"], 327} 328 329test_module_config { 330 name: "WMShellFlickerTestsPip-BottomHalfFromSplitScreenAutoEnterPipOnGoToHomeTest", 331 base: "WMShellFlickerTestsPip", 332 include_filters: ["com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfFromSplitScreenAutoEnterPipOnGoToHomeTest"], 333 test_suites: ["device-tests"], 334} 335 336test_module_config { 337 name: "WMShellFlickerTestsPip-BottomHalfFromSplitScreenEnterPipOnUserLeaveHintTest", 338 base: "WMShellFlickerTestsPip", 339 include_filters: ["com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfFromSplitScreenEnterPipOnUserLeaveHintTest"], 340 test_suites: ["device-tests"], 341} 342 343// End breakdowns for WMShellFlickerTestsPip module 344//////////////////////////////////////////////////////////////////////////////// 345