Home
last modified time | relevance | path

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

123

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
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()
DRtNetlinkNeighborMessage.java51 private static StructNlAttr findNextAttrOfType(short attrType, ByteBuffer byteBuffer) { in findNextAttrOfType()
68 public static RtNetlinkNeighborMessage parse(StructNlMsgHdr header, ByteBuffer byteBuffer) { in parse()
119 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in newGetNeighborsRequest() local
157 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in newNewNeighborMessage() local
213 private static void packNlAttr(short nlType, byte[] nlValue, ByteBuffer byteBuffer) { in packNlAttr()
221 public void pack(ByteBuffer byteBuffer) { in pack()
DStructNlAttr.java45 public static StructNlAttr peek(ByteBuffer byteBuffer) { in peek()
71 public static StructNlAttr parse(ByteBuffer byteBuffer) { in parse()
157 final ByteBuffer byteBuffer = ByteBuffer.wrap(nla_value); in getValueAsByteBuffer() local
163 final ByteBuffer byteBuffer = getValueAsByteBuffer(); in getValueAsInt() local
180 public void pack(ByteBuffer byteBuffer) { in pack()
DStructNlMsgHdr.java76 public static boolean hasAvailableSpace(ByteBuffer byteBuffer) { in hasAvailableSpace()
80 public static StructNlMsgHdr parse(ByteBuffer byteBuffer) { in parse()
114 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.java82 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in newIPv4TimeoutUpdateRequest() local
105 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()
DStructNfGenMsg.java44 public void pack(ByteBuffer byteBuffer) { in pack()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttribute.java133 public abstract void encode(ByteBuffer byteBuffer); in encode()
135 protected void encodeAttributeHeader(ByteBuffer byteBuffer) { in encodeAttributeHeader()
140 void consumePadding(int bytesUsed, ByteBuffer byteBuffer) { in consumePadding()
145 void addPadding(int bytesUsed, ByteBuffer byteBuffer) { in addPadding()
162 ByteBuffer byteBuffer) throws EapSimAkaInvalidAttributeException { in EapSimAkaUnsupportedAttribute()
179 public void encode(ByteBuffer byteBuffer) { in encode()
193 public AtVersionList(int lengthInBytes, ByteBuffer byteBuffer) in AtVersionList()
223 public void encode(ByteBuffer byteBuffer) { in encode()
264 public void encode(ByteBuffer byteBuffer) { in encode()
297 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/
DRtNetlinkNeighborMessageTest.java82 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_DELNEIGH); in testParseRtmDelNeigh() local
109 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_NEWNEIGH); in testParseRtmNewNeigh() local
136 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_GETNEIGH_RESPONSE); in testParseRtmGetNeighResponse() local
DNetlinkErrorMessageTest.java69 final ByteBuffer byteBuffer = ByteBuffer.wrap(NLM_ERROR_OK); in testParseNlmErrorOk() 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.java120 ByteBuffer byteBuffer = ByteBuffer.allocate(getPayloadLength() - GENERIC_HEADER_LENGTH); in getEncodedPayloadBody() local
142 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()
DIkeVendorPayload.java52 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNoncePayloadTest.java42 ByteBuffer byteBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testEncode() local
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
/packages/apps/Camera2/src/com/android/camera/processing/memory/
DByteBufferDirectPool.java36 protected ByteBuffer recycle(Integer integer, ByteBuffer byteBuffer) { in recycle()

123