Home
last modified time | relevance | path

Searched refs:dataLen (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Nfc/nci/jni/
DDataQueue.cpp78 bool DataQueue::enqueue(uint8_t* data, uint16_t dataLen) { in enqueue() argument
79 if ((data == NULL) || (dataLen == 0)) return false; in enqueue()
84 tHeader* header = (tHeader*)malloc(sizeof(tHeader) + dataLen); in enqueue()
88 header->mDataLen = dataLen; in enqueue()
89 memcpy(header + 1, data, dataLen); in enqueue()
DRoutingManager.cpp437 uint32_t dataLen, tNFA_STATUS status) { in handleData() argument
439 if (dataLen > 0) { in handleData()
441 &data[dataLen]); // append data; more to come in handleData()
445 if (dataLen > 0) { in handleData()
447 &data[dataLen]); // append data in handleData()
DDataQueue.h62 bool enqueue(uint8_t* data, uint16_t dataLen);
DRoutingManager.h56 void handleData(uint8_t technology, const uint8_t* data, uint32_t dataLen,
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DAesXCbcImpl.java133 int dataLen = dataToSign.length; in padData() local
134 int padLen = (dataLen + blockSize - 1) / blockSize * blockSize - dataLen; in padData()
135 ByteBuffer paddedData = ByteBuffer.allocate(dataLen + padLen); in padData()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAdvertiseHelper.java81 int dataLen = 2 + (manufacturerData == null ? 0 : manufacturerData.length); in advertiseDataToBytes() local
82 byte[] concated = new byte[dataLen]; in advertiseDataToBytes()
144 int dataLen = uuidLen + (serviceData == null ? 0 : serviceData.length); in advertiseDataToBytes() local
145 byte[] concated = new byte[dataLen]; in advertiseDataToBytes()
DScanFilterQueue.java226 int dataLen = uuid.length + (serviceData == null ? 0 : serviceData.length); in concate() local
228 if (dataLen > MAX_LEN_PER_FIELD) { in concate()
231 byte[] concated = new byte[dataLen]; in concate()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/exceptions/
DUnrecognizedIkeProtocolException.java36 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
39 return dataLen >= 0; in isValidDataLength()
DTsUnacceptableException.java47 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
48 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DTemporaryFailureException.java51 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
52 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DInvalidMajorVersionException.java62 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
63 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DInvalidKeException.java63 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
64 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DInvalidMessageIdException.java65 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
66 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DInvalidSyntaxException.java70 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
71 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DAuthenticationFailedException.java61 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
62 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DNoValidProposalChosenException.java64 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
65 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DUnsupportedCriticalPayloadException.java75 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
76 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java303 final short dataLen = rtattr.getDataLength(); in parseSockInfo() local
305 tcpInfo = TcpInfo.parse(bytes, dataLen); in parseSockInfo()
312 skipRemainingAttributesBytesAligned(bytes, dataLen); in parseSockInfo()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DIkeProtocolException.java155 protected abstract boolean isValidDataLength(int dataLen); in isValidDataLength() argument