Searched refs:buffer2 (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/format/ |
D | FormatUtils.java | 36 public static int overlapPoint(CharArrayBuffer buffer1, CharArrayBuffer buffer2) { in overlapPoint() argument 37 if (buffer1 == null || buffer2 == null) { in overlapPoint() 41 Arrays.copyOfRange(buffer2.data, 0, buffer2.sizeCopied)); in overlapPoint()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/async/ |
D | BufferedFile.java | 209 byte[] buffer2, int pos2, int len2) { in enqueueOutboundData() argument 211 Assertions.throwsIfOutOfBounds(buffer2, pos2, len2); in enqueueOutboundData() 225 if (buffer2 != null) { in enqueueOutboundData() 226 mOutboundBuffer.writeBytes(buffer2, pos2, len2); in enqueueOutboundData()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/ |
D | TcpInfoTest.java | 115 final ByteBuffer buffer2 = ByteBuffer.wrap(TCP_INFO_BYTES); in testParseTcpInfo() local 116 buffer2.order(ByteOrder.nativeOrder()); in testParseTcpInfo() 118 buffer2.position(2); in testParseTcpInfo() 120 assertNotEquals(TEST_TCPINFO, TcpInfo.parse(buffer2, TCP_INFO_LENGTH_V1)); in testParseTcpInfo()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | DownloadServiceTest.kt | 534 val buffer2 = ByteArray(1000) in assertSameContents() constant 543 s2.read(buffer2, read2, read1 - read2).also { in assertSameContents() 548 assertEquals(buffer1.take(read1), buffer2.take(read1)) in assertSameContents() 550 assertEquals(-1, s2.read(buffer2, 0, 1), "Stream 2 is longer than stream 1") in assertSameContents()
|