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 "device-tests", 79 "csuite", 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 ], 119 test_suites: ["device-tests"], 120} 121 122test_module_config { 123 name: "WMShellFlickerTestsPip-AutoEnterPipOnGoToHomeTest", 124 base: "WMShellFlickerTestsPip", 125 include_filters: ["com.android.wm.shell.flicker.pip.AutoEnterPipOnGoToHomeTest"], 126 test_suites: ["device-tests"], 127} 128 129test_module_config { 130 name: "WMShellFlickerTestsPip-AutoEnterPipWithSourceRectHintTest", 131 base: "WMShellFlickerTestsPip", 132 include_filters: ["com.android.wm.shell.flicker.pip.AutoEnterPipWithSourceRectHintTest"], 133 test_suites: ["device-tests"], 134} 135 136test_module_config { 137 name: "WMShellFlickerTestsPip-ClosePipBySwipingDownTest", 138 base: "WMShellFlickerTestsPip", 139 include_filters: ["com.android.wm.shell.flicker.pip.ClosePipBySwipingDownTest"], 140 test_suites: ["device-tests"], 141} 142 143test_module_config { 144 name: "WMShellFlickerTestsPip-ClosePipWithDismissButtonTest", 145 base: "WMShellFlickerTestsPip", 146 include_filters: ["com.android.wm.shell.flicker.pip.ClosePipWithDismissButtonTest"], 147 test_suites: ["device-tests"], 148} 149 150test_module_config { 151 name: "WMShellFlickerTestsPip-EnterPipOnUserLeaveHintTest", 152 base: "WMShellFlickerTestsPip", 153 include_filters: ["com.android.wm.shell.flicker.pip.EnterPipOnUserLeaveHintTest"], 154 test_suites: ["device-tests"], 155} 156 157test_module_config { 158 name: "WMShellFlickerTestsPip-EnterPipViaAppUiButtonTest", 159 base: "WMShellFlickerTestsPip", 160 include_filters: ["com.android.wm.shell.flicker.pip.EnterPipViaAppUiButtonTest"], 161 test_suites: ["device-tests"], 162} 163 164test_module_config { 165 name: "WMShellFlickerTestsPip-ExitPipToAppViaExpandButtonTest", 166 base: "WMShellFlickerTestsPip", 167 include_filters: ["com.android.wm.shell.flicker.pip.ExitPipToAppViaExpandButtonTest"], 168 test_suites: ["device-tests"], 169} 170 171test_module_config { 172 name: "WMShellFlickerTestsPip-ExitPipToAppViaIntentTest", 173 base: "WMShellFlickerTestsPip", 174 include_filters: ["com.android.wm.shell.flicker.pip.ExitPipToAppViaIntentTest"], 175 test_suites: ["device-tests"], 176} 177 178test_module_config { 179 name: "WMShellFlickerTestsPip-ExpandPipOnDoubleClickTest", 180 base: "WMShellFlickerTestsPip", 181 include_filters: ["com.android.wm.shell.flicker.pip.ExpandPipOnDoubleClickTest"], 182 test_suites: ["device-tests"], 183} 184 185test_module_config { 186 name: "WMShellFlickerTestsPip-ExpandPipOnPinchOpenTest", 187 base: "WMShellFlickerTestsPip", 188 include_filters: ["com.android.wm.shell.flicker.pip.ExpandPipOnPinchOpenTest"], 189 test_suites: ["device-tests"], 190} 191 192test_module_config { 193 name: "WMShellFlickerTestsPip-FromSplitScreenAutoEnterPipOnGoToHomeTest", 194 base: "WMShellFlickerTestsPip", 195 include_filters: ["com.android.wm.shell.flicker.pip.FromSplitScreenAutoEnterPipOnGoToHomeTest"], 196 test_suites: ["device-tests"], 197} 198 199test_module_config { 200 name: "WMShellFlickerTestsPip-FromSplitScreenEnterPipOnUserLeaveHintTest", 201 base: "WMShellFlickerTestsPip", 202 include_filters: ["com.android.wm.shell.flicker.pip.FromSplitScreenEnterPipOnUserLeaveHintTest"], 203 test_suites: ["device-tests"], 204} 205 206test_module_config { 207 name: "WMShellFlickerTestsPip-MovePipDownOnShelfHeightChange", 208 base: "WMShellFlickerTestsPip", 209 include_filters: ["com.android.wm.shell.flicker.pip.MovePipDownOnShelfHeightChange"], 210 test_suites: ["device-tests"], 211} 212 213test_module_config { 214 name: "WMShellFlickerTestsPip-MovePipOnImeVisibilityChangeTest", 215 base: "WMShellFlickerTestsPip", 216 include_filters: ["com.android.wm.shell.flicker.pip.MovePipOnImeVisibilityChangeTest"], 217 test_suites: ["device-tests"], 218} 219 220test_module_config { 221 name: "WMShellFlickerTestsPip-MovePipUpOnShelfHeightChangeTest", 222 base: "WMShellFlickerTestsPip", 223 include_filters: ["com.android.wm.shell.flicker.pip.MovePipUpOnShelfHeightChangeTest"], 224 test_suites: ["device-tests"], 225} 226 227test_module_config { 228 name: "WMShellFlickerTestsPip-PipAspectRatioChangeTest", 229 base: "WMShellFlickerTestsPip", 230 include_filters: ["com.android.wm.shell.flicker.pip.PipAspectRatioChangeTest"], 231 test_suites: ["device-tests"], 232} 233 234test_module_config { 235 name: "WMShellFlickerTestsPip-PipDragTest", 236 base: "WMShellFlickerTestsPip", 237 include_filters: ["com.android.wm.shell.flicker.pip.PipDragTest"], 238 test_suites: ["device-tests"], 239} 240 241test_module_config { 242 name: "WMShellFlickerTestsPip-PipDragThenSnapTest", 243 base: "WMShellFlickerTestsPip", 244 include_filters: ["com.android.wm.shell.flicker.pip.PipDragThenSnapTest"], 245 test_suites: ["device-tests"], 246} 247 248test_module_config { 249 name: "WMShellFlickerTestsPip-PipPinchInTest", 250 base: "WMShellFlickerTestsPip", 251 include_filters: ["com.android.wm.shell.flicker.pip.PipPinchInTest"], 252 test_suites: ["device-tests"], 253} 254 255test_module_config { 256 name: "WMShellFlickerTestsPip-SetRequestedOrientationWhilePinned", 257 base: "WMShellFlickerTestsPip", 258 include_filters: ["com.android.wm.shell.flicker.pip.SetRequestedOrientationWhilePinned"], 259 test_suites: ["device-tests"], 260} 261 262test_module_config { 263 name: "WMShellFlickerTestsPip-ShowPipAndRotateDisplay", 264 base: "WMShellFlickerTestsPip", 265 include_filters: ["com.android.wm.shell.flicker.pip.ShowPipAndRotateDisplay"], 266 test_suites: ["device-tests"], 267} 268 269test_module_config { 270 name: "WMShellFlickerTestsPip-nonMatchParent", 271 base: "WMShellFlickerTestsPip", 272 include_filters: ["com.android.wm.shell.flicker.pip.nonmatchparent.*"], 273 test_suites: ["device-tests"], 274} 275 276test_module_config { 277 name: "WMShellFlickerTestsPip-BottomHalfExitPipToAppViaExpandButtonTest", 278 base: "WMShellFlickerTestsPip", 279 include_filters: ["com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfExitPipToAppViaExpandButtonTest"], 280 test_suites: ["device-tests"], 281} 282 283test_module_config { 284 name: "WMShellFlickerTestsPip-BottomHalfExitPipToAppViaIntentTest", 285 base: "WMShellFlickerTestsPip", 286 include_filters: ["com.android.wm.shell.flicker.pip.nonmatchparent.BottomHalfExitPipToAppViaIntentTest"], 287 test_suites: ["device-tests"], 288} 289 290// End breakdowns for WMShellFlickerTestsPip module 291//////////////////////////////////////////////////////////////////////////////// 292