Home
last modified time | relevance | path

Searched refs:writeInt (Results 1 – 25 of 164) sorted by relevance

1234567

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java305 writeInt(buf, IH_MAGIC, MAGIC_INDEX_FILE); in resetCache()
306 writeInt(buf, IH_MAX_ENTRIES, maxEntries); in resetCache()
307 writeInt(buf, IH_MAX_BYTES, maxBytes); in resetCache()
308 writeInt(buf, IH_ACTIVE_REGION, 0); in resetCache()
309 writeInt(buf, IH_ACTIVE_ENTRIES, 0); in resetCache()
310 writeInt(buf, IH_ACTIVE_BYTES, DATA_HEADER_SIZE); in resetCache()
311 writeInt(buf, IH_VERSION, mVersion); in resetCache()
312 writeInt(buf, IH_CHECKSUM, checkSum(buf, 0, IH_CHECKSUM)); in resetCache()
321 writeInt(buf, 0, MAGIC_DATA_FILE); in resetCache()
332 writeInt(mIndexHeader, IH_ACTIVE_REGION, mActiveRegion); in flipRegion()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfileData.java106 writeInt(0); in dumpToFile()
107 writeInt(3); in dumpToFile()
108 writeInt(1); in dumpToFile()
109 writeInt(20000); // Sampling period: 20ms in dumpToFile()
110 writeInt(0); in dumpToFile()
116 writeInt(0); in dumpToFile()
117 writeInt(1); in dumpToFile()
118 writeInt(0); in dumpToFile()
132 writeInt(node.sampleCount); in writeOneStack()
133 writeInt(depth); in writeOneStack()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DPolicy.java475 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()
483 dest.writeInt(mRequireEncryption ? 1 : 0); in writeToParcel()
484 dest.writeInt(mRequireEncryptionExternal ? 1 : 0); in writeToParcel()
[all …]
DMailbox.java814 dest.writeInt(mType); in writeToParcel()
815 dest.writeInt(mDelimiter); in writeToParcel()
817 dest.writeInt(mSyncLookback); in writeToParcel()
818 dest.writeInt(mSyncInterval); in writeToParcel()
820 dest.writeInt(mFlagVisible ? 1 : 0); in writeToParcel()
821 dest.writeInt(mFlags); in writeToParcel()
824 dest.writeInt(mUiSyncStatus); in writeToParcel()
825 dest.writeInt(mUiLastSyncResult); in writeToParcel()
826 dest.writeInt(mTotalCount); in writeToParcel()
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/
DCustomAppWidgetProviderInfo.java75 out.writeInt(providerId); in writeToParcel()
79 out.writeInt(initialLayout); in writeToParcel()
80 out.writeInt(icon); in writeToParcel()
81 out.writeInt(previewImage); in writeToParcel()
83 out.writeInt(resizeMode); in writeToParcel()
84 out.writeInt(spanX); in writeToParcel()
85 out.writeInt(spanY); in writeToParcel()
86 out.writeInt(minSpanX); in writeToParcel()
87 out.writeInt(minSpanY); in writeToParcel()
/packages/apps/Messaging/src/com/android/messaging/sms/
DDatabaseMessages.java246 out.writeInt(mType); in writeToParcel()
248 out.writeInt(mStatus); in writeToParcel()
249 out.writeInt(mRead ? 1 : 0); in writeToParcel()
250 out.writeInt(mSeen ? 1 : 0); in writeToParcel()
251 out.writeInt(mSubId); in writeToParcel()
530 out.writeInt(mType); in writeToParcel()
532 out.writeInt(mStatus); in writeToParcel()
533 out.writeInt(mRead ? 1 : 0); in writeToParcel()
534 out.writeInt(mSeen ? 1 : 0); in writeToParcel()
535 out.writeInt(mSubId); in writeToParcel()
[all …]
/packages/apps/Contacts/src/com/android/contacts/logging/
DSearchState.java91 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/providers/CallLogProvider/tests/src/com/android/calllogbackup/
DCallLogBackupAgentTest.java122 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_NoCalls()
123 inOrder.verify(mDataOutput).writeInt(0 /* size */); in testWriteState_NoCalls()
135 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_OneCall()
136 inOrder.verify(mDataOutput).writeInt(1); in testWriteState_OneCall()
137 inOrder.verify(mDataOutput).writeInt(101 /* call-ID */); in testWriteState_OneCall()
151 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION); in testWriteState_MultipleCalls()
152 inOrder.verify(mDataOutput).writeInt(3 /* size */); in testWriteState_MultipleCalls()
153 inOrder.verify(mDataOutput).writeInt(101 /* call-ID */); in testWriteState_MultipleCalls()
154 inOrder.verify(mDataOutput).writeInt(102 /* call-ID */); in testWriteState_MultipleCalls()
155 inOrder.verify(mDataOutput).writeInt(103 /* call-ID */); in testWriteState_MultipleCalls()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DSettings.java342 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()
351 dest.writeInt(forceReplyFromDefault ? 1 : 0); in writeToParcel()
352 dest.writeInt(maxAttachmentSize); in writeToParcel()
353 dest.writeInt(swipe); in writeToParcel()
[all …]
DConversation.java182 dest.writeInt(hasAttachments ? 1 : 0); in writeToParcel()
184 dest.writeInt(sendingState); in writeToParcel()
185 dest.writeInt(priority); in writeToParcel()
186 dest.writeInt(read ? 1 : 0); in writeToParcel()
187 dest.writeInt(seen ? 1 : 0); in writeToParcel()
188 dest.writeInt(starred ? 1 : 0); in writeToParcel()
190 dest.writeInt(convFlags); in writeToParcel()
191 dest.writeInt(personalLevel); in writeToParcel()
192 dest.writeInt(spam ? 1 : 0); in writeToParcel()
193 dest.writeInt(phishing ? 1 : 0); in writeToParcel()
[all …]
DMessage.java282 dest.writeInt(embedsExternalResources ? 1 : 0); in writeToParcel()
284 dest.writeInt(draftType); in writeToParcel()
285 dest.writeInt(appendRefMessageContent ? 1 : 0); in writeToParcel()
286 dest.writeInt(hasAttachments ? 1 : 0); in writeToParcel()
289 dest.writeInt(alwaysShowImages ? 1 : 0); in writeToParcel()
290 dest.writeInt(quotedTextOffset); in writeToParcel()
295 dest.writeInt(spamWarningLevel); in writeToParcel()
296 dest.writeInt(spamLinkType); in writeToParcel()
298 dest.writeInt(sendingState); in writeToParcel()
299 dest.writeInt(clipped ? 1 : 0); in writeToParcel()
DFolder.java478 dest.writeInt(id); in writeToParcel()
482 dest.writeInt(capabilities); in writeToParcel()
484 dest.writeInt(hasChildren ? 1 : 0); in writeToParcel()
485 dest.writeInt(syncWindow); in writeToParcel()
488 dest.writeInt(unseenCount); in writeToParcel()
489 dest.writeInt(unreadCount); in writeToParcel()
490 dest.writeInt(totalCount); in writeToParcel()
492 dest.writeInt(syncStatus); in writeToParcel()
493 dest.writeInt(lastSyncResult); in writeToParcel()
494 dest.writeInt(type); in writeToParcel()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVoicemail.java271 dest.writeInt(0); in writeToParcel()
273 dest.writeInt(1); in writeToParcel()
281 dest.writeInt(0); in writeToParcel()
283 dest.writeInt(1); in writeToParcel()
287 dest.writeInt(1); in writeToParcel()
289 dest.writeInt(0); in writeToParcel()
292 dest.writeInt(1); in writeToParcel()
294 dest.writeInt(0); in writeToParcel()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickResult.java197 out.writeInt(mActionCount); in writeToParcel()
199 out.writeInt(mFileCount); in writeToParcel()
200 out.writeInt(mIsSearching ? 1 : 0); in writeToParcel()
201 out.writeInt(mRoot); in writeToParcel()
202 out.writeInt(mMimeType); in writeToParcel()
203 out.writeInt(mRepeatedPickTimes); in writeToParcel()
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java305 dataOutput.writeInt(VERSION); in writeState()
309 dataOutput.writeInt(state.callIds.size()); in writeState()
311 dataOutput.writeInt(i); in writeState()
430 data.writeInt(VERSION); in addCallToBackup()
434 data.writeInt(call.type); in addCallToBackup()
435 data.writeInt(call.numberPresentation); in addCallToBackup()
440 data.writeInt(call.features); in addCallToBackup()
444 data.writeInt(oemData.bytes.length); in addCallToBackup()
446 data.writeInt(END_OEM_DATA_MARKER); in addCallToBackup()
448 data.writeInt(call.addForAllUsers); in addCallToBackup()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortDimension.java174 out.writeInt(mId); in writeToParcel()
175 out.writeInt(mLabelId); in writeToParcel()
176 out.writeInt(mDataType); in writeToParcel()
177 out.writeInt(mSortCapability); in writeToParcel()
178 out.writeInt(mDefaultSortDirection); in writeToParcel()
179 out.writeInt(mSortDirection); in writeToParcel()
180 out.writeInt(mVisibility); in writeToParcel()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java153 out.writeInt(action); in writeToParcel()
155 out.writeInt(allowMultiple ? 1 : 0); in writeToParcel()
156 out.writeInt(localOnly ? 1 : 0); in writeToParcel()
157 out.writeInt(showDeviceStorageOption ? 1 : 0); in writeToParcel()
158 out.writeInt(showAdvanced ? 1 : 0); in writeToParcel()
162 out.writeInt(openableOnly ? 1 : 0); in writeToParcel()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DDvrStorageManager.java268 out.writeInt(format.getInteger(key)); in writeFormatInt()
270 out.writeInt(NO_VALUE); in writeFormatInt()
294 out.writeInt(data.length); in writeString()
305 out.writeInt(0); in writeFormatString()
313 out.writeInt(data.length); in writeByteBuffer()
317 out.writeInt(0); in writeByteBuffer()
326 out.writeInt(0); in writeFormatByteBuffer()
388 out.writeInt(entry.getValue().second); in writeIndexFile()
407 accessFile.writeInt(offset); in updateIndexFile()
/packages/services/Car/car-lib/src/android/car/navigation/
DCarNavigationInstrumentCluster.java157 dest.writeInt(mMinIntervalMillis); in writeToParcel()
158 dest.writeInt(mType); in writeToParcel()
159 dest.writeInt(mImageWidth); in writeToParcel()
160 dest.writeInt(mImageHeight); in writeToParcel()
161 dest.writeInt(mImageColorDepthBits); in writeToParcel()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java333 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()
343 dest.writeInt(mPropertyId); in writeToParcel()
344 dest.writeInt(mSupportedAreas.size()); in writeToParcel()
346 dest.writeInt(mSupportedAreas.keyAt(i)); in writeToParcel()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictions.java328 dest.writeInt(mActiveRestrictions); in writeToParcel()
330 dest.writeInt(mRequiresDistractionOptimization ? 1 : 0); in writeToParcel()
331 dest.writeInt(mMaxStringLength); in writeToParcel()
332 dest.writeInt(mMaxCumulativeContentItems); in writeToParcel()
333 dest.writeInt(mMaxContentDepth); in writeToParcel()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DActivityResultInfo.java50 dest.writeInt(requestCode); in writeToParcel()
51 dest.writeInt(resultCode); in writeToParcel()
53 dest.writeInt(1); in writeToParcel()
56 dest.writeInt(0); in writeToParcel()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/proxy/
DStartActivityParams.java78 parcel.writeInt(requestCode); in writeToParcel()
83 parcel.writeInt(flagsMask); in writeToParcel()
84 parcel.writeInt(flagsValues); in writeToParcel()
85 parcel.writeInt(extraFlags); in writeToParcel()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundledWallpaperInfo.java183 dest.writeInt(mDrawableResId); in writeToParcel()
184 dest.writeInt(mTitleResId); in writeToParcel()
185 dest.writeInt(mAttributionResId); in writeToParcel()
186 dest.writeInt(mActionUrlResId); in writeToParcel()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMetaData.java109 dest.writeInt(readOnly ? 1 : 0); in writeToParcel()
110 dest.writeInt(defaultGroup ? 1 : 0); in writeToParcel()
111 dest.writeInt(favorites ? 1 : 0); in writeToParcel()
112 dest.writeInt(editable ? 1 : 0); in writeToParcel()

1234567