• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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}
41
42python_test_host {
43    name: "BTDisconnectFromSettings",
44    main: "connectivity_test_disconnect_from_settings.py",
45    srcs: ["connectivity_test_disconnect_from_settings.py"],
46    libs: [
47        "mobly",
48        "utilities",
49        "bluetooth_test",
50    ],
51    test_suites: [
52        "catbox",
53    ],
54    test_options: {
55        unit_test: false,
56    },
57    device_common_data: [
58        // Package the snippet with the mobly test
59        ":AutomotiveSnippet",
60        ":PhoneSnippet",
61    ],
62}
63
64python_test_host {
65    name: "BTConnectionSummaryStatus",
66    main: "connectivity_test_disconnected_summary_status.py",
67    srcs: ["connectivity_test_disconnected_summary_status.py"],
68    libs: [
69        "mobly",
70        "utilities",
71        "bluetooth_test",
72    ],
73    test_suites: [
74        "catbox",
75    ],
76    test_options: {
77        unit_test: false,
78    },
79    device_common_data: [
80        // Package the snippet with the mobly test
81        ":AutomotiveSnippet",
82        ":PhoneSnippet",
83    ],
84}
85
86python_test_host {
87    name: "BTConnectionStatusOnLevelTwo",
88    main: "connectivity_test_status_displayed_in_l2.py",
89    srcs: ["connectivity_test_status_displayed_in_l2.py"],
90    libs: [
91        "mobly",
92        "utilities",
93        "bluetooth_test",
94    ],
95    test_suites: [
96        "catbox",
97    ],
98    test_options: {
99        unit_test: false,
100    },
101    device_common_data: [
102        // Package the snippet with the mobly test
103        ":AutomotiveSnippet",
104        ":PhoneSnippet",
105    ],
106}
107
108python_test_host {
109    name: "BTDisableMedia",
110    main: "connectivity_test_disable_media.py",
111    srcs: ["connectivity_test_disable_media.py"],
112    libs: [
113        "mobly",
114        "utilities",
115        "bluetooth_test",
116    ],
117    test_suites: [
118        "catbox",
119    ],
120    test_options: {
121        unit_test: false,
122    },
123    device_common_data: [
124        // Package the snippet with the mobly test
125        ":AutomotiveSnippet",
126        ":PhoneSnippet",
127    ],
128}
129
130python_test_host {
131    name: "BTDisablePhone",
132    main: "connectivity_test_disable_phone.py",
133    srcs: ["connectivity_test_disable_phone.py"],
134    libs: [
135        "mobly",
136        "utilities",
137        "bluetooth_test",
138    ],
139    test_suites: [
140        "catbox",
141    ],
142    test_options: {
143        unit_test: false,
144    },
145    device_common_data: [
146        // Package the snippet with the mobly test
147        ":AutomotiveSnippet",
148        ":PhoneSnippet",
149    ],
150}
151
152python_test_host {
153    name: "BTProfilesTest",
154    main: "connectivity_test_bluetooth_profile.py",
155    srcs: ["connectivity_test_bluetooth_profile.py"],
156    libs: [
157        "mobly",
158        "utilities",
159        "bluetooth_test",
160    ],
161    test_suites: [
162        "catbox",
163    ],
164    test_options: {
165        unit_test: false,
166    },
167    device_common_data: [
168        // Package the snippet with the mobly test
169        ":AutomotiveSnippet",
170        ":PhoneSnippet",
171    ],
172}
173
174python_test_host {
175    name: "BluetoothDisablePhoneAfterReconnectTest",
176    main: "connectivity_test_disconnected_phone_after_reconnect.py",
177    srcs: ["connectivity_test_disconnected_phone_after_reconnect.py"],
178    libs: [
179        "mobly",
180        "utilities",
181        "bluetooth_test",
182    ],
183    test_suites: [
184        "catbox",
185    ],
186    test_options: {
187        unit_test: false,
188    },
189    device_common_data: [
190        // Package the snippet with the mobly test
191        ":AutomotiveSnippet",
192        ":PhoneSnippet",
193    ],
194    version: {
195        py3: {
196            embedded_launcher: true,
197        },
198    },
199}
200
201python_test_host {
202    name: "BluetoothDisableMediaAfterReconnectTest",
203    main: "connectivity_test_disconnected_media_after_reconnect.py",
204    srcs: ["connectivity_test_disconnected_media_after_reconnect.py"],
205    libs: [
206        "mobly",
207        "utilities",
208        "bluetooth_test",
209    ],
210    test_suites: [
211        "catbox",
212    ],
213    test_options: {
214        unit_test: false,
215    },
216    device_common_data: [
217        // Package the snippet with the mobly test
218        ":AutomotiveSnippet",
219        ":PhoneSnippet",
220    ],
221    version: {
222        py3: {
223            embedded_launcher: true,
224        },
225    },
226}
227