Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java416 public void sendEvent(byte[] eventBytes, int masInstanceId) { in sendEvent() argument
419 Message msg = mHandler.obtainMessage(MSG_MNS_SEND_EVENT, masInstanceId, 0, eventBytes); in sendEvent()
435 private int sendEventHandler(byte[] eventBytes, int masInstanceId) { in sendEventHandler() argument
500 while (bytesWritten < eventBytes.length) { in sendEventHandler()
501 bytesToWrite = Math.min(maxChunkSize, eventBytes.length - bytesWritten); in sendEventHandler()
502 outputStream.write(eventBytes, bytesWritten, bytesToWrite); in sendEventHandler()
506 if (bytesWritten == eventBytes.length) { in sendEventHandler()
507 Log.i(TAG, "SendEvent finished send length" + eventBytes.length); in sendEventHandler()