1// Copyright (C) 2023 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_team: "trendy_team_aaos_framework", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20python_test_host { 21 name: "BTDefaultStateTest", 22 main: "connectivity_test_default_state.py", 23 srcs: ["connectivity_test_default_state.py"], 24 libs: [ 25 "mobly", 26 "utilities", 27 "bluetooth_test", 28 ], 29 test_suites: [ 30 "catbox", 31 ], 32 test_options: { 33 unit_test: false, 34 }, 35 device_common_data: [ 36 // Package the snippet with the mobly test 37 ":AutomotiveSnippet", 38 ":PhoneSnippet", 39 ], 40 version: { 41 py3: { 42 embedded_launcher: true, 43 }, 44 }, 45} 46 47python_test_host { 48 name: "BTDisconnectFromSettings", 49 main: "connectivity_test_disconnect_from_settings.py", 50 srcs: ["connectivity_test_disconnect_from_settings.py"], 51 libs: [ 52 "mobly", 53 "utilities", 54 "bluetooth_test", 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 ], 67 version: { 68 py3: { 69 embedded_launcher: true, 70 }, 71 }, 72} 73 74python_test_host { 75 name: "BTConnectionSummaryStatus", 76 main: "connectivity_test_disconnected_summary_status.py", 77 srcs: ["connectivity_test_disconnected_summary_status.py"], 78 libs: [ 79 "mobly", 80 "utilities", 81 "bluetooth_test", 82 ], 83 test_suites: [ 84 "catbox", 85 ], 86 test_options: { 87 unit_test: false, 88 }, 89 device_common_data: [ 90 // Package the snippet with the mobly test 91 ":AutomotiveSnippet", 92 ":PhoneSnippet", 93 ], 94 version: { 95 py3: { 96 embedded_launcher: true, 97 }, 98 }, 99} 100 101python_test_host { 102 name: "BTConnectionStatusOnLevelTwo", 103 main: "connectivity_test_status_displayed_in_l2.py", 104 srcs: ["connectivity_test_status_displayed_in_l2.py"], 105 libs: [ 106 "mobly", 107 "utilities", 108 "bluetooth_test", 109 ], 110 test_suites: [ 111 "catbox", 112 ], 113 test_options: { 114 unit_test: false, 115 }, 116 device_common_data: [ 117 // Package the snippet with the mobly test 118 ":AutomotiveSnippet", 119 ":PhoneSnippet", 120 ], 121 version: { 122 py3: { 123 embedded_launcher: true, 124 }, 125 }, 126} 127 128python_test_host { 129 name: "BTDisableMedia", 130 main: "connectivity_test_disable_media.py", 131 srcs: ["connectivity_test_disable_media.py"], 132 libs: [ 133 "mobly", 134 "utilities", 135 "bluetooth_test", 136 ], 137 test_suites: [ 138 "catbox", 139 ], 140 test_options: { 141 unit_test: false, 142 }, 143 device_common_data: [ 144 // Package the snippet with the mobly test 145 ":AutomotiveSnippet", 146 ":PhoneSnippet", 147 ], 148 version: { 149 py3: { 150 embedded_launcher: true, 151 }, 152 }, 153} 154 155python_test_host { 156 name: "BTDisablePhone", 157 main: "connectivity_test_disable_phone.py", 158 srcs: ["connectivity_test_disable_phone.py"], 159 libs: [ 160 "mobly", 161 "utilities", 162 "bluetooth_test", 163 ], 164 test_suites: [ 165 "catbox", 166 ], 167 test_options: { 168 unit_test: false, 169 }, 170 device_common_data: [ 171 // Package the snippet with the mobly test 172 ":AutomotiveSnippet", 173 ":PhoneSnippet", 174 ], 175 version: { 176 py3: { 177 embedded_launcher: true, 178 }, 179 }, 180} 181 182python_test_host { 183 name: "BTProfilesTest", 184 main: "connectivity_test_bluetooth_profile.py", 185 srcs: ["connectivity_test_bluetooth_profile.py"], 186 libs: [ 187 "mobly", 188 "utilities", 189 "bluetooth_test", 190 ], 191 test_suites: [ 192 "catbox", 193 ], 194 test_options: { 195 unit_test: false, 196 }, 197 device_common_data: [ 198 // Package the snippet with the mobly test 199 ":AutomotiveSnippet", 200 ":PhoneSnippet", 201 ], 202 version: { 203 py3: { 204 embedded_launcher: true, 205 }, 206 }, 207} 208 209python_test_host { 210 name: "BluetoothDisablePhoneAfterReconnectTest", 211 main: "connectivity_test_disconnected_phone_after_reconnect.py", 212 srcs: ["connectivity_test_disconnected_phone_after_reconnect.py"], 213 libs: [ 214 "mobly", 215 "utilities", 216 "bluetooth_test", 217 ], 218 test_suites: [ 219 "catbox", 220 ], 221 test_options: { 222 unit_test: false, 223 }, 224 device_common_data: [ 225 // Package the snippet with the mobly test 226 ":AutomotiveSnippet", 227 ":PhoneSnippet", 228 ], 229 version: { 230 py3: { 231 embedded_launcher: true, 232 }, 233 }, 234} 235 236python_test_host { 237 name: "BluetoothDisableMediaAfterReconnectTest", 238 main: "connectivity_test_disconnected_media_after_reconnect.py", 239 srcs: ["connectivity_test_disconnected_media_after_reconnect.py"], 240 libs: [ 241 "mobly", 242 "utilities", 243 "bluetooth_test", 244 ], 245 test_suites: [ 246 "catbox", 247 ], 248 test_options: { 249 unit_test: false, 250 }, 251 device_common_data: [ 252 // Package the snippet with the mobly test 253 ":AutomotiveSnippet", 254 ":PhoneSnippet", 255 ], 256 version: { 257 py3: { 258 embedded_launcher: true, 259 }, 260 }, 261} 262