Home
last modified time | relevance | path

Searched refs:getAlignedLength (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DStructNlAttr.java93 if (struct == null || byteBuffer.remaining() < struct.getAlignedLength()) { in parse()
105 byteBuffer.position(baseOffset + struct.getAlignedLength()); in parse()
129 if (byteBuffer.remaining() < nlAttr.getAlignedLength()) { in findNextAttrOfType()
132 byteBuffer.position(byteBuffer.position() + nlAttr.getAlignedLength()); in findNextAttrOfType()
234 for (StructNlAttr nla : nested) payloadLength += nla.getAlignedLength(); in StructNlAttr()
246 public int getAlignedLength() { in getAlignedLength() method in StructNlAttr
410 byteBuffer.position(originalPosition + getAlignedLength()); in pack()
DConntrackMessage.java204 final int payloadLength = ctaTupleOrig.getAlignedLength() + ctaTimeout.getAlignedLength(); in newIPv4TimeoutUpdateRequest()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/nl80211/
DGenericNetlinkMsgTest.java76 longAttribute.getAlignedLength() - intAttribute.getAlignedLength(); in testReplaceAttribute()
95 int actualSize = attribute.getAlignedLength(); in packAttributeAndOverrideSize()
/packages/modules/Wifi/service/java/com/android/server/wifi/nl80211/
DGenericNetlinkMsg.java82 nlHeader.nlmsg_len -= oldAttribute.getAlignedLength(); in addAttribute()
84 nlHeader.nlmsg_len += attribute.getAlignedLength(); in addAttribute()
196 remainingSize -= attribute.getAlignedLength(); in parseAttributesToMap()
199 + attribute.getAlignedLength() + ", remainingSize=" + remainingSize); in parseAttributesToMap()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DTunInterfaceController.java424 + afSpec.getAlignedLength(); in setAddrGenModeToNone()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java451 tcpInfo = TcpInfo.parse(nlattr.getValueAsByteBuffer(), nlattr.getAlignedLength()); in parseSockInfo()