1// Copyright (C) 2024 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19python_test_host { 20 name: "NotificationsSmsHunDisplayed", 21 main: "test_sms_hun_displayed.py", 22 srcs: ["test_sms_hun_displayed.py"], 23 libs: [ 24 "mobly", 25 "utilities", 26 "BluetoothSMSTestLibrary", 27 ], 28 test_suites: [ 29 "catbox", 30 ], 31 test_options: { 32 unit_test: false, 33 }, 34 device_common_data: [ 35 // Package the snippet with the mobly test 36 ":AutomotiveSnippet", 37 ":PhoneSnippet", 38 "bt_notifications_config.yaml", 39 ], 40 version: { 41 py3: { 42 embedded_launcher: true, 43 }, 44 }, 45} 46 47python_test_host { 48 name: "NotificationsSmsHunDisplayedInDrivingMode", 49 main: "test_sms_hun_displayed_in_driving_mode.py", 50 srcs: ["test_sms_hun_displayed_in_driving_mode.py"], 51 libs: [ 52 "mobly", 53 "utilities", 54 "BluetoothSMSTestLibrary", 55 ], 56 test_suites: [ 57 "catbox", 58 ], 59 test_options: { 60 unit_test: false, 61 }, 62 device_common_data: [ 63 // Package the snippet with the mobly test 64 ":AutomotiveSnippet", 65 ":PhoneSnippet", 66 "bt_notifications_config.yaml", 67 ], 68 version: { 69 py3: { 70 embedded_launcher: true, 71 }, 72 }, 73} 74 75python_test_host { 76 name: "NotificationsSmsHunPlayInDrivingMode", 77 main: "test_sms_hun_play_in_driving_mode.py", 78 srcs: ["test_sms_hun_play_in_driving_mode.py"], 79 libs: [ 80 "mobly", 81 "utilities", 82 "BluetoothSMSTestLibrary", 83 ], 84 test_suites: [ 85 "catbox", 86 ], 87 test_options: { 88 unit_test: false, 89 }, 90 device_common_data: [ 91 // Package the snippet with the mobly test 92 ":AutomotiveSnippet", 93 ":PhoneSnippet", 94 "bt_notifications_config.yaml", 95 ], 96 version: { 97 py3: { 98 embedded_launcher: true, 99 }, 100 }, 101} 102 103python_test_host { 104 name: "NotificationsSmsHunMute", 105 main: "test_sms_hun_mute.py", 106 srcs: ["test_sms_hun_mute.py"], 107 libs: [ 108 "mobly", 109 "utilities", 110 "BluetoothSMSTestLibrary", 111 ], 112 test_suites: [ 113 "catbox", 114 ], 115 test_options: { 116 unit_test: false, 117 }, 118 device_common_data: [ 119 // Package the snippet with the mobly test 120 ":AutomotiveSnippet", 121 ":PhoneSnippet", 122 "bt_notifications_config.yaml", 123 ], 124 version: { 125 py3: { 126 embedded_launcher: true, 127 }, 128 }, 129} 130 131python_test_host { 132 name: "NotificationsSmsHunMutedNotDisplayed", 133 main: "test_sms_hun_muted_not_displayed.py", 134 srcs: ["test_sms_hun_muted_not_displayed.py"], 135 libs: [ 136 "mobly", 137 "utilities", 138 "BluetoothSMSTestLibrary", 139 ], 140 test_suites: [ 141 "catbox", 142 ], 143 test_options: { 144 unit_test: false, 145 }, 146 device_common_data: [ 147 // Package the snippet with the mobly test 148 ":AutomotiveSnippet", 149 ":PhoneSnippet", 150 "bt_notifications_config.yaml", 151 ], 152 version: { 153 py3: { 154 embedded_launcher: true, 155 }, 156 }, 157} 158 159python_test_host { 160 name: "NotificationsSmsHunUnmute", 161 main: "test_sms_hun_unmute.py", 162 srcs: ["test_sms_hun_unmute.py"], 163 libs: [ 164 "mobly", 165 "utilities", 166 "BluetoothSMSTestLibrary", 167 ], 168 test_suites: [ 169 "catbox", 170 ], 171 test_options: { 172 unit_test: false, 173 }, 174 device_common_data: [ 175 // Package the snippet with the mobly test 176 ":AutomotiveSnippet", 177 ":PhoneSnippet", 178 "bt_notifications_config.yaml", 179 ], 180 version: { 181 py3: { 182 embedded_launcher: true, 183 }, 184 }, 185} 186 187python_test_host { 188 name: "NotificationsSmsHunSwipe", 189 main: "test_sms_hun_swipe.py", 190 srcs: ["test_sms_hun_swipe.py"], 191 libs: [ 192 "mobly", 193 "utilities", 194 "BluetoothSMSTestLibrary", 195 ], 196 test_suites: [ 197 "catbox", 198 ], 199 test_options: { 200 unit_test: false, 201 }, 202 device_common_data: [ 203 // Package the snippet with the mobly test 204 ":AutomotiveSnippet", 205 ":PhoneSnippet", 206 "bt_notifications_config.yaml", 207 ], 208 version: { 209 py3: { 210 embedded_launcher: true, 211 }, 212 }, 213} 214