Home | History | Annotate | Download | only in obex

Lines Matching refs:totalLength

257         int totalLength = 3;
261 totalLength += header.length;
262 data = new byte[totalLength];
264 data[1] = (byte)(totalLength >> 8);
265 data[2] = (byte)totalLength;
268 data = new byte[totalLength];
271 data[2] = (byte)totalLength;
291 int totalLength = 3;
305 totalLength = 3;
378 totalLength += head.length;
380 if (totalLength > mMaxPacketLength) {
381 totalLength = 3;
389 byte[] replyData = new byte[totalLength];
391 replyData[1] = (byte)(totalLength >> 8);
392 replyData[2] = (byte)totalLength;
415 int totalLength = 3;
426 totalLength = 3;
477 totalLength += head.length;
479 if (totalLength > mMaxPacketLength) {
480 totalLength = 3;
495 replyData[1] = (byte)(totalLength >> 8);
496 replyData[2] = (byte)totalLength;
523 int totalLength = 7;
548 totalLength = 7;
605 totalLength += head.length;
607 if (totalLength > mMaxPacketLength) {
608 totalLength = 7;
614 totalLength = 7;
623 byte[] length = ObexHelper.convertToByteArray(totalLength);
631 byte[] sendData = new byte[totalLength];