• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17// SoftAP-specific tests, similar to VtsHalWifiApV1_0TargetTest.
18package {
19    // See: http://go/android-license-faq
20    // A large-scale-change added 'default_applicable_licenses' to import
21    // all of the 'license_kinds' from "hardware_interfaces_license"
22    // to get the below license kinds:
23    //   SPDX-license-identifier-Apache-2.0
24    default_applicable_licenses: ["hardware_interfaces_license"],
25}
26
27cc_test {
28    name: "VtsHalWifiApV1_4TargetTest",
29    defaults: ["VtsHalTargetTestDefaults"],
30    srcs: [
31        "wifi_ap_iface_hidl_test.cpp",
32        "wifi_chip_hidl_test.cpp",
33    ],
34    static_libs: [
35        "VtsHalWifiV1_0TargetTestUtil",
36        "android.hardware.wifi@1.0",
37        "android.hardware.wifi@1.1",
38        "android.hardware.wifi@1.2",
39        "android.hardware.wifi@1.3",
40        "android.hardware.wifi@1.4",
41        "libwifi-system-iface",
42    ],
43    test_suites: [
44        "general-tests",
45        "vts",
46    ],
47}
48
49// These tests are split out so that they can be conditioned on presence of the
50// "android.hardware.wifi.aware" feature.
51cc_test {
52    name: "VtsHalWifiNanV1_4TargetTest",
53    defaults: ["VtsHalTargetTestDefaults"],
54    srcs: [
55        "wifi_nan_iface_hidl_test.cpp",
56    ],
57    static_libs: [
58        "VtsHalWifiV1_0TargetTestUtil",
59        "android.hardware.wifi@1.0",
60        "android.hardware.wifi@1.1",
61        "android.hardware.wifi@1.2",
62        "android.hardware.wifi@1.3",
63        "android.hardware.wifi@1.4",
64        "android.hardware.wifi@1.5",
65        "libwifi-system-iface",
66    ],
67    test_suites: [
68        "general-tests",
69        "vts",
70    ],
71}
72
73// These tests are split out so that they can be conditioned on presence of the
74// "android.hardware.wifi.rtt" feature.
75cc_test {
76    name: "VtsHalWifiRttV1_4TargetTest",
77    defaults: ["VtsHalTargetTestDefaults"],
78    srcs: [
79        "wifi_rtt_controller_hidl_test.cpp",
80    ],
81    static_libs: [
82        "VtsHalWifiV1_0TargetTestUtil",
83        "android.hardware.wifi@1.0",
84        "android.hardware.wifi@1.1",
85        "android.hardware.wifi@1.2",
86        "android.hardware.wifi@1.3",
87        "android.hardware.wifi@1.4",
88        "libwifi-system-iface",
89    ],
90    test_suites: [
91        "general-tests",
92        "vts",
93    ],
94}
95