Home
last modified time | relevance | path

Searched refs:totalLength (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/obex/javax/obex/
DServerSession.java257 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()
[all …]
DClientSession.java79 int totalLength = 4; in connect() local
89 totalLength += head.length; in connect()
100 byte[] requestPacket = new byte[totalLength]; in connect()
289 int totalLength = 2; in setPath() local
315 totalLength += head.length; in setPath()
317 if (totalLength > maxPacketSize) { in setPath()
343 byte[] packet = new byte[totalLength]; in setPath()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DBerTlv.java134 int totalLength = 0; in decode() local
138 totalLength += itemLength + 3; //3: 'tag'(1 byte) and 'length'(2 bytes). in decode()
140 totalLength += itemLength + 2; //2: 'tag'(1 byte) and 'length'(1 byte). in decode()
154 if (length != totalLength) { in decode()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java637 final int totalLength = mTotalLength; in measureVertical() local
638 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); in measureVertical()
665 final int totalLength = mTotalLength; in measureVertical() local
666 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical()
748 final int totalLength = mTotalLength; in measureVertical() local
749 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight + in measureVertical()
833 final int totalLength = mTotalLength; in measureVertical() local
834 mTotalLength = Math.max(totalLength, totalLength + child.getMeasuredHeight() + in measureVertical()
987 final int totalLength = mTotalLength; in measureHorizontal() local
988 mTotalLength = Math.max(totalLength, totalLength + in measureHorizontal()
[all …]
/frameworks/base/core/java/android/widget/
DLinearLayout.java703 final int totalLength = mTotalLength; in measureVertical() local
704 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); in measureVertical()
731 final int totalLength = mTotalLength; in measureVertical() local
732 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical()
813 final int totalLength = mTotalLength; in measureVertical() local
814 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight + in measureVertical()
897 final int totalLength = mTotalLength; in measureVertical() local
898 mTotalLength = Math.max(totalLength, totalLength + child.getMeasuredHeight() + in measureVertical()
1051 final int totalLength = mTotalLength; in measureHorizontal() local
1052 mTotalLength = Math.max(totalLength, totalLength + in measureHorizontal()
[all …]
/frameworks/av/media/libstagefright/foundation/
DParsedMessage.cpp169 size_t totalLength = offset + contentLength; in parse() local
171 if (size < totalLength) { in parse()
177 return totalLength; in parse()
/frameworks/base/core/java/android/net/
DSSLCertificateSocketFactory.java303 int totalLength = 0; in toLengthPrefixedList() local
308 totalLength += 1 + s.length; in toLengthPrefixedList()
310 byte[] result = new byte[totalLength]; in toLengthPrefixedList()
/frameworks/base/core/jni/android/graphics/
DMovie.cpp123 int totalLength = env->GetArrayLength(byteArray); in movie_decodeByteArray() local
124 if ((offset | length) < 0 || offset + length > totalLength) { in movie_decodeByteArray()
DPath.cpp452 float totalLength = lengths.back(); in approximate() local
453 if (totalLength == 0) { in approximate()
457 totalLength = 1; in approximate()
468 approximation[approximationIndex++] = lengths[i] / totalLength; in approximate()
/frameworks/av/media/mtp/
DMtpDataPacket.cpp385 uint32_t totalLength = MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_OFFSET); in read() local
386 allocate(totalLength); in read()
387 while (totalLength > length) { in read()
389 request->buffer_length = totalLength - length; in read()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimDataDownloadHandler.java126 int totalLength = bodyLength + 1 + (bodyLength > 127 ? 2 : 1); in handleDataDownload() local
128 byte[] envelope = new byte[totalLength]; in handleDataDownload()
/frameworks/base/core/java/android/util/
DPathParser.java168 int totalLength = s.length(); in getFloats() local
173 while (startPosition < totalLength) { in getFloats()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3377 int totalLength = 0; in getAccountsFromCacheLocked() local
3379 totalLength += accounts.length; in getAccountsFromCacheLocked()
3381 if (totalLength == 0) { in getAccountsFromCacheLocked()
3384 Account[] accounts = new Account[totalLength]; in getAccountsFromCacheLocked()
3385 totalLength = 0; in getAccountsFromCacheLocked()
3387 System.arraycopy(accountsOfType, 0, accounts, totalLength, in getAccountsFromCacheLocked()
3389 totalLength += accountsOfType.length; in getAccountsFromCacheLocked()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java3276 int totalLength = 0; in writeTo() local
3285 totalLength += maxLength; in writeTo()
3290 totalLength += (mCols - 1) * 2; in writeTo()
3291 for (int i = 0; i < totalLength; ++i) { in writeTo()