Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DIkeProtocolException.java164 ByteBuffer dataBuffer = ByteBuffer.allocate(INTEGER_BYTE_SIZE); in integerToByteArray() local
165 dataBuffer.putInt(integer); in integerToByteArray()
166 dataBuffer.rewind(); in integerToByteArray()
170 dataBuffer.get(zeroPad).get(byteData); in integerToByteArray()
181 ByteBuffer dataBuffer = ByteBuffer.allocate(INTEGER_BYTE_SIZE); in byteArrayToInteger() local
183 dataBuffer.put(zeroPad).put(byteArray); in byteArrayToInteger()
184 dataBuffer.rewind(); in byteArrayToInteger()
186 return dataBuffer.getInt(); in byteArrayToInteger()
/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/apps/Bluetooth/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java560 byte[] dataBuffer = new byte[BUFFER_SIZE]; in readHashFile()
566 while ((bytesRead = fileStream.read(dataBuffer)) != -1) { in readHashFile()
567 messageDigest.update(dataBuffer, 0, bytesRead); in readHashFile()