Searched refs:dstPos (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/async/ |
D | CircularByteBuffer.java | 71 public void readBytes(byte[] dst, int dstPos, int dstLen) { in readBytes() argument 73 Assertions.throwsIfOutOfBounds(dst, dstPos, dstLen); in readBytes() 82 System.arraycopy(mBuffer, mReadPos, dst, dstPos, copyLen); in readBytes() 84 dstPos += copyLen; in readBytes() 98 public void peekBytes(int offset, byte[] dst, int dstPos, int dstLen) { in peekBytes() argument 99 Assertions.throwsIfOutOfBounds(dst, dstPos, dstLen); in peekBytes() 108 System.arraycopy(mBuffer, tmpReadPos, dst, dstPos, copyLen); in peekBytes() 109 dstPos += copyLen; in peekBytes()
|
D | ReadableByteBuffer.java | 44 void peekBytes(int offset, byte[] dst, int dstPos, int dstLen); in peekBytes() argument 47 void readBytes(byte[] dst, int dstPos, int dstLen); in readBytes() argument
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/wear/ |
D | NetPacketHelpers.java | 27 static void encodeNetworkUnsignedInt16(int value, byte[] dst, final int dstPos) { in encodeNetworkUnsignedInt16() argument 28 dst[dstPos] = (byte) ((value >> 8) & 0xFF); in encodeNetworkUnsignedInt16() 29 dst[dstPos + 1] = (byte) (value & 0xFF); in encodeNetworkUnsignedInt16()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/async/ |
D | ReadableDataAnswer.java | 66 int dstPos = invocation.<Integer>getArgument(1); in answer() local 70 System.arraycopy(src, mBufferPos, dst, dstPos, copyLen); in answer()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | NetworkStatsHistory.java | 673 final int dstPos = index + 1; in insertBucket() local 676 System.arraycopy(bucketStart, index, bucketStart, dstPos, length); in insertBucket() 677 if (activeTime != null) System.arraycopy(activeTime, index, activeTime, dstPos, length); in insertBucket() 678 if (rxBytes != null) System.arraycopy(rxBytes, index, rxBytes, dstPos, length); in insertBucket() 679 if (rxPackets != null) System.arraycopy(rxPackets, index, rxPackets, dstPos, length); in insertBucket() 680 if (txBytes != null) System.arraycopy(txBytes, index, txBytes, dstPos, length); in insertBucket() 681 if (txPackets != null) System.arraycopy(txPackets, index, txPackets, dstPos, length); in insertBucket() 682 if (operations != null) System.arraycopy(operations, index, operations, dstPos, length); in insertBucket()
|