Home
last modified time | relevance | path

Searched refs:status_and_caps (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/wifi/1.2/vts/functional/
Dwifi_sta_iface_hidl_test.cpp54 const auto& status_and_caps = in isCapabilitySupported() local
56 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported()
57 return (status_and_caps.second & cap_mask) != 0; in isCapabilitySupported()
95 const auto& status_and_caps = in TEST_P() local
97 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_P()
99 << status_and_caps.second.version in TEST_P()
100 << " maxLength=" << status_and_caps.second.maxLength; in TEST_P()
104 std::min(status_and_caps.second.maxLength, static_cast<uint32_t>(500)); in TEST_P()
/hardware/interfaces/wifi/1.4/vts/functional/
Dwifi_rtt_controller_hidl_test.cpp74 std::pair<WifiStatus, RttCapabilities> status_and_caps; in SetUp() local
75 status_and_caps = in SetUp()
77 if (status_and_caps.first.code == WifiStatusCode::ERROR_NOT_SUPPORTED) { in SetUp()
162 std::pair<WifiStatus, RttCapabilities> status_and_caps; in TEST_P() local
165 status_and_caps = HIDL_INVOKE(wifi_rtt_controller_, getCapabilities_1_4); in TEST_P()
166 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_P()
167 if (!status_and_caps.second.rttFtmSupported) { in TEST_P()
208 std::pair<WifiStatus, RttCapabilities> status_and_caps; in TEST_P() local
211 status_and_caps = HIDL_INVOKE(wifi_rtt_controller_, getCapabilities_1_4); in TEST_P()
212 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_P()
[all …]
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_sta_iface_hidl_test.cpp61 const auto& status_and_caps = in isCapabilitySupported() local
63 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported()
64 return (status_and_caps.second & cap_mask) != 0; in isCapabilitySupported()
84 const auto& status_and_caps = HIDL_INVOKE(wifi_sta_iface_, getCapabilities); in TEST_P() local
85 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_P()
86 EXPECT_GT(status_and_caps.second, 0u); in TEST_P()
109 const auto& status_and_caps = in TEST_P() local
111 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_P()
125 const auto& status_and_caps = in TEST_P() local
127 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_P()
Dwifi_hidl_test_utils.cpp242 std::pair<WifiStatus, uint32_t> status_and_caps; in getChipCapabilitiesLatest() local
246 status_and_caps = HIDL_INVOKE(chip_converted15, getCapabilities_1_5); in getChipCapabilitiesLatest()
249 status_and_caps = HIDL_INVOKE(chip_converted13, getCapabilities_1_3); in getChipCapabilitiesLatest()
251 status_and_caps = HIDL_INVOKE(wifi_chip, getCapabilities); in getChipCapabilitiesLatest()
254 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in getChipCapabilitiesLatest()
255 return status_and_caps.second; in getChipCapabilitiesLatest()
Dwifi_chip_hidl_test.cpp181 const auto& status_and_caps = HIDL_INVOKE(wifi_chip_, getCapabilities); in TEST_P() local
182 if (status_and_caps.first.code != WifiStatusCode::SUCCESS) { in TEST_P()
183 EXPECT_EQ(WifiStatusCode::ERROR_NOT_SUPPORTED, status_and_caps.first.code); in TEST_P()
186 EXPECT_NE(0u, status_and_caps.second); in TEST_P()
/hardware/interfaces/wifi/1.6/vts/functional/
Dwifi_rtt_controller_hidl_test.cpp72 std::pair<WifiStatus, RttCapabilities> status_and_caps; in SetUp() local
73 status_and_caps = HIDL_INVOKE(wifi_rtt_controller_, getCapabilities_1_6); in SetUp()
74 if (status_and_caps.first.code == WifiStatusCode::ERROR_NOT_SUPPORTED) { in SetUp()
82 std::pair<WifiStatus, RttCapabilities> status_and_caps; in getRttCapabilities() local
83 status_and_caps = HIDL_INVOKE(wifi_rtt_controller_, getCapabilities_1_6); in getRttCapabilities()
84 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in getRttCapabilities()
85 return status_and_caps.second; in getRttCapabilities()
252 std::pair<WifiStatus, RttCapabilities> status_and_caps; in TEST_P() local
255 status_and_caps = HIDL_INVOKE(wifi_rtt_controller_, getCapabilities_1_6); in TEST_P()
256 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_P()
Dwifi_sta_iface_hidl_test.cpp56 const auto& status_and_caps = HIDL_INVOKE(wifi_sta_iface_, getCapabilities); in isCapabilitySupported() local
57 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported()
58 return (status_and_caps.second & cap_mask) != 0; in isCapabilitySupported()
/hardware/interfaces/wifi/1.3/vts/functional/
Dwifi_chip_hidl_test.cpp116 const auto& status_and_caps = HIDL_INVOKE(wifi_chip_, getCapabilities_1_3); in TEST_P() local
117 if (status_and_caps.first.code != WifiStatusCode::SUCCESS) { in TEST_P()
119 status_and_caps.first.code); in TEST_P()
122 EXPECT_NE(0u, status_and_caps.second); in TEST_P()
Dwifi_sta_iface_hidl_test.cpp56 const auto& status_and_caps = in isCapabilitySupported() local
58 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported()
59 return (status_and_caps.second & cap_mask) != 0; in isCapabilitySupported()
/hardware/interfaces/wifi/1.5/vts/functional/
Dwifi_sta_iface_hidl_test.cpp57 const auto& status_and_caps = in isCapabilitySupported() local
59 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported()
60 return (status_and_caps.second & cap_mask) != 0; in isCapabilitySupported()