/frameworks/base/obex/javax/obex/ |
D | ServerSession.java | 257 int totalLength = 3; in sendResponse() local 261 totalLength += header.length; in sendResponse() 262 data = new byte[totalLength]; in sendResponse() 264 data[1] = (byte)(totalLength >> 8); in sendResponse() 265 data[2] = (byte)totalLength; in sendResponse() 268 data = new byte[totalLength]; in sendResponse() 271 data[2] = (byte)totalLength; in sendResponse() 291 int totalLength = 3; in handleSetPathRequest() local 305 totalLength = 3; in handleSetPathRequest() 378 totalLength += head.length; in handleSetPathRequest() [all …]
|
D | ClientSession.java | 79 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/ |
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/tests/BrowserTestPlugin/jni/event/ |
D | EventPlugin.cpp | 119 int totalLength = strlen(jsBegin) + length + strlen(jsEnd); in printToDiv() local 120 char* beginMem = (char*)browser->memalloc(totalLength); in printToDiv() 129 gLogI.log(kDebug_ANPLogType, "text: %.*s\n", totalLength, (char*)beginMem); in printToDiv() 132 NPString script = { (char*)beginMem, totalLength }; in printToDiv()
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 677 final int totalLength = mTotalLength; in measureVertical() local 678 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); in measureVertical() 704 final int totalLength = mTotalLength; in measureVertical() local 705 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical() 786 final int totalLength = mTotalLength; in measureVertical() local 787 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight + in measureVertical() 869 final int totalLength = mTotalLength; in measureVertical() local 870 mTotalLength = Math.max(totalLength, totalLength + child.getMeasuredHeight() + in measureVertical() 1022 final int totalLength = mTotalLength; in measureHorizontal() local 1023 mTotalLength = Math.max(totalLength, totalLength + in measureHorizontal() [all …]
|
/frameworks/av/media/libstagefright/wifi-display/ |
D | ParsedMessage.cpp | 160 size_t totalLength = offset + contentLength; in parse() local 162 if (size < totalLength) { in parse() 168 return totalLength; in parse()
|
/frameworks/base/core/jni/android/graphics/ |
D | Movie.cpp | 104 int totalLength = env->GetArrayLength(byteArray); in movie_decodeByteArray() local 105 if ((offset | length) < 0 || offset + length > totalLength) { in movie_decodeByteArray()
|
/frameworks/base/core/java/android/net/ |
D | SSLCertificateSocketFactory.java | 279 int totalLength = 0; in toNpnProtocolsList() local 284 totalLength += 1 + s.length; in toNpnProtocolsList() 286 byte[] result = new byte[totalLength]; in toNpnProtocolsList()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadHandler.java | 88 int totalLength = bodyLength + 1 + (bodyLength > 127 ? 2 : 1); in handleDataDownload() local 90 byte[] envelope = new byte[totalLength]; in handleDataDownload()
|
/frameworks/av/media/mtp/ |
D | MtpDataPacket.cpp | 385 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/base/services/java/com/android/server/accounts/ |
D | AccountManagerService.java | 2863 int totalLength = 0; in getAccountsFromCacheLocked() local 2865 totalLength += accounts.length; in getAccountsFromCacheLocked() 2867 if (totalLength == 0) { in getAccountsFromCacheLocked() 2870 Account[] accounts = new Account[totalLength]; in getAccountsFromCacheLocked() 2871 totalLength = 0; in getAccountsFromCacheLocked() 2873 System.arraycopy(accountsOfType, 0, accounts, totalLength, in getAccountsFromCacheLocked() 2875 totalLength += accountsOfType.length; in getAccountsFromCacheLocked()
|
/frameworks/base/services/java/com/android/server/content/ |
D | SyncManager.java | 2786 int totalLength = 0; in writeTo() local 2795 totalLength += maxLength; in writeTo() 2799 totalLength += (mCols - 1) * 2; in writeTo() 2800 for (int i = 0; i < totalLength; ++i) { in writeTo()
|