/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
D | PercentEscaper.java | 216 char[] dest = new char[3]; in escape() local 217 dest[0] = '%'; in escape() 218 dest[2] = UPPER_HEX_DIGITS[cp & 0xF]; in escape() 219 dest[1] = UPPER_HEX_DIGITS[cp >>> 4]; in escape() 220 return dest; in escape() 224 char[] dest = new char[6]; in escape() local 225 dest[0] = '%'; in escape() 226 dest[3] = '%'; in escape() 227 dest[5] = UPPER_HEX_DIGITS[cp & 0xF]; in escape() 229 dest[4] = UPPER_HEX_DIGITS[0x8 | (cp & 0x3)]; in escape() [all …]
|
D | CharEscaper.java | 124 char[] dest = Platform.charBufferFromThreadLocal(); 125 int destSize = dest.length; 147 dest = growBuffer(dest, destIndex, destSize); 152 s.getChars(lastEscape, index, dest, destIndex); 158 System.arraycopy(r, 0, dest, destIndex, rlen); 171 dest = growBuffer(dest, destIndex, sizeNeeded); 173 s.getChars(lastEscape, slen, dest, destIndex); 176 return new String(dest, 0, destIndex); 200 private static char[] growBuffer(char[] dest, int index, int size) { 203 System.arraycopy(dest, 0, copy, 0, index);
|
D | UnicodeEscaper.java | 172 char[] dest = Platform.charBufferFromThreadLocal(); in escapeSlow() local 193 if (dest.length < sizeNeeded) { in escapeSlow() 195 dest = growBuffer(dest, destIndex, destLength); in escapeSlow() 199 s.getChars(unescapedChunkStart, index, dest, destIndex); in escapeSlow() 203 System.arraycopy(escaped, 0, dest, destIndex, escaped.length); in escapeSlow() 217 if (dest.length < endIndex) { in escapeSlow() 218 dest = growBuffer(dest, destIndex, endIndex); in escapeSlow() 220 s.getChars(unescapedChunkStart, end, dest, destIndex); in escapeSlow() 223 return new String(dest, 0, destIndex); in escapeSlow() 423 private static final char[] growBuffer(char[] dest, int index, int size) { in growBuffer() argument [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | Utf8ByteLengthFilterTest.java | 36 SpannableStringBuilder dest = new SpannableStringBuilder("abcdefgh"); // 8 bytes. in filter_belowMaxBytes_returnsNull() local 40 CharSequence filtered = lengthFilter.filter(source, /* start= */ 0, source.length(), dest, in filter_belowMaxBytes_returnsNull() 41 dest.length(), dest.length()); in filter_belowMaxBytes_returnsNull() 50 SpannableStringBuilder dest = new SpannableStringBuilder("abcdefghi"); // 9 bytes. in filter_maxBytes_returnsNull() local 54 CharSequence filtered = lengthFilter.filter(source, /* start= */ 0, source.length(), dest, in filter_maxBytes_returnsNull() 55 dest.length(), dest.length()); in filter_maxBytes_returnsNull() 64 SpannableStringBuilder dest = new SpannableStringBuilder("abcdefghi"); // 8 bytes. in filter_aboveMaxBytes_returnsFilteredSource() local 68 CharSequence filtered = lengthFilter.filter(source, /* start= */ 0, source.length(), dest, in filter_aboveMaxBytes_returnsFilteredSource() 69 dest.length(), dest.length()); in filter_aboveMaxBytes_returnsFilteredSource() 79 SpannableStringBuilder dest; in exerciseFilter() local [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/bluetooth/ |
D | Utf8ByteLengthFilterTest.java | 30 SpannableStringBuilder dest; in testFilter() local 38 dest = new SpannableStringBuilder("abcdefgh"); in testFilter() 39 dest.setFilters(filters); in testFilter() 41 dest.insert(1, source); in testFilter() 43 assertEquals(expectedString1, dest.toString()); in testFilter() 45 dest.replace(5, 8, source); in testFilter() 47 assertEquals(expectedString2, dest.toString()); in testFilter() 49 dest.insert(2, source); in testFilter() 50 assertEquals(expectedString2, dest.toString()); in testFilter() 52 dest.delete(1, 3); in testFilter() [all …]
|
/packages/services/Car/tools/emulator/ |
D | vhal_const_generate.py | 30 def printHeader(dest): argument 32 print("# Copyright (C) %s The Android Open Source Project" % year, file=dest) 33 print("#", file=dest) 34 print("# Licensed under the Apache License, Version 2.0 (the \"License\");", file=dest) 35 print("# you may not use this file except in compliance with the License.", file=dest) 36 print("# You may obtain a copy of the License at", file=dest) 37 print("#", file=dest) 38 print("# http://www.apache.org/licenses/LICENSE-2.0", file=dest) 39 print("#", file=dest) 40 print("# Unless required by applicable law or agreed to in writing, software", file=dest) [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/ |
D | defines.h | 49 char *dest, const int destSize) { in intArrayToCharArray() argument 58 dest[di++] = codePoint; in intArrayToCharArray() 61 dest[di++] = 0xC0 + (codePoint >> 6); in intArrayToCharArray() 62 dest[di++] = 0x80 + (codePoint & 0x3F); in intArrayToCharArray() 65 dest[di++] = 0xE0 + (codePoint >> 12); in intArrayToCharArray() 66 dest[di++] = 0x80 + ((codePoint >> 6) & 0x3F); in intArrayToCharArray() 67 dest[di++] = 0x80 + (codePoint & 0x3F); in intArrayToCharArray() 70 dest[di++] = 0xF0 + (codePoint >> 18); in intArrayToCharArray() 71 dest[di++] = 0x80 + ((codePoint >> 12) & 0x3F); in intArrayToCharArray() 72 dest[di++] = 0x80 + ((codePoint >> 6) & 0x3F); in intArrayToCharArray() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | Voicemail.java | 267 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 268 dest.writeLong(timestamp); in writeToParcel() 269 writeCharSequence(dest, number); in writeToParcel() 271 dest.writeInt(0); in writeToParcel() 273 dest.writeInt(1); in writeToParcel() 274 phoneAccount.writeToParcel(dest, flags); in writeToParcel() 276 dest.writeLong(id); in writeToParcel() 277 dest.writeLong(duration); in writeToParcel() 278 writeCharSequence(dest, source); in writeToParcel() 279 writeCharSequence(dest, providerData); in writeToParcel() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Message.java | 267 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 268 dest.writeLong(id); in writeToParcel() 269 dest.writeString(serverId); in writeToParcel() 270 dest.writeParcelable(uri, 0); in writeToParcel() 271 dest.writeParcelable(conversationUri, 0); in writeToParcel() 272 dest.writeString(subject); in writeToParcel() 273 dest.writeString(snippet); in writeToParcel() 274 dest.writeString(mFrom); in writeToParcel() 275 dest.writeString(mTo); in writeToParcel() 276 dest.writeString(mCc); in writeToParcel() [all …]
|
D | Account.java | 645 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 646 dest.writeString(displayName); in writeToParcel() 647 dest.writeString(senderName); in writeToParcel() 648 dest.writeString(type); in writeToParcel() 649 dest.writeString(accountManagerName); in writeToParcel() 650 dest.writeInt(providerVersion); in writeToParcel() 651 dest.writeParcelable(uri, 0); in writeToParcel() 652 dest.writeInt(capabilities); in writeToParcel() 653 dest.writeParcelable(folderListUri, 0); in writeToParcel() 654 dest.writeParcelable(fullFolderListUri, 0); in writeToParcel() [all …]
|
D | Conversation.java | 177 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 178 dest.writeLong(id); in writeToParcel() 179 dest.writeParcelable(uri, flags); in writeToParcel() 180 dest.writeString(subject); in writeToParcel() 181 dest.writeLong(dateMs); in writeToParcel() 182 dest.writeInt(hasAttachments ? 1 : 0); in writeToParcel() 183 dest.writeParcelable(messageListUri, 0); in writeToParcel() 184 dest.writeInt(sendingState); in writeToParcel() 185 dest.writeInt(priority); in writeToParcel() 186 dest.writeInt(read ? 1 : 0); in writeToParcel() [all …]
|
D | Settings.java | 340 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 341 dest.writeString((String) getNonNull(signature, sDefault.signature)); in writeToParcel() 342 dest.writeInt(getAutoAdvanceSetting()); in writeToParcel() 343 dest.writeInt(snapHeaders); in writeToParcel() 344 dest.writeInt(replyBehavior); in writeToParcel() 345 dest.writeInt(convListIcon); in writeToParcel() 346 dest.writeInt(confirmDelete ? 1 : 0); in writeToParcel() 347 dest.writeInt(confirmArchive? 1 : 0); in writeToParcel() 348 dest.writeInt(confirmSend? 1 : 0); in writeToParcel() 349 dest.writeString(getNonNull(defaultInbox, sDefault.defaultInbox).toString()); in writeToParcel() [all …]
|
D | Folder.java | 477 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 478 dest.writeInt(id); in writeToParcel() 479 dest.writeString(persistentId); in writeToParcel() 480 dest.writeParcelable(folderUri != null ? folderUri.fullUri : null, 0); in writeToParcel() 481 dest.writeString(name); in writeToParcel() 482 dest.writeInt(capabilities); in writeToParcel() 484 dest.writeInt(hasChildren ? 1 : 0); in writeToParcel() 485 dest.writeInt(syncWindow); in writeToParcel() 486 dest.writeParcelable(conversationListUri, 0); in writeToParcel() 487 dest.writeParcelable(childFoldersListUri, 0); in writeToParcel() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Policy.java | 472 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 474 dest.writeLong(mId); in writeToParcel() 475 dest.writeInt(mPasswordMode); in writeToParcel() 476 dest.writeInt(mPasswordMinLength); in writeToParcel() 477 dest.writeInt(mPasswordMaxFails); in writeToParcel() 478 dest.writeInt(mPasswordHistory); in writeToParcel() 479 dest.writeInt(mPasswordExpirationDays); in writeToParcel() 480 dest.writeInt(mPasswordComplexChars); in writeToParcel() 481 dest.writeInt(mMaxScreenLockTime); in writeToParcel() 482 dest.writeInt(mRequireRemoteWipe ? 1 : 0); in writeToParcel() [all …]
|
D | Account.java | 873 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 875 dest.writeLong(mId); in writeToParcel() 876 dest.writeString(mDisplayName); in writeToParcel() 877 dest.writeString(mEmailAddress); in writeToParcel() 878 dest.writeString(mSyncKey); in writeToParcel() 879 dest.writeInt(mSyncLookback); in writeToParcel() 880 dest.writeInt(mSyncInterval); in writeToParcel() 881 dest.writeLong(mHostAuthKeyRecv); in writeToParcel() 882 dest.writeLong(mHostAuthKeySend); in writeToParcel() 883 dest.writeInt(mFlags); in writeToParcel() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcStatsEntry.java | 278 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 279 dest.writeString(mPackage); in writeToParcel() 280 dest.writeInt(mUid); in writeToParcel() 281 dest.writeString(mName); in writeToParcel() 282 dest.writeStringList(mPackages); in writeToParcel() 283 dest.writeLong(mBgDuration); in writeToParcel() 284 dest.writeLong(mAvgBgMem); in writeToParcel() 285 dest.writeLong(mMaxBgMem); in writeToParcel() 286 dest.writeDouble(mBgWeight); in writeToParcel() 287 dest.writeLong(mRunDuration); in writeToParcel() [all …]
|
D | ProcStatsPackageEntry.java | 141 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 142 dest.writeString(mPackage); in writeToParcel() 143 dest.writeTypedList(mEntries); in writeToParcel() 144 dest.writeLong(mBgDuration); in writeToParcel() 145 dest.writeLong(mAvgBgMem); in writeToParcel() 146 dest.writeLong(mMaxBgMem); in writeToParcel() 147 dest.writeDouble(mBgWeight); in writeToParcel() 148 dest.writeLong(mRunDuration); in writeToParcel() 149 dest.writeLong(mAvgRunMem); in writeToParcel() 150 dest.writeLong(mMaxRunMem); in writeToParcel() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcStatsEntry.java | 278 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 279 dest.writeString(mPackage); in writeToParcel() 280 dest.writeInt(mUid); in writeToParcel() 281 dest.writeString(mName); in writeToParcel() 282 dest.writeStringList(mPackages); in writeToParcel() 283 dest.writeLong(mBgDuration); in writeToParcel() 284 dest.writeLong(mAvgBgMem); in writeToParcel() 285 dest.writeLong(mMaxBgMem); in writeToParcel() 286 dest.writeDouble(mBgWeight); in writeToParcel() 287 dest.writeLong(mRunDuration); in writeToParcel() [all …]
|
D | ProcStatsPackageEntry.java | 141 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 142 dest.writeString(mPackage); in writeToParcel() 143 dest.writeTypedList(mEntries); in writeToParcel() 144 dest.writeLong(mBgDuration); in writeToParcel() 145 dest.writeLong(mAvgBgMem); in writeToParcel() 146 dest.writeLong(mMaxBgMem); in writeToParcel() 147 dest.writeDouble(mBgWeight); in writeToParcel() 148 dest.writeLong(mRunDuration); in writeToParcel() 149 dest.writeLong(mAvgRunMem); in writeToParcel() 150 dest.writeLong(mMaxRunMem); in writeToParcel() [all …]
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/ |
D | AccountTests.java | 32 final Parcel dest = Parcel.obtain(); in testSerializeDeserialize() local 33 dest.writeInt(0); in testSerializeDeserialize() 34 dest.writeString("accountUri"); in testSerializeDeserialize() 35 dest.writeInt(12345); in testSerializeDeserialize() 36 dest.writeString("foldersList"); in testSerializeDeserialize() 37 dest.writeString("searchUri"); in testSerializeDeserialize() 38 dest.writeString("fromAddresses"); in testSerializeDeserialize() 39 dest.writeString("expungeMessageUri"); in testSerializeDeserialize() 40 dest.writeString("undoUri"); in testSerializeDeserialize() 41 dest.writeString("settingIntentUri"); in testSerializeDeserialize() [all …]
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarPropertyConfig.java | 332 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 333 dest.writeInt(mAccess); in writeToParcel() 334 dest.writeInt(mAreaType); in writeToParcel() 335 dest.writeInt(mChangeMode); in writeToParcel() 336 dest.writeInt(mConfigArray.size()); in writeToParcel() 338 dest.writeInt(mConfigArray.get(i)); in writeToParcel() 340 dest.writeString(mConfigString); in writeToParcel() 341 dest.writeFloat(mMaxSampleRate); in writeToParcel() 342 dest.writeFloat(mMinSampleRate); in writeToParcel() 343 dest.writeInt(mPropertyId); in writeToParcel() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/exchange/ |
D | ExchangeAttachment.java | 48 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 49 super.writeToParcel(dest, flags); in writeToParcel() 50 dest.writeString(contentId); in writeToParcel() 51 dest.writeLong(messageKey); in writeToParcel() 52 dest.writeString(location); in writeToParcel() 53 dest.writeString(encoding); in writeToParcel() 54 dest.writeString(content); in writeToParcel() 55 dest.writeInt(flags); in writeToParcel() 56 dest.writeLong(accountKey); in writeToParcel()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | SmsSender.java | 183 public static SendResult sendMessage(final Context context, final int subId, String dest, in sendMessage() argument 188 "dest=" + dest + " message=" + message + in sendMessage() 199 (MmsSmsUtils.isEmailAddress(dest) || MmsSmsUtils.isAlias(dest, subId))) { in sendMessage() 201 message = dest + " " + message; in sendMessage() 203 dest = MmsConfig.get(subId).getEmailGateway(); in sendMessage() 208 dest = PhoneNumberUtils.stripSeparators(dest); in sendMessage() 210 if (TextUtils.isEmpty(dest)) { in sendMessage() 224 context, subId, dest, messages, serviceCenter, requireDeliveryReport, messageUri); in sendMessage() 248 "dest=" + dest + " message=" + message + " result=" + pendingResult); in sendMessage() 254 private static void sendInternal(final Context context, final int subId, String dest, in sendInternal() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMetaData.java | 102 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 103 dest.writeParcelable(uri, 0); in writeToParcel() 104 dest.writeString(accountName); in writeToParcel() 105 dest.writeString(accountType); in writeToParcel() 106 dest.writeString(dataSet); in writeToParcel() 107 dest.writeLong(groupId); in writeToParcel() 108 dest.writeString(groupName); in writeToParcel() 109 dest.writeInt(readOnly ? 1 : 0); in writeToParcel() 110 dest.writeInt(defaultGroup ? 1 : 0); in writeToParcel() 111 dest.writeInt(favorites ? 1 : 0); in writeToParcel() [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_indexing.cpp | 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,lo… in db_LeanPartitionOnPivot() argument 46 d_bottom=dest+first; in db_LeanPartitionOnPivot() 47 d_top=dest+last; in db_LeanPartitionOnPivot() 55 *first_equal=d_bottom-dest; in db_LeanPartitionOnPivot() 56 *last_equal=d_top-dest; in db_LeanPartitionOnPivot() 69 double *dest; in db_LeanQuickSelect() local 74 dest=tempA; in db_LeanQuickSelect() 79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); in db_LeanQuickSelect() 93 dest=tempA; in db_LeanQuickSelect()
|