/frameworks/base/obex/javax/obex/ |
D | ServerSession.java | 263 int totalLength = 3; in sendResponse() local 271 totalLength += header.length; in sendResponse() 272 data = new byte[totalLength]; in sendResponse() 274 data[1] = (byte)(totalLength >> 8); in sendResponse() 275 data[2] = (byte)totalLength; in sendResponse() 278 data = new byte[totalLength]; in sendResponse() 281 data[2] = (byte)totalLength; in sendResponse() 301 int totalLength = 3; in handleSetPathRequest() local 315 totalLength = 3; in handleSetPathRequest() 389 totalLength += head.length; in handleSetPathRequest() [all …]
|
D | ClientSession.java | 107 int totalLength = 4; in connect() local 117 totalLength += head.length; in connect() 128 byte[] requestPacket = new byte[totalLength]; in connect() 339 int totalLength = 2; in setPath() local 365 totalLength += head.length; in setPath() 367 if (totalLength > mMaxTxPacketSize) { in setPath() 393 byte[] packet = new byte[totalLength]; in setPath()
|
/frameworks/support/tv-provider/src/android/support/media/tv/ |
D | CollectionUtils.java | 37 int totalLength = first.length; in concatAll() local 39 totalLength += array.length; in concatAll() 41 T[] result = Arrays.copyOf(first, totalLength); in concatAll()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | BerTlv.java | 134 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/base/media/jni/ |
D | android_media_MediaDescrambler.cpp | 164 ssize_t totalLength, in descramble() argument 179 if (!ensureBufferCapacity(totalLength)) { in descramble() 184 (const void*)((const uint8_t*)srcPtr + srcOffset), totalLength); in descramble() 210 if (*bytesWritten > 0 && (ssize_t) *bytesWritten <= totalLength) { in descramble() 343 ssize_t totalLength = getSubSampleInfo( in android_media_MediaDescrambler_native_descramble() local 346 if (totalLength < 0) { in android_media_MediaDescrambler_native_descramble() 355 env, srcBuf, srcOffset, srcLimit, totalLength, &srcPtr, &srcArray); in android_media_MediaDescrambler_native_descramble() 362 env, dstBuf, dstOffset, dstLimit, totalLength, &dstPtr, &dstArray); in android_media_MediaDescrambler_native_descramble() 377 key, totalLength, subSamples, in android_media_MediaDescrambler_native_descramble()
|
D | android_media_MediaDescrambler.h | 42 ssize_t totalLength,
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | LinearLayoutCompat.java | 639 final int totalLength = mTotalLength; in measureVertical() local 640 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); in measureVertical() 667 final int totalLength = mTotalLength; in measureVertical() local 668 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical() 750 final int totalLength = mTotalLength; in measureVertical() local 751 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight + in measureVertical() 835 final int totalLength = mTotalLength; in measureVertical() local 836 mTotalLength = Math.max(totalLength, totalLength + child.getMeasuredHeight() + in measureVertical() 989 final int totalLength = mTotalLength; in measureHorizontal() local 990 mTotalLength = Math.max(totalLength, totalLength + in measureHorizontal() [all …]
|
D | AlertDialogLayout.java | 273 final int totalLength = getMeasuredHeight(); in onLayout() local 283 childTop = getPaddingTop() + bottom - top - totalLength; in onLayout() 288 childTop = getPaddingTop() + (bottom - top - totalLength) / 2; in onLayout()
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 788 final int totalLength = mTotalLength; in measureVertical() local 789 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); in measureVertical() 818 final int totalLength = mTotalLength; in measureVertical() local 819 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical() 899 final int totalLength = mTotalLength; in measureVertical() local 900 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight + in measureVertical() 977 final int totalLength = mTotalLength; in measureVertical() local 978 mTotalLength = Math.max(totalLength, totalLength + child.getMeasuredHeight() + in measureVertical() 1133 final int totalLength = mTotalLength; in measureHorizontal() local 1134 mTotalLength = Math.max(totalLength, totalLength + in measureHorizontal() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | CachedPathIteratorFactory.java | 82 float totalLength = 0; in CachedPathIteratorFactory() local 122 totalLength += mSegmentsLength[i]; in CachedPathIteratorFactory() 125 mTotalLength = totalLength; in CachedPathIteratorFactory() 220 float totalLength = 0; in getFlatPathLength() local 231 totalLength += Point2D.distance(previousPoint[0], previousPoint[1], segment[0], in getFlatPathLength() 241 return totalLength; in getFlatPathLength()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ParsedMessage.cpp | 169 size_t totalLength = offset + contentLength; in parse() local 171 if (size < totalLength) { in parse() 177 return totalLength; in parse()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AlertDialogLayout.java | 282 final int totalLength = getMeasuredHeight(); in onLayout() local 292 childTop = mPaddingTop + bottom - top - totalLength; in onLayout() 297 childTop = mPaddingTop + (bottom - top - totalLength) / 2; in onLayout()
|
/frameworks/base/core/java/android/net/ |
D | SSLCertificateSocketFactory.java | 314 int totalLength = 0; in toLengthPrefixedList() local 319 totalLength += 1 + s.length; in toLengthPrefixedList() 321 byte[] result = new byte[totalLength]; in toLengthPrefixedList()
|
/frameworks/base/core/jni/android/graphics/ |
D | Movie.cpp | 120 int totalLength = env->GetArrayLength(byteArray); in movie_decodeByteArray() local 121 if ((offset | length) < 0 || offset + length > totalLength) { in movie_decodeByteArray()
|
D | Path.cpp | 439 float totalLength = lengths.back(); in approximate() local 440 if (totalLength == 0) { in approximate() 444 totalLength = 1; in approximate() 455 approximation[approximationIndex++] = lengths[i] / totalLength; in approximate()
|
/frameworks/av/media/mtp/ |
D | MtpDataPacket.cpp | 479 uint32_t totalLength = MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_OFFSET); in read() local 480 allocate(totalLength); in read() 481 while (totalLength > static_cast<uint32_t>(length)) { in read() 483 request->buffer_length = totalLength - length; in read()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadHandler.java | 126 int totalLength = bodyLength + 1 + (bodyLength > 127 ? 2 : 1); in handleDataDownload() local 128 byte[] envelope = new byte[totalLength]; in handleDataDownload()
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
D | AnimatorInflaterCompat.java | 436 float totalLength = 0; in setupPathMotion() local 443 totalLength += pathLength; in setupPathMotion() 444 contourLengths.add(totalLength); in setupPathMotion() 451 final int numPoints = min(MAX_NUM_POINTS, (int) (totalLength / precision) + 1); in setupPathMotion() 458 float step = totalLength / (numPoints - 1); in setupPathMotion()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Path_Delegate.java | 493 float totalLength = 0; in nApproximate() local 501 totalLength += currentPoint.distance(previousPoint); in nApproximate() 518 result[i * 3] = walkedDistance / totalLength; in nApproximate()
|
/frameworks/support/compat/java/android/support/v4/graphics/ |
D | PathParser.java | 219 int totalLength = s.length(); in getFloats() local 224 while (startPosition < totalLength) { in getFloats()
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | PathParser_Delegate.java | 343 int totalLength = s.length(); in getFloats() local 348 while (startPosition < totalLength) { in getFloats()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 5913 int totalLength = 0; 5917 totalLength += accounts.length; 5919 if (totalLength == 0) { 5922 accountsArray = new Account[totalLength]; 5923 totalLength = 0; 5925 System.arraycopy(accountsOfType, 0, accountsArray, totalLength, 5927 totalLength += accountsOfType.length;
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 3727 int totalLength = 0; in writeTo() local 3736 totalLength += maxLength; in writeTo() 3741 totalLength += (mCols - 1) * 2; in writeTo() 3742 for (int i = 0; i < totalLength; ++i) { in writeTo()
|