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_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19python_test_host { 20 name: "UxRestrictionBluetoothCallFromDialerTest", 21 main: "uxrestriction_test_call_from_dialer.py", 22 srcs: ["uxrestriction_test_call_from_dialer.py"], 23 libs: [ 24 "mobly", 25 "utilities", 26 "bluetooth_test", 27 ], 28 test_suites: [ 29 "catbox", 30 ], 31 test_options: { 32 unit_test: false, 33 }, 34 data: [ 35 // Package the snippet with the mobly test 36 ":AutomotiveSnippet", 37 ":PhoneSnippet", 38 ], 39 version: { 40 py3: { 41 embedded_launcher: true, 42 }, 43 }, 44} 45 46python_test_host { 47 name: "UxRestrictionSMSDBTest", 48 main: "uxrestriction_test_sms_db_sync.py", 49 srcs: ["uxrestriction_test_sms_db_sync.py"], 50 libs: [ 51 "mobly", 52 "utilities", 53 "BluetoothSMSTestLibrary", 54 ], 55 test_suites: [ 56 "catbox", 57 ], 58 test_options: { 59 unit_test: false, 60 }, 61 data: [ 62 // Package the snippet with the mobly test 63 ":AutomotiveSnippet", 64 ":PhoneSnippet", 65 ], 66 version: { 67 py3: { 68 embedded_launcher: true, 69 }, 70 }, 71} 72 73python_test_host { 74 name: "UxRestrictionReceiveAnswerDeclineCallTest", 75 main: "uxrestriction_test_receive_call_answer_decline.py", 76 srcs: ["uxrestriction_test_receive_call_answer_decline.py"], 77 libs: [ 78 "mobly", 79 "utilities", 80 "BluetoothSMSTestLibrary" 81 ], 82 test_suites: [ 83 "catbox", 84 ], 85 test_options: { 86 unit_test: false, 87 }, 88 data: [ 89 // Package the snippet with the mobly test 90 ":AutomotiveSnippet", 91 ":PhoneSnippet", 92 ], 93 version: { 94 py3: { 95 embedded_launcher: true, 96 }, 97 }, 98} 99 100python_test_host { 101 name: "UxRestrictionPlayUnreadMessageWhileDrivingTest", 102 main: "uxrestriction_test_play_message_while_driving.py", 103 srcs: ["uxrestriction_test_play_message_while_driving.py"], 104 libs: [ 105 "mobly", 106 "utilities", 107 "BluetoothSMSTestLibrary" 108 ], 109 test_suites: [ 110 "catbox", 111 ], 112 test_options: { 113 unit_test: false, 114 }, 115 data: [ 116 // Package the snippet with the mobly test 117 ":AutomotiveSnippet", 118 ":PhoneSnippet", 119 ], 120 version: { 121 py3: { 122 embedded_launcher: true, 123 }, 124 }, 125} 126 127