Home
last modified time | relevance | path

Searched refs:mBuf (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DPacketReflector.java59 private byte[] mBuf; field in PacketReflector
64 mBuf = new byte[mtu]; in PacketReflector()
207 int len = readPacket(mBuf); in processPacket()
212 int version = mBuf[0] >> 4; in processPacket()
232 byte proto = mBuf[protoPos]; in processPacket()
236 processIcmpPacket(mBuf, version, len, hdrLen); in processPacket()
239 processTcpPacket(mBuf, version, len, hdrLen); in processPacket()
242 processUdpPacket(mBuf, version, len, hdrLen); in processPacket()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DPingReflector.java35 private byte[] mBuf; field in PingReflector
40 mBuf = new byte[mtu]; in PingReflector()
46 int len = readPacket(mBuf); in run()
48 int version = mBuf[0] >> 4; in run()
54 processPacket(mBuf, version, len, 0); in run()
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java1765 private ByteBuffer mBuf;
1775 mBuf = ByteBuffer.allocateDirect(4 * width * height);
1788 mBuf.position(0);
1789 GLES20.glReadPixels(0, 0, mWidth, mHeight, GL10.GL_RGBA, GL10.GL_UNSIGNED_BYTE, mBuf);
1790 mBuf.position(0);
1791 return AdaptivePlaybackTest.checksum(mBuf, mBuf.capacity(), mCRC);
1796 mBuf = null;
DMediaCodecTest.java2040 private byte[] mBuf = null; field in MediaCodecTest.MediaCodecStream
2139 if (mBuf == null) { in read()
2140 mBuf = new byte[inBufLen]; in read()
2143 int n = mInputStream.read(mBuf, numRead, inBufLen - numRead); in read()
2150 buf.put(mBuf, 0, numRead); in read()