• 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: "BTUtilityTest",
22    main: "bt_utility_test.py",
23    srcs: ["bt_utility_test.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: "BluetoothDialTest",
44    main: "dialer_test_dial_test.py",
45    srcs: ["dialer_test_dial_test.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: "BluetoothDialerOptionsTest",
66    main: "dialer_test_dialer_options_test.py",
67    srcs: ["dialer_test_dialer_options_test.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    version: {
85        py3: {
86            embedded_launcher: true,
87        },
88    },
89}
90
91python_test_host {
92    name: "BTContactSortTest",
93    main: "dialer_test_sort_contacts_by_last_name.py",
94    srcs: ["dialer_test_sort_contacts_by_last_name.py"],
95    libs: [
96        "mobly",
97        "utilities",
98        "bluetooth_test",
99    ],
100    test_suites: [
101        "catbox",
102    ],
103    test_options: {
104        unit_test: false,
105    },
106    device_common_data: [
107        // Package the snippet with the mobly test
108        ":AutomotiveSnippet",
109        ":PhoneSnippet",
110    ],
111}
112
113python_test_host {
114    name: "BTAddRemoveFavoriteContactTest",
115    main: "dialer_test_add_remove_favorite_contact.py",
116    srcs: ["dialer_test_add_remove_favorite_contact.py"],
117    libs: [
118        "mobly",
119        "utilities",
120        "bluetooth_test",
121    ],
122    test_suites: [
123        "catbox",
124    ],
125    test_options: {
126        unit_test: false,
127    },
128    device_common_data: [
129        // Package the snippet with the mobly test
130        ":AutomotiveSnippet",
131        ":PhoneSnippet",
132    ],
133}
134
135python_test_host {
136    name: "BTContactTest",
137    main: "dialer_test_contact_test.py",
138    srcs: ["dialer_test_contact_test.py"],
139    libs: [
140        "mobly",
141        "utilities",
142        "bluetooth_test",
143    ],
144    test_suites: [
145        "catbox",
146    ],
147    test_options: {
148        unit_test: false,
149    },
150    device_common_data: [
151        // Package the snippet with the mobly test
152        ":AutomotiveSnippet",
153        ":PhoneSnippet",
154    ],
155}
156
157python_test_host {
158    name: "BTAddressTest",
159    main: "dialer_test_import_address_details.py",
160    srcs: ["dialer_test_import_address_details.py"],
161    libs: [
162        "mobly",
163        "utilities",
164        "bluetooth_test",
165    ],
166    test_suites: [
167        "catbox",
168    ],
169    test_options: {
170        unit_test: false,
171    },
172    device_common_data: [
173        // Package the snippet with the mobly test
174        ":AutomotiveSnippet",
175        ":PhoneSnippet",
176    ],
177}
178
179python_test_host {
180    name: "DialerHFPErrorTest",
181    main: "dialer_hfp_error_test.py",
182    srcs: ["dialer_hfp_error_test.py"],
183    libs: [
184        "mobly",
185        "utilities",
186        "bluetooth_test",
187    ],
188    test_suites: [
189        "catbox",
190    ],
191    test_options: {
192        unit_test: false,
193    },
194    device_common_data: [
195        // Package the snippet with the mobly test
196        ":AutomotiveSnippet",
197        ":PhoneSnippet",
198    ],
199}
200
201python_test_host {
202    name: "BTContactSortByFirstNameTest",
203    main: "dialer_test_sort_contacts_by_first_name.py",
204    srcs: ["dialer_test_sort_contacts_by_first_name.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}
222
223python_test_host {
224    name: "SearchContactTest",
225    main: "dialer_test_search_contacts.py",
226    srcs: ["dialer_test_search_contacts.py"],
227    libs: [
228        "mobly",
229        "utilities",
230        "bluetooth_test",
231    ],
232    test_suites: [
233        "catbox",
234    ],
235    test_options: {
236        unit_test: false,
237    },
238    device_common_data: [
239        // Package the snippet with the mobly test
240        ":AutomotiveSnippet",
241        ":PhoneSnippet",
242    ],
243}
244
245python_test_host {
246    name: "SearchContactByPhoneNumberTest",
247    main: "dialer_test_search_contact_by_phone_number.py",
248    srcs: ["dialer_test_search_contact_by_phone_number.py"],
249    libs: [
250        "mobly",
251        "utilities",
252        "bluetooth_test",
253    ],
254    test_suites: [
255        "catbox",
256    ],
257    test_options: {
258        unit_test: false,
259    },
260    device_common_data: [
261        // Package the snippet with the mobly test
262        ":AutomotiveSnippet",
263        ":PhoneSnippet",
264    ],
265}
266
267python_test_host {
268    name: "SearchShowingFoundContact",
269    main: "dialer_test_search_showing_found_contacts.py",
270    srcs: ["dialer_test_search_showing_found_contacts.py"],
271    libs: [
272        "mobly",
273        "utilities",
274        "bluetooth_test",
275    ],
276    test_suites: [
277        "catbox",
278    ],
279    test_options: {
280        unit_test: false,
281    },
282    device_common_data: [
283        // Package the snippet with the mobly test
284        ":AutomotiveSnippet",
285        ":PhoneSnippet",
286    ],
287}
288
289python_test_host {
290    name: "CallingDeclineBtTest",
291    main: "dialer_test_basic_calling_test_with_reject_call.py",
292    srcs: ["dialer_test_basic_calling_test_with_reject_call.py"],
293    libs: [
294        "mobly",
295        "utilities",
296        "BluetoothSMSTestLibrary",
297    ],
298    test_suites: [
299        "catbox",
300    ],
301    test_options: {
302        unit_test: false,
303    },
304    device_common_data: [
305        // Package the snippet with the mobly test
306        ":AutomotiveSnippet",
307        ":PhoneSnippet",
308        "bt_3device_config.yaml",
309    ],
310}
311
312python_test_host {
313    name: "BluetoothMuteUnmuteCallTest",
314    main: "dialer_test_mute_unmute_call.py",
315    srcs: ["dialer_test_mute_unmute_call.py"],
316    libs: [
317        "mobly",
318        "utilities",
319        "bluetooth_test",
320    ],
321    test_suites: [
322        "catbox",
323    ],
324    test_options: {
325        unit_test: false,
326    },
327    device_common_data: [
328        // Package the snippet with the mobly test
329        ":AutomotiveSnippet",
330        ":PhoneSnippet",
331    ],
332}
333
334python_test_host {
335    name: "DeleteDialedNumberTest",
336    main: "dialer_test_delete_dialed_number.py",
337    srcs: ["dialer_test_delete_dialed_number.py"],
338    libs: [
339        "mobly",
340        "utilities",
341        "bluetooth_test",
342    ],
343    test_suites: [
344        "catbox",
345    ],
346    test_options: {
347        unit_test: false,
348    },
349    device_common_data: [
350        // Package the snippet with the mobly test
351        ":AutomotiveSnippet",
352        ":PhoneSnippet",
353    ],
354}
355
356python_test_host {
357    name: "DialerCallFromHistoryTest",
358    main: "dialer_test_call_from_history.py",
359    srcs: ["dialer_test_call_from_history.py"],
360    libs: [
361        "mobly",
362        "utilities",
363        "bluetooth_test",
364    ],
365    test_suites: [
366        "catbox",
367    ],
368    test_options: {
369        unit_test: false,
370    },
371    device_common_data: [
372        // Package the snippet with the mobly test
373        ":AutomotiveSnippet",
374        ":PhoneSnippet",
375    ],
376}
377
378python_test_host {
379    name: "BTCallAudioSourceTransferringTest",
380    main: "dialer_test_call_audio_source_transferring.py",
381    srcs: ["dialer_test_call_audio_source_transferring.py"],
382    libs: [
383        "mobly",
384        "utilities",
385        "bluetooth_test",
386    ],
387    test_suites: [
388        "catbox",
389    ],
390    test_options: {
391        unit_test: false,
392    },
393    device_common_data: [
394        // Package the snippet with the mobly test
395        ":AutomotiveSnippet",
396        ":PhoneSnippet",
397    ],
398}
399
400python_test_host {
401    name: "BTContactSearchByLastNameTest",
402    main: "dialer_test_search_contacts_by_last_name.py",
403    srcs: ["dialer_test_search_contacts_by_last_name.py"],
404    libs: [
405        "mobly",
406        "utilities",
407        "bluetooth_test",
408    ],
409    test_suites: [
410        "catbox",
411    ],
412    test_options: {
413        unit_test: false,
414    },
415    device_common_data: [
416        // Package the snippet with the mobly test
417        ":AutomotiveSnippet",
418        ":PhoneSnippet",
419    ],
420}
421
422python_test_host {
423    name: "BTContactSearchByFirstNameTest",
424    main: "dialer_test_search_contacts_by_first_name.py",
425    srcs: ["dialer_test_search_contacts_by_first_name.py"],
426    libs: [
427        "mobly",
428        "utilities",
429        "bluetooth_test",
430    ],
431    test_suites: [
432        "catbox",
433    ],
434    test_options: {
435        unit_test: false,
436    },
437    device_common_data: [
438        // Package the snippet with the mobly test
439        ":AutomotiveSnippet",
440        ":PhoneSnippet",
441    ],
442}
443
444python_test_host {
445    name: "BTConnectedPhoneTest",
446    main: "dialer_test_connected_phone_in_settings.py",
447    srcs: ["dialer_test_connected_phone_in_settings.py"],
448    libs: [
449        "mobly",
450        "utilities",
451        "bluetooth_test",
452    ],
453    test_suites: [
454        "catbox",
455    ],
456    test_options: {
457        unit_test: false,
458    },
459    device_common_data: [
460        // Package the snippet with the mobly test
461        ":AutomotiveSnippet",
462        ":PhoneSnippet",
463    ],
464}
465
466python_test_host {
467    name: "BTDialerVerifyCallHistoryTest",
468    main: "dialer_test_verify_call_history.py",
469    srcs: ["dialer_test_verify_call_history.py"],
470    libs: [
471        "mobly",
472        "utilities",
473        "bluetooth_test",
474    ],
475    test_suites: [
476        "catbox",
477    ],
478    test_options: {
479        unit_test: false,
480    },
481    device_common_data: [
482        // Package the snippet with the mobly test
483        ":AutomotiveSnippet",
484        ":PhoneSnippet",
485    ],
486}
487
488python_test_host {
489    name: "BTDialerSearchAndCall",
490    main: "dialer_test_search_contacts_and_call.py",
491    srcs: ["dialer_test_search_contacts_and_call.py"],
492    libs: [
493        "mobly",
494        "utilities",
495        "bluetooth_test",
496    ],
497    test_suites: [
498        "catbox",
499    ],
500    test_options: {
501        unit_test: false,
502    },
503    device_common_data: [
504        // Package the snippet with the mobly test
505        ":AutomotiveSnippet",
506        ":PhoneSnippet",
507    ],
508}
509
510python_test_host {
511    name: "BTDialerPageRefresh",
512    main: "dialer_test_page_refresh.py",
513    srcs: ["dialer_test_page_refresh.py"],
514
515    libs: [
516        "mobly",
517        "utilities",
518        "bluetooth_test",
519    ],
520    test_suites: [
521        "catbox",
522    ],
523    test_options: {
524        unit_test: false,
525    },
526    device_common_data: [
527        // Package the snippet with the mobly test
528        ":AutomotiveSnippet",
529        ":PhoneSnippet",
530    ],
531}
532
533python_test_host {
534    name: "BTDialerBluetoothSettingsReflection",
535    main: "dialer_test_bluetooth_settings_reflection.py",
536    srcs: ["dialer_test_bluetooth_settings_reflection.py"],
537
538    libs: [
539        "mobly",
540        "utilities",
541        "bluetooth_test",
542    ],
543    test_suites: [
544        "catbox",
545    ],
546    test_options: {
547        unit_test: false,
548    },
549    device_common_data: [
550        // Package the snippet with the mobly test
551        ":AutomotiveSnippet",
552        ":PhoneSnippet",
553    ],
554}
555
556python_test_host {
557    name: "BTDialerDeclineCall",
558    main: "dialer_test_decline_incoming_call.py",
559    srcs: ["dialer_test_decline_incoming_call.py"],
560    libs: [
561        "mobly",
562        "utilities",
563        "bluetooth_test",
564        "BluetoothSMSTestLibrary",
565    ],
566    test_suites: [
567        "catbox",
568    ],
569    test_options: {
570        unit_test: false,
571    },
572    device_common_data: [
573        // Package the snippet with the mobly test
574        ":AutomotiveSnippet",
575        ":PhoneSnippet",
576    ],
577}
578
579python_test_host {
580    name: "BTDialerActiveCallOn",
581    main: "dialer_test_active_call_on.py",
582    srcs: ["dialer_test_active_call_on.py"],
583
584    libs: [
585        "mobly",
586        "utilities",
587        "bluetooth_test",
588        "BluetoothSMSTestLibrary",
589    ],
590    test_suites: [
591        "catbox",
592    ],
593    test_options: {
594        unit_test: false,
595    },
596    device_common_data: [
597        // Package the snippet with the mobly test
598        ":AutomotiveSnippet",
599        ":PhoneSnippet",
600    ],
601}
602
603python_test_host {
604    name: "BTDialerActiveCallOff",
605    main: "dialer_test_active_call_off.py",
606    srcs: ["dialer_test_active_call_off.py"],
607
608    libs: [
609        "mobly",
610        "utilities",
611        "bluetooth_test",
612        "BluetoothSMSTestLibrary",
613    ],
614    test_suites: [
615        "catbox",
616    ],
617    test_options: {
618        unit_test: false,
619    },
620    device_common_data: [
621        // Package the snippet with the mobly test
622        ":AutomotiveSnippet",
623        ":PhoneSnippet",
624    ],
625}
626
627python_test_host {
628    name: "BTDialerPhoneCard",
629    main: "dialer_test_launch_from_phone_card.py",
630    srcs: ["dialer_test_launch_from_phone_card.py"],
631
632    libs: [
633        "mobly",
634        "utilities",
635        "bluetooth_test",
636        "BluetoothSMSTestLibrary",
637    ],
638    test_suites: [
639        "catbox",
640    ],
641    test_options: {
642        unit_test: false,
643    },
644    device_common_data: [
645        // Package the snippet with the mobly test
646        ":AutomotiveSnippet",
647        ":PhoneSnippet",
648    ],
649}
650
651python_test_host {
652    name: "BTDialerHFPProfile",
653    main: "dialer_test_profile_hfp_enabled_after_pair.py",
654    srcs: ["dialer_test_profile_hfp_enabled_after_pair.py"],
655
656    libs: [
657        "mobly",
658        "utilities",
659        "bluetooth_test",
660    ],
661    test_suites: [
662        "catbox",
663    ],
664    test_options: {
665        unit_test: false,
666    },
667    device_common_data: [
668        // Package the snippet with the mobly test
669        ":AutomotiveSnippet",
670        ":PhoneSnippet",
671    ],
672    version: {
673        py3: {
674            embedded_launcher: true,
675        },
676    },
677}
678