Searched refs:GetAttributeValue (Results 1 – 9 of 9) sorted by relevance
/system/connectivity/wificond/tests/ |
D | nl80211_packet_unittest.cpp | 122 EXPECT_TRUE(netlink_packet.GetAttributeValue(1, &attr_value)); in TEST() 144 EXPECT_TRUE(netlink_packet.GetAttributeValue(1, &u8_attr_value)); in TEST() 145 EXPECT_TRUE(netlink_packet.GetAttributeValue(2, &u32_attr_value)); in TEST() 146 EXPECT_TRUE(netlink_packet.GetAttributeValue(3, &u16_attr_value)); in TEST() 183 EXPECT_FALSE(netlink_packet.GetAttributeValue(2, &attr_value)); in TEST() 224 EXPECT_TRUE(netlink_packet.GetAttributeValue(NL80211_ATTR_WIPHY, &value)); in TEST() 226 EXPECT_TRUE(netlink_packet.GetAttributeValue(NL80211_ATTR_IFINDEX, &value)); in TEST() 229 EXPECT_TRUE(netlink_packet.GetAttributeValue(NL80211_ATTR_FRAME, &rawdata)); in TEST() 242 EXPECT_TRUE(netlink_packet.GetAttributeValue(NL80211_ATTR_WIPHY, &value)); in TEST() 244 EXPECT_TRUE(netlink_packet.GetAttributeValue(NL80211_ATTR_IFINDEX, &value)); in TEST() [all …]
|
D | nl80211_attribute_unittest.cpp | 161 EXPECT_TRUE(nested_attr.GetAttributeValue(1, &attr_value)); in TEST() 163 EXPECT_TRUE(nested_attr.GetAttributeValue(2, &attr_value)); in TEST() 186 EXPECT_FALSE(nested_attr.GetAttributeValue(2, &attr_value)); in TEST() 197 EXPECT_FALSE(nested_attr.GetAttributeValue(1, &attr_value)); in TEST() 294 ASSERT_TRUE(nested_attrs[0].GetAttributeValue(1, &value1)); in TEST() 295 ASSERT_TRUE(nested_attrs[1].GetAttributeValue(1, &value2)); in TEST() 296 ASSERT_TRUE(nested_attrs[2].GetAttributeValue(1, &value3)); in TEST() 335 EXPECT_TRUE(nested_attr1.GetAttributeValue(1, &value1)); in TEST() 337 EXPECT_TRUE(nested_attr1.GetAttributeValue(2, &value2)); in TEST()
|
D | scan_utils_unittest.cpp | 126 if (!arg.GetAttributeValue(attr, &actual_value)) {
|
/system/connectivity/wificond/net/ |
D | netlink_utils.cpp | 148 if (!packet->GetAttributeValue(NL80211_ATTR_WIPHY, out_wiphy_index)) { in GetWiphyIndex() 203 if (!packet->GetAttributeValue(NL80211_ATTR_IFINDEX, &if_index)) { in GetInterfaces() 214 if (!packet->GetAttributeValue(NL80211_ATTR_IFNAME, &if_name)) { in GetInterfaces() 220 if (!packet->GetAttributeValue(NL80211_ATTR_MAC, &if_mac_addr)) { in GetInterfaces() 274 if (!response->GetAttributeValue(NL80211_ATTR_PROTOCOL_FEATURES, features)) { in GetProtocolFeatures() 315 if (!packet.GetAttributeValue(NL80211_ATTR_WIPHY, ¤t_wiphy_index) || in GetWiphyInfo() 346 if (!packet.GetAttributeValue(NL80211_ATTR_FEATURE_FLAGS, in ParseWiphyInfoFromPacket() 352 if (!packet.GetAttributeValue(NL80211_ATTR_EXT_FEATURES, in ParseWiphyInfoFromPacket() 365 if (!packet->GetAttributeValue(NL80211_ATTR_MAX_NUM_SCAN_SSIDS, in ParseScanCapabilities() 372 if (!packet->GetAttributeValue(NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS, in ParseScanCapabilities() [all …]
|
D | netlink_manager.cpp | 180 if (!packet->GetAttributeValue(CTRL_ATTR_FAMILY_ID, &family_id)) { in OnNewFamily() 185 if (!packet->GetAttributeValue(CTRL_ATTR_FAMILY_NAME, &family_name)) { in OnNewFamily() 204 if (!group.GetAttributeValue(CTRL_ATTR_MCAST_GRP_NAME, &group_name)) { in OnNewFamily() 208 if (!group.GetAttributeValue(CTRL_ATTR_MCAST_GRP_ID, &group_id)) { in OnNewFamily() 532 if (!packet->GetAttributeValue(NL80211_ATTR_IFINDEX, &if_index)) { in BroadcastHandler() 539 if (!packet->GetAttributeValue(NL80211_ATTR_MAC, &mac_address)) { in BroadcastHandler() 563 if (!packet->GetAttributeValue(NL80211_ATTR_REG_TYPE, ®_type)) { in OnRegChangeEvent() 571 if (!packet->GetAttributeValue(NL80211_ATTR_REG_ALPHA2, &country_code)) { in OnRegChangeEvent() 599 if (!packet->GetAttributeValue(NL80211_ATTR_IFINDEX, &if_index)) { in OnMlmeEvent() 650 if (!packet->GetAttributeValue(NL80211_ATTR_IFINDEX, &if_index)) { in OnSchedScanResultsReady() [all …]
|
D | mlme_event.cpp | 38 if (!packet->GetAttributeValue(NL80211_ATTR_IFINDEX, if_index)) { in GetCommonFields() 43 if (!packet->GetAttributeValue(NL80211_ATTR_MAC, bssid)) { in GetCommonFields() 85 if (!packet->GetAttributeValue(NL80211_ATTR_STATUS_CODE, in InitFromPacket()
|
D | nl80211_packet.h | 125 bool GetAttributeValue(int id, T* value) const { in GetAttributeValue() function
|
D | nl80211_attribute.h | 175 bool GetAttributeValue(int id, T* value) const { in GetAttributeValue() function
|
/system/connectivity/wificond/scanning/ |
D | scan_utils.cpp | 113 if (!packet->GetAttributeValue(NL80211_ATTR_IFINDEX, &if_index)) { in GetScanResult() 141 if (!bss.GetAttributeValue(NL80211_BSS_BSSID, &bssid)) { in ParseScanResult() 146 if (!bss.GetAttributeValue(NL80211_BSS_FREQUENCY, &freq)) { in ParseScanResult() 151 if (!bss.GetAttributeValue(NL80211_BSS_INFORMATION_ELEMENTS, &ie)) { in ParseScanResult() 167 if (!bss.GetAttributeValue(NL80211_BSS_SIGNAL_MBM, &signal)) { in ParseScanResult() 172 if (!bss.GetAttributeValue(NL80211_BSS_CAPABILITY, &capability)) { in ParseScanResult() 178 if (bss.GetAttributeValue(NL80211_BSS_STATUS, &bss_status) && in ParseScanResult() 203 if (bss.GetAttributeValue(NL80211_BSS_LAST_SEEN_BOOTTIME, in GetBssTimestamp() 209 if (!bss.GetAttributeValue(NL80211_BSS_TSF, last_seen_since_boot_microseconds)) { in GetBssTimestamp() 214 if (bss.GetAttributeValue(NL80211_BSS_BEACON_TSF, &beacon_tsf_microseconds)) { in GetBssTimestamp()
|