Home
last modified time | relevance | path

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

12

/packages/apps/Nfc/nci/jni/
DDataQueue.cpp77 bool DataQueue::enqueue(uint8_t* data, uint16_t dataLen) { in enqueue() argument
78 if ((data == NULL) || (dataLen == 0)) return false; in enqueue()
83 tHeader* header = (tHeader*)malloc(sizeof(tHeader) + dataLen); in enqueue()
87 header->mDataLen = dataLen; in enqueue()
88 memcpy(header + 1, data, dataLen); in enqueue()
DDataQueue.h62 bool enqueue(uint8_t* data, uint16_t dataLen);
DRoutingManager.cpp488 uint32_t dataLen, tNFA_STATUS status) { in handleData() argument
490 if (dataLen > 0) { in handleData()
492 &data[dataLen]); // append data; more to come in handleData()
496 if (dataLen > 0) { in handleData()
498 &data[dataLen]); // append data in handleData()
DRoutingManager.h65 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.java128 int dataLen = dataToSign.length; in padData() local
129 int padLen = (dataLen + blockSize - 1) / blockSize * blockSize - dataLen; in padData()
130 ByteBuffer paddedData = ByteBuffer.allocate(dataLen + padLen); in padData()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DTsUnacceptableException.java59 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
60 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DNoAdditionalSasException.java58 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
59 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DFailedCpRequiredException.java59 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
60 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DInvalidIkeSpiException.java58 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
59 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DSinglePairRequiredException.java59 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
60 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DInternalAddressFailureException.java58 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
59 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DUnrecognizedIkeProtocolException.java58 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
61 return dataLen >= 0; in isValidDataLength()
DTemporaryFailureException.java62 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
63 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DInvalidMessageIdException.java71 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
72 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DInvalidKeException.java72 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
73 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DChildSaNotFoundException.java65 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
66 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DInvalidMajorVersionException.java75 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
76 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DAuthenticationFailedException.java72 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
73 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DNoValidProposalChosenException.java79 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
80 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DInvalidSelectorsException.java63 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
64 return EXPECTED_ERROR_DATA_LEN_MIN <= dataLen; in isValidDataLength()
DInvalidSyntaxException.java92 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
93 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
DUnsupportedCriticalPayloadException.java80 protected boolean isValidDataLength(int dataLen) { in isValidDataLength() argument
81 return EXPECTED_ERROR_DATA_LEN == dataLen; in isValidDataLength()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DAdvertiseHelper.java86 int dataLen = 2 + (manufacturerData == null ? 0 : manufacturerData.length); in advertiseDataToBytes() local
87 byte[] concated = new byte[dataLen]; in advertiseDataToBytes()
153 int dataLen = uuidLen + (serviceData == null ? 0 : serviceData.length); in advertiseDataToBytes() local
154 byte[] concated = new byte[dataLen]; in advertiseDataToBytes()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DScanFilterQueue.java299 int dataLen = uuid.length + (serviceData == null ? 0 : serviceData.length); in concate() local
301 if (dataLen > MAX_LEN_PER_FIELD) { in concate()
304 byte[] concated = new byte[dataLen]; in concate()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthDigitalSignPayload.java374 int dataLen = notifyPayload.notifyData.length; in getSignatureHashAlgorithmsFromIkeNotifyPayload() local
375 if (dataLen % 2 != 0) { in getSignatureHashAlgorithmsFromIkeNotifyPayload()

12