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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DBerTlv.java134 int totalLength = 0;
138 totalLength += itemLength + 3; //3: 'tag'(1 byte) and 'length'(2 bytes).
140 totalLength += itemLength + 2; //2: 'tag'(1 byte) and 'length'(1 byte).
154 if (length != totalLength) {
/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.java282 int totalLength = 0;
287 totalLength += 1 + s.length;
289 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/services/java/com/android/server/accounts/
H A DAccountManagerService.java2863 int totalLength = 0;
2865 totalLength += accounts.length;
2867 if (totalLength == 0) {
2870 Account[] accounts = new Account[totalLength];
2871 totalLength = 0;
2873 System.arraycopy(accountsOfType, 0, accounts, totalLength,
2875 totalLength += accountsOfType.length;
/frameworks/base/services/java/com/android/server/content/
H A DSyncManager.java2786 int totalLength = 0;
2795 totalLength += maxLength;
2799 totalLength += (mCols - 1) * 2;
2800 for (int i = 0; i < totalLength; ++i) {

Completed in 2248 milliseconds