Home
last modified time | relevance | path

Searched refs:dataBuffer (Results 1 – 7 of 7) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DIkeProtocolException.java162 ByteBuffer dataBuffer = ByteBuffer.allocate(INTEGER_BYTE_SIZE); in integerToByteArray() local
163 dataBuffer.putInt(integer); in integerToByteArray()
164 dataBuffer.rewind(); in integerToByteArray()
168 dataBuffer.get(zeroPad).get(byteData); in integerToByteArray()
179 ByteBuffer dataBuffer = ByteBuffer.allocate(INTEGER_BYTE_SIZE); in byteArrayToInteger() local
181 dataBuffer.put(zeroPad).put(byteArray); in byteArrayToInteger()
182 dataBuffer.rewind(); in byteArrayToInteger()
184 return dataBuffer.getInt(); in byteArrayToInteger()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/async/
DCircularByteBufferTest.java166 final byte[] dataBuffer = new byte[15]; in readBytes_overflow()
167 buffer.writeBytes(dataBuffer, 0, dataBuffer.length - 2); in readBytes_overflow()
170 buffer.readBytes(dataBuffer, 0, dataBuffer.length); in readBytes_overflow()
184 final byte[] dataBuffer = new byte[15]; in writeBytes_overflow()
185 buffer.writeBytes(dataBuffer, 0, dataBuffer.length); in writeBytes_overflow()
188 buffer.writeBytes(dataBuffer, 0, dataBuffer.length); in writeBytes_overflow()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamer.java344 byte[] dataBuffer = new byte[READ_BUFFER_SIZE]; in run()
367 int bytesWritten = mTunerHal.readTsStream(dataBuffer, dataBuffer.length); in run()
380 mTsStreamWriter.writeToFile(dataBuffer, bytesWritten); in run()
384 mEventDetector.feedTSStream(dataBuffer, 0, bytesWritten); in run()
393 dataBuffer, 0, mCircularBuffer, posInBuffer, bytesToCopyInFirstPass); in run()
396 dataBuffer, in run()
DFileTsStreamer.java441 byte[] dataBuffer = new byte[READ_BUFFER_SIZE]; in run()
464 int bytesWritten = mSource.read(dataBuffer); in run()
476 mEventDetector.feedTSStream(dataBuffer, 0, bytesWritten); in run()
485 dataBuffer, 0, mCircularBuffer, posInBuffer, bytesToCopyInFirstPass); in run()
488 dataBuffer, in run()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java453 byte[] dataBuffer = new byte[BUFFER_SIZE]; in readHashFile()
461 while ((bytesRead = fileStream.read(dataBuffer)) != -1) { in readHashFile()
462 messageDigest.update(dataBuffer, 0, bytesRead); in readHashFile()
/packages/modules/StatsD/statsd/tests/shell/
DShellSubscriber_test.cpp149 vector<uint8_t> dataBuffer(dataSize); in readData() local
150 EXPECT_EQ((int)dataSize, read(fd, dataBuffer.data(), dataSize)); in readData()
154 EXPECT_TRUE(receivedAtom.ParseFromArray(dataBuffer.data(), dataSize) != 0); in readData()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dhttpclient-4.5.12.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...