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.java370 public void sendEvent(byte[] eventBytes, int masInstanceId) { in sendEvent() argument
373 Message msg = mHandler.obtainMessage(MSG_MNS_SEND_EVENT, masInstanceId, 0, eventBytes); in sendEvent()
389 private int sendEventHandler(byte[] eventBytes, int masInstanceId) { in sendEventHandler() argument
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()
456 if (bytesWritten == eventBytes.length) { in sendEventHandler()
457 Log.i(TAG, "SendEvent finished send length" + eventBytes.length); in sendEventHandler()