xref: /aosp_15_r20/frameworks/base/tests/FlickerTests/Notification/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    // See: http://go/android-license-faq
19    // A large-scale-change added 'default_applicable_licenses' to import
20    // all of the 'license_kinds' from "frameworks_base_license"
21    // to get the below license kinds:
22    //   SPDX-license-identifier-Apache-2.0
23    default_applicable_licenses: ["frameworks_base_license"],
24}
25
26android_test {
27    name: "FlickerTestsNotification",
28    defaults: ["FlickerTestsDefault"],
29    manifest: "AndroidManifest.xml",
30    test_config_template: "AndroidTestTemplate.xml",
31    srcs: ["src/**/*"],
32    static_libs: ["FlickerTestsBase"],
33    data: ["trace_config/*"],
34}
35
36////////////////////////////////////////////////////////////////////////////////
37// Begin breakdowns for FlickerTestsNotification module
38
39test_module_config {
40    name: "FlickerTestsNotification-CatchAll",
41    base: "FlickerTestsNotification",
42    exclude_filters: [
43        "com.android.server.wm.flicker.notification.OpenAppFromLockscreenNotificationColdTest",
44        "com.android.server.wm.flicker.notification.OpenAppFromLockscreenNotificationWarmTest",
45        "com.android.server.wm.flicker.notification.OpenAppFromLockscreenNotificationWithOverlayAppTest",
46        "com.android.server.wm.flicker.notification.OpenAppFromNotificationColdTest",
47        "com.android.server.wm.flicker.notification.OpenAppFromNotificationWarmTest",
48    ],
49    test_suites: ["device-tests"],
50}
51
52test_module_config {
53    name: "FlickerTestsNotification-OpenAppFromLockscreenNotificationColdTest",
54    base: "FlickerTestsNotification",
55    include_filters: ["com.android.server.wm.flicker.notification.OpenAppFromLockscreenNotificationColdTest"],
56    test_suites: ["device-tests"],
57}
58
59test_module_config {
60    name: "FlickerTestsNotification-OpenAppFromLockscreenNotificationWarmTest",
61    base: "FlickerTestsNotification",
62    include_filters: ["com.android.server.wm.flicker.notification.OpenAppFromLockscreenNotificationWarmTest"],
63    test_suites: ["device-tests"],
64}
65
66test_module_config {
67    name: "FlickerTestsNotification-OpenAppFromLockscreenNotificationWithOverlayAppTest",
68    base: "FlickerTestsNotification",
69    include_filters: ["com.android.server.wm.flicker.notification.OpenAppFromLockscreenNotificationWithOverlayAppTest"],
70    test_suites: ["device-tests"],
71}
72
73test_module_config {
74    name: "FlickerTestsNotification-OpenAppFromNotificationColdTest",
75    base: "FlickerTestsNotification",
76    include_filters: ["com.android.server.wm.flicker.notification.OpenAppFromNotificationColdTest"],
77    test_suites: ["device-tests"],
78}
79
80test_module_config {
81    name: "FlickerTestsNotification-OpenAppFromNotificationWarmTest",
82    base: "FlickerTestsNotification",
83    include_filters: ["com.android.server.wm.flicker.notification.OpenAppFromNotificationWarmTest"],
84    test_suites: ["device-tests"],
85}
86
87// End breakdowns for FlickerTestsNotification module
88////////////////////////////////////////////////////////////////////////////////
89