Home
last modified time | relevance | path

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

1234

/frameworks/base/services/net/java/android/net/netlink/
DStructNlMsgErr.java35 public static boolean hasAvailableSpace(ByteBuffer byteBuffer) { in hasAvailableSpace()
39 public static StructNlMsgErr parse(ByteBuffer byteBuffer) { in parse()
54 public void pack(ByteBuffer byteBuffer) { in pack()
DRtNetlinkNeighborMessage.java57 private static StructNlAttr findNextAttrOfType(short attrType, ByteBuffer byteBuffer) { in findNextAttrOfType()
74 public static RtNetlinkNeighborMessage parse(StructNlMsgHdr header, ByteBuffer byteBuffer) { in parse()
125 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in newGetNeighborsRequest() local
163 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in newNewNeighborMessage() local
219 private static void packNlAttr(short nlType, byte[] nlValue, ByteBuffer byteBuffer) { in packNlAttr()
227 public void pack(ByteBuffer byteBuffer) { in pack()
DStructNlAttr.java47 public static StructNlAttr peek(ByteBuffer byteBuffer) { in peek()
73 public static StructNlAttr parse(ByteBuffer byteBuffer) { in parse()
159 final ByteBuffer byteBuffer = ByteBuffer.wrap(nla_value); in getValueAsByteBuffer() local
165 final ByteBuffer byteBuffer = getValueAsByteBuffer(); in getValueAsInt() local
182 public void pack(ByteBuffer byteBuffer) { in pack()
DStructNlMsgHdr.java77 public static boolean hasAvailableSpace(ByteBuffer byteBuffer) { in hasAvailableSpace()
81 public static StructNlMsgHdr parse(ByteBuffer byteBuffer) { in parse()
115 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.java102 private static boolean hasAvailableSpace(ByteBuffer byteBuffer) { in hasAvailableSpace()
106 public static StructNdMsg parse(ByteBuffer byteBuffer) { in parse()
133 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.java55 public static StructInetDiagMsg parse(ByteBuffer byteBuffer) { in parse()
DInetDiagMessage.java61 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes); in InetDiagReqV2() local
83 public static InetDiagMessage parse(StructNlMsgHdr header, ByteBuffer byteBuffer) { in parse()
DNetlinkErrorMessage.java32 public static NetlinkErrorMessage parse(StructNlMsgHdr header, ByteBuffer byteBuffer) { in parse()
DStructNfGenMsg.java44 public void pack(ByteBuffer byteBuffer) { in pack()
DNetlinkMessage.java45 public static NetlinkMessage parse(ByteBuffer byteBuffer) { in parse()
/frameworks/base/tests/net/java/android/net/netlink/
DRtNetlinkNeighborMessageTest.java149 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_DELNEIGH); in testParseRtmDelNeigh() local
176 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_NEWNEIGH); in testParseRtmNewNeigh() local
203 final ByteBuffer byteBuffer = ByteBuffer.wrap(RTM_GETNEIGH_RESPONSE); in testParseRtmGetNeighResponse() local
DNetlinkErrorMessageTest.java69 final ByteBuffer byteBuffer = ByteBuffer.wrap(NLM_ERROR_OK); in testParseNlmErrorOk() local
/frameworks/opt/net/ike/tests/iketests/src/java/com/android/ike/ikev2/message/
DIkeSaPayloadTest.java188 ByteBuffer byteBuffer = ByteBuffer.allocate(mAttributeKeyLength128.getAttributeLength()); in testEncodeAttribute() local
233 ByteBuffer byteBuffer = ByteBuffer.allocate(mEncrAesCbc128Transform.getTransformLength()); in testEncodeEncryptionTransform() local
277 ByteBuffer byteBuffer = ByteBuffer.allocate(mPrfHmacSha1Transform.getTransformLength()); in testEncodePrfTransform() local
328 ByteBuffer byteBuffer = ByteBuffer.allocate(mIntegHmacSha1Transform.getTransformLength()); in testEncodeIntegrityTransform() local
363 ByteBuffer byteBuffer = ByteBuffer.allocate(mDhGroup1024Transform.getTransformLength()); in testEncodeDhGroupTransform() local
431 ByteBuffer byteBuffer = ByteBuffer.allocate(mEsnTransform.getTransformLength()); in testEncodeEsnTransform() local
DIkeNoncePayloadTest.java40 ByteBuffer byteBuffer = ByteBuffer.allocate(payload.getPayloadLength()); in testEncode() local
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/
DIkeSaPayload.java337 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer()
524 protected abstract void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer); in encodeToByteBuffer()
529 protected void encodeBasicTransformToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeBasicTransformToByteBuffer()
698 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer()
775 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer()
846 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer()
917 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer()
994 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer()
1030 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer()
1130 protected abstract void encodeToByteBuffer(ByteBuffer byteBuffer); in encodeToByteBuffer()
[all …]
DIkeAuthPayload.java134 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer()
150 protected abstract void encodeAuthDataToByteBuffer(ByteBuffer byteBuffer); in encodeAuthDataToByteBuffer()
DIkePayload.java144 @PayloadType int nextPayload, int payloadLength, ByteBuffer byteBuffer) { in encodePayloadHeaderToByteBuffer()
157 protected abstract void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer); in encodeToByteBuffer()
DIkeUnsupportedPayload.java45 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer()
DIkeVendorPayload.java52 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtilsTest.java448 ByteBuffer byteBuffer = ByteBuffer.wrap(packedForm) in packVaultParams_encodesCounterIdAsSecondParam() local
464 ByteBuffer byteBuffer = ByteBuffer.wrap(packedForm) in packVaultParams_encodesMaxAttemptsAsThirdParam() local
478 ByteBuffer byteBuffer = ByteBuffer.wrap(packedForm) in packVaultParams_encodesVaultHandleAsLastParam() local
495 ByteBuffer byteBuffer = ByteBuffer.wrap(packedForm) in packVaultParams_encodesVaultHandleWithLength8AsLastParam() local
DMockScrypt.java34 ByteBuffer byteBuffer = ByteBuffer.allocate( in scrypt() local
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DByteArrayHelpers.java167 ByteBuffer byteBuffer = ByteBuffer.allocate(numbers.length * (Double.SIZE / Byte.SIZE)) in toByteArray() local
229 ByteBuffer byteBuffer = ByteBuffer.allocate(byteLength).order(ByteOrder.nativeOrder()); in toByteArray() local
/frameworks/base/core/java/android/net/
DUriCodec.java100 ByteBuffer byteBuffer = ByteBuffer.allocate(s.length()); in appendDecoded() local
156 ByteBuffer byteBuffer, in flushDecodingByteAccumulator()

1234