Home
last modified time | relevance | path

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

12345678910>>...40

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java76 mParcel.writeInt(pos - offset); in adjustSize()
85 mParcel.writeInt(-1); // Placeholder for the size in resetParcel()
86 mParcel.writeInt(kMarker); in resetParcel()
111 mParcel.writeInt(size); in testMissingData()
130 mParcel.writeInt(13); // record length in testRecordMissingId()
138 mParcel.writeInt(13); // record length lies in testRecordMissingType()
139 mParcel.writeInt(Metadata.TITLE); in testRecordMissingType()
147 mParcel.writeInt(0); in testRecordWithZeroPayload()
155 mParcel.writeInt(12); in testRecordMissingPayload()
156 mParcel.writeInt(Metadata.TITLE); in testRecordMissingPayload()
[all …]
/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/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/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/appwidget/
DAppWidgetProviderInfo.java495 out.writeInt(this.minWidth); in writeToParcel()
496 out.writeInt(this.minHeight); in writeToParcel()
497 out.writeInt(this.minResizeWidth); in writeToParcel()
498 out.writeInt(this.minResizeHeight); in writeToParcel()
499 out.writeInt(this.maxResizeWidth); in writeToParcel()
500 out.writeInt(this.maxResizeHeight); in writeToParcel()
501 out.writeInt(this.targetCellWidth); in writeToParcel()
502 out.writeInt(this.targetCellHeight); in writeToParcel()
503 out.writeInt(this.updatePeriodMillis); in writeToParcel()
504 out.writeInt(this.initialLayout); 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()
DResolveInfo.java454 dest.writeInt(1); in writeToParcel()
457 dest.writeInt(2); in writeToParcel()
460 dest.writeInt(3); in writeToParcel()
463 dest.writeInt(0); in writeToParcel()
466 dest.writeInt(1); in writeToParcel()
469 dest.writeInt(0); in writeToParcel()
471 dest.writeInt(priority); in writeToParcel()
472 dest.writeInt(preferredOrder); in writeToParcel()
473 dest.writeInt(match); in writeToParcel()
474 dest.writeInt(specificIndex); in writeToParcel()
[all …]
DPackageInfo.java489 dest.writeInt(versionCode); in writeToParcel()
490 dest.writeInt(versionCodeMajor); in writeToParcel()
492 dest.writeInt(baseRevisionCode); in writeToParcel()
495 dest.writeInt(sharedUserLabel); in writeToParcel()
497 dest.writeInt(1); in writeToParcel()
500 dest.writeInt(0); in writeToParcel()
518 dest.writeInt(installLocation); in writeToParcel()
519 dest.writeInt(isStub ? 1 : 0); in writeToParcel()
520 dest.writeInt(coreApp ? 1 : 0); in writeToParcel()
521 dest.writeInt(requiredForAllUsers ? 1 : 0); in writeToParcel()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnCapacity.java145 dest.writeInt(mMaxAdnCount); in writeToParcel()
146 dest.writeInt(mUsedAdnCount); in writeToParcel()
147 dest.writeInt(mMaxEmailCount); in writeToParcel()
148 dest.writeInt(mUsedEmailCount); in writeToParcel()
149 dest.writeInt(mMaxAnrCount); in writeToParcel()
150 dest.writeInt(mUsedAnrCount); in writeToParcel()
151 dest.writeInt(mMaxNameLength); in writeToParcel()
152 dest.writeInt(mMaxNumberLength); in writeToParcel()
153 dest.writeInt(mMaxEmailLength); in writeToParcel()
154 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/services/core/java/com/android/server/media/metrics/
DMediaMetricsManagerService.java161 .writeInt(level == LOGGING_LEVEL_EVERYTHING ? Binder.getCallingUid() : 0) in reportPlaybackMetrics()
164 .writeInt(metrics.getStreamSource()) in reportPlaybackMetrics()
165 .writeInt(metrics.getStreamType()) in reportPlaybackMetrics()
166 .writeInt(metrics.getPlaybackType()) in reportPlaybackMetrics()
167 .writeInt(metrics.getDrmType()) in reportPlaybackMetrics()
168 .writeInt(metrics.getContentType()) in reportPlaybackMetrics()
172 .writeInt(metrics.getVideoFramesPlayed()) in reportPlaybackMetrics()
173 .writeInt(metrics.getVideoFramesDropped()) in reportPlaybackMetrics()
174 .writeInt(metrics.getAudioUnderrunCount()) in reportPlaybackMetrics()
212 .writeInt(_state) in reportBundleMetrics()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DParcelTest.java121 pA.writeInt(13); in testCompareDataInRange_whenSameData()
127 pB.writeInt(13); in testCompareDataInRange_whenSameData()
138 pA.writeInt(13); in testCompareDataInRange_whenSameDataWithBinder()
145 pB.writeInt(13); in testCompareDataInRange_whenSameDataWithBinder()
156 pA.writeInt(13); in testCompareDataInRange_whenDifferentData()
162 pB.writeInt(13); in testCompareDataInRange_whenDifferentData()
172 pA.writeInt(12); in testCompareDataInRange_whenLimitOutOfBounds_throws()
178 pB.writeInt(13); in testCompareDataInRange_whenLimitOutOfBounds_throws()
180 pB.writeInt(-1); in testCompareDataInRange_whenLimitOutOfBounds_throws()
198 pA.writeInt(12); in testCompareDataInRange_whenLengthZero()
[all …]
/frameworks/base/core/java/android/app/assist/
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()
/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/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/core/java/android/view/accessibility/
DAccessibilityEvent.java1464 parcel.writeInt(isSealed() ? 1 : 0); in writeToParcel()
1465 parcel.writeInt(mEventType); in writeToParcel()
1466 parcel.writeInt(mMovementGranularity); in writeToParcel()
1467 parcel.writeInt(mAction); in writeToParcel()
1468 parcel.writeInt(mContentChangeTypes); in writeToParcel()
1469 parcel.writeInt(mWindowChangeTypes); in writeToParcel()
1470 parcel.writeInt(mSpeechStateChangeTypes); in writeToParcel()
1473 parcel.writeInt(mConnectionId); in writeToParcel()
1478 parcel.writeInt(recordCount); in writeToParcel()
1486 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/services/usb/java/com/android/server/usb/hal/port/
DRawPortInfo.java97 dest.writeInt(supportedModes); in writeToParcel()
98 dest.writeInt(supportedContaminantProtectionModes); in writeToParcel()
99 dest.writeInt(currentMode); in writeToParcel()
101 dest.writeInt(currentPowerRole); in writeToParcel()
103 dest.writeInt(currentDataRole); in writeToParcel()
106 dest.writeInt(contaminantProtectionStatus); in writeToParcel()
108 dest.writeInt(contaminantDetectionStatus); in writeToParcel()
109 dest.writeInt(usbDataStatus); in writeToParcel()
111 dest.writeInt(powerBrickConnectionStatus); 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/core/java/android/app/
DTaskInfo.java603 dest.writeInt(userId); in writeToParcel()
604 dest.writeInt(taskId); in writeToParcel()
605 dest.writeInt(displayId); in writeToParcel()
614 dest.writeInt(numActivities); in writeToParcel()
619 dest.writeInt(resizeMode); in writeToParcel()
622 dest.writeInt(topActivityType); in writeToParcel()
625 dest.writeInt(launchIntoPipHostTaskId); in writeToParcel()
626 dest.writeInt(lastParentTaskIdBeforePip); in writeToParcel()
630 dest.writeInt(minWidth); in writeToParcel()
631 dest.writeInt(minHeight); in writeToParcel()
[all …]
DPictureInPictureParams.java686 out.writeInt(1); in writeToParcel()
689 out.writeInt(0); in writeToParcel()
695 out.writeInt(1); in writeToParcel()
698 out.writeInt(0); in writeToParcel()
701 out.writeInt(1); in writeToParcel()
704 out.writeInt(0); in writeToParcel()
707 out.writeInt(1); in writeToParcel()
710 out.writeInt(0); in writeToParcel()
713 out.writeInt(1); in writeToParcel()
716 out.writeInt(0); in writeToParcel()
[all …]
/frameworks/base/core/java/android/service/contentcapture/
DFlushMetrics.java53 out.writeInt(sessionStarted); in writeToParcel()
54 out.writeInt(sessionFinished); in writeToParcel()
55 out.writeInt(viewAppearedCount); in writeToParcel()
56 out.writeInt(viewDisappearedCount); in writeToParcel()
57 out.writeInt(viewTextChangedCount); in writeToParcel()

12345678910>>...40