Searched refs:GetAttribute (Results 1 – 9 of 9) sorted by relevance
/system/connectivity/shill/net/ |
D | attribute_list.cc | 71 NetlinkAttribute* attribute = GetAttribute(id); in InitAttributeFromValue() 138 NetlinkAttribute* attribute = GetAttribute(id); in GetU8AttributeValue() 155 NetlinkAttribute* attribute = GetAttribute(id); in SetU8AttributeValue() 165 NetlinkAttribute* attribute = GetAttribute(id); in GetU16AttributeValue() 182 NetlinkAttribute* attribute = GetAttribute(id); in SetU16AttributeValue() 191 NetlinkAttribute* attribute = GetAttribute(id); in GetU32AttributeValue() 208 NetlinkAttribute* attribute = GetAttribute(id); in SetU32AttributeValue() 217 NetlinkAttribute* attribute = GetAttribute(id); in GetU64AttributeValue() 234 NetlinkAttribute* attribute = GetAttribute(id); in SetU64AttributeValue() 243 NetlinkAttribute* attribute = GetAttribute(id); in GetFlagAttributeValue() [all …]
|
D | rtnl_message_unittest.cc | 409 EXPECT_EQ(address.GetLength(), msg.GetAttribute(IFLA_ADDRESS).GetLength()); in TestParseLink() 410 EXPECT_TRUE(msg.GetAttribute(IFLA_ADDRESS).Equals(address)); in TestParseLink() 413 EXPECT_EQ(name.GetLength(), msg.GetAttribute(IFLA_IFNAME).GetLength()); in TestParseLink() 414 EXPECT_TRUE(msg.GetAttribute(IFLA_IFNAME).Equals(name)); in TestParseLink() 418 EXPECT_TRUE(msg.GetAttribute(IFLA_MTU).ConvertToCPUUInt32(&mtu_val)); in TestParseLink() 422 EXPECT_EQ(qdisc.GetLength(), msg.GetAttribute(IFLA_QDISC).GetLength()); in TestParseLink() 423 EXPECT_TRUE(msg.GetAttribute(IFLA_QDISC).Equals(qdisc)); in TestParseLink() 426 EXPECT_EQ(oper_state, msg.GetAttribute(IFLA_OPERSTATE).GetConstData()[0]); in TestParseLink() 446 EXPECT_EQ(address.GetLength(), msg.GetAttribute(IFA_ADDRESS).GetLength()); in TestParseAddress() 449 msg.GetAttribute(IFA_ADDRESS), in TestParseAddress() [all …]
|
D | attribute_list.h | 148 SHILL_PRIVATE NetlinkAttribute* GetAttribute(int id) const;
|
D | rtnl_message.h | 201 const ByteString GetAttribute(uint16_t attr) const { in GetAttribute() function
|
/system/connectivity/shill/ |
D | routing_table_unittest.cc | 197 arg->GetAttribute(RTA_OIF).ConvertToCPUUInt32(&oif) && 199 arg->GetAttribute(RTA_PRIORITY).ConvertToCPUUInt32(&priority) && 220 arg->GetAttribute(RTA_DST), 224 arg->GetAttribute(RTA_SRC), 228 arg->GetAttribute(RTA_GATEWAY)).Equals(entry.gateway))) && 229 arg->GetAttribute(RTA_OIF).ConvertToCPUUInt32(&oif) && 231 arg->GetAttribute(RTA_PRIORITY).ConvertToCPUUInt32(&priority) && 586 arg->GetAttribute(RTA_DST), 590 arg->GetAttribute(RTA_OIF).ConvertToCPUUInt32(&oif) &&
|
D | routing_table.cc | 307 if (!message.GetAttribute(RTA_OIF).ConvertToCPUUInt32(&interface_index_u32)) { in ParseRoutingTableMessage() 314 message.GetAttribute(RTA_PRIORITY).ConvertToCPUUInt32(&metric); in ParseRoutingTableMessage() 322 dst_bytes = message.GetAttribute(RTA_DST); in ParseRoutingTableMessage() 326 src_bytes = message.GetAttribute(RTA_SRC); in ParseRoutingTableMessage() 330 gateway_bytes = message.GetAttribute(RTA_GATEWAY); in ParseRoutingTableMessage()
|
D | device_info.cc | 586 ByteString link_name_bytes(msg.GetAttribute(IFLA_IFNAME)); in GetLinkNameFromMessage() 664 infos_[dev_index].mac_address = msg.GetAttribute(IFLA_ADDRESS); in AddLinkMsgHandler() 1066 msg.GetAttribute(IFA_LOCAL) : msg.GetAttribute(IFA_ADDRESS), in AddressMsgHandler() 1191 ByteString stats_bytes(msg.GetAttribute(IFLA_STATS64)); in RetrieveLinkStatistics()
|
D | connection_diagnostics.cc | 801 IPAddress address(msg.family(), msg.GetAttribute(NDA_DST)); in OnNeighborMsgReceived()
|
/system/connectivity/apmanager/ |
D | device_info.cc | 142 ByteString b(msg.GetAttribute(IFLA_IFNAME)); in LinkMsgHandler()
|