Home
last modified time | relevance | path

Searched refs:messageLength (Results 1 – 6 of 6) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ttls/
DEapTtlsTypeData.java73 public final int messageLength; field in EapTtlsTypeData
84 messageLength = isLengthIncluded ? buffer.getInt() : 0; in EapTtlsTypeData()
88 if (!isDataFragmented && isLengthIncluded && data.length != messageLength) { in EapTtlsTypeData()
95 boolean isDataFragmented, boolean isStart, int version, int messageLength, byte[] data) in EapTtlsTypeData() argument
97 this.isLengthIncluded = messageLength != LEN_NOT_INCLUDED; in EapTtlsTypeData()
104 this.messageLength = messageLength; in EapTtlsTypeData()
107 if (!isDataFragmented && isLengthIncluded && data.length != messageLength) { in EapTtlsTypeData()
146 boolean packetFragmented, boolean start, int version, int messageLength, byte[] data) { in getEapTtlsTypeData() argument
148 return new EapTtlsTypeData(packetFragmented, start, version, messageLength, data); in getEapTtlsTypeData()
166 buffer.putInt(messageLength); in encode()
DEapTtlsInboundFragmentationHelper.java61 mFragmentedData = ByteBuffer.allocate(typeData.messageLength); in assembleInboundMessage()
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DSyncMessage.java40 private final int messageLength; field in SyncMessage
57 + messageLength in toString()
70 messageLength = getInt(wrappedData, OmtpConstants.MESSAGE_LENGTH); in SyncMessage()
123 return messageLength; in getLength()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DNetlinkMessage.java59 final int messageLength = NetlinkConstants.alignedLengthOf(nlmsghdr.nlmsg_len); in parse() local
60 final int payloadLength = messageLength - StructNlMsgHdr.STRUCT_SIZE; in parse()
91 byteBuffer.position(startPosition + messageLength); in parse()
DNetlinkUtils.java112 final int messageLength = NetlinkConstants.alignedLengthOf(nlmsghdr.nlmsg_len); in parseNetlinkErrorMessage() local
113 final int payloadLength = messageLength - StructNlMsgHdr.STRUCT_SIZE; in parseNetlinkErrorMessage()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ttls/
DEapTtlsTypeDataTest.java87 assertEquals(0, typeData.messageLength); in testDecodeEapTtlsRequest()
112 assertEquals(0, typeData.messageLength); in testDecodeEapTtlsStart()