/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/Settings/tests/src/com/android/settings/bluetooth/ |
D | Utf8ByteLengthFilterTest.java | 49 SpannableStringBuilder dest; in testFilter() local 57 dest = new SpannableStringBuilder("abcdefgh"); in testFilter() 58 dest.setFilters(filters); in testFilter() 60 dest.insert(1, source); in testFilter() 62 assertEquals(expectedString1, dest.toString()); in testFilter() 64 dest.replace(5, 8, source); in testFilter() 66 assertEquals(expectedString2, dest.toString()); in testFilter() 68 dest.insert(2, source); in testFilter() 69 assertEquals(expectedString2, dest.toString()); in testFilter() 71 dest.delete(1, 3); in testFilter() [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 | 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 …]
|
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 …]
|
/packages/inputmethods/LatinIME/native/jni/src/ |
D | defines.h | 47 char *dest, const int destSize) { in intArrayToCharArray() argument 56 dest[di++] = codePoint; in intArrayToCharArray() 59 dest[di++] = 0xC0 + (codePoint >> 6); in intArrayToCharArray() 60 dest[di++] = 0x80 + (codePoint & 0x3F); in intArrayToCharArray() 63 dest[di++] = 0xE0 + (codePoint >> 12); in intArrayToCharArray() 64 dest[di++] = 0x80 + ((codePoint >> 6) & 0x3F); in intArrayToCharArray() 65 dest[di++] = 0x80 + (codePoint & 0x3F); in intArrayToCharArray() 68 dest[di++] = 0xF0 + (codePoint >> 18); in intArrayToCharArray() 69 dest[di++] = 0x80 + ((codePoint >> 12) & 0x3F); in intArrayToCharArray() 70 dest[di++] = 0x80 + ((codePoint >> 6) & 0x3F); in intArrayToCharArray() [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 …]
|
D | Mailbox.java | 806 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 807 dest.writeParcelable(mBaseUri, flags); in writeToParcel() 808 dest.writeLong(mId); in writeToParcel() 809 dest.writeString(mDisplayName); in writeToParcel() 810 dest.writeString(mServerId); in writeToParcel() 811 dest.writeString(mParentServerId); in writeToParcel() 812 dest.writeLong(mParentKey); in writeToParcel() 813 dest.writeLong(mAccountKey); in writeToParcel() 814 dest.writeInt(mType); in writeToParcel() 815 dest.writeInt(mDelimiter); in writeToParcel() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcStatsEntry.java | 269 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 270 dest.writeString(mPackage); in writeToParcel() 271 dest.writeInt(mUid); in writeToParcel() 272 dest.writeString(mName); in writeToParcel() 273 dest.writeStringList(mPackages); in writeToParcel() 274 dest.writeLong(mBgDuration); in writeToParcel() 275 dest.writeLong(mAvgBgMem); in writeToParcel() 276 dest.writeLong(mMaxBgMem); in writeToParcel() 277 dest.writeDouble(mBgWeight); in writeToParcel() 278 dest.writeLong(mRunDuration); in writeToParcel() [all …]
|
D | ProcStatsPackageEntry.java | 139 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 140 dest.writeString(mPackage); in writeToParcel() 141 dest.writeTypedList(mEntries); in writeToParcel() 142 dest.writeLong(mBgDuration); in writeToParcel() 143 dest.writeLong(mAvgBgMem); in writeToParcel() 144 dest.writeLong(mMaxBgMem); in writeToParcel() 145 dest.writeDouble(mBgWeight); in writeToParcel() 146 dest.writeLong(mRunDuration); in writeToParcel() 147 dest.writeLong(mAvgRunMem); in writeToParcel() 148 dest.writeLong(mMaxRunMem); in writeToParcel() [all …]
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardTile.java | 145 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 146 dest.writeLong(id); in writeToParcel() 147 dest.writeInt(titleRes); in writeToParcel() 148 TextUtils.writeToParcel(title, dest, flags); in writeToParcel() 149 dest.writeInt(summaryRes); in writeToParcel() 150 TextUtils.writeToParcel(summary, dest, flags); in writeToParcel() 151 dest.writeInt(iconRes); in writeToParcel() 152 dest.writeString(iconPkg); in writeToParcel() 153 dest.writeString(fragment); in writeToParcel() 154 dest.writeBundle(fragmentArguments); in writeToParcel() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MessageData.java | 863 public void writeToParcel(final Parcel dest, final int flags) { in writeToParcel() argument 864 dest.writeString(mMessageId); in writeToParcel() 865 dest.writeString(mConversationId); in writeToParcel() 866 dest.writeString(mParticipantId); in writeToParcel() 867 dest.writeString(mSelfId); in writeToParcel() 868 dest.writeLong(mSentTimestamp); in writeToParcel() 869 dest.writeLong(mReceivedTimestamp); in writeToParcel() 870 dest.writeInt(mRead ? 1 : 0); in writeToParcel() 871 dest.writeInt(mSeen ? 1 : 0); in writeToParcel() 872 dest.writeInt(mProtocol); in writeToParcel() [all …]
|
D | ParticipantData.java | 539 public void writeToParcel(final Parcel dest, final int flags) { in writeToParcel() argument 540 dest.writeString(mParticipantId); in writeToParcel() 541 dest.writeInt(mSubId); in writeToParcel() 542 dest.writeInt(mSlotId); in writeToParcel() 543 dest.writeString(mNormalizedDestination); in writeToParcel() 544 dest.writeString(mSendDestination); in writeToParcel() 545 dest.writeString(mDisplayDestination); in writeToParcel() 546 dest.writeString(mFullName); in writeToParcel() 547 dest.writeString(mFirstName); in writeToParcel() 548 dest.writeString(mProfilePhotoUri); 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/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallFlowAnalytics.java | 178 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 179 dest.writeInt(mFlags); in writeToParcel() 180 dest.writeByte(mResult); in writeToParcel() 181 dest.writeInt(mPackageManagerInstallResult); in writeToParcel() 182 dest.writeLong(mStartTimestampMillis); in writeToParcel() 183 dest.writeLong(mPackageInfoObtainedTimestampMillis); in writeToParcel() 184 dest.writeLong(mInstallButtonClickTimestampMillis); in writeToParcel() 185 dest.writeLong(mEndTimestampMillis); in writeToParcel() 186 dest.writeString(mPackageUri); in writeToParcel() 187 writeBoolean(dest, mLogged); in writeToParcel() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Event.java | 180 public final void copyTo(Event dest) { in copyTo() argument 181 dest.id = id; in copyTo() 182 dest.title = title; in copyTo() 183 dest.color = color; in copyTo() 184 dest.location = location; in copyTo() 185 dest.allDay = allDay; in copyTo() 186 dest.startDay = startDay; in copyTo() 187 dest.endDay = endDay; in copyTo() 188 dest.startTime = startTime; in copyTo() 189 dest.endTime = endTime; in copyTo() [all …]
|
/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/Gallery2/jni_jpegstream/src/ |
D | jpeg_hook.cpp | 25 DestManager *dst = reinterpret_cast<DestManager*>(cinfo->dest); in Mgr_init_destination_fcn() 31 DestManager *dst = reinterpret_cast<DestManager*>(cinfo->dest); in Mgr_empty_output_buffer_fcn() 42 DestManager *dst = reinterpret_cast<DestManager*>(cinfo->dest); in Mgr_term_destination_fcn() 50 if (cinfo->dest != NULL) { in MakeDst() 55 cinfo->dest = (struct jpeg_destination_mgr *) (*cinfo->mem->alloc_small) in MakeDst() 57 if (cinfo->dest == NULL) { in MakeDst() 61 memset(cinfo->dest, '0', size); in MakeDst() 63 DestManager *d = reinterpret_cast<DestManager*>(cinfo->dest); in MakeDst() 75 DestManager* d = reinterpret_cast<DestManager*>(cinfo->dest); in UpdateDstEnv() 80 if (cinfo != NULL && cinfo->dest != NULL) { in CleanDst() [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/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | Action.java | 353 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 354 dest.writeString(mKey); in writeToParcel() 355 dest.writeString(mTitle); in writeToParcel() 356 dest.writeString(mDescription); in writeToParcel() 357 dest.writeParcelable(mIntent, flags); in writeToParcel() 358 dest.writeString(mResourcePackageName); in writeToParcel() 359 dest.writeInt(mDrawableResource); in writeToParcel() 360 dest.writeParcelable(mIconUri, flags); in writeToParcel() 361 dest.writeInt(mChecked ? 1 : 0); in writeToParcel() 362 dest.writeInt(mMultilineDescription ? 1 : 0); in writeToParcel() [all …]
|