Home
last modified time | relevance | path

Searched refs:bytesWritten (Results 1 – 2 of 2) 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.java288 int maxChunkSize, bytesToWrite, bytesWritten = 0; in sendEventHandler() local
344 while (bytesWritten < eventBytes.length) { in sendEventHandler()
345 bytesToWrite = Math.min(maxChunkSize, eventBytes.length - bytesWritten); in sendEventHandler()
346 outputStream.write(eventBytes, bytesWritten, bytesToWrite); in sendEventHandler()
347 bytesWritten += bytesToWrite; in sendEventHandler()
350 if (bytesWritten == eventBytes.length) { in sendEventHandler()