Home
last modified time | relevance | path

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

/packages/apps/Nfc/nci/jni/
DDataQueue.cpp84 bool DataQueue::enqueue (uint8_t* data, uint16_t dataLen) in enqueue() argument
86 if ((data == NULL) || (dataLen==0)) in enqueue()
92 tHeader* header = (tHeader*) malloc (sizeof(tHeader) + dataLen); in enqueue()
97 header->mDataLen = dataLen; in enqueue()
98 memcpy (header+1, data, dataLen); in enqueue()
DRoutingManager.cpp456 void RoutingManager::handleData (uint8_t technology, const uint8_t* data, uint32_t dataLen, tNFA_ST… in handleData() argument
460 if (dataLen > 0) in handleData()
462 … mRxDataBuffer.insert (mRxDataBuffer.end(), &data[0], &data[dataLen]); //append data; more to come in handleData()
468 if (dataLen > 0) in handleData()
470 mRxDataBuffer.insert (mRxDataBuffer.end(), &data[0], &data[dataLen]); //append data in handleData()
DDataQueue.h66 bool enqueue (uint8_t* data, uint16_t dataLen);
DRoutingManager.h51 void handleData (uint8_t technology, const uint8_t* data, uint32_t dataLen, tNFA_STATUS status);
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAdvertiseHelper.java79 int dataLen = 2 + (manufacturerData == null ? 0 : manufacturerData.length); in advertiseDataToBytes() local
80 byte[] concated = new byte[dataLen]; in advertiseDataToBytes()
142 int dataLen = uuidLen + (serviceData == null ? 0 : serviceData.length); in advertiseDataToBytes() local
143 byte[] concated = new byte[dataLen]; in advertiseDataToBytes()
DScanFilterQueue.java247 int dataLen = 2 + (serviceData == null ? 0 : serviceData.length); in concate() local
249 if (dataLen > MAX_LEN_PER_FIELD) { in concate()
252 byte[] concated = new byte[dataLen]; in concate()