Home
last modified time | relevance | path

Searched refs:currentPos (Results 1 – 9 of 9) sorted by relevance

/packages/apps/SecureElement/src/com/android/se/security/gpac/
DResponse_AR_DO.java83 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()
DResponse_ALL_AR_DO.java88 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()
DResponse_ARAC_AID_DO.java88 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/
DRouterAdvertisementDaemonTest.java194 final int currentPos = buf.position(); in isPacketMatched() local
203 final ByteBuffer pioBuf = ByteBuffer.wrap(buf.array(), currentPos, in isPacketMatched()
222 buf.position(currentPos + Struct.getSize(PrefixInformationOption.class)); in isPacketMatched()
227 final ByteBuffer mtuBuf = ByteBuffer.wrap(buf.array(), currentPos, in isPacketMatched()
233 buf.position(currentPos + Struct.getSize(MtuOption.class)); in isPacketMatched()
237 final ByteBuffer RdnssBuf = ByteBuffer.wrap(buf.array(), currentPos, in isPacketMatched()
247 buf.position(currentPos + rdnssHeaderLen); // skip the rdnss option header in isPacketMatched()
261 buf.position(currentPos + Struct.getSize(LlaOption.class)); in isPacketMatched()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java601 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/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DDefaultScrollBar.java341 private int estimateNextPositionScrollUp(int currentPos, int scrollDistance, in estimateNextPositionScrollUp() argument
345 for (int i = currentPos - 1; i >= 0; i--) { in estimateNextPositionScrollUp()
353 nextPos = i - currentPos + 1; in estimateNextPositionScrollUp()
389 int currentPos = currentPosView != null ? getLayoutManager().getPosition( in pageUp() local
391 int nextPos = estimateNextPositionScrollUp(currentPos, in pageUp()
398 smoothScrollToPosition(Math.max(0, currentPos + nextPos)); in pageUp()
/packages/modules/StatsD/statsd/src/matchers/
Dmatcher_util.cpp174 int currentPos = values[start].mField.getPosAtDepth(depth); in matchesSimple() local
178 if (newPos != currentPos) { in matchesSimple()
181 currentPos = newPos; in matchesSimple()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp164 int currentPos = pos; in getCodePointsAndProbabilityAndReturnCodePointCount() local
168 &currentPos); in getCodePointsAndProbabilityAndReturnCodePointCount()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1315 int currentPos = 0; in combine() local
1318 System.arraycopy(array, 0, finalArray, currentPos, length); in combine()
1319 currentPos += array.length; in combine()