Home
last modified time | relevance | path

Searched defs:byteBuffer (Results 1 – 25 of 79) sorted by relevance

1234

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DNetlinkMessage.java47 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()
DStructNlAttr.java47 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()
DStructNlMsgErr.java32 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()
DStructNfGenMsg.java51 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()
DRtNetlinkNeighborMessage.java51 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()
DStructNlMsgHdr.java80 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()
DStructNdaCacheInfo.java36 private static boolean hasAvailableSpace(ByteBuffer byteBuffer) { in hasAvailableSpace()
40 public static StructNdaCacheInfo parse(ByteBuffer byteBuffer) { in parse()
DStructNdMsg.java101 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()
DConntrackMessage.java203 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()
DStructInetDiagMsg.java47 public static StructInetDiagMsg parse(ByteBuffer byteBuffer) { in parse()
DNetlinkErrorMessage.java29 public static NetlinkErrorMessage parse(StructNlMsgHdr header, ByteBuffer byteBuffer) { in parse()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttribute.java134 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 …]
DEapSimAkaAttributeFactory.java77 EapSimAkaAttribute getAttribute(int attributeType, int lengthInBytes, ByteBuffer byteBuffer) in getAttribute()
122 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) in getAttribute()
DEapAkaAttributeFactory.java66 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) in getAttribute()
78 int attributeType, int lengthInBytes, ByteBuffer byteBuffer) in getAttribute()
DEapAkaPrimeAttributeFactory.java61 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) in getAttribute()
DEapSimAttributeFactory.java65 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) throws in getAttribute()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DConntrackMessageTest.java149 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
DRtNetlinkNeighborMessageTest.java83 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/
DEapSimAkaAttributeFactoryTest.java53 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/
DIkeIdPayload.java119 ByteBuffer byteBuffer = ByteBuffer.allocate(getPayloadLength() - GENERIC_HEADER_LENGTH); in getEncodedPayloadBody() local
141 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer()
DIkeAuthPayload.java115 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer()
126 protected abstract void encodeAuthDataToByteBuffer(ByteBuffer byteBuffer); in encodeAuthDataToByteBuffer()
DIkeUnsupportedPayload.java46 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java279 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
DIkeNoncePayloadTest.java42 ByteBuffer byteBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testEncode() local
/packages/apps/Camera2/src/com/android/camera/processing/memory/
DByteBufferDirectPool.java36 protected ByteBuffer recycle(Integer integer, ByteBuffer byteBuffer) { in recycle()

1234