Searched refs:totalLength (Results 1 - 14 of 14) 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;
265 totalLength += header.length;
266 data = new byte[totalLength];
268 data[1] = (byte)(totalLength >> 8);
269 data[2] = (byte)totalLength;
272 data = new byte[totalLength];
275 data[2] = (byte)totalLength;
295 int totalLength = 3;
309 totalLength = 3;
382 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/support/v7/appcompat/src/android/support/v7/widget/
H A DLinearLayoutCompat.java637 final int totalLength = mTotalLength;
638 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin);
665 final int totalLength = mTotalLength;
666 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin +
748 final int totalLength = mTotalLength;
749 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight +
833 final int totalLength
[all...]
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java703 final int totalLength = mTotalLength;
704 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin);
731 final int totalLength = mTotalLength;
732 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin +
813 final int totalLength = mTotalLength;
814 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight +
897 final int totalLength
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DParsedMessage.cpp169 size_t totalLength = offset + contentLength; local
171 if (size < totalLength) {
177 return totalLength;
/frameworks/base/core/java/android/net/
H A DSSLCertificateSocketFactory.java303 int totalLength = 0;
308 totalLength += 1 + s.length;
310 byte[] result = new byte[totalLength];
/frameworks/base/core/jni/android/graphics/
H A DMovie.cpp123 int totalLength = env->GetArrayLength(byteArray); local
124 if ((offset | length) < 0 || offset + length > totalLength) {
H A DPath.cpp452 float totalLength = lengths.back(); local
453 if (totalLength == 0) {
457 totalLength = 1;
468 approximation[approximationIndex++] = lengths[i] / totalLength;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java126 int totalLength = bodyLength + 1 + (bodyLength > 127 ? 2 : 1);
128 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/util/
H A DPathParser.java168 int totalLength = s.length();
173 while (startPosition < totalLength) {
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java3377 int totalLength = 0;
3379 totalLength += accounts.length;
3381 if (totalLength == 0) {
3384 Account[] accounts = new Account[totalLength];
3385 totalLength = 0;
3387 System.arraycopy(accountsOfType, 0, accounts, totalLength,
3389 totalLength += accountsOfType.length;
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java3276 int totalLength = 0;
3285 totalLength += maxLength;
3290 totalLength += (mCols - 1) * 2;
3291 for (int i = 0; i < totalLength; ++i) {

Completed in 5426 milliseconds