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.java733 int maxChunkSize, bytesToWrite, bytesWritten = 0, listSize; in sendMessageListingRsp() local
806 while (bytesWritten < outBytes.length && mIsAborted == false) { in sendMessageListingRsp()
807 bytesToWrite = Math.min(maxChunkSize, outBytes.length - bytesWritten); in sendMessageListingRsp()
808 outStream.write(outBytes, bytesWritten, bytesToWrite); in sendMessageListingRsp()
809 bytesWritten += bytesToWrite; in sendMessageListingRsp()
817 if(bytesWritten != outBytes.length && !mIsAborted) { in sendMessageListingRsp()
844 int maxChunkSize, bytesWritten = 0; in sendFolderListingRsp() local
895 while (bytesWritten < outBytes.length && mIsAborted == false) { in sendFolderListingRsp()
896 bytesToWrite = Math.min(maxChunkSize, outBytes.length - bytesWritten); in sendFolderListingRsp()
897 outStream.write(outBytes, bytesWritten, bytesToWrite); in sendFolderListingRsp()
[all …]
DBluetoothMnsObexClient.java271 int maxChunkSize, bytesToWrite, bytesWritten = 0; in sendEventHandler() local
327 while (bytesWritten < eventBytes.length) { in sendEventHandler()
328 bytesToWrite = Math.min(maxChunkSize, eventBytes.length - bytesWritten); in sendEventHandler()
329 outputStream.write(eventBytes, bytesWritten, bytesToWrite); in sendEventHandler()
330 bytesWritten += bytesToWrite; in sendEventHandler()
333 if (bytesWritten == eventBytes.length) { in sendEventHandler()