Home
last modified time | relevance | path

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

12345678910>>...25

/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCoreAudioRoutingUtils.java99 parcel.writeInt(MUSIC_STRATEGY_ID);
101 parcel.writeInt(/* nb attributes groups= */ 1);
102 parcel.writeInt(/* volumeGroupId= */ MUSIC_GROUP_ID);
103 parcel.writeInt(/* stream type= */ 0);
104 parcel.writeInt(/* nb attributes= */ 2);
106 parcel.writeInt(/* mUsage= */ AudioAttributes.USAGE_MEDIA);
107 parcel.writeInt(/* mContentType= */ AudioAttributes.CONTENT_TYPE_MUSIC);
108 parcel.writeInt(/* mSource= */ MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID);
109 parcel.writeInt(/* mFlags= */ AudioAttributes.FLAG_MUTE_HAPTIC);
110 parcel.writeInt(AudioAttributes.FLATTEN_TAGS);
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCoreAudioRoutingUtils.java113 parcel.writeInt(MUSIC_STRATEGY_ID);
116 parcel.writeInt(1);
117 parcel.writeInt(MUSIC_GROUP_ID);
119 parcel.writeInt(0);
121 parcel.writeInt(2);
123 parcel.writeInt(AudioAttributes.USAGE_MEDIA);
124 parcel.writeInt(AudioAttributes.CONTENT_TYPE_MUSIC);
125 parcel.writeInt(MediaRecorder.AudioSource.AUDIO_SOURCE_INVALID);
126 parcel.writeInt(AudioAttributes.FLAG_MUTE_HAPTIC);
127 parcel.writeInt(AudioAttributes.FLATTEN_TAGS);
[all …]
/packages/modules/AppSearch/framework/java/android/app/appsearch/safeparcel/
DSafeParcelWriter.java52 p.writeInt(0xffff0000 | id); in writeHeader()
53 p.writeInt(size); in writeHeader()
55 p.writeInt((size << 16) | id); in writeHeader()
63 p.writeInt(0xffff0000 | id); in beginVariableData()
64 p.writeInt(0); in beginVariableData()
76 p.writeInt(size); in finishVariableData()
93 p.writeInt(val ? 1 : 0); in writeBoolean()
107 p.writeInt(val ? 1 : 0); in writeBooleanObject()
113 p.writeInt(val); in writeByte()
119 p.writeInt(val); in writeChar()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DRttManager.java284 dest.writeInt(oneSidedRttSupported ? 1 : 0); in writeToParcel()
285 dest.writeInt(twoSided11McRttSupported ? 1 : 0); in writeToParcel()
286 dest.writeInt(lciSupported ? 1 : 0); in writeToParcel()
287 dest.writeInt(lcrSupported ? 1 : 0); in writeToParcel()
288 dest.writeInt(preambleSupported); in writeToParcel()
289 dest.writeInt(bwSupported); in writeToParcel()
290 dest.writeInt(responderSupported ? 1 : 0); in writeToParcel()
291 dest.writeInt(secureRttSupported ? 1 : 0); in writeToParcel()
292 dest.writeInt(mcVersion); in writeToParcel()
535 dest.writeInt(mParams.length); in writeToParcel()
[all …]
DWifiUsabilityStatsEntry.java402 dest.writeInt(mPreamble); in writeToParcel()
403 dest.writeInt(mNss); in writeToParcel()
404 dest.writeInt(mBw); in writeToParcel()
405 dest.writeInt(mRateMcsIdx); in writeToParcel()
406 dest.writeInt(mBitRateInKbps); in writeToParcel()
407 dest.writeInt(mTxMpdu); in writeToParcel()
408 dest.writeInt(mRxMpdu); in writeToParcel()
409 dest.writeInt(mMpduLost); in writeToParcel()
410 dest.writeInt(mRetries); in writeToParcel()
552 dest.writeInt(mRadioId); in writeToParcel()
[all …]
DWifiScanner.java742 dest.writeInt(band); in writeToParcel()
743 dest.writeInt(periodInMs); in writeToParcel()
744 dest.writeInt(reportEvents); in writeToParcel()
745 dest.writeInt(numBssidsPerScan); in writeToParcel()
746 dest.writeInt(maxScansToCache); in writeToParcel()
747 dest.writeInt(maxPeriodInMs); in writeToParcel()
748 dest.writeInt(stepCount); in writeToParcel()
749 dest.writeInt(isPnoScan ? 1 : 0); in writeToParcel()
750 dest.writeInt(type); in writeToParcel()
751 dest.writeInt(ignoreLocationSettings ? 1 : 0); in writeToParcel()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWlanWakeReasonAndCounts.java106 dest.writeInt(totalCmdEventWake); in writeToParcel()
107 dest.writeInt(totalDriverFwLocalWake); in writeToParcel()
108 dest.writeInt(totalRxDataWake); in writeToParcel()
110 dest.writeInt(rxUnicast); in writeToParcel()
111 dest.writeInt(rxMulticast); in writeToParcel()
112 dest.writeInt(rxBroadcast); in writeToParcel()
114 dest.writeInt(icmp); in writeToParcel()
115 dest.writeInt(icmp6); in writeToParcel()
116 dest.writeInt(icmp6Ra); in writeToParcel()
117 dest.writeInt(icmp6Na); in writeToParcel()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DAudioLocalSession.java79 parcel.writeInt(AudioSession.CMD_MODIFY_SESSION); in modifySession()
94 parcel.writeInt(AudioSession.CMD_ADD_CONFIG); in addConfig()
109 parcel.writeInt(AudioSession.CMD_DELETE_CONFIG); in deleteConfig()
127 parcel.writeInt(AudioSession.CMD_CONFIRM_CONFIG); in confirmConfig()
142 parcel.writeInt(AudioSession.CMD_SEND_DTMF); in sendDtmf()
144 parcel.writeInt(duration); in sendDtmf()
155 parcel.writeInt(AudioSession.CMD_SEND_RTP_HDR_EXTN); in sendHeaderExtension()
156 parcel.writeInt(extensions.size()); in sendHeaderExtension()
171 parcel.writeInt(AudioSession.CMD_SET_MEDIA_QUALITY_THRESHOLD); in setMediaQualityThreshold()
186 parcel.writeInt(AudioSession.CMD_REQUEST_RECEPTION_STATS); in requestRtpReceptionStats()
[all …]
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/atoms/
DAtomsQualifiedRatListChangedInfo.java165 builder.writeInt(mNetCapability); // atom #1 in build()
166 builder.writeInt(mFirstQualifiedRat); // atom #2 in build()
167 builder.writeInt(mSecondQualifiedRat); // atom #3 in build()
168 builder.writeInt(mCurrentTransportType); // atom #4 in build()
170 builder.writeInt(mWfcMode); // atom #6 in build()
171 builder.writeInt(mCellularNetworkType); // atom #7 in build()
172 builder.writeInt(mIwlanNetworkType); // atom #8 in build()
173 builder.writeInt(mRestrictionsOnWwan); // atom #9 in build()
174 builder.writeInt(mRestrictionsOnWlan); // atom #10 in build()
175 builder.writeInt(mSignalStrength); // atom #11 in build()
[all …]
DAtomsQnsImsCallDropStats.java66 builder.writeInt(mTransportTypeCallDropped); // atom #1 in build()
68 builder.writeInt(mRestrictionsOnOtherTransportType); // atom #3 in build()
69 builder.writeInt(mSignalStrength); // atom #4 in build()
70 builder.writeInt(mSignalQuality); // atom #5 in build()
71 builder.writeInt(mSignalNoise); // atom #6 in build()
72 builder.writeInt(mIwlanSignalStrength); // atom #7 in build()
73 builder.writeInt(mSlotIndex); // atom #8 in build()
74 builder.writeInt(mCellularNetworkType); // atom #9 in build()
/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/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothQualityReport.java459 out.writeInt(mLmpVer); in writeToParcel()
460 out.writeInt(mLmpSubVer); in writeToParcel()
461 out.writeInt(mManufacturerId); in writeToParcel()
463 out.writeInt(mBluetoothClass.getClassOfDevice()); in writeToParcel()
1065 dest.writeInt(mQualityReportId); in writeToParcel()
1066 dest.writeInt(mPacketType); in writeToParcel()
1067 dest.writeInt(mConnectionHandle); in writeToParcel()
1068 dest.writeInt(mConnectionRole); in writeToParcel()
1069 dest.writeInt(mTxPowerLevel); in writeToParcel()
1070 dest.writeInt(mRssi); in writeToParcel()
[all …]
DBluetoothHidDeviceAppQosSettings.java124 out.writeInt(mServiceType); in writeToParcel()
125 out.writeInt(mTokenRate); in writeToParcel()
126 out.writeInt(mTokenBucketSize); in writeToParcel()
127 out.writeInt(mPeakBandwidth); in writeToParcel()
128 out.writeInt(mLatency); in writeToParcel()
129 out.writeInt(mDelayVariation); in writeToParcel()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DLogUtils.java64 .writeInt(logFields.getApiType()) in log()
65 .writeInt(logFields.getUriType()) in log()
66 .writeInt(getCallerType(logFields.isCallerIsSyncAdapter())) in log()
67 .writeInt(getResultType(logFields.getException())) in log()
68 .writeInt(logFields.getResultCount()) in log()
70 .writeInt(logFields.getTaskType()) in log()
71 .writeInt(0) // Not used yet. in log()
72 .writeInt(logFields.getUid()) in log()
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DVideoConfig.java485 dest.writeInt(mVideoMode); in writeToParcel()
486 dest.writeInt(mCodecType); in writeToParcel()
487 dest.writeInt(mFramerate); in writeToParcel()
488 dest.writeInt(mBitrate); in writeToParcel()
489 dest.writeInt(mMaxMtuBytes); in writeToParcel()
490 dest.writeInt(mCodecProfile); in writeToParcel()
491 dest.writeInt(mCodecLevel); in writeToParcel()
492 dest.writeInt(mIntraFrameIntervalSec); in writeToParcel()
493 dest.writeInt(mPacketizationMode); in writeToParcel()
494 dest.writeInt(mCameraId); in writeToParcel()
[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/modules/Bluetooth/framework/java/android/bluetooth/le/
DScanResult.java150 dest.writeInt(1); in writeToParcel()
153 dest.writeInt(0); in writeToParcel()
156 dest.writeInt(1); in writeToParcel()
159 dest.writeInt(0); in writeToParcel()
161 dest.writeInt(mRssi); in writeToParcel()
163 dest.writeInt(mEventType); in writeToParcel()
164 dest.writeInt(mPrimaryPhy); in writeToParcel()
165 dest.writeInt(mSecondaryPhy); in writeToParcel()
166 dest.writeInt(mAdvertisingSid); in writeToParcel()
167 dest.writeInt(mTxPower); in writeToParcel()
[all …]
DAdvertisingSetParameters.java267 dest.writeInt(mConnectable ? 1 : 0); in writeToParcel()
268 dest.writeInt(mScannable ? 1 : 0); in writeToParcel()
269 dest.writeInt(mIsLegacy ? 1 : 0); in writeToParcel()
270 dest.writeInt(mIsAnonymous ? 1 : 0); in writeToParcel()
271 dest.writeInt(mIncludeTxPower ? 1 : 0); in writeToParcel()
272 dest.writeInt(mPrimaryPhy); in writeToParcel()
273 dest.writeInt(mSecondaryPhy); in writeToParcel()
274 dest.writeInt(mInterval); in writeToParcel()
275 dest.writeInt(mTxPowerLevel); in writeToParcel()
276 dest.writeInt(mOwnAddressType); in writeToParcel()
[all …]
DScanFilter.java134 dest.writeInt(mDeviceName == null ? 0 : 1); in writeToParcel()
138 dest.writeInt(mDeviceAddress == null ? 0 : 1); in writeToParcel()
142 dest.writeInt(mServiceUuid == null ? 0 : 1); in writeToParcel()
145 dest.writeInt(mServiceUuidMask == null ? 0 : 1); in writeToParcel()
150 dest.writeInt(mServiceSolicitationUuid == null ? 0 : 1); in writeToParcel()
153 dest.writeInt(mServiceSolicitationUuidMask == null ? 0 : 1); in writeToParcel()
158 dest.writeInt(mServiceDataUuid == null ? 0 : 1); in writeToParcel()
161 dest.writeInt(mServiceData == null ? 0 : 1); in writeToParcel()
163 dest.writeInt(mServiceData.length); in writeToParcel()
166 dest.writeInt(mServiceDataMask == null ? 0 : 1); in writeToParcel()
[all …]
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DVideoListenerTest.java81 parcel.writeInt(event); in createParcel()
82 parcel.writeInt(result); in createParcel()
101 parcel.writeInt(VideoSession.EVENT_OPEN_SESSION_FAILURE); in testOpenSessionFailure()
102 parcel.writeInt(SESSION_ID); in testOpenSessionFailure()
103 parcel.writeInt(ImsMediaSession.RESULT_INVALID_PARAM); in testOpenSessionFailure()
116 parcel.writeInt(VideoSession.EVENT_MODIFY_SESSION_RESPONSE); in testEventModifySessionResponse()
117 parcel.writeInt(ImsMediaSession.RESULT_NO_RESOURCES); in testEventModifySessionResponse()
131 parcel.writeInt(VideoSession.EVENT_FIRST_MEDIA_PACKET_IND); in testEventFirstMediaPacketInd()
144 parcel.writeInt(VideoSession.EVENT_PEER_DIMENSION_CHANGED); in testEventPeerDimensionChanged()
145 parcel.writeInt(RESOLUTION_WIDTH); in testEventPeerDimensionChanged()
[all …]
DAudioListenerTest.java87 parcel.writeInt(event); in createParcel()
88 parcel.writeInt(result); in createParcel()
109 parcel.writeInt(AudioSession.EVENT_OPEN_SESSION_FAILURE); in testOpenSessionFailure()
110 parcel.writeInt(SESSION_ID); in testOpenSessionFailure()
111 parcel.writeInt(ImsMediaSession.RESULT_INVALID_PARAM); in testOpenSessionFailure()
154 parcel.writeInt(AudioSession.EVENT_FIRST_MEDIA_PACKET_IND); in testEventFirstMediaPacketInd()
169 parcel.writeInt(AudioSession.EVENT_RTP_HEADER_EXTENSION_IND); in testEventRtpHeaderExtensionInd()
170 parcel.writeInt(extensions.size()); in testEventRtpHeaderExtensionInd()
186 parcel.writeInt(AudioSession.EVENT_MEDIA_QUALITY_STATUS_IND); in testEventMediaQualityStatusInd()
197 parcel.writeInt(AudioSession.EVENT_TRIGGER_ANBR_QUERY_IND); in testEventTriggerAnbrQueryInd()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/
DCustomAppWidgetProviderInfo.java78 out.writeInt(initialLayout); in writeToParcel()
79 out.writeInt(icon); in writeToParcel()
80 out.writeInt(previewImage); in writeToParcel()
82 out.writeInt(resizeMode); in writeToParcel()
83 out.writeInt(spanX); in writeToParcel()
84 out.writeInt(spanY); in writeToParcel()
85 out.writeInt(minSpanX); in writeToParcel()
86 out.writeInt(minSpanY); in writeToParcel()
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DNearbyDeviceParcelable.java161 dest.writeInt(mScanType); in writeToParcel()
162 dest.writeInt(mName == null ? 0 : 1); in writeToParcel()
166 dest.writeInt(mMedium); in writeToParcel()
167 dest.writeInt(mTxPower); in writeToParcel()
168 dest.writeInt(mRssi); in writeToParcel()
169 dest.writeInt(mAction); in writeToParcel()
171 dest.writeInt(mFastPairModelId == null ? 0 : 1); in writeToParcel()
175 dest.writeInt(mBluetoothAddress == null ? 0 : 1); in writeToParcel()
179 dest.writeInt(mData == null ? 0 : 1); in writeToParcel()
181 dest.writeInt(mData.length); in writeToParcel()
[all …]
/packages/apps/Contacts/src/com/android/contacts/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/modules/Connectivity/framework/src/android/net/
DDhcpInfo.java77 dest.writeInt(ipAddress); in writeToParcel()
78 dest.writeInt(gateway); in writeToParcel()
79 dest.writeInt(netmask); in writeToParcel()
80 dest.writeInt(dns1); in writeToParcel()
81 dest.writeInt(dns2); in writeToParcel()
82 dest.writeInt(serverAddress); in writeToParcel()
83 dest.writeInt(leaseDuration); in writeToParcel()

12345678910>>...25