1// Copyright (C) 2024 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_fwk_uwb", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20python_defaults { 21 name: "RangingMultiDevicePythonDefaults", 22 libs: [ 23 "mobly", 24 "platform-test-py-annotations", 25 ], 26 test_suites: [ 27 "cts", 28 "general-tests", 29 "mts-uwb", 30 "mcts-uwb", 31 ], 32} 33 34python_test_host { 35 name: "MultiDeviceRangingTestCases", 36 main: "RangingManagerTests/ranging_manager_tests.py", 37 srcs: [ 38 "RangingManagerTests/ranging_manager_tests.py", 39 "lib/*.py", 40 ], 41 test_config: "RangingManagerTests/AndroidTest.xml", 42 test_options: { 43 unit_test: false, 44 }, 45 device_common_data: [ 46 // Package the snippet with the mobly test 47 ":bluetooth_multi_devices_snippet", 48 ":ranging_snippet", 49 ":uwb_snippet", 50 "README.md", 51 ], 52 defaults: ["RangingMultiDevicePythonDefaults"], 53} 54 55// Modules for CTS-Verifier (cts-v-host) 56python_test_host { 57 name: "CtsMultiDeviceGenericRangingTests", 58 main: "RangingManagerTests/ranging_manager_tests.py", 59 srcs: [ 60 "RangingManagerTests/ranging_manager_tests.py", 61 "lib/*.py", 62 ], 63 test_suites: [ 64 "cts-v-host", 65 ], 66 test_config: "RangingManagerTests/AndroidTestV2.xml", 67 test_options: { 68 runner: "mobly", 69 unit_test: false, 70 }, 71 device_common_data: [ 72 // Package the snippet with the mobly test 73 ":bluetooth_multi_devices_snippet", 74 ":ranging_snippet", 75 ":uwb_snippet", 76 "README.md", 77 ], 78 defaults: ["RangingMultiDevicePythonDefaults"], 79} 80