• Home
  • Raw
  • Download

Lines Matching refs:totalLength

257         int totalLength = 3;  in sendResponse()  local
265 totalLength += header.length; in sendResponse()
266 data = new byte[totalLength]; in sendResponse()
268 data[1] = (byte)(totalLength >> 8); in sendResponse()
269 data[2] = (byte)totalLength; in sendResponse()
272 data = new byte[totalLength]; in sendResponse()
275 data[2] = (byte)totalLength; in sendResponse()
295 int totalLength = 3; in handleSetPathRequest() local
309 totalLength = 3; in handleSetPathRequest()
382 totalLength += head.length; in handleSetPathRequest()
384 if (totalLength > mMaxPacketLength) { in handleSetPathRequest()
385 totalLength = 3; in handleSetPathRequest()
393 byte[] replyData = new byte[totalLength]; in handleSetPathRequest()
395 replyData[1] = (byte)(totalLength >> 8); in handleSetPathRequest()
396 replyData[2] = (byte)totalLength; in handleSetPathRequest()
419 int totalLength = 3; in handleDisconnectRequest() local
430 totalLength = 3; in handleDisconnectRequest()
481 totalLength += head.length; in handleDisconnectRequest()
483 if (totalLength > mMaxPacketLength) { in handleDisconnectRequest()
484 totalLength = 3; in handleDisconnectRequest()
499 replyData[1] = (byte)(totalLength >> 8); in handleDisconnectRequest()
500 replyData[2] = (byte)totalLength; in handleDisconnectRequest()
527 int totalLength = 7; in handleConnectRequest() local
552 totalLength = 7; in handleConnectRequest()
609 totalLength += head.length; in handleConnectRequest()
611 if (totalLength > mMaxPacketLength) { in handleConnectRequest()
612 totalLength = 7; in handleConnectRequest()
618 totalLength = 7; in handleConnectRequest()
627 byte[] length = ObexHelper.convertToByteArray(totalLength); in handleConnectRequest()
635 byte[] sendData = new byte[totalLength]; in handleConnectRequest()