/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | NetlinkMessage.java | 47 public static NetlinkMessage parse(@NonNull ByteBuffer byteBuffer, int nlFamily) { in parse() 104 @NonNull ByteBuffer byteBuffer, int payloadLength) { in parseCtlMessage() 119 @NonNull ByteBuffer byteBuffer) { in parseRtMessage() 133 @NonNull ByteBuffer byteBuffer) { in parseInetDiagMessage() 143 @NonNull ByteBuffer byteBuffer) { in parseNfMessage()
|
D | StructNlAttr.java | 47 public static StructNlAttr peek(ByteBuffer byteBuffer) { in peek() 71 public static StructNlAttr parse(ByteBuffer byteBuffer) { in parse() 100 @Nullable ByteBuffer byteBuffer) { in findNextAttrOfType() 190 final ByteBuffer byteBuffer = getValueAsByteBuffer(); in getValueAsBe16() local 204 final ByteBuffer byteBuffer = getValueAsByteBuffer(); in getValueAsBe32() local 219 final ByteBuffer byteBuffer = ByteBuffer.wrap(nla_value); in getValueAsByteBuffer() local 231 final ByteBuffer byteBuffer = getValueAsByteBuffer(); in getValueAsByte() local 239 final ByteBuffer byteBuffer = getValueAsByteBuffer(); in getValueAsInt() local 256 public void pack(ByteBuffer byteBuffer) { in pack()
|
D | StructNlMsgErr.java | 32 public static boolean hasAvailableSpace(ByteBuffer byteBuffer) { in hasAvailableSpace() 36 public static StructNlMsgErr parse(ByteBuffer byteBuffer) { in parse() 51 public void pack(ByteBuffer byteBuffer) { in pack()
|
D | StructNfGenMsg.java | 51 public static StructNfGenMsg parse(@NonNull ByteBuffer byteBuffer) { in parse() 79 public void pack(ByteBuffer byteBuffer) { in pack() 89 private static boolean hasAvailableSpace(@NonNull ByteBuffer byteBuffer) { in hasAvailableSpace()
|
D | RtNetlinkNeighborMessage.java | 51 public static RtNetlinkNeighborMessage parse(StructNlMsgHdr header, ByteBuffer byteBuffer) { in parse() 102 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in newGetNeighborsRequest() local 140 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in newNewNeighborMessage() local 196 private static void packNlAttr(short nlType, byte[] nlValue, ByteBuffer byteBuffer) { in packNlAttr() 204 public void pack(ByteBuffer byteBuffer) { in pack()
|
D | StructNlMsgHdr.java | 80 public static boolean hasAvailableSpace(ByteBuffer byteBuffer) { in hasAvailableSpace() 84 public static StructNlMsgHdr parse(ByteBuffer byteBuffer) { in parse() 118 public void pack(ByteBuffer byteBuffer) { in pack()
|
D | StructNdaCacheInfo.java | 36 private static boolean hasAvailableSpace(ByteBuffer byteBuffer) { in hasAvailableSpace() 40 public static StructNdaCacheInfo parse(ByteBuffer byteBuffer) { in parse()
|
D | StructNdMsg.java | 101 private static boolean hasAvailableSpace(ByteBuffer byteBuffer) { in hasAvailableSpace() 105 public static StructNdMsg parse(ByteBuffer byteBuffer) { in parse() 132 public void pack(ByteBuffer byteBuffer) { in pack()
|
D | ConntrackMessage.java | 203 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in newIPv4TimeoutUpdateRequest() local 228 public static ConntrackMessage parse(StructNlMsgHdr header, ByteBuffer byteBuffer) { in parse() 312 private static Tuple parseTuple(@Nullable ByteBuffer byteBuffer) { in parseTuple() 342 private static TupleIpv4 parseTupleIpv4(@Nullable ByteBuffer byteBuffer) { in parseTupleIpv4() 366 private static TupleProto parseTupleProto(@Nullable ByteBuffer byteBuffer) { in parseTupleProto() 458 public void pack(ByteBuffer byteBuffer) { in pack()
|
D | StructInetDiagMsg.java | 47 public static StructInetDiagMsg parse(ByteBuffer byteBuffer) { in parse()
|
D | NetlinkErrorMessage.java | 29 public static NetlinkErrorMessage parse(StructNlMsgHdr header, ByteBuffer byteBuffer) { in parse()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimAkaAttribute.java | 134 public abstract void encode(ByteBuffer byteBuffer); in encode() 194 protected void encodeAttributeHeader(ByteBuffer byteBuffer) { in encodeAttributeHeader() 199 void consumePadding(int bytesUsed, ByteBuffer byteBuffer) { in consumePadding() 204 void addPadding(int bytesUsed, ByteBuffer byteBuffer) { in addPadding() 221 ByteBuffer byteBuffer) throws EapSimAkaInvalidAttributeException { in EapSimAkaUnsupportedAttribute() 238 public void encode(ByteBuffer byteBuffer) { in encode() 252 public AtVersionList(int lengthInBytes, ByteBuffer byteBuffer) in AtVersionList() 282 public void encode(ByteBuffer byteBuffer) { in encode() 323 public void encode(ByteBuffer byteBuffer) { in encode() 355 public AtNonceMt(int lengthInBytes, ByteBuffer byteBuffer) in AtNonceMt() [all …]
|
D | EapSimAkaAttributeFactory.java | 77 EapSimAkaAttribute getAttribute(int attributeType, int lengthInBytes, ByteBuffer byteBuffer) in getAttribute() 122 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()
|
D | EapAkaPrimeAttributeFactory.java | 61 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) in getAttribute()
|
D | EapSimAttributeFactory.java | 65 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) throws in getAttribute()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
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 | RtNetlinkNeighborMessageTest.java | 83 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_DELNEIGH); in testParseRtmDelNeigh() local 110 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_NEWNEIGH); in testParseRtmNewNeigh() local 137 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_GETNEIGH_RESPONSE); in testParseRtmGetNeighResponse() 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
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeIdPayload.java | 119 ByteBuffer byteBuffer = ByteBuffer.allocate(getPayloadLength() - GENERIC_HEADER_LENGTH); in getEncodedPayloadBody() local 141 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer()
|
D | IkeAuthPayload.java | 115 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() 126 protected abstract void encodeAuthDataToByteBuffer(ByteBuffer byteBuffer); in encodeAuthDataToByteBuffer()
|
D | IkeUnsupportedPayload.java | 46 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeSaPayloadTest.java | 279 ByteBuffer byteBuffer = ByteBuffer.allocate(mAttributeKeyLength128.getAttributeLength()); in testEncodeAttribute() local 323 ByteBuffer byteBuffer = ByteBuffer.allocate(mEncrAesCbc128Transform.getTransformLength()); in testEncodeEncryptionTransform() local 367 ByteBuffer byteBuffer = ByteBuffer.allocate(mPrfHmacSha1Transform.getTransformLength()); in testEncodePrfTransform() local 418 ByteBuffer byteBuffer = ByteBuffer.allocate(mIntegHmacSha1Transform.getTransformLength()); in testEncodeIntegrityTransform() local 453 ByteBuffer byteBuffer = ByteBuffer.allocate(mDhGroup1024Transform.getTransformLength()); in testEncodeDhGroupTransform() local 521 ByteBuffer byteBuffer = ByteBuffer.allocate(mEsnTransform.getTransformLength()); in testEncodeEsnTransform() local
|
D | IkeNoncePayloadTest.java | 42 ByteBuffer byteBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testEncode() local
|
/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
D | ByteBufferDirectPool.java | 36 protected ByteBuffer recycle(Integer integer, ByteBuffer byteBuffer) { in recycle()
|