Home
last modified time | relevance | path

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

12345678910>>...47

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java75 mParcel.writeInt(pos - offset); in adjustSize()
84 mParcel.writeInt(-1); // Placeholder for the size in resetParcel()
85 mParcel.writeInt(kMarker); in resetParcel()
110 mParcel.writeInt(size); in testMissingData()
129 mParcel.writeInt(13); // record length in testRecordMissingId()
137 mParcel.writeInt(13); // record length lies in testRecordMissingType()
138 mParcel.writeInt(Metadata.TITLE); in testRecordMissingType()
146 mParcel.writeInt(0); in testRecordWithZeroPayload()
154 mParcel.writeInt(12); in testRecordMissingPayload()
155 mParcel.writeInt(Metadata.TITLE); in testRecordMissingPayload()
[all …]
/frameworks/base/services/core/java/com/android/server/media/metrics/
DMediaMetricsManagerService.java179 .writeInt(level == LOGGING_LEVEL_EVERYTHING ? Binder.getCallingUid() : 0) in reportPlaybackMetrics()
182 .writeInt(metrics.getStreamSource()) in reportPlaybackMetrics()
183 .writeInt(metrics.getStreamType()) in reportPlaybackMetrics()
184 .writeInt(metrics.getPlaybackType()) in reportPlaybackMetrics()
185 .writeInt(metrics.getDrmType()) in reportPlaybackMetrics()
186 .writeInt(metrics.getContentType()) in reportPlaybackMetrics()
190 .writeInt(metrics.getVideoFramesPlayed()) in reportPlaybackMetrics()
191 .writeInt(metrics.getVideoFramesDropped()) in reportPlaybackMetrics()
192 .writeInt(metrics.getAudioUnderrunCount()) in reportPlaybackMetrics()
230 .writeInt(_state) in reportBundleMetrics()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DInput.java84 dest.writeInt(minLen); in writeToParcel()
85 dest.writeInt(maxLen); in writeToParcel()
86 dest.writeInt(ucs2 ? 1 : 0); in writeToParcel()
87 dest.writeInt(packed ? 1 : 0); in writeToParcel()
88 dest.writeInt(digitOnly ? 1 : 0); in writeToParcel()
89 dest.writeInt(echo ? 1 : 0); in writeToParcel()
90 dest.writeInt(yesNo ? 1 : 0); in writeToParcel()
91 dest.writeInt(helpAvailable ? 1 : 0); in writeToParcel()
93 dest.writeInt(iconSelfExplanatory ? 1 : 0); in writeToParcel()
DMenu.java89 dest.writeInt(size); in writeToParcel()
93 dest.writeInt(defaultItem); in writeToParcel()
94 dest.writeInt(softKeyPreferred ? 1 : 0); in writeToParcel()
95 dest.writeInt(helpAvailable ? 1 : 0); in writeToParcel()
96 dest.writeInt(titleIconSelfExplanatory ? 1 : 0); in writeToParcel()
97 dest.writeInt(itemsIconSelfExplanatory ? 1 : 0); in writeToParcel()
98 dest.writeInt(presentationType.ordinal()); in writeToParcel()
/frameworks/base/core/java/com/android/ims/internal/uce/common/
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()
812 dest.writeInt(mVsDuringCSSupported ? 1 : 0); in writeToParcel()
813 dest.writeInt(mVsSupported ? 1 : 0); in writeToParcel()
814 dest.writeInt(mSpSupported ? 1 : 0); in writeToParcel()
815 dest.writeInt(mCdViaPresenceSupported ? 1 : 0); in writeToParcel()
[all …]
/frameworks/base/core/java/android/content/
DSyncStatusInfo.java93 parcel.writeInt(numSyncs); in writeToParcel()
94 parcel.writeInt(numSourcePoll); in writeToParcel()
95 parcel.writeInt(numSourceOther); in writeToParcel()
96 parcel.writeInt(numSourceLocal); in writeToParcel()
97 parcel.writeInt(numSourceUser); in writeToParcel()
98 parcel.writeInt(numSourcePeriodic); 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()
[all …]
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()
/frameworks/base/core/java/android/net/
DMobileLinkQualityInfo.java56 dest.writeInt(mMobileNetworkType); in writeToParcel()
57 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()
64 dest.writeInt(mLteSignalStrength); in writeToParcel()
65 dest.writeInt(mLteRsrp); in writeToParcel()
[all …]
/frameworks/base/core/java/android/content/pm/
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()
DPackageInfo.java586 dest.writeInt(versionCode); in writeToParcel()
587 dest.writeInt(versionCodeMajor); in writeToParcel()
589 dest.writeInt(baseRevisionCode); in writeToParcel()
592 dest.writeInt(sharedUserLabel); in writeToParcel()
594 dest.writeInt(1); in writeToParcel()
597 dest.writeInt(0); in writeToParcel()
615 dest.writeInt(installLocation); in writeToParcel()
616 dest.writeInt(isStub ? 1 : 0); in writeToParcel()
617 dest.writeInt(coreApp ? 1 : 0); in writeToParcel()
618 dest.writeInt(requiredForAllUsers ? 1 : 0); in writeToParcel()
[all …]
DResolveInfo.java480 dest.writeInt(1); in writeToParcel()
483 dest.writeInt(2); in writeToParcel()
486 dest.writeInt(3); in writeToParcel()
489 dest.writeInt(0); in writeToParcel()
492 dest.writeInt(1); in writeToParcel()
495 dest.writeInt(0); in writeToParcel()
497 dest.writeInt(priority); in writeToParcel()
498 dest.writeInt(preferredOrder); in writeToParcel()
499 dest.writeInt(match); in writeToParcel()
500 dest.writeInt(specificIndex); in writeToParcel()
[all …]
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java516 out.writeInt(this.minWidth); in writeToParcel()
517 out.writeInt(this.minHeight); in writeToParcel()
518 out.writeInt(this.minResizeWidth); in writeToParcel()
519 out.writeInt(this.minResizeHeight); in writeToParcel()
520 out.writeInt(this.maxResizeWidth); in writeToParcel()
521 out.writeInt(this.maxResizeHeight); in writeToParcel()
522 out.writeInt(this.targetCellWidth); in writeToParcel()
523 out.writeInt(this.targetCellHeight); in writeToParcel()
524 out.writeInt(this.updatePeriodMillis); in writeToParcel()
525 out.writeInt(this.initialLayout); in writeToParcel()
[all …]
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DDrawBitmapInt.java97 buffer.writeInt(imageId); in apply()
98 buffer.writeInt(srcLeft); in apply()
99 buffer.writeInt(srcTop); in apply()
100 buffer.writeInt(srcRight); in apply()
101 buffer.writeInt(srcBottom); in apply()
102 buffer.writeInt(dstLeft); in apply()
103 buffer.writeInt(dstTop); in apply()
104 buffer.writeInt(dstRight); in apply()
105 buffer.writeInt(dstBottom); in apply()
106 buffer.writeInt(cdId); in apply()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnCapacity.java160 dest.writeInt(mMaxAdnCount); in writeToParcel()
161 dest.writeInt(mUsedAdnCount); in writeToParcel()
162 dest.writeInt(mMaxEmailCount); in writeToParcel()
163 dest.writeInt(mUsedEmailCount); in writeToParcel()
164 dest.writeInt(mMaxAnrCount); in writeToParcel()
165 dest.writeInt(mUsedAnrCount); in writeToParcel()
166 dest.writeInt(mMaxNameLength); in writeToParcel()
167 dest.writeInt(mMaxNumberLength); in writeToParcel()
168 dest.writeInt(mMaxEmailLength); in writeToParcel()
169 dest.writeInt(mMaxAnrLength); in writeToParcel()
/frameworks/base/core/java/android/os/health/
DHealthStatsWriter.java172 out.writeInt(countBooleanArray(mTimerFields)); in flattenToParcel()
176 out.writeInt(keys[i]); in flattenToParcel()
177 out.writeInt(mTimerCounts[i]); in flattenToParcel()
183 out.writeInt(countBooleanArray(mMeasurementFields)); in flattenToParcel()
187 out.writeInt(keys[i]); in flattenToParcel()
193 out.writeInt(countObjectArray(mStatsValues)); in flattenToParcel()
197 out.writeInt(keys[i]); in flattenToParcel()
203 out.writeInt(countObjectArray(mTimersValues)); in flattenToParcel()
207 out.writeInt(keys[i]); in flattenToParcel()
213 out.writeInt(countObjectArray(mMeasurementsValues)); in flattenToParcel()
[all …]
/frameworks/base/core/java/android/hardware/radio/
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()
/frameworks/base/media/java/android/media/
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()
/frameworks/base/core/java/android/app/assist/
DAssistContent.java191 dest.writeInt(1); in writeToParcelInternal()
194 dest.writeInt(0); in writeToParcelInternal()
197 dest.writeInt(1); in writeToParcelInternal()
200 dest.writeInt(0); in writeToParcelInternal()
203 dest.writeInt(1); in writeToParcelInternal()
206 dest.writeInt(0); in writeToParcelInternal()
209 dest.writeInt(1); in writeToParcelInternal()
212 dest.writeInt(0); in writeToParcelInternal()
214 dest.writeInt(mIsAppProvidedIntent ? 1 : 0); in writeToParcelInternal()
216 dest.writeInt(mIsAppProvidedWebUri ? 1 : 0); in writeToParcelInternal()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java1658 parcel.writeInt(isSealed() ? 1 : 0); in writeToParcel()
1659 parcel.writeInt(mEventType); in writeToParcel()
1660 parcel.writeInt(mMovementGranularity); in writeToParcel()
1661 parcel.writeInt(mAction); in writeToParcel()
1662 parcel.writeInt(mContentChangeTypes); in writeToParcel()
1663 parcel.writeInt(mWindowChangeTypes); in writeToParcel()
1664 parcel.writeInt(mSpeechStateChangeTypes); in writeToParcel()
1667 parcel.writeInt(mConnectionId); in writeToParcel()
1672 parcel.writeInt(recordCount); in writeToParcel()
1680 parcel.writeInt(originStackTrace.length); in writeToParcel()
[all …]
/frameworks/base/core/java/android/hardware/location/
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()
/frameworks/base/core/java/android/view/inputmethod/
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()
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
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 …]
/frameworks/base/core/java/android/hardware/
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()
/frameworks/base/core/java/com/android/internal/statusbar/
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()
/frameworks/base/core/java/android/app/
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 …]

12345678910>>...47