Home
last modified time | relevance | path

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

12345

/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/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 …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/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/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
DExtendableParcelableTest.java71 dest.writeInt(intData0); in writeToParcel()
73 dest.writeInt(intData1); in writeToParcel()
154 dest.writeInt(intData0); in writeToParcel()
156 dest.writeInt(intData1); in writeToParcel()
158 dest.writeInt(intData2); in writeToParcel()
259 dest.writeInt(intData0); in writeToParcel()
261 dest.writeInt(intData1); in writeToParcel()
263 dest.writeInt(intData2); in writeToParcel()
265 dest.writeInt(intData3); in writeToParcel()
307 p.writeInt(additionalData); in testV1ToV3()
[all …]
/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/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/SpeechRecorder/src/com/android/speechrecorder/
DWaveHeader.java233 writeInt(out, 36 + mNumBytes); in write()
238 writeInt(out, 16); in write()
241 writeInt(out, mSampleRate); in write()
242 writeInt(out, mNumChannels * mSampleRate * mBitsPerSample / 8); in write()
248 writeInt(out, mNumBytes); in write()
257 private static void writeInt(OutputStream out, int val) throws IOException { in writeInt() method in WaveHeader
/packages/services/Car/car-lib/src/android/car/navigation/
DCarNavigationInstrumentCluster.java137 dest.writeInt(mMinIntervalMs); in writeToParcel()
138 dest.writeInt(mType); in writeToParcel()
139 dest.writeInt(mImageWidth); in writeToParcel()
140 dest.writeInt(mImageHeight); in writeToParcel()
141 dest.writeInt(mImageColorDepthBits); in writeToParcel()
/packages/services/Car/car-support-lib/src/android/support/car/navigation/
DCarNavigationInstrumentCluster.java147 dest.writeInt(mMinIntervalMs); in writeToParcel()
148 dest.writeInt(mType); in writeToParcel()
149 dest.writeInt(mImageWidth); in writeToParcel()
150 dest.writeInt(mImageHeight); in writeToParcel()
151 dest.writeInt(mImageColorDepthBits); in writeToParcel()
/packages/services/Car/car-lib/src/android/car/hardware/radio/
DCarRadioPreset.java55 out.writeInt(mPresetNumber); in writeToParcel()
56 out.writeInt(mBand); in writeToParcel()
57 out.writeInt(mChannel); in writeToParcel()
58 out.writeInt(mSubChannel); in writeToParcel()
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java303 dataOutput.writeInt(VERSION); in writeState()
307 dataOutput.writeInt(state.callIds.size()); in writeState()
309 dataOutput.writeInt(i); in writeState()
408 data.writeInt(VERSION); in addCallToBackup()
412 data.writeInt(call.type); in addCallToBackup()
413 data.writeInt(call.numberPresentation); in addCallToBackup()
418 data.writeInt(call.features); in addCallToBackup()
422 data.writeInt(oemData.bytes.length); in addCallToBackup()
424 data.writeInt(END_OEM_DATA_MARKER); in addCallToBackup()
426 data.writeInt(call.addForAllUsers); in addCallToBackup()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
DDvrStorageManager.java191 out.writeInt(format.getInteger(key)); in writeFormatInt()
193 out.writeInt(NO_VALUE); in writeFormatInt()
217 out.writeInt(data.length); in writeString()
228 out.writeInt(0); in writeFormatString()
236 out.writeInt(data.length); in writeByteBuffer()
240 out.writeInt(0); in writeByteBuffer()
249 out.writeInt(0); in writeFormatByteBuffer()
/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/
DBluetoothMapMessage.java120 out.writeInt(mStatus); in writeToParcel()
121 out.writeInt(mType); in writeToParcel()
123 out.writeInt(mBodyLength); in writeToParcel()
125 out.writeInt(mLanguage); in writeToParcel()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java240 out.writeInt(startedByTrustedSource ? 1 : 0); in writeToParcel()
241 out.writeInt(leaveAllSystemAppsEnabled ? 1 : 0); in writeToParcel()
242 out.writeInt(skipEncryption ? 1 : 0); in writeToParcel()
246 out.writeInt(1); in writeToParcel()
247 out.writeInt(mainColor); in writeToParcel()
249 out.writeInt(0); in writeToParcel()
251 out.writeInt(skipUserSetup ? 1 : 0); in writeToParcel()
/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/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/Launcher3/WallpaperPicker/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()
/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()
/packages/services/Car/car-support-lib/src/android/support/car/os/
DExtendableParcelable.java113 dest.writeInt(version); in writeHeader()
115 dest.writeInt(0); in writeHeader()
130 dest.writeInt(payloadLength); in completeWriting()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamTransferRecord.java90 dest.writeInt(dataLinkType); in writeToParcel()
92 dest.writeInt(remoteActivating ? 1 : 0); in writeToParcel()
93 dest.writeInt(uris != null ? uris.length : 0); in writeToParcel()

12345