/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/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 | 55 ssize_t totalLength, 204 ssize_t totalLength, in descramble() argument 219 if (!ensureBufferCapacity(totalLength)) { in descramble() 224 (const void*)((const uint8_t*)srcPtr + srcOffset), totalLength); in descramble() 250 if (*bytesWritten > 0 && (ssize_t) *bytesWritten <= totalLength) { in descramble() 389 ssize_t totalLength = getSubSampleInfo( in android_media_MediaDescrambler_native_descramble() local 392 if (totalLength < 0) { in android_media_MediaDescrambler_native_descramble() 401 env, srcBuf, srcOffset, srcLimit, totalLength, &srcPtr, &srcArray); in android_media_MediaDescrambler_native_descramble() 408 env, dstBuf, dstOffset, dstLimit, totalLength, &dstPtr, &dstArray); in android_media_MediaDescrambler_native_descramble() 429 scramblingControl, totalLength, subSamples, in android_media_MediaDescrambler_native_descramble()
|
/frameworks/base/telephony/common/com/android/internal/telephony/util/ |
D | ArrayUtils.java | 87 int totalLength = 0; in concatElements() local 93 totalLength += item.length; in concatElements() 97 if (totalLength == 0) { in concatElements() 101 final T[] all = (T[]) Array.newInstance(kind, totalLength); in concatElements()
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 824 final int totalLength = mTotalLength; in measureVertical() local 825 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); in measureVertical() 854 final int totalLength = mTotalLength; in measureVertical() local 855 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical() 935 final int totalLength = mTotalLength; in measureVertical() local 936 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight + in measureVertical() 1014 final int totalLength = mTotalLength; in measureVertical() local 1015 mTotalLength = Math.max(totalLength, totalLength + child.getMeasuredHeight() + in measureVertical() 1170 final int totalLength = mTotalLength; in measureHorizontal() local 1171 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/base/core/java/com/android/internal/widget/ |
D | AlertDialogLayout.java | 284 final int totalLength = getMeasuredHeight(); in onLayout() local 294 childTop = mPaddingTop + bottom - top - totalLength; in onLayout() 299 childTop = mPaddingTop + (bottom - top - totalLength) / 2; in onLayout()
|
/frameworks/base/core/java/android/net/ |
D | SSLCertificateSocketFactory.java | 361 int totalLength = 0; in toLengthPrefixedList() local 366 totalLength += 1 + s.length; in toLengthPrefixedList() 368 byte[] result = new byte[totalLength]; in toLengthPrefixedList()
|
/frameworks/base/core/jni/android/graphics/ |
D | Movie.cpp | 121 int totalLength = env->GetArrayLength(byteArray); in movie_decodeByteArray() local 122 if ((offset | length) < 0 || offset + length > totalLength) { in movie_decodeByteArray()
|
D | Path.cpp | 437 float totalLength = lengths.back(); in approximate() local 438 if (totalLength == 0) { in approximate() 442 totalLength = 1; in approximate() 453 approximation[approximationIndex++] = lengths[i] / totalLength; in approximate()
|
/frameworks/av/media/mtp/ |
D | MtpDataPacket.cpp | 480 uint32_t totalLength = MtpPacket::getUInt32(MTP_CONTAINER_LENGTH_OFFSET); in read() local 481 allocate(totalLength); in read() 482 while (totalLength > static_cast<uint32_t>(length)) { in read() 484 request->buffer_length = totalLength - length; in read()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadHandler.java | 130 int totalLength = bodyLength + 1 + (bodyLength > 127 ? 2 : 1); in handleDataDownload() local 132 byte[] envelope = new byte[totalLength]; in handleDataDownload()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Path_Delegate.java | 503 float totalLength = 0; in nApproximate() local 511 totalLength += currentPoint.distance(previousPoint); in nApproximate() 528 result[i * 3] = walkedDistance / totalLength; in nApproximate()
|
/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 | 5992 int totalLength = 0; 5996 totalLength += accounts.length; 5998 if (totalLength == 0) { 6001 accountsArray = new Account[totalLength]; 6002 totalLength = 0; 6004 System.arraycopy(accountsOfType, 0, accountsArray, totalLength, 6006 totalLength += accountsOfType.length;
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 4001 int totalLength = 0; in writeTo() local 4010 totalLength += maxLength; in writeTo() 4015 totalLength += (mCols - 1) * 2; in writeTo() 4016 for (int i = 0; i < totalLength; ++i) { in writeTo()
|