Home
last modified time | relevance | path

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

123456

/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/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/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/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/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/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DDvrStorageManager.java267 out.writeInt(mediaFormat.getInteger(key)); in writeFormatInt()
269 out.writeInt(NO_VALUE); in writeFormatInt()
293 out.writeInt(data.length); in writeString()
304 out.writeInt(0); in writeFormatString()
312 out.writeInt(data.length); in writeByteBuffer()
316 out.writeInt(0); in writeByteBuffer()
325 out.writeInt(0); in writeFormatByteBuffer()
387 out.writeInt(entry.getValue().second); in writeIndexFile()
406 accessFile.writeInt(offset); in updateIndexFile()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DDvrStorageManager.java267 out.writeInt(format.getInteger(key)); in writeFormatInt()
269 out.writeInt(NO_VALUE); in writeFormatInt()
293 out.writeInt(data.length); in writeString()
304 out.writeInt(0); in writeFormatString()
312 out.writeInt(data.length); in writeByteBuffer()
316 out.writeInt(0); in writeByteBuffer()
325 out.writeInt(0); in writeFormatByteBuffer()
387 out.writeInt(entry.getValue().second); in writeIndexFile()
406 accessFile.writeInt(offset); in updateIndexFile()
/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/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunDevice.java133 out.writeInt(mIpAddress); in writeToParcel()
134 out.writeInt(mDeviceType); in writeToParcel()
135 out.writeInt(mDeviceId); in writeToParcel()
136 out.writeInt(mTunerIndex); 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/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()
/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/modules/ExtServices/src/android/ext/services/notification/
DChannelImpressions.java124 dest.writeInt(mDismissals); in writeToParcel()
125 dest.writeInt(mViews); in writeToParcel()
126 dest.writeInt(mStreak); in writeToParcel()
128 dest.writeInt(mStreakLimit); in writeToParcel()
/packages/apps/Camera2/src/com/android/camera/exif/
DOrderedDataOutputStream.java44 public OrderedDataOutputStream writeInt(int value) throws IOException { in writeInt() method in OrderedDataOutputStream
52 writeInt((int) rational.getNumerator()); in writeRational()
53 writeInt((int) rational.getDenominator()); in writeRational()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DOrderedDataOutputStream.java44 public OrderedDataOutputStream writeInt(int value) throws IOException { in writeInt() method in OrderedDataOutputStream
52 writeInt((int) rational.getNumerator()); in writeRational()
53 writeInt((int) rational.getDenominator()); in writeRational()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DOrderedDataOutputStream.java44 public OrderedDataOutputStream writeInt(int value) throws IOException { in writeInt() method in OrderedDataOutputStream
52 writeInt((int) rational.getNumerator()); in writeRational()
53 writeInt((int) rational.getDenominator()); in writeRational()

123456