/system/connectivity/shill/net/ |
H A D | netlink_packet.cc | 74 const AttributeListRefPtr& attributes) { 75 bool result = attributes->Decode(GetPayload(), consumed_bytes_, factory); 72 ConsumeAttributes( const AttributeList::NewFromIdMethod& factory, const AttributeListRefPtr& attributes) argument
|
H A D | netlink_packet.h | 61 // Consume netlink attributes from the remaining payload. 63 const AttributeListRefPtr& attributes);
|
H A D | generic_netlink_message.h | 31 // payload that consists of a list of structured attributes (it's possible that 44 // value 3 will always mean the same thing for attributes in the same family). 45 // EXCEPTION: Some attributes are nested (that is, they contain a list of other 46 // attributes rather than a single value). Each nested attribute defines the 47 // meaning of the nla_types in the context of attributes that are nested under 57 // | nl | | | | attributes | | 83 AttributeListRefPtr attributes() { return attributes_; } function in class:shill::GenericNetlinkMessage
|
H A D | nl80211_message.cc | 481 attributes()->CreateAttribute( 484 attributes()->CreateAttribute( 501 attributes()->CreateAttribute( 553 attributes()->CreateAttribute( 563 attributes()->CreateAttribute( 580 attributes()->CreateAttribute( 596 attributes()->CreateAttribute(
|
H A D | generic_netlink_message.cc | 63 // Build and append attributes (padding is included by 134 attributes()->CreateStringAttribute(CTRL_ATTR_FAMILY_NAME,
|
H A D | rtnl_message.cc | 156 // We hit a parse error while going through the attributes 387 ByteString attributes; local 400 attributes.Append(attr_header); 404 attributes.Append(attr_data); 408 packet.Append(attributes);
|
H A D | netlink_message_unittest.cc | 727 EXPECT_TRUE(message.attributes()->CreateNl80211Attribute( 730 message.attributes()->SetU32AttributeValue(NL80211_ATTR_WIPHY, kWiPhy)); 732 EXPECT_TRUE(message.attributes()->CreateNl80211Attribute( 734 EXPECT_TRUE(message.attributes()->SetU32AttributeValue( 737 EXPECT_TRUE(message.attributes()->CreateNl80211Attribute( 739 EXPECT_TRUE(message.attributes()->SetRawAttributeValue(NL80211_ATTR_MAC, 743 EXPECT_TRUE(message.attributes()->CreateNl80211Attribute( 746 EXPECT_TRUE(message.attributes()->CreateNl80211Attribute( 748 EXPECT_TRUE(message.attributes()->SetU16AttributeValue( 751 EXPECT_TRUE(message.attributes() [all...] |
H A D | netlink_manager_unittest.cc | 344 new_family_message.attributes()->CreateControlAttribute( 346 new_family_message.attributes()->SetU16AttributeValue( 348 new_family_message.attributes()->CreateControlAttribute( 350 new_family_message.attributes()->SetStringAttributeValue( 374 new_family_message.attributes()->CreateControlAttribute( 376 new_family_message.attributes()->SetU16AttributeValue( 378 new_family_message.attributes()->CreateControlAttribute( 380 new_family_message.attributes()->SetStringAttributeValue(
|
/system/extras/tests/net_test/ |
H A D | netlink.py | 95 """Parses and decodes netlink attributes. 112 attributes = {} 125 # We only support unique attributes for now, except for INET_DIAG_NONE, 127 if nla_name in attributes and nla_name != "INET_DIAG_NONE": 130 attributes[nla_name] = nla_data 133 return attributes 186 """Parses a Netlink message into a header and a dictionary of attributes.""" 197 # Parse the attributes in the nlmsg. 199 attributes = self._ParseAttributes(nlmsghdr.type, nlmsg.family, 202 return (nlmsg, attributes), dat [all...] |
H A D | multinetwork_test.py | 748 rtmsg, attributes = route 750 metrics = attributes["RTA_METRICS"] 817 out = [(rule, attributes) for rule, attributes in rules 818 if attributes.get("FRA_PRIORITY", 0) == priority] 825 for _, attributes in rules: 826 self.assertNotIn("FRA_UID_START", attributes) 827 self.assertNotIn("FRA_UID_END", attributes) 849 _, attributes = rules[-1] 850 self.assertEquals(priority, attributes["FRA_PRIORIT [all...] |
/system/connectivity/apmanager/ |
H A D | device_info_unittest.cc | 200 message.attributes()->CreateNl80211Attribute( 202 message.attributes()->SetStringAttributeValue(NL80211_ATTR_WIPHY_NAME, 307 message.attributes()->CreateNl80211Attribute( 309 message.attributes()->SetU32AttributeValue(NL80211_ATTR_IFINDEX, 319 message.attributes()->CreateNl80211Attribute( 321 message.attributes()->SetU32AttributeValue(NL80211_ATTR_IFTYPE, 337 message.attributes()->CreateNl80211Attribute( 339 message.attributes()->SetStringAttributeValue(NL80211_ATTR_WIPHY_NAME, 371 message.attributes()->CreateNl80211Attribute( 373 message.attributes() [all...] |
H A D | device_unittest.cc | 221 message.attributes()->CreateNestedAttribute( 224 message.attributes()->GetNestedAttributeList( 230 message.attributes()->SetNestedAttributeHasAValue( 234 message.attributes()->CreateNestedAttribute( 237 message.attributes()->GetNestedAttributeList( 270 message.attributes()->SetNestedAttributeHasAValue(NL80211_ATTR_WIPHY_BANDS);
|
H A D | device_info.cc | 96 get_wiphy.attributes()->SetFlagAttributeValue(NL80211_ATTR_SPLIT_WIPHY_DUMP, 220 if (!msg.attributes()->SetU32AttributeValue(NL80211_ATTR_IFINDEX, 269 get_wiphy.attributes()->SetU32AttributeValue(NL80211_ATTR_IFINDEX,
|
/system/connectivity/shill/wifi/ |
H A D | scan_session.cc | 167 trigger_scan.attributes()->CreateNl80211Attribute( 169 trigger_scan.attributes()->CreateNl80211Attribute( 171 trigger_scan.attributes()->SetU32AttributeValue(NL80211_ATTR_IFINDEX, 174 if (!trigger_scan.attributes()->GetNestedAttributeList( 178 trigger_scan.attributes()->SetNestedAttributeHasAValue( 194 if (!trigger_scan.attributes()->GetNestedAttributeList( 198 trigger_scan.attributes()->SetNestedAttributeHasAValue(
|
H A D | wake_on_wifi.cc | 268 if (!msg->attributes()->CreateU32Attribute(NL80211_ATTR_WIPHY, 272 if (!msg->attributes()->SetU32AttributeValue(NL80211_ATTR_WIPHY, index)) { 314 if (!msg->attributes()->CreateNestedAttribute(NL80211_ATTR_WOWLAN_TRIGGERS, 321 if (!msg->attributes()->SetNestedAttributeHasAValue( 330 if (!msg->attributes()->GetNestedAttributeList(NL80211_ATTR_WOWLAN_TRIGGERS,
|
/system/tpm/attestation/server/ |
H A D | pkcs11_key_store_test.cc | 25 #include <chaps/attributes.h> 180 const std::vector<uint8_t>& attributes, 183 std::string label = GetValue(attributes, CKA_LABEL); 185 values_[label] = GetValue(attributes, CKA_VALUE); 212 parsed.attributes()[0].type == CKA_LABEL) 215 (parsed.attributes()[0].type != CKA_VALUE && 216 parsed.attributes()[0].type != CKA_LABEL) || 217 (parsed.attributes()[0].pValue && 218 parsed.attributes()[0].ulValueLen != value.size())) 220 parsed.attributes()[ 178 CreateObject(const brillo::SecureBlob& isolate, uint64_t session_id, const std::vector<uint8_t>& attributes, uint64_t* new_object_handle) argument 228 SetAttributeValue( const brillo::SecureBlob& isolate, uint64_t session_id, uint64_t object_handle, const std::vector<uint8_t>& attributes) argument 239 FindObjectsInit(const brillo::SecureBlob& isolate, uint64_t session_id, const std::vector<uint8_t>& attributes) argument 281 GetValue(const std::vector<uint8_t>& attributes, CK_ATTRIBUTE_TYPE type) argument [all...] |
H A D | pkcs11_key_store.cc | 160 CK_ATTRIBUTE attributes[] = { local 183 attributes, 184 arraysize(attributes), 461 CK_ATTRIBUTE attributes[] = { local 480 attributes, 481 arraysize(attributes)) != CKR_OK) || 540 CK_ATTRIBUTE attributes[] = { local 555 attributes, 556 arraysize(attributes)) != CKR_OK) || 663 CK_ATTRIBUTE attributes[] local [all...] |
/system/core/adf/libadfhwc/include/adfhwc/ |
H A D | adfhwc.h | 125 uint32_t config, const uint32_t *attributes, int32_t *values);
|
/system/sepolicy/tools/ |
H A D | checkfc.c | 80 static bool ebitmap_attribute_assertion_init(ebitmap_t *assertions, const char * const attributes[]) argument 83 while (*attributes) { 85 int bit_pos = get_attr_bit(global_state.sepolicy.pdb, *attributes); 96 attributes++;
|
/system/bt/service/ |
H A D | gatt_server.cpp | 102 pending_decl_->attributes.push_back(entry); 129 // 2 handles for the characteristic declaration and the value attributes. 131 pending_decl_->attributes.push_back(entry); 161 pending_decl_->attributes.push_back(entry); 190 CHECK(!pending_decl_->attributes.empty()); 240 for (const auto& entry : pending_decl_->attributes) { 263 CHECK(!pending_decl_->attributes.empty()); 267 for (auto iter = pending_decl_->attributes.end() - 1; 268 iter != pending_decl_->attributes.begin(); // Begin is always a service 683 // characteristic value and descriptor attributes [all...] |
H A D | gatt_server.h | 218 std::deque<AttributeEntry> attributes; member in struct:bluetooth::GattServer::ServiceDeclaration
|
/system/core/adf/libadfhwc/ |
H A D | adfhwc.cpp | 146 uint32_t config, const uint32_t *attributes, int32_t *values) 161 for (int i = 0; attributes[i] != HWC_DISPLAY_NO_ATTRIBUTE; i++) 163 attributes[i]); 145 adf_getDisplayAttributes(struct adf_hwc_helper *dev, int disp, uint32_t config, const uint32_t *attributes, int32_t *values) argument
|
/system/tpm/tpm_manager/server/ |
H A D | tpm2_nvram_impl.cc | 174 *locked = ((nvram_public.attributes & trunks::TPMA_NV_WRITELOCKED) != 0);
|
H A D | tpm2_nvram_test.cc | 221 nvram_public.attributes = trunks::TPMA_NV_WRITELOCKED; 233 nvram_public.attributes = 0;
|
/system/tpm/trunks/ |
H A D | resource_manager.cc | 559 BYTE attributes; local 560 result = Parse_BYTE(&buffer, &attributes, nullptr); 570 command_info->session_continued.push_back((attributes & 1) == 1); 633 BYTE attributes; local 634 result = Parse_BYTE(&buffer, &attributes, nullptr); 643 response_info->session_continued.push_back((attributes & 1) == 1);
|