• 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.
18cc_test {
19    name: "VtsHalWifiApV1_4TargetTest",
20    defaults: ["VtsHalTargetTestDefaults"],
21    srcs: [
22        "wifi_ap_iface_hidl_test.cpp",
23        "wifi_chip_hidl_test.cpp",
24    ],
25    static_libs: [
26        "VtsHalWifiV1_0TargetTestUtil",
27        "android.hardware.wifi@1.0",
28        "android.hardware.wifi@1.1",
29        "android.hardware.wifi@1.2",
30        "android.hardware.wifi@1.3",
31        "android.hardware.wifi@1.4",
32        "libwifi-system-iface",
33    ],
34    test_suites: [
35        "general-tests",
36        "vts",
37    ],
38}
39
40// These tests are split out so that they can be conditioned on presence of the
41// "android.hardware.wifi.aware" feature.
42cc_test {
43    name: "VtsHalWifiNanV1_4TargetTest",
44    defaults: ["VtsHalTargetTestDefaults"],
45    srcs: [
46        "wifi_nan_iface_hidl_test.cpp",
47    ],
48    static_libs: [
49        "VtsHalWifiV1_0TargetTestUtil",
50        "android.hardware.wifi@1.0",
51        "android.hardware.wifi@1.1",
52        "android.hardware.wifi@1.2",
53        "android.hardware.wifi@1.3",
54        "android.hardware.wifi@1.4",
55        "libwifi-system-iface",
56    ],
57    test_suites: [
58        "general-tests",
59        "vts",
60    ],
61}
62
63// These tests are split out so that they can be conditioned on presence of the
64// "android.hardware.wifi.rtt" feature.
65cc_test {
66    name: "VtsHalWifiRttV1_4TargetTest",
67    defaults: ["VtsHalTargetTestDefaults"],
68    srcs: [
69        "wifi_rtt_controller_hidl_test.cpp",
70    ],
71    static_libs: [
72        "VtsHalWifiV1_0TargetTestUtil",
73        "android.hardware.wifi@1.0",
74        "android.hardware.wifi@1.1",
75        "android.hardware.wifi@1.2",
76        "android.hardware.wifi@1.3",
77        "android.hardware.wifi@1.4",
78        "libwifi-system-iface",
79    ],
80    test_suites: [
81        "general-tests",
82        "vts",
83    ],
84}
85