Home
last modified time | relevance | path

Searched refs:bytesWritten (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java961 int maxChunkSize, bytesToWrite, bytesWritten = 0, listSize; in sendMessageListingRsp() local
1073 while (bytesWritten < outBytes.length && mIsAborted == false) { in sendMessageListingRsp()
1074 bytesToWrite = Math.min(maxChunkSize, outBytes.length - bytesWritten); in sendMessageListingRsp()
1075 outStream.write(outBytes, bytesWritten, bytesToWrite); in sendMessageListingRsp()
1076 bytesWritten += bytesToWrite; in sendMessageListingRsp()
1084 if(bytesWritten != outBytes.length && !mIsAborted) { in sendMessageListingRsp()
1152 int maxChunkSize, bytesToWrite, bytesWritten = 0; in sendConvoListingRsp() local
1232 while (bytesWritten < outBytes.length && mIsAborted == false) { in sendConvoListingRsp()
1233 bytesToWrite = Math.min(maxChunkSize, outBytes.length - bytesWritten); in sendConvoListingRsp()
1234 outStream.write(outBytes, bytesWritten, bytesToWrite); in sendConvoListingRsp()
[all …]
DBluetoothMnsObexClient.java394 int maxChunkSize, bytesToWrite, bytesWritten = 0; in sendEventHandler() local
450 while (bytesWritten < eventBytes.length) { in sendEventHandler()
451 bytesToWrite = Math.min(maxChunkSize, eventBytes.length - bytesWritten); in sendEventHandler()
452 outputStream.write(eventBytes, bytesWritten, bytesToWrite); in sendEventHandler()
453 bytesWritten += bytesToWrite; in sendEventHandler()
456 if (bytesWritten == eventBytes.length) { in sendEventHandler()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/
DUsbTunerDataSource.java172 int bytesWritten = mTunerHal.readTsStream(dataBuffer, dataBuffer.length); in run() local
173 if (bytesWritten <= 0) { in run()
185 mEventDetector.feedTSStream(dataBuffer, 0, bytesWritten); in run()
189 int bytesToCopyInFirstPass = bytesWritten; in run()
195 if (bytesToCopyInFirstPass < bytesWritten) { in run()
197 bytesWritten - bytesToCopyInFirstPass); in run()
199 mBytesFetched += bytesWritten; in run()
DUsbTunerTsScannerSource.java138 int bytesWritten; in run() local
139 bytesWritten = mTunerHal.readTsStream(dataBuffer, dataBuffer.length); in run()
140 if (bytesWritten <= 0) { in run()
143 mBytesFetched.addAndGet(bytesWritten); in run()
145 mEventDetector.feedTSStream(dataBuffer, 0, bytesWritten); in run()
DFileDataSource.java364 int bytesWritten = mSource.read(dataBuffer); in run() local
365 if (bytesWritten <= 0) { in run()
376 mEventDetector.feedTSStream(dataBuffer, 0, bytesWritten); in run()
380 int bytesToCopyInFirstPass = bytesWritten; in run()
386 if (bytesToCopyInFirstPass < bytesWritten) { in run()
388 bytesWritten - bytesToCopyInFirstPass); in run()
390 mBytesFetched += bytesWritten; in run()
/packages/apps/TV/usbtuner/libs/
Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...