Home | History | Annotate | Download | only in le

Lines Matching refs:currentPos

180         int currentPos = 0;
190 while (currentPos < scanRecord.length) {
192 int length = scanRecord[currentPos++] & 0xFF;
199 int fieldType = scanRecord[currentPos++] & 0xFF;
202 advertiseFlag = scanRecord[currentPos] & 0xFF;
206 parseServiceUuid(scanRecord, currentPos,
211 parseServiceUuid(scanRecord, currentPos, dataLength,
216 parseServiceUuid(scanRecord, currentPos, dataLength,
222 extractBytes(scanRecord, currentPos, dataLength));
225 txPowerLevel = scanRecord[currentPos];
231 byte[] serviceDataUuidBytes = extractBytes(scanRecord, currentPos,
236 currentPos + serviceUuidLength, dataLength - serviceUuidLength);
242 int manufacturerId = ((scanRecord[currentPos + 1] & 0xFF) << 8) +
243 (scanRecord[currentPos] & 0xFF);
244 byte[] manufacturerDataBytes = extractBytes(scanRecord, currentPos + 2,
252 currentPos += dataLength;
277 private static int parseServiceUuid(byte[] scanRecord, int currentPos, int dataLength,
280 byte[] uuidBytes = extractBytes(scanRecord, currentPos,
284 currentPos += uuidLength;
286 return currentPos;