/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | ScanRecord.java | 527 int currentPos = 0; in parseFromBytes() local 541 while (currentPos < scanRecord.length) { in parseFromBytes() 543 int length = scanRecord[currentPos++] & 0xFF; in parseFromBytes() 550 int fieldType = scanRecord[currentPos++] & 0xFF; in parseFromBytes() 551 byte[] advertisingData = extractBytes(scanRecord, currentPos, dataLength); in parseFromBytes() 555 advertiseFlag = scanRecord[currentPos] & 0xFF; in parseFromBytes() 561 currentPos, in parseFromBytes() 570 currentPos, in parseFromBytes() 579 currentPos, in parseFromBytes() 587 currentPos, in parseFromBytes() [all …]
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothUtils.java | 106 int currentPos = 0; in parseLengthTypeValueBytes() local 108 while (currentPos < rawBytes.length) { in parseLengthTypeValueBytes() 110 int length = rawBytes[currentPos] & 0xFF; in parseLengthTypeValueBytes() 114 currentPos++; in parseLengthTypeValueBytes() 115 if (currentPos >= rawBytes.length) { in parseLengthTypeValueBytes() 121 + currentPos); in parseLengthTypeValueBytes() 127 int type = rawBytes[currentPos] & 0xFF; in parseLengthTypeValueBytes() 128 currentPos++; in parseLengthTypeValueBytes() 129 if (currentPos >= rawBytes.length) { in parseLengthTypeValueBytes() 135 + currentPos); in parseLengthTypeValueBytes() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapVcardManagerNestedClassesTest.java | 185 AtomicInteger currentPos = new AtomicInteger(-1); in ContactCursorFilter_filterByOffset() local 189 if (currentPos.get() < contactIds.length - 1) { in ContactCursorFilter_filterByOffset() 190 currentPos.incrementAndGet(); in ContactCursorFilter_filterByOffset() 196 .thenAnswer(invocation -> contactIds[currentPos.get()]); in ContactCursorFilter_filterByOffset() 214 AtomicInteger currentPos = new AtomicInteger(-1); in ContactCursorFilter_filterByRange() local 218 if (currentPos.get() < contactIds.length - 1) { in ContactCursorFilter_filterByRange() 219 currentPos.incrementAndGet(); in ContactCursorFilter_filterByRange() 225 .thenAnswer(invocation -> contactIds[currentPos.get()]); in ContactCursorFilter_filterByRange()
|
/packages/apps/SecureElement/src/com/android/se/security/gpac/ |
D | Response_AR_DO.java | 83 int currentPos = index; in interpret() local 86 BerTlv temp = BerTlv.decode(data, currentPos); in interpret() 97 currentPos = temp.getValueIndex() + temp.getValueLength(); in interpret() 98 } while (currentPos < endPos); in interpret()
|
D | Response_ALL_AR_DO.java | 88 int currentPos = index; in interpret() local 91 temp = BerTlv.decode(data, currentPos); in interpret() 105 currentPos = temp.getValueIndex() + temp.getValueLength(); in interpret() 106 } while (currentPos < endPos); in interpret()
|
D | Response_ARAC_AID_DO.java | 88 int currentPos = index; in interpret() local 91 temp = BerTlv.decode(data, currentPos); in interpret() 108 currentPos = temp.getValueIndex() + temp.getValueLength(); in interpret() 109 } while (currentPos < endPos); in interpret()
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/ |
D | RouterAdvertisementDaemonTest.java | 191 final int currentPos = buf.position(); in isPacketMatched() local 200 final ByteBuffer pioBuf = ByteBuffer.wrap(buf.array(), currentPos, in isPacketMatched() 219 buf.position(currentPos + Struct.getSize(PrefixInformationOption.class)); in isPacketMatched() 224 final ByteBuffer mtuBuf = ByteBuffer.wrap(buf.array(), currentPos, in isPacketMatched() 230 buf.position(currentPos + Struct.getSize(MtuOption.class)); in isPacketMatched() 234 final ByteBuffer RdnssBuf = ByteBuffer.wrap(buf.array(), currentPos, in isPacketMatched() 244 buf.position(currentPos + rdnssHeaderLen); // skip the rdnss option header in isPacketMatched() 258 buf.position(currentPos + Struct.getSize(LlaOption.class)); in isPacketMatched()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 601 Position currentPos = mPositions.getLast(); in next() local 602 mCurrentString.setLength(currentPos.length); in next() 605 if (currentPos.pos.hasNext()) { in next() 606 final PtNode currentPtNode = currentPos.pos.next(); in next() 607 currentPos.length = mCurrentString.length(); in next() 612 currentPos = new Position(currentPtNode.mChildren.mData); in next() 613 currentPos.length = mCurrentString.length(); in next() 614 mPositions.addLast(currentPos); in next() 623 currentPos = mPositions.getLast(); in next()
|
/packages/modules/Connectivity/thread/tests/utils/src/android/net/thread/utils/ |
D | IntegrationTestUtils.kt | 411 val currentPos = buf.position() in <lambda>() constant 416 buf.array(), currentPos, Struct.getSize(PrefixInformationOption::class.java) in <lambda>() 423 currentPos + Struct.getSize(PrefixInformationOption::class.java) in <lambda>() 427 buf.position(currentPos + (length * 8)) in <lambda>()
|
/packages/modules/StatsD/statsd/src/matchers/ |
D | matcher_util.cpp | 261 int currentPos = values[start].mField.getPosAtDepth(depth); in computeRanges() local 265 if (newPos != currentPos) { in computeRanges() 268 currentPos = newPos; in computeRanges()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 164 int currentPos = pos; in getCodePointsAndProbabilityAndReturnCodePointCount() local 168 ¤tPos); in getCodePointsAndProbabilityAndReturnCodePointCount()
|
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/ |
D | TetheringTester.java | 336 final int currentPos = buf.position(); in getRaPrefixOptions() local 340 final ByteBuffer pioBuf = ByteBuffer.wrap(buf.array(), currentPos, in getRaPrefixOptions() 347 buf.position(currentPos + Struct.getSize(PrefixInformationOption.class)); in getRaPrefixOptions() 349 buf.position(currentPos + (length * 8)); in getRaPrefixOptions()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 1329 int currentPos = 0; in combine() local 1332 System.arraycopy(array, 0, finalArray, currentPos, length); in combine() 1333 currentPos += array.length; in combine()
|