Searched refs:totalLength (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/obex/javax/obex/
H A DServerSession.java257 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
[all...]
H A DClientSession.java79 int totalLength = 4;
89 totalLength += head.length;
100 byte[] requestPacket = new byte[totalLength];
289 int totalLength = 2;
315 totalLength += head.length;
317 if (totalLength > maxPacketSize) {
343 byte[] packet = new byte[totalLength];
/frameworks/base/tests/BrowserTestPlugin/jni/event/
H A DEventPlugin.cpp119 int totalLength = strlen(jsBegin) + length + strlen(jsEnd); local
120 char* beginMem = (char*)browser->memalloc(totalLength);
129 gLogI.log(kDebug_ANPLogType, "text: %.*s\n", totalLength, (char*)beginMem);
132 NPString script = { (char*)beginMem, totalLength };
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java677 final int totalLength = mTotalLength;
678 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin);
704 final int totalLength = mTotalLength;
705 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin +
786 final int totalLength = mTotalLength;
787 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight +
869 final int totalLength
[all...]
/frameworks/base/core/jni/android/graphics/
H A DMovie.cpp104 int totalLength = env->GetArrayLength(byteArray); local
105 if ((offset | length) < 0 || offset + length > totalLength) {
/frameworks/av/media/libstagefright/wifi-display/
H A DParsedMessage.cpp160 size_t totalLength = offset + contentLength; local
162 if (size < totalLength) {
168 return totalLength;
/frameworks/base/core/java/android/net/
H A DSSLCertificateSocketFactory.java280 int totalLength = 0;
285 totalLength += 1 + s.length;
287 byte[] result = new byte[totalLength];
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java88 int totalLength = bodyLength + 1 + (bodyLength > 127 ? 2 : 1);
90 byte[] envelope = new byte[totalLength];
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp385 uint32_t totalLength = MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_OFFSET);
386 allocate(totalLength);
387 while (totalLength > length) {
389 request->buffer_length = totalLength - length;
/frameworks/base/core/java/android/accounts/
H A DAccountManagerService.java2436 int totalLength = 0;
2438 totalLength += accounts.length;
2440 if (totalLength == 0) {
2443 Account[] accounts = new Account[totalLength];
2444 totalLength = 0;
2446 System.arraycopy(accountsOfType, 0, accounts, totalLength,
2448 totalLength += accountsOfType.length;

Completed in 810 milliseconds