Home
last modified time | relevance | path

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

/hardware/interfaces/wifi/1.2/vts/functional/
Dwifi_sta_iface_hidl_test.cpp48 const auto& status_and_caps = in isCapabilitySupported() local
50 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported()
51 return (status_and_caps.second & cap_mask) != 0; in isCapabilitySupported()
86 const auto& status_and_caps = in TEST_F() local
88 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F()
90 << status_and_caps.second.version in TEST_F()
91 << " maxLength=" << status_and_caps.second.maxLength; in TEST_F()
95 std::min(status_and_caps.second.maxLength, static_cast<uint32_t>(500)); in TEST_F()
Dwifi_chip_hidl_test.cpp112 std::pair<WifiStatus, uint32_t> status_and_caps; in configureChipForStaIfaceAndGetCapabilities() local
116 status_and_caps = HIDL_INVOKE(chip_converted, getCapabilities_1_3); in configureChipForStaIfaceAndGetCapabilities()
118 status_and_caps = HIDL_INVOKE(wifi_chip_, getCapabilities); in configureChipForStaIfaceAndGetCapabilities()
121 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in configureChipForStaIfaceAndGetCapabilities()
122 return status_and_caps.second; in configureChipForStaIfaceAndGetCapabilities()
/hardware/interfaces/wifi/1.3/vts/functional/
Dwifi_chip_hidl_test.cpp66 const auto& status_and_caps = in configureChipForStaIfaceAndGetCapabilities() local
68 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in configureChipForStaIfaceAndGetCapabilities()
69 return status_and_caps.second; in configureChipForStaIfaceAndGetCapabilities()
111 const auto& status_and_caps = HIDL_INVOKE(wifi_chip_, getCapabilities_1_3); in TEST_F() local
112 if (status_and_caps.first.code != WifiStatusCode::SUCCESS) { in TEST_F()
114 status_and_caps.first.code); in TEST_F()
117 EXPECT_NE(0u, status_and_caps.second); in TEST_F()
Dwifi_sta_iface_hidl_test.cpp47 const auto& status_and_caps = in isCapabilitySupported() local
49 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported()
50 return (status_and_caps.second & cap_mask) != 0; in isCapabilitySupported()
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_sta_iface_hidl_test.cpp55 const auto& status_and_caps = 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()
78 const auto& status_and_caps = HIDL_INVOKE(wifi_sta_iface_, getCapabilities); in TEST_F() local
79 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F()
80 EXPECT_GT(status_and_caps.second, 0u); in TEST_F()
103 const auto& status_and_caps = in TEST_F() local
105 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F()
119 const auto& status_and_caps = in TEST_F() local
121 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F()
Dwifi_chip_hidl_test.cpp95 std::pair<WifiStatus, uint32_t> status_and_caps; in configureChipForStaIfaceAndGetCapabilities() local
99 status_and_caps = HIDL_INVOKE(chip_converted, getCapabilities_1_3); in configureChipForStaIfaceAndGetCapabilities()
101 status_and_caps = HIDL_INVOKE(wifi_chip_, getCapabilities); in configureChipForStaIfaceAndGetCapabilities()
104 if (status_and_caps.first.code != WifiStatusCode::SUCCESS) { in configureChipForStaIfaceAndGetCapabilities()
105 EXPECT_EQ(WifiStatusCode::ERROR_NOT_SUPPORTED, status_and_caps.first.code); in configureChipForStaIfaceAndGetCapabilities()
108 return status_and_caps.second; in configureChipForStaIfaceAndGetCapabilities()
211 const auto& status_and_caps = HIDL_INVOKE(wifi_chip_, getCapabilities); in TEST_F() local
212 if (status_and_caps.first.code != WifiStatusCode::SUCCESS) { in TEST_F()
213 EXPECT_EQ(WifiStatusCode::ERROR_NOT_SUPPORTED, status_and_caps.first.code); in TEST_F()
216 EXPECT_NE(0u, status_and_caps.second); in TEST_F()
/hardware/interfaces/wifi/1.1/vts/functional/
Dwifi_chip_hidl_test.cpp66 std::pair<WifiStatus, uint32_t> status_and_caps; in configureChipForStaIfaceAndGetCapabilities() local
70 status_and_caps = HIDL_INVOKE(chip_converted, getCapabilities_1_3); in configureChipForStaIfaceAndGetCapabilities()
72 status_and_caps = HIDL_INVOKE(wifi_chip_, getCapabilities); in configureChipForStaIfaceAndGetCapabilities()
75 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in configureChipForStaIfaceAndGetCapabilities()
76 return status_and_caps.second; in configureChipForStaIfaceAndGetCapabilities()