// Copyright (C) 2023 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

python_test_host {
    name: "UxRestrictionBluetoothCallFromDialerTest",
    main: "uxrestriction_test_call_from_dialer.py",
    srcs: ["uxrestriction_test_call_from_dialer.py"],
    libs: [
        "mobly",
        "utilities",
        "bluetooth_test",
    ],
    test_suites: [
        "catbox",
    ],
    test_options: {
        unit_test: false,
    },
    data: [
        // Package the snippet with the mobly test
        ":AutomotiveSnippet",
        ":PhoneSnippet",
    ],
    version: {
        py3: {
            embedded_launcher: true,
        },
    },
}

python_test_host {
    name: "UxRestrictionSMSDBTest",
    main: "uxrestriction_test_sms_db_sync.py",
    srcs: ["uxrestriction_test_sms_db_sync.py"],
    libs: [
        "mobly",
        "utilities",
        "BluetoothSMSTestLibrary",
    ],
    test_suites: [
        "catbox",
    ],
    test_options: {
        unit_test: false,
    },
    data: [
        // Package the snippet with the mobly test
        ":AutomotiveSnippet",
        ":PhoneSnippet",
    ],
    version: {
        py3: {
            embedded_launcher: true,
        },
    },
}

python_test_host {
    name: "UxRestrictionReceiveAnswerDeclineCallTest",
    main: "uxrestriction_test_receive_call_answer_decline.py",
    srcs: ["uxrestriction_test_receive_call_answer_decline.py"],
    libs: [
        "mobly",
        "utilities",
        "BluetoothSMSTestLibrary"
    ],
    test_suites: [
        "catbox",
    ],
    test_options: {
        unit_test: false,
    },
    data: [
        // Package the snippet with the mobly test
        ":AutomotiveSnippet",
        ":PhoneSnippet",
    ],
    version: {
        py3: {
            embedded_launcher: true,
        },
    },
}

python_test_host {
    name: "UxRestrictionPlayUnreadMessageWhileDrivingTest",
    main: "uxrestriction_test_play_message_while_driving.py",
    srcs: ["uxrestriction_test_play_message_while_driving.py"],
    libs: [
        "mobly",
        "utilities",
        "BluetoothSMSTestLibrary"
    ],
    test_suites: [
        "catbox",
    ],
    test_options: {
        unit_test: false,
    },
    data: [
        // Package the snippet with the mobly test
        ":AutomotiveSnippet",
        ":PhoneSnippet",
    ],
    version: {
        py3: {
            embedded_launcher: true,
        },
    },
}