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_fwk_wifi_hal", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20python_test_host { 21 name: "WifiAwareAttachTestCases", 22 main: "wifi_aware_attached_test.py", 23 srcs: ["wifi_aware_attached_test.py"], 24 device_common_data: [ 25 ":wifi_aware_snippet_new", 26 ":wifi_mobly_snippet", 27 ], 28 libs: [ 29 "aware_lib_utils", 30 "mobly", 31 "wifi_aware_constants", 32 "platform-test-py-annotations", 33 ], 34 test_suites: [ 35 "general-tests", 36 ], 37 test_options: { 38 unit_test: false, 39 tags: ["mobly"], 40 }, 41} 42 43python_test_host { 44 name: "WifiAwareCapabilitiesTestCases", 45 main: "wifi_aware_capabilities_test.py", 46 srcs: ["wifi_aware_capabilities_test.py"], 47 device_common_data: [":wifi_aware_snippet_new"], 48 libs: [ 49 "aware_lib_utils", 50 "mobly", 51 "wifi_aware_constants", 52 ], 53 test_suites: [ 54 "general-tests", 55 ], 56 test_options: { 57 unit_test: false, 58 tags: ["mobly"], 59 }, 60} 61 62python_test_host { 63 name: "WifiAwareDiscoveryCases", 64 main: "wifi_aware_discovery_test.py", 65 srcs: ["wifi_aware_discovery_test.py"], 66 device_common_data: [ 67 ":wifi_aware_snippet_new", 68 ":wifi_mobly_snippet", 69 ], 70 libs: [ 71 "aware_lib_utils", 72 "mobly", 73 "wifi_aware_constants", 74 "platform-test-py-annotations", 75 ], 76 test_suites: [ 77 "general-tests", 78 ], 79 test_options: { 80 unit_test: false, 81 tags: ["mobly"], 82 }, 83} 84 85python_test_host { 86 name: "WiFiAwareDiscoveryWithRangingTestCases", 87 main: "wifi_aware_discovery_with_ranging_test.py", 88 srcs: ["wifi_aware_discovery_with_ranging_test.py"], 89 device_common_data: [":wifi_aware_snippet_new"], 90 libs: [ 91 "aware_lib_utils", 92 "mobly", 93 "wifi_aware_constants", 94 "platform-test-py-annotations", 95 ], 96 test_suites: [ 97 "general-tests", 98 ], 99 test_options: { 100 unit_test: false, 101 tags: ["mobly"], 102 }, 103} 104 105python_test_host { 106 name: "WifiAwareMessageCases", 107 main: "wifi_aware_message_test.py", 108 srcs: ["wifi_aware_message_test.py"], 109 device_common_data: [ 110 ":wifi_aware_snippet_new", 111 ":wifi_mobly_snippet", 112 ], 113 libs: [ 114 "aware_lib_utils", 115 "mobly", 116 "wifi_aware_constants", 117 "platform-test-py-annotations", 118 ], 119 test_suites: [ 120 "general-tests", 121 ], 122 test_options: { 123 unit_test: false, 124 tags: ["mobly"], 125 }, 126} 127 128python_test_host { 129 name: "WifiAwareMacRandomTestCases", 130 main: "wifi_aware_mac_random_test.py", 131 srcs: ["wifi_aware_mac_random_test.py"], 132 device_common_data: [":wifi_aware_snippet_new"], 133 libs: [ 134 "aware_lib_utils", 135 "mobly", 136 "wifi_aware_constants", 137 "platform-test-py-annotations", 138 ], 139 test_suites: [ 140 "general-tests", 141 ], 142 test_options: { 143 unit_test: false, 144 tags: ["mobly"], 145 }, 146} 147 148python_test_host { 149 name: "WifiAwareMatchFilterCases", 150 main: "wifi_aware_matchfilter_test.py", 151 srcs: ["wifi_aware_matchfilter_test.py"], 152 device_common_data: [ 153 ":wifi_aware_snippet_new", 154 ":wifi_mobly_snippet", 155 ], 156 libs: [ 157 "aware_lib_utils", 158 "mobly", 159 "wifi_aware_constants", 160 "platform-test-py-annotations", 161 ], 162 test_suites: [ 163 "general-tests", 164 ], 165 test_options: { 166 unit_test: false, 167 tags: ["mobly"], 168 }, 169} 170 171python_test_host { 172 name: "WifiAwareMultiCountryProtocolsTestCases", 173 main: "wifi_aware_protocols_multi_country_test.py", 174 srcs: ["wifi_aware_protocols_multi_country_test.py"], 175 device_common_data: [":wifi_aware_snippet_new"], 176 libs: [ 177 "aware_lib_utils", 178 "mobly", 179 "wifi_aware_constants", 180 "platform-test-py-annotations", 181 ], 182 test_suites: [ 183 "general-tests", 184 ], 185 test_options: { 186 unit_test: false, 187 tags: ["mobly"], 188 }, 189} 190 191python_test_host { 192 name: "WifiAwareDatapathTestCases", 193 main: "wifi_aware_datapath_test.py", 194 srcs: ["wifi_aware_datapath_test.py"], 195 device_common_data: [":wifi_aware_snippet_new"], 196 libs: [ 197 "aware_lib_utils", 198 "mobly", 199 "wifi_aware_constants", 200 "platform-test-py-annotations", 201 ], 202 test_suites: [ 203 "general-tests", 204 ], 205 test_options: { 206 unit_test: false, 207 tags: ["mobly"], 208 }, 209} 210 211python_test_host { 212 name: "WifiRttDisableTestCases", 213 main: "wifi_rtt_disable_test.py", 214 srcs: ["wifi_rtt_disable_test.py"], 215 device_common_data: [":wifi_aware_snippet_new"], 216 libs: [ 217 "aware_lib_utils", 218 "mobly", 219 "wifi_aware_constants", 220 ], 221 test_suites: [ 222 "general-tests", 223 ], 224 test_options: { 225 unit_test: false, 226 tags: ["mobly"], 227 }, 228} 229 230python_test_host { 231 name: "WifiAwareProtocolsTestCases", 232 main: "wifi_aware_protocols_test.py", 233 srcs: ["wifi_aware_protocols_test.py"], 234 device_common_data: [":wifi_aware_snippet_new"], 235 libs: [ 236 "aware_lib_utils", 237 "mobly", 238 "wifi_aware_constants", 239 ], 240 test_suites: [ 241 "general-tests", 242 ], 243 test_options: { 244 unit_test: false, 245 tags: ["mobly"], 246 }, 247} 248 249python_test_host { 250 name: "WifiAwareIntegrationTestSuite", 251 main: "wifi_aware_integration_test_suite.py", 252 srcs: [ 253 "wifi_aware_integration_test_suite.py", 254 "wifi_aware_attached_test.py", 255 "wifi_aware_capabilities_test.py", 256 "wifi_aware_datapath_test.py", 257 "wifi_aware_discovery_test.py", 258 "wifi_aware_discovery_with_ranging_test.py", 259 "wifi_aware_mac_random_test.py", 260 "wifi_aware_matchfilter_test.py", 261 "wifi_aware_message_test.py", 262 "wifi_aware_protocols_multi_country_test.py", 263 "wifi_aware_protocols_test.py", 264 ], 265 device_common_data: [ 266 ":wifi_aware_snippet_new", 267 ":wifi_mobly_snippet", 268 ], 269 libs: [ 270 "aware_lib_utils", 271 "mobly", 272 "wifi_aware_constants", 273 "platform-test-py-annotations", 274 ], 275 test_suites: [ 276 "general-tests", 277 ], 278 test_options: { 279 unit_test: false, 280 tags: ["mobly"], 281 }, 282} 283