Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 205) sorted by relevance

123456789

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DUtf8ByteLengthFilterTest.java36 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/
DUtf8ByteLengthFilterTest.java30 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/
Dvhal_const_generate.py30 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/
Ddefines.h49 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/
DVoicemail.java267 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcStatsEntry.java278 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 …]
DProcStatsPackageEntry.java141 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/Settings/src/com/android/settings/applications/
DProcStatsEntry.java278 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 …]
DProcStatsPackageEntry.java141 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/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DContact.java553 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
554 dest.writeLong(mContactId); in writeToParcel()
555 dest.writeLong(mRawContactId); in writeToParcel()
556 dest.writeString(mLookupKey); in writeToParcel()
557 dest.writeString(mAccountName); in writeToParcel()
558 dest.writeString(mDisplayName); in writeToParcel()
559 dest.writeString(mDisplayNameAlt); in writeToParcel()
560 dest.writeString(mSortKeyPrimary); in writeToParcel()
561 dest.writeString(mSortKeyAlt); in writeToParcel()
562 dest.writeString(mPhoneBookLabel); in writeToParcel()
[all …]
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DMetaBugReport.java114 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
115 dest.writeInt(getId()); in writeToParcel()
116 dest.writeString(getTimestamp()); in writeToParcel()
117 dest.writeString(getTitle()); in writeToParcel()
118 dest.writeString(getUserName()); in writeToParcel()
119 dest.writeString(getFilePath()); in writeToParcel()
120 dest.writeString(getBugReportFileName()); in writeToParcel()
121 dest.writeString(getAudioFileName()); in writeToParcel()
122 dest.writeInt(getStatus()); in writeToParcel()
123 dest.writeString(getStatusMessage()); in writeToParcel()
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java332 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 …]
DCarPropertyValue.java144 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
145 dest.writeInt(mPropertyId); in writeToParcel()
146 dest.writeInt(mAreaId); in writeToParcel()
147 dest.writeInt(mStatus); in writeToParcel()
148 dest.writeLong(mTimestamp); in writeToParcel()
151 dest.writeString(valueClass == null ? null : valueClass.getName()); in writeToParcel()
155 dest.writeBlob(((String)mValue).getBytes(DEFAULT_CHARSET)); in writeToParcel()
157 dest.writeBlob((byte[]) mValue); in writeToParcel()
159 dest.writeValue(mValue); in writeToParcel()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMetaData.java102 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/Messaging/src/com/android/messaging/sms/
DSmsSender.java180 public static SendResult sendMessage(final Context context, final int subId, String dest, in sendMessage() argument
185 "dest=" + dest + " message=" + message + in sendMessage()
196 (MmsSmsUtils.isEmailAddress(dest) || MmsSmsUtils.isAlias(dest, subId))) { in sendMessage()
198 message = dest + " " + message; in sendMessage()
200 dest = MmsConfig.get(subId).getEmailGateway(); in sendMessage()
205 dest = PhoneNumberUtils.stripSeparators(dest); in sendMessage()
207 if (TextUtils.isEmpty(dest)) { in sendMessage()
221 context, subId, dest, messages, serviceCenter, requireDeliveryReport, messageUri); in sendMessage()
245 "dest=" + dest + " message=" + message + " result=" + pendingResult); in sendMessage()
251 private static void sendInternal(final Context context, final int subId, String dest, in sendInternal() argument
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.cpp36 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()
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DSecondaryInfo.java118 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
119 dest.writeByte((byte) (shouldShow() ? 1 : 0)); in writeToParcel()
120 dest.writeString(name()); in writeToParcel()
121 dest.writeByte((byte) (nameIsNumber() ? 1 : 0)); in writeToParcel()
122 dest.writeString(label()); in writeToParcel()
123 dest.writeString(providerLabel()); in writeToParcel()
124 dest.writeByte((byte) (isConference() ? 1 : 0)); in writeToParcel()
125 dest.writeByte((byte) (isVideoCall() ? 1 : 0)); in writeToParcel()
126 dest.writeByte((byte) (isFullscreen() ? 1 : 0)); in writeToParcel()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPickRawContactLoader.java253 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
254 dest.writeLong(contactId); in writeToParcel()
255 dest.writeInt(isUserProfile ? 1 : 0); in writeToParcel()
256 dest.writeInt(showReadOnly ? 1 : 0); in writeToParcel()
257 dest.writeTypedList(rawContacts); in writeToParcel()
301 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
302 dest.writeLong(id); in writeToParcel()
303 dest.writeLong(photoId); in writeToParcel()
304 dest.writeString(displayName); in writeToParcel()
305 dest.writeString(displayNameAlt); in writeToParcel()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java180 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/services/Car/car-lib/src/android/car/projection/
DProjectionStatus.java130 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
131 dest.writeString(mPackageName); in writeToParcel()
132 dest.writeInt(mState); in writeToParcel()
133 dest.writeInt(mTransport); in writeToParcel()
134 dest.writeBundle(mExtras); in writeToParcel()
135 dest.writeTypedList(mConnectedMobileDevices); in writeToParcel()
299 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
300 dest.writeInt(mId); in writeToParcel()
301 dest.writeString(mName); in writeToParcel()
302 dest.writeIntArray(mAvailableTransports); in writeToParcel()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessageData.java869 public void writeToParcel(final Parcel dest, final int flags) { in writeToParcel() argument
870 dest.writeString(mMessageId); in writeToParcel()
871 dest.writeString(mConversationId); in writeToParcel()
872 dest.writeString(mParticipantId); in writeToParcel()
873 dest.writeString(mSelfId); in writeToParcel()
874 dest.writeLong(mSentTimestamp); in writeToParcel()
875 dest.writeLong(mReceivedTimestamp); in writeToParcel()
876 dest.writeInt(mRead ? 1 : 0); in writeToParcel()
877 dest.writeInt(mSeen ? 1 : 0); in writeToParcel()
878 dest.writeInt(mProtocol); in writeToParcel()
[all …]
/packages/apps/Gallery2/jni_jpegstream/src/
Djpeg_hook.cpp25 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/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_nodes_cache.h104 void popTerminal(DicNode *dest) { in popTerminal() argument
105 mTerminalDicNodes->copyPop(dest); in popTerminal()
108 void popActive(DicNode *dest) { in popActive() argument
109 mActiveDicNodes->copyPop(dest); in popActive()
147 DicNodePriorityQueue *src, DicNodePriorityQueue **dest) { in moveNodesAndReturnReusableEmptyQueue() argument
149 const int destMaxSize = (*dest)->getMaxSize(); in moveNodesAndReturnReusableEmptyQueue()
150 DicNodePriorityQueue *tmp = *dest; in moveNodesAndReturnReusableEmptyQueue()
151 *dest = src; in moveNodesAndReturnReusableEmptyQueue()
152 (*dest)->setMaxSize(destMaxSize); in moveNodesAndReturnReusableEmptyQueue()
/packages/apps/Contacts/src/com/android/contacts/logging/
DSearchState.java90 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
91 dest.writeInt(queryLength); in writeToParcel()
92 dest.writeInt(numPartitions); in writeToParcel()
93 dest.writeInt(numResults); in writeToParcel()
94 dest.writeInt(numResultsInSelectedPartition); in writeToParcel()
95 dest.writeInt(selectedPartition); in writeToParcel()
96 dest.writeInt(selectedIndexInPartition); in writeToParcel()
97 dest.writeInt(selectedIndex); in writeToParcel()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DAppBlockingPackageInfoTest.java34 Parcel dest = Parcel.obtain(); in testParcellingSystemInfo() local
35 carServiceInfo.writeToParcel(dest, 0); in testParcellingSystemInfo()
36 dest.setDataPosition(0); in testParcellingSystemInfo()
37 AppBlockingPackageInfo carServiceInfoRead = new AppBlockingPackageInfo(dest); in testParcellingSystemInfo()
44 Parcel dest = Parcel.obtain(); in testParcellingNonSystemInfo() local
45 selfInfo.writeToParcel(dest, 0); in testParcellingNonSystemInfo()
46 dest.setDataPosition(0); in testParcellingNonSystemInfo()
47 AppBlockingPackageInfo selfInfoRead = new AppBlockingPackageInfo(dest); in testParcellingNonSystemInfo()

123456789