Searched refs:writeInt (Results 1 - 25 of 93) sorted by relevance

1234

/packages/apps/Camera2/src/com/android/camera/exif/
H A DOrderedDataOutputStream.java44 public OrderedDataOutputStream writeInt(int value) throws IOException { method in class:OrderedDataOutputStream
52 writeInt((int) rational.getNumerator());
53 writeInt((int) rational.getDenominator());
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DOrderedDataOutputStream.java44 public OrderedDataOutputStream writeInt(int value) throws IOException { method in class:OrderedDataOutputStream
52 writeInt((int) rational.getNumerator());
53 writeInt((int) rational.getDenominator());
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DProfileData.java52 private byte mScratch[] = new byte[4]; // scratch space for writeInt()
106 writeInt(0);
107 writeInt(3);
108 writeInt(1);
109 writeInt(20000); // Sampling period: 20ms
110 writeInt(0);
116 writeInt(0);
117 writeInt(1);
118 writeInt(0);
132 writeInt(nod
161 private void writeInt(int v) throws IOException { method in class:ProfileData
[all...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
H A DOrderedDataOutputStream.java44 public OrderedDataOutputStream writeInt(int value) throws IOException { method in class:OrderedDataOutputStream
52 writeInt((int) rational.getNumerator());
53 writeInt((int) rational.getDenominator());
/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DOrderedDataOutputStream.java44 public OrderedDataOutputStream writeInt(int value) throws IOException { method in class:OrderedDataOutputStream
52 writeInt((int) rational.getNumerator());
53 writeInt((int) rational.getDenominator());
/packages/apps/Settings/src/com/android/settings/dashboard/
H A DDashboardTile.java147 dest.writeInt(titleRes);
149 dest.writeInt(summaryRes);
151 dest.writeInt(iconRes);
156 dest.writeInt(1);
159 dest.writeInt(0);
162 dest.writeInt(N);
H A DDashboardCategory.java117 dest.writeInt(titleRes);
118 dest.writeInt(externalIndex);
123 dest.writeInt(count);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DBlobCache.java305 writeInt(buf, IH_MAGIC, MAGIC_INDEX_FILE);
306 writeInt(buf, IH_MAX_ENTRIES, maxEntries);
307 writeInt(buf, IH_MAX_BYTES, maxBytes);
308 writeInt(buf, IH_ACTIVE_REGION, 0);
309 writeInt(buf, IH_ACTIVE_ENTRIES, 0);
310 writeInt(buf, IH_ACTIVE_BYTES, DATA_HEADER_SIZE);
311 writeInt(buf, IH_VERSION, mVersion);
312 writeInt(buf, IH_CHECKSUM, checkSum(buf, 0, IH_CHECKSUM));
321 writeInt(buf, 0, MAGIC_DATA_FILE);
332 writeInt(mIndexHeade
655 static void writeInt(byte[] buf, int offset, int value) { method in class:BlobCache
[all...]
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/
H A DWaveHeader.java233 writeInt(out, 36 + mNumBytes);
238 writeInt(out, 16);
241 writeInt(out, mSampleRate);
242 writeInt(out, mNumChannels * mSampleRate * mBitsPerSample / 8);
248 writeInt(out, mNumBytes);
257 private static void writeInt(OutputStream out, int val) throws IOException { method in class:WaveHeader
/packages/apps/Nfc/src/com/android/nfc/beam/
H A DBeamTransferRecord.java90 dest.writeInt(dataLinkType);
92 dest.writeInt(remoteActivating ? 1 : 0);
93 dest.writeInt(uris != null ? uris.length : 0);
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/
H A DAccountTests.java33 dest.writeInt(0);
35 dest.writeInt(12345);
42 dest.writeInt(0);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DParticipantInfo.java86 out.writeInt(priority);
87 out.writeInt(readConversation ? 1 : 0);
H A DListParams.java67 dest.writeInt(mLimit);
68 dest.writeInt(mUseNetwork ? 1 : 0);
H A DSettings.java342 dest.writeInt(getAutoAdvanceSetting());
343 dest.writeInt(snapHeaders);
344 dest.writeInt(replyBehavior);
345 dest.writeInt(convListIcon);
346 dest.writeInt(confirmDelete ? 1 : 0);
347 dest.writeInt(confirmArchive? 1 : 0);
348 dest.writeInt(confirmSend? 1 : 0);
351 dest.writeInt(forceReplyFromDefault ? 1 : 0);
352 dest.writeInt(maxAttachmentSize);
353 dest.writeInt(swip
[all...]
H A DConversation.java182 dest.writeInt(hasAttachments ? 1 : 0);
184 dest.writeInt(sendingState);
185 dest.writeInt(priority);
186 dest.writeInt(read ? 1 : 0);
187 dest.writeInt(seen ? 1 : 0);
188 dest.writeInt(starred ? 1 : 0);
190 dest.writeInt(convFlags);
191 dest.writeInt(personalLevel);
192 dest.writeInt(spam ? 1 : 0);
193 dest.writeInt(phishin
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DPolicy.java475 dest.writeInt(mPasswordMode);
476 dest.writeInt(mPasswordMinLength);
477 dest.writeInt(mPasswordMaxFails);
478 dest.writeInt(mPasswordHistory);
479 dest.writeInt(mPasswordExpirationDays);
480 dest.writeInt(mPasswordComplexChars);
481 dest.writeInt(mMaxScreenLockTime);
482 dest.writeInt(mRequireRemoteWipe ? 1 : 0);
483 dest.writeInt(mRequireEncryption ? 1 : 0);
484 dest.writeInt(mRequireEncryptionExterna
[all...]
/packages/providers/CallLogProvider/tests/src/com/android/providers/calllogbackup/
H A DCallLogBackupAgentTest.java122 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION);
123 inOrder.verify(mDataOutput).writeInt(0 /* size */);
135 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION);
136 inOrder.verify(mDataOutput).writeInt(1);
137 inOrder.verify(mDataOutput).writeInt(101 /* call-ID */);
151 inOrder.verify(mDataOutput).writeInt(CallLogBackupAgent.VERSION);
152 inOrder.verify(mDataOutput).writeInt(3 /* size */);
153 inOrder.verify(mDataOutput).writeInt(101 /* call-ID */);
154 inOrder.verify(mDataOutput).writeInt(102 /* call-ID */);
155 inOrder.verify(mDataOutput).writeInt(10
[all...]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
H A DProvisioningParams.java59 out.writeInt(hidden ? 1 : 0);
63 out.writeInt(proxyPort);
105 out.writeInt(minVersion);
110 out.writeInt(packageChecksumSupportsSha1 ? 1 : 0);
173 out.writeInt(startedByNfc ? 1 : 0);
174 out.writeInt(leaveAllSystemAppsEnabled ? 1 : 0);
175 out.writeInt(skipEncryption ? 1 : 0);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DToastBarOperation.java94 dest.writeInt(mCount);
95 dest.writeInt(mAction);
96 dest.writeInt(mBatch ? 1 : 0);
97 dest.writeInt(mType);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
H A DLedConfiguration.java97 parcel.writeInt(color0);
98 parcel.writeInt(color1);
/packages/providers/CallLogProvider/src/com/android/providers/calllogbackup/
H A DCallLogBackupAgent.java277 dataOutput.writeInt(VERSION);
281 dataOutput.writeInt(state.callIds.size());
283 dataOutput.writeInt(i);
366 data.writeInt(VERSION);
370 data.writeInt(call.type);
371 data.writeInt(call.numberPresentation);
376 data.writeInt(call.features);
380 data.writeInt(oemData.bytes.length);
382 data.writeInt(END_OEM_DATA_MARKER);
423 data.writeInt(OEM_DATA_VERSIO
[all...]
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DDatabaseMessages.java246 out.writeInt(mType);
248 out.writeInt(mStatus);
249 out.writeInt(mRead ? 1 : 0);
250 out.writeInt(mSeen ? 1 : 0);
251 out.writeInt(mSubId);
530 out.writeInt(mType);
532 out.writeInt(mStatus);
533 out.writeInt(mRead ? 1 : 0);
534 out.writeInt(mSeen ? 1 : 0);
535 out.writeInt(mSubI
[all...]
/packages/apps/Nfc/src/com/android/nfc/snep/
H A DSnepMessage.java134 output.writeInt(bytes.length + 4);
135 output.writeInt(mAcceptableLength);
137 output.writeInt(bytes.length);
/packages/apps/UnifiedEmail/src/com/android/emailcommon/service/
H A DSearchParams.java143 dest.writeInt(mIncludeChildren ? 1 : 0);
145 dest.writeInt(mLimit);
146 dest.writeInt(mOffset);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
H A DNoneDreamInfoAction.java62 dest.writeInt(isChecked() ? 1 : 0);

Completed in 427 milliseconds

1234