Home
last modified time | relevance | path

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

12345678910>>...42

/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerMetadataParserTest.java76 mParcel.writeInt(pos - offset); in adjustSize()
86 mParcel.writeInt(kMarker); in resetParcel()
111 mParcel.writeInt(size); in testMissingData()
147 mParcel.writeInt(0); in testRecordWithZeroPayload()
155 mParcel.writeInt(12); in testRecordMissingPayload()
346 mParcel.writeInt(metadataId); in writeStringRecord()
356 mParcel.writeInt(metadataId); in writeIntRecord()
358 mParcel.writeInt(val); in writeIntRecord()
366 mParcel.writeInt(metadataId); in writeBooleanRecord()
376 mParcel.writeInt(metadataId); in writeLongRecord()
[all …]
/aosp14/frameworks/base/core/java/com/android/ims/internal/uce/common/
H A DCapInfo.java806 dest.writeInt(mImSupported ? 1 : 0); in writeToParcel()
807 dest.writeInt(mFtSupported ? 1 : 0); in writeToParcel()
808 dest.writeInt(mFtThumbSupported ? 1 : 0); in writeToParcel()
809 dest.writeInt(mFtSnFSupported ? 1 : 0); in writeToParcel()
810 dest.writeInt(mFtHttpSupported ? 1 : 0); in writeToParcel()
811 dest.writeInt(mIsSupported ? 1 : 0); in writeToParcel()
813 dest.writeInt(mVsSupported ? 1 : 0); in writeToParcel()
814 dest.writeInt(mSpSupported ? 1 : 0); in writeToParcel()
816 dest.writeInt(mIpVoiceSupported ? 1 : 0); in writeToParcel()
821 dest.writeInt(mSmSupported ? 1 : 0); in writeToParcel()
[all …]
/aosp14/frameworks/base/core/java/android/content/
H A DSyncStatusInfo.java93 parcel.writeInt(numSyncs); in writeToParcel()
94 parcel.writeInt(numSourcePoll); in writeToParcel()
95 parcel.writeInt(numSourceOther); in writeToParcel()
97 parcel.writeInt(numSourceUser); in writeToParcel()
99 parcel.writeInt(numSourceFeed); in writeToParcel()
100 parcel.writeInt(numFailures); in writeToParcel()
101 parcel.writeInt(numCancels); in writeToParcel()
174 parcel.writeInt(VERSION); in writeToParcel()
175 parcel.writeInt(authorityId); in writeToParcel()
191 parcel.writeInt(pending ? 1 : 0); in writeToParcel()
[all …]
H A DContentProviderResult.java99 dest.writeInt(1); in writeToParcel()
102 dest.writeInt(0); in writeToParcel()
105 dest.writeInt(1); in writeToParcel()
106 dest.writeInt(count); in writeToParcel()
108 dest.writeInt(0); in writeToParcel()
111 dest.writeInt(1); in writeToParcel()
114 dest.writeInt(0); in writeToParcel()
117 dest.writeInt(1); in writeToParcel()
120 dest.writeInt(0); in writeToParcel()
/aosp14/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java495 out.writeInt(this.minWidth); in writeToParcel()
496 out.writeInt(this.minHeight); in writeToParcel()
497 out.writeInt(this.minResizeWidth); in writeToParcel()
499 out.writeInt(this.maxResizeWidth); in writeToParcel()
504 out.writeInt(this.initialLayout); in writeToParcel()
508 out.writeInt(this.icon); in writeToParcel()
509 out.writeInt(this.previewImage); in writeToParcel()
510 out.writeInt(this.previewLayout); in writeToParcel()
512 out.writeInt(this.resizeMode); in writeToParcel()
513 out.writeInt(this.widgetCategory); in writeToParcel()
[all …]
/aosp14/frameworks/base/core/java/android/net/
H A DMobileLinkQualityInfo.java57 dest.writeInt(mRssi); in writeToParcel()
58 dest.writeInt(mGsmErrorRate); in writeToParcel()
59 dest.writeInt(mCdmaDbm); in writeToParcel()
60 dest.writeInt(mCdmaEcio); in writeToParcel()
61 dest.writeInt(mEvdoDbm); in writeToParcel()
62 dest.writeInt(mEvdoEcio); in writeToParcel()
63 dest.writeInt(mEvdoSnr); in writeToParcel()
65 dest.writeInt(mLteRsrp); in writeToParcel()
66 dest.writeInt(mLteRsrq); in writeToParcel()
67 dest.writeInt(mLteRssnr); in writeToParcel()
[all …]
/aosp14/frameworks/base/core/java/android/content/pm/
H A DPackageInfoLite.java114 dest.writeInt(versionCode); in writeToParcel()
115 dest.writeInt(versionCodeMajor); in writeToParcel()
116 dest.writeInt(baseRevisionCode); in writeToParcel()
118 dest.writeInt(recommendedInstallLocation); in writeToParcel()
119 dest.writeInt(installLocation); in writeToParcel()
120 dest.writeInt(multiArch ? 1 : 0); in writeToParcel()
121 dest.writeInt(debuggable ? 1 : 0); in writeToParcel()
124 dest.writeInt(0); in writeToParcel()
126 dest.writeInt(verifiers.length); in writeToParcel()
H A DResolveInfo.java468 dest.writeInt(1); in writeToParcel()
471 dest.writeInt(2); in writeToParcel()
474 dest.writeInt(3); in writeToParcel()
477 dest.writeInt(0); in writeToParcel()
480 dest.writeInt(1); in writeToParcel()
483 dest.writeInt(0); in writeToParcel()
485 dest.writeInt(priority); in writeToParcel()
487 dest.writeInt(match); in writeToParcel()
489 dest.writeInt(labelRes); in writeToParcel()
491 dest.writeInt(icon); in writeToParcel()
[all …]
H A DPackageInfo.java502 dest.writeInt(versionCode); in writeToParcel()
503 dest.writeInt(versionCodeMajor); in writeToParcel()
508 dest.writeInt(sharedUserLabel); in writeToParcel()
510 dest.writeInt(1); in writeToParcel()
513 dest.writeInt(0); in writeToParcel()
531 dest.writeInt(installLocation); in writeToParcel()
532 dest.writeInt(isStub ? 1 : 0); in writeToParcel()
533 dest.writeInt(coreApp ? 1 : 0); in writeToParcel()
539 dest.writeInt(overlayPriority); in writeToParcel()
544 dest.writeInt(1); in writeToParcel()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/media/metrics/
H A DMediaMetricsManagerService.java165 .writeInt(metrics.getStreamType()) in reportPlaybackMetrics()
167 .writeInt(metrics.getDrmType()) in reportPlaybackMetrics()
212 .writeInt(_state) in reportBundleMetrics()
231 .writeInt(event.getState()) in reportPlaybackStateEvent()
295 .writeInt(event.getErrorCode()) in reportPlaybackErrorEvent()
312 .writeInt(event.getNetworkType()) in reportNetworkEvent()
329 .writeInt(event.getTrackState()) in reportTrackChangeEvent()
334 .writeInt(event.getBitrate()) in reportTrackChangeEvent()
336 .writeInt(event.getTrackType()) in reportTrackChangeEvent()
341 .writeInt(event.getWidth()) in reportTrackChangeEvent()
[all …]
/aosp14/frameworks/base/core/java/android/os/health/
H A DHealthStatsWriter.java172 out.writeInt(countBooleanArray(mTimerFields)); in flattenToParcel()
176 out.writeInt(keys[i]); in flattenToParcel()
177 out.writeInt(mTimerCounts[i]); in flattenToParcel()
187 out.writeInt(keys[i]); in flattenToParcel()
193 out.writeInt(countObjectArray(mStatsValues)); in flattenToParcel()
197 out.writeInt(keys[i]); in flattenToParcel()
207 out.writeInt(keys[i]); in flattenToParcel()
217 out.writeInt(keys[i]); in flattenToParcel()
257 out.writeInt(N); in writeHealthStatsWriterMap()
270 out.writeInt(N); in writeParcelableMap()
[all …]
/aosp14/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityEvent.java1577 parcel.writeInt(isSealed() ? 1 : 0); in writeToParcel()
1578 parcel.writeInt(mEventType); in writeToParcel()
1580 parcel.writeInt(mAction); in writeToParcel()
1582 parcel.writeInt(mWindowChangeTypes); in writeToParcel()
1586 parcel.writeInt(mConnectionId); in writeToParcel()
1591 parcel.writeInt(recordCount); in writeToParcel()
1619 parcel.writeInt(record.mItemCount); in writeAccessibilityRecordToParcel()
1620 parcel.writeInt(record.mFromIndex); in writeAccessibilityRecordToParcel()
1621 parcel.writeInt(record.mToIndex); in writeAccessibilityRecordToParcel()
1622 parcel.writeInt(record.mScrollX); in writeAccessibilityRecordToParcel()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DParcelTest.java128 pA.writeInt(13); in testCompareDataInRange_whenSameData()
134 pB.writeInt(13); in testCompareDataInRange_whenSameData()
145 pA.writeInt(13); in testCompareDataInRange_whenSameDataWithBinder()
152 pB.writeInt(13); in testCompareDataInRange_whenSameDataWithBinder()
163 pA.writeInt(13); in testCompareDataInRange_whenDifferentData()
169 pB.writeInt(13); in testCompareDataInRange_whenDifferentData()
179 pA.writeInt(12); in testCompareDataInRange_whenLimitOutOfBounds_throws()
185 pB.writeInt(13); in testCompareDataInRange_whenLimitOutOfBounds_throws()
187 pB.writeInt(-1); in testCompareDataInRange_whenLimitOutOfBounds_throws()
205 pA.writeInt(12); in testCompareDataInRange_whenLengthZero()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/radio/
H A DUtils.java38 dest.writeInt(0); in writeStringMap()
41 dest.writeInt(map.size()); in writeStringMap()
61 dest.writeInt(0); in writeStringIntMap()
64 dest.writeInt(map.size()); in writeStringIntMap()
67 dest.writeInt(entry.getValue()); in writeStringIntMap()
84 dest.writeInt(0); in writeSet()
87 dest.writeInt(set.size()); in writeSet()
102 dest.writeInt(0); in writeIntSet()
105 dest.writeInt(set.size()); in writeIntSet()
106 set.stream().forEach(elem -> dest.writeInt(Objects.requireNonNull(elem))); in writeIntSet()
/aosp14/frameworks/base/core/java/android/app/assist/
H A DAssistContent.java181 dest.writeInt(1); in writeToParcelInternal()
184 dest.writeInt(0); in writeToParcelInternal()
187 dest.writeInt(1); in writeToParcelInternal()
190 dest.writeInt(0); in writeToParcelInternal()
193 dest.writeInt(1); in writeToParcelInternal()
196 dest.writeInt(0); in writeToParcelInternal()
199 dest.writeInt(1); in writeToParcelInternal()
202 dest.writeInt(0); in writeToParcelInternal()
204 dest.writeInt(mIsAppProvidedIntent ? 1 : 0); in writeToParcelInternal()
206 dest.writeInt(mIsAppProvidedWebUri ? 1 : 0); in writeToParcelInternal()
/aosp14/frameworks/base/media/java/android/media/
H A DMediaRouterClientState.java152 dest.writeInt(supportedTypes); in writeToParcel()
153 dest.writeInt(enabled ? 1 : 0); in writeToParcel()
154 dest.writeInt(statusCode); in writeToParcel()
155 dest.writeInt(playbackType); in writeToParcel()
156 dest.writeInt(playbackStream); in writeToParcel()
157 dest.writeInt(volume); in writeToParcel()
158 dest.writeInt(volumeMax); in writeToParcel()
159 dest.writeInt(volumeHandling); in writeToParcel()
160 dest.writeInt(presentationDisplayId); in writeToParcel()
161 dest.writeInt(deviceType); in writeToParcel()
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
H A DRawPortInfo.java140 dest.writeInt(supportedModes); in writeToParcel()
141 dest.writeInt(supportedContaminantProtectionModes); in writeToParcel()
142 dest.writeInt(currentMode); in writeToParcel()
144 dest.writeInt(currentPowerRole); in writeToParcel()
146 dest.writeInt(currentDataRole); in writeToParcel()
149 dest.writeInt(contaminantProtectionStatus); in writeToParcel()
151 dest.writeInt(contaminantDetectionStatus); in writeToParcel()
152 dest.writeInt(usbDataStatus); in writeToParcel()
154 dest.writeInt(powerBrickConnectionStatus); in writeToParcel()
157 dest.writeInt(plugState); in writeToParcel()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/location/
H A DNanoAppInstanceInfo.java196 out.writeInt(mHandle); in writeToParcel()
198 out.writeInt(mAppVersion); in writeToParcel()
199 out.writeInt(mContexthubId); in writeToParcel()
200 out.writeInt(mNeededReadMemBytes); in writeToParcel()
201 out.writeInt(mNeededWriteMemBytes); in writeToParcel()
202 out.writeInt(mNeededExecMemBytes); in writeToParcel()
205 out.writeInt(mNeededSensors.length); in writeToParcel()
207 out.writeInt(mOutputEvents.length); in writeToParcel()
/aosp14/frameworks/base/core/java/android/app/
H A DPictureInPictureParams.java691 out.writeInt(1); in writeToParcel()
694 out.writeInt(0); in writeToParcel()
700 out.writeInt(1); in writeToParcel()
703 out.writeInt(0); in writeToParcel()
706 out.writeInt(1); in writeToParcel()
709 out.writeInt(0); in writeToParcel()
712 out.writeInt(1); in writeToParcel()
715 out.writeInt(0); in writeToParcel()
718 out.writeInt(1); in writeToParcel()
721 out.writeInt(0); in writeToParcel()
[all …]
H A DTaskInfo.java659 dest.writeInt(userId); in writeToParcel()
660 dest.writeInt(taskId); in writeToParcel()
661 dest.writeInt(displayId); in writeToParcel()
670 dest.writeInt(numActivities); in writeToParcel()
675 dest.writeInt(resizeMode); in writeToParcel()
678 dest.writeInt(topActivityType); in writeToParcel()
686 dest.writeInt(minWidth); in writeToParcel()
687 dest.writeInt(minHeight); in writeToParcel()
688 dest.writeInt(defaultMinSize); in writeToParcel()
691 dest.writeInt(parentTaskId); in writeToParcel()
[all …]
/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DExtractedText.java106 dest.writeInt(startOffset); in writeToParcel()
107 dest.writeInt(partialStartOffset); in writeToParcel()
108 dest.writeInt(partialEndOffset); in writeToParcel()
109 dest.writeInt(selectionStart); in writeToParcel()
110 dest.writeInt(selectionEnd); in writeToParcel()
111 dest.writeInt(this.flags); in writeToParcel()
/aosp14/frameworks/base/core/java/android/hardware/
H A DCameraStreamStats.java127 dest.writeInt(mWidth); in writeToParcel()
128 dest.writeInt(mHeight); in writeToParcel()
129 dest.writeInt(mFormat); in writeToParcel()
131 dest.writeInt(mDataSpace); in writeToParcel()
135 dest.writeInt(mStartLatencyMs); in writeToParcel()
136 dest.writeInt(mMaxHalBuffers); in writeToParcel()
137 dest.writeInt(mMaxAppBuffers); in writeToParcel()
138 dest.writeInt(mHistogramType); in writeToParcel()
143 dest.writeInt(mColorSpace); in writeToParcel()
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DCallQuality.java498 dest.writeInt(mUplinkCallQualityLevel); in writeToParcel()
499 dest.writeInt(mCallDuration); in writeToParcel()
501 dest.writeInt(mNumRtpPacketsReceived); in writeToParcel()
504 dest.writeInt(mAverageRelativeJitter); in writeToParcel()
505 dest.writeInt(mMaxRelativeJitter); in writeToParcel()
506 dest.writeInt(mAverageRoundTripTime); in writeToParcel()
507 dest.writeInt(mCodecType); in writeToParcel()
511 dest.writeInt(mNumVoiceFrames); in writeToParcel()
512 dest.writeInt(mNumNoDataFrames); in writeToParcel()
513 dest.writeInt(mNumDroppedRtpPackets); in writeToParcel()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/statusbar/
H A DRegisterStatusBarResult.java76 dest.writeInt(mDisabledFlags1); in writeToParcel()
77 dest.writeInt(mAppearance); in writeToParcel()
79 dest.writeInt(mImeWindowVis); in writeToParcel()
80 dest.writeInt(mImeBackDisposition); in writeToParcel()
82 dest.writeInt(mDisabledFlags2); in writeToParcel()
85 dest.writeInt(mBehavior); in writeToParcel()
86 dest.writeInt(mRequestedVisibleTypes); in writeToParcel()
88 dest.writeInt(mTransientBarTypes); in writeToParcel()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
H A DFullBackupUtilsTest.java136 outputStream.writeInt(0); in routeSocketDataToOutput_validEmptyInput_doesNotWriteAnything()
174 outputStream.writeInt(data.length); in routeSocketDataToOutput_oneSmallChunk_writesOutputCorrectly()
176 outputStream.writeInt(0); in routeSocketDataToOutput_oneSmallChunk_writesOutputCorrectly()
194 outputStream.writeInt(data.length); in routeSocketDataToOutput_oneLargeChunk_writesOutputCorrectly()
196 outputStream.writeInt(0); in routeSocketDataToOutput_oneLargeChunk_writesOutputCorrectly()
217 outputStream.writeInt(chunk1Length); in routeSocketDataToOutput_twoSmallChunks_writesOutputCorrectly()
219 outputStream.writeInt(chunk2Length); in routeSocketDataToOutput_twoSmallChunks_writesOutputCorrectly()
221 outputStream.writeInt(0); in routeSocketDataToOutput_twoSmallChunks_writesOutputCorrectly()
242 outputStream.writeInt(chunk1Length); in routeSocketDataToOutput_twoLargeChunks_writesOutputCorrectly()
244 outputStream.writeInt(chunk2Length); in routeSocketDataToOutput_twoLargeChunks_writesOutputCorrectly()
[all …]

12345678910>>...42