/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/ |
D | RtNetlinkRouteMessageTest.java | 99 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWROUTE_HEX); in testParseRtmRouteMessage() local 120 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWROUTE_PACK_HEX); in testPackRtmNewRoute() local 151 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWROUTE_MULTICAST_IPV6_HEX); in testParseRtmNewRoute_MulticastIpv6() local 187 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWROUTE_MULTICAST_IPV6_PACK_HEX); in testPackRtmNewRoute_MulticastIpv6() local 208 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWROUTE_TRUNCATED_HEX); in testTruncatedRtmNewRoute() local 224 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWROUTE_IPV4_MAPPED_IPV6_GATEWAY_HEX); in testParseRtmRouteMessage_IPv4MappedIPv6Gateway() local 241 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWROUTE_IPV4_MAPPED_IPV6_DST_HEX); in testParseRtmRouteMessage_IPv4MappedIPv6Destination() local 259 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWROUTE_HEX + RTM_NEWADDR_HEX); in testParseMultipleRtmMessagesInOneByteBuffer() local 277 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWROUTE_HEX); in testToString() local 301 final ByteBuffer byteBuffer = toByteBuffer(RTM_GETROUTE_MULTICAST_IPV6_HEX); in testToString_RtmGetRoute() local [all …]
|
D | RtNetlinkLinkMessageTest.java | 64 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWLINK_HEX); in testParseRtmNewLink() local 116 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWLINK_UTF8_HEX); in testParseRtmNewLink_utf8Ifname() local 135 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWLINK_PACK_HEX); in testPackRtmNewLink() local 160 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWLINK_TRUNCATED_HEX); in testTruncatedRtmNewLink() local 175 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWLINK_HEX); in testToString() local
|
D | ConntrackMessageTest.java | 149 final ByteBuffer byteBuffer = ByteBuffer.wrap(tcp); in testConntrackParseIPv4TcpTimeoutUpdate() local 198 final ByteBuffer byteBuffer = ByteBuffer.wrap(udp); in testConntrackParseIPv4UdpTimeoutUpdate() local 292 final ByteBuffer byteBuffer = ByteBuffer.wrap(CT_V4NEW_TCP_BYTES); in testParseCtNew() local 343 final ByteBuffer byteBuffer = ByteBuffer.wrap(truncated); in testParseTruncation() local 362 final ByteBuffer byteBuffer = ByteBuffer.wrap(truncated); in testParseTruncationWithInvalidByte() local 393 final ByteBuffer byteBuffer = ByteBuffer.wrap(CT_MALFORMED_BYTES); in testParseMalformation() local 410 final ByteBuffer byteBuffer = ByteBuffer.wrap(CT_V4NEW_TCP_BYTES); in testToString() local
|
D | RtNetlinkAddressMessageTest.java | 72 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWADDR_HEX); in testParseRtmNewAddress() local 112 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWADDR_PACK_HEX); in testPackRtmNewAddr() local 134 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWADDR_TRUNCATED_HEX); in testTruncatedRtmNewAddr() local 322 final ByteBuffer byteBuffer = toByteBuffer(RTM_NEWADDR_HEX); in testToString() local
|
D | RtNetlinkNeighborMessageTest.java | 79 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_DELNEIGH); in testParseRtmDelNeigh() local 106 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_NEWNEIGH); in testParseRtmNewNeigh() local 133 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_GETNEIGH_RESPONSE); in testParseRtmGetNeighResponse() local
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/ |
D | NetlinkMessage.java | 52 public static NetlinkMessage parse(@NonNull ByteBuffer byteBuffer, int nlFamily) { in parse() 120 @NonNull ByteBuffer byteBuffer, int payloadLength) { in parseCtlMessage() 135 @NonNull ByteBuffer byteBuffer) { in parseRtMessage() 159 @NonNull ByteBuffer byteBuffer) { in parseInetDiagMessage() 169 @NonNull ByteBuffer byteBuffer) { in parseNfMessage() 182 @NonNull final StructNlMsgHdr nlmsghdr, @NonNull final ByteBuffer byteBuffer) { in parseXfrmMessage() 189 final ByteBuffer byteBuffer = ByteBuffer.allocate(length); in newNlMsgByteBuffer() local
|
D | StructNlAttr.java | 60 public static StructNlAttr peek(ByteBuffer byteBuffer) { in peek() 91 public static StructNlAttr parse(ByteBuffer byteBuffer) { in parse() 120 @Nullable ByteBuffer byteBuffer) { in findNextAttrOfType() 254 final ByteBuffer byteBuffer = getValueAsByteBuffer(); in getValueAsBe16() local 271 final ByteBuffer byteBuffer = getValueAsByteBuffer(); in getValueAsBe32() local 301 final ByteBuffer byteBuffer = getValueAsByteBuffer(); in getValueAsByte() local 313 final ByteBuffer byteBuffer = getValueAsByteBuffer(); in getValueAsInteger() local 325 final ByteBuffer byteBuffer = getValueAsByteBuffer(); in getValueAsLong() local 398 public void pack(ByteBuffer byteBuffer) { in pack()
|
D | StructNlMsgErr.java | 31 private static boolean hasAvailableSpace(ByteBuffer byteBuffer) { in hasAvailableSpace() 42 public static StructNlMsgErr parse(ByteBuffer byteBuffer) { in parse() 60 public void pack(ByteBuffer byteBuffer) { in pack()
|
D | RtNetlinkNeighborMessage.java | 61 @NonNull ByteBuffer byteBuffer) { in parse() 112 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in newGetNeighborsRequest() local 150 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in newNewNeighborMessage() local 206 private static void packNlAttr(short nlType, byte[] nlValue, ByteBuffer byteBuffer) { in packNlAttr() 217 public void pack(ByteBuffer byteBuffer) { in pack()
|
D | StructNfGenMsg.java | 50 public static StructNfGenMsg parse(@NonNull ByteBuffer byteBuffer) { in parse() 81 public void pack(ByteBuffer byteBuffer) { in pack() 91 private static boolean hasAvailableSpace(@NonNull ByteBuffer byteBuffer) { in hasAvailableSpace()
|
D | StructPrefixCacheInfo.java | 60 public static StructPrefixCacheInfo parse(@NonNull final ByteBuffer byteBuffer) { in parse() 73 public void pack(@NonNull final ByteBuffer byteBuffer) { in pack()
|
D | StructNlMsgHdr.java | 93 private static boolean hasAvailableSpace(ByteBuffer byteBuffer) { in hasAvailableSpace() 101 public static StructNlMsgHdr parse(@NonNull ByteBuffer byteBuffer) { in parse() 146 public void pack(ByteBuffer byteBuffer) { in pack()
|
D | StructIfacacheInfo.java | 65 public static StructIfacacheInfo parse(@NonNull final ByteBuffer byteBuffer) { in parse() 75 public void pack(@NonNull final ByteBuffer byteBuffer) { in pack()
|
D | StructNdaCacheInfo.java | 34 private static boolean hasAvailableSpace(ByteBuffer byteBuffer) { in hasAvailableSpace() 45 public static StructNdaCacheInfo parse(ByteBuffer byteBuffer) { in parse()
|
D | RtNetlinkAddressMessage.java | 111 @NonNull final ByteBuffer byteBuffer) { in parse() 149 protected void pack(ByteBuffer byteBuffer) { in pack() 212 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in newRtmNewAddressMessage() local 230 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in newRtmDelAddressMessage() local
|
D | StructPrefixMsg.java | 77 public static StructPrefixMsg parse(@NonNull final ByteBuffer byteBuffer) { in parse() 90 public void pack(@NonNull final ByteBuffer byteBuffer) { in pack()
|
D | StructIfinfoMsg.java | 68 public static StructIfinfoMsg parse(@NonNull final ByteBuffer byteBuffer) { in parse() 78 public void pack(@NonNull final ByteBuffer byteBuffer) { in pack()
|
D | StructIfaddrMsg.java | 68 public static StructIfaddrMsg parse(@NonNull final ByteBuffer byteBuffer) { in parse() 78 public void pack(@NonNull final ByteBuffer byteBuffer) { in pack()
|
D | StructNdMsg.java | 118 private static boolean hasAvailableSpace(ByteBuffer byteBuffer) { in hasAvailableSpace() 129 public static StructNdMsg parse(ByteBuffer byteBuffer) { in parse() 159 public void pack(ByteBuffer byteBuffer) { in pack()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimAkaAttribute.java | 147 public abstract void encode(ByteBuffer byteBuffer); in encode() 207 protected void encodeAttributeHeader(ByteBuffer byteBuffer) { in encodeAttributeHeader() 212 void consumePadding(int bytesUsed, ByteBuffer byteBuffer) { in consumePadding() 217 void addPadding(int bytesUsed, ByteBuffer byteBuffer) { in addPadding() 234 ByteBuffer byteBuffer) throws EapSimAkaInvalidAttributeException { in EapSimAkaUnsupportedAttribute() 251 public void encode(ByteBuffer byteBuffer) { in encode() 265 public AtVersionList(int lengthInBytes, ByteBuffer byteBuffer) in AtVersionList() 295 public void encode(ByteBuffer byteBuffer) { in encode() 336 public void encode(ByteBuffer byteBuffer) { in encode() 368 public AtNonceMt(int lengthInBytes, ByteBuffer byteBuffer) in AtNonceMt() [all …]
|
D | EapSimAkaAttributeFactory.java | 83 EapSimAkaAttribute getAttribute(int attributeType, int lengthInBytes, ByteBuffer byteBuffer) in getAttribute() 135 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) in getAttribute()
|
D | EapAkaAttributeFactory.java | 66 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) in getAttribute() 78 int attributeType, int lengthInBytes, ByteBuffer byteBuffer) in getAttribute()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/xfrm/ |
D | XfrmNetlinkMessage.java | 68 @NonNull final StructNlMsgHdr nlmsghdr, @NonNull final ByteBuffer byteBuffer) { in parseXfrmInternal() 79 protected abstract void packPayload(@NonNull final ByteBuffer byteBuffer); in packPayload() 82 public void pack(@NonNull final ByteBuffer byteBuffer) { in pack()
|
D | XfrmNetlinkGetSaMessage.java | 70 protected void packPayload(@NonNull final ByteBuffer byteBuffer) { in packPayload() 86 @NonNull final StructNlMsgHdr nlmsghdr, @NonNull final ByteBuffer byteBuffer) { in parseInternal() 107 final ByteBuffer byteBuffer = newNlMsgByteBuffer(payloadLen); in newXfrmNetlinkGetSaMessage() local
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimAkaAttributeFactoryTest.java | 53 ByteBuffer byteBuffer = ByteBuffer.wrap(SKIPPABLE_DATA_BYTES); in testDecodeInvalidSkippable() local 81 ByteBuffer byteBuffer = ByteBuffer.wrap(new byte[2]); in testDecodeInvalidNonSkippable() local
|