Home
last modified time | relevance | path

Searched refs:writeInt32 (Results 1 – 25 of 134) sorted by relevance

123456

/frameworks/av/media/libstagefright/timedtext/
DTextDescriptions.cpp51 parcel->writeInt32(KEY_LOCAL_SETTING); in extractSRTLocalDescriptions()
52 parcel->writeInt32(KEY_START_TIME); in extractSRTLocalDescriptions()
53 parcel->writeInt32(timeMs); in extractSRTLocalDescriptions()
55 parcel->writeInt32(KEY_STRUCT_TEXT); in extractSRTLocalDescriptions()
57 parcel->writeInt32(size); in extractSRTLocalDescriptions()
59 parcel->writeInt32(size); in extractSRTLocalDescriptions()
74 parcel->writeInt32(KEY_LOCAL_SETTING); in extract3GPPLocalDescriptions()
77 parcel->writeInt32(KEY_START_TIME); in extract3GPPLocalDescriptions()
78 parcel->writeInt32(timeMs); in extract3GPPLocalDescriptions()
90 parcel->writeInt32(KEY_STRUCT_TEXT); in extract3GPPLocalDescriptions()
[all …]
/frameworks/native/services/audiomanager/
DIAudioManager.cpp42 data.writeInt32(1); // non-null PlayerIdCard parcelable in trackPlayer()
44 data.writeInt32((int32_t) playerType); in trackPlayer()
46 data.writeInt32((int32_t) usage); in trackPlayer()
47 data.writeInt32((int32_t) content); in trackPlayer()
48 data.writeInt32(0 /*source: none here, this is a player*/); in trackPlayer()
49 data.writeInt32(0 /*flags*/); in trackPlayer()
51 data.writeInt32(1 /*FLATTEN_TAGS*/); in trackPlayer()
54 data.writeInt32(-1977 /*ATTR_PARCEL_IS_NULL_BUNDLE*/); // no bundle in trackPlayer()
58 data.writeInt32((int32_t)sessionId); in trackPlayer()
75 data.writeInt32((int32_t) piid); in playerAttributes()
[all …]
/frameworks/av/media/libmedia/
DIMediaMetadataRetriever.cpp68 data.writeInt32(httpService != NULL); in setDataSource()
75 data.writeInt32(0); in setDataSource()
78 data.writeInt32(headers->size()); in setDataSource()
107 data.writeInt32(1); in setDataSource()
110 data.writeInt32(0); in setDataSource()
123 data.writeInt32(option); in getFrameAtTime()
124 data.writeInt32(colorFormat); in getFrameAtTime()
125 data.writeInt32(metaOnly); in getFrameAtTime()
140 data.writeInt32(index); in getImageAtIndex()
141 data.writeInt32(colorFormat); in getImageAtIndex()
[all …]
DIMediaPlayer.cpp98 data.writeInt32(httpService != NULL); in setDataSource()
104 data.writeInt32(0); in setDataSource()
107 data.writeInt32(headers->size()); in setDataSource()
167 data.writeInt32(buffering.mInitialMarkMs); in setBufferingSettings()
168 data.writeInt32(buffering.mResumePlaybackMarkMs); in setBufferingSettings()
228 data.writeInt32((int32_t)rate.mFallbackMode); in setPlaybackSettings()
229 data.writeInt32((int32_t)rate.mStretchMode); in setPlaybackSettings()
254 data.writeInt32((int32_t)sync.mSource); in setSyncSettings()
255 data.writeInt32((int32_t)sync.mAudioAdjustMode); in setSyncSettings()
291 data.writeInt32(msec); in seekTo()
[all …]
DIMediaRecorder.cpp142 data.writeInt32(vs); in setVideoSource()
152 data.writeInt32(as); in setAudioSource()
162 data.writeInt32(privacySensitive ? 1 : 0); in setPrivacySensitive()
192 data.writeInt32(of); in setOutputFormat()
202 data.writeInt32(ve); in setVideoEncoder()
212 data.writeInt32(ae); in setAudioEncoder()
240 data.writeInt32(width); in setVideoSize()
241 data.writeInt32(height); in setVideoSize()
251 data.writeInt32(frames_per_second); in setVideoFrameRate()
385 data.writeInt32(deviceId); in setInputDevice()
[all …]
DIOMX.cpp81 data.writeInt32(cmd); in sendCommand()
82 data.writeInt32(param); in sendCommand()
93 data.writeInt32(index); in getParameter()
113 data.writeInt32(index); in setParameter()
126 data.writeInt32(index); in getConfig()
146 data.writeInt32(index); in setConfig()
158 data.writeInt32(port_index); in setPortMode()
159 data.writeInt32(mode); in setPortMode()
169 data.writeInt32(port_index); in getGraphicBufferUsage()
181 data.writeInt32(port_index); in useBuffer()
[all …]
DMetadata.cpp76 mData->writeInt32(end - mBegin); in updateLength()
86 ok = ok && mData->writeInt32(-1) == OK; in appendHeader()
87 ok = ok && mData->writeInt32(kMetaMarker) == OK; in appendHeader()
101 ok = ok && mData->writeInt32(4 * sizeof(int32_t)) == OK; in appendBool()
102 ok = ok && mData->writeInt32(key) == OK; in appendBool()
103 ok = ok && mData->writeInt32(BOOLEAN_VAL) == OK; in appendBool()
104 ok = ok && mData->writeInt32(val ? 1 : 0) == OK; in appendBool()
121 ok = ok && mData->writeInt32(4 * sizeof(int32_t)) == OK; in appendInt32()
122 ok = ok && mData->writeInt32(key) == OK; in appendInt32()
123 ok = ok && mData->writeInt32(INTEGER_VAL) == OK; in appendInt32()
[all …]
DIMediaCodecList.cpp58 data.writeInt32(index); in getCodecInfo()
91 data.writeInt32(encoder); in findCodecByType()
92 data.writeInt32(startIndex); in findCodecByType()
122 reply->writeInt32(count); in onTransact()
133 reply->writeInt32(OK); in onTransact()
136 reply->writeInt32(-ERANGE); in onTransact()
147 reply->writeInt32(OK); in onTransact()
150 reply->writeInt32(-ERANGE); in onTransact()
161 reply->writeInt32(NAME_NOT_FOUND); in onTransact()
170 reply->writeInt32(index); in onTransact()
[all …]
/frameworks/av/drm/common/
DIDrmManagerService.cpp43 data->writeInt32(handle->decryptId); in writeDecryptHandleToParcelData()
45 data->writeInt32(handle->decryptApiType); in writeDecryptHandleToParcelData()
46 data->writeInt32(handle->status); in writeDecryptHandleToParcelData()
49 data->writeInt32(size); in writeDecryptHandleToParcelData()
51 data->writeInt32(handle->copyControlVector.keyAt(i)); in writeDecryptHandleToParcelData()
52 data->writeInt32(handle->copyControlVector.valueAt(i)); in writeDecryptHandleToParcelData()
56 data->writeInt32(size); in writeDecryptHandleToParcelData()
63 data->writeInt32(handle->decryptInfo->decryptBufferLength); in writeDecryptHandleToParcelData()
65 data->writeInt32(INVALID_BUFFER_LENGTH); in writeDecryptHandleToParcelData()
118 data.writeInt32(isNative); in addUniqueId()
[all …]
/frameworks/native/libs/binder/
DIActivityManager.cpp70 data.writeInt32(event); in registerUidObserver()
71 data.writeInt32(cutpoint); in registerUidObserver()
88 data.writeInt32(event); in registerUidObserverForUids()
89 data.writeInt32(cutpoint); in registerUidObserverForUids()
122 data.writeInt32(uid); in addUidToObserver()
136 data.writeInt32(uid); in removeUidFromObserver()
148 data.writeInt32(uid); in isUidActive()
160 data.writeInt32(uid); in getUidProcessState()
177 data.writeInt32(pid); in checkPermission()
178 data.writeInt32(uid); in checkPermission()
[all …]
DIUidObserver.cpp37 data.writeInt32((int32_t) uid); in onUidGone()
38 data.writeInt32(disabled ? 1 : 0); in onUidGone()
46 data.writeInt32((int32_t) uid); in onUidActive()
54 data.writeInt32((int32_t) uid); in onUidIdle()
55 data.writeInt32(disabled ? 1 : 0); in onUidIdle()
63 data.writeInt32((int32_t) uid); in onUidStateChanged()
64 data.writeInt32(procState); in onUidStateChanged()
66 data.writeInt32(capability); in onUidStateChanged()
72 data.writeInt32((int32_t)uid); in onUidProcAdjChanged()
73 data.writeInt32((int32_t)adj); in onUidProcAdjChanged()
DIBatteryStats.cpp38 data.writeInt32(uid); in noteStartSensor()
39 data.writeInt32(sensor); in noteStartSensor()
46 data.writeInt32(uid); in noteStopSensor()
47 data.writeInt32(sensor); in noteStopSensor()
54 data.writeInt32(uid); in noteStartVideo()
61 data.writeInt32(uid); in noteStopVideo()
68 data.writeInt32(uid); in noteStartAudio()
75 data.writeInt32(uid); in noteStopAudio()
94 data.writeInt32(uid); in noteFlashlightOn()
101 data.writeInt32(uid); in noteFlashlightOff()
[all …]
DIPermissionController.cpp42 data.writeInt32(pid); in checkPermission()
43 data.writeInt32(uid); in checkPermission()
55 data.writeInt32(uid); in noteOp()
67 data.writeInt32(uid); in getPackagesForUid()
98 data.writeInt32(flags); in getPackageUid()
122 reply->writeInt32(res ? 1 : 0); in onTransact()
133 reply->writeInt32(res); in onTransact()
144 reply->writeInt32(size); in onTransact()
156 reply->writeInt32(res ? 1 : 0); in onTransact()
166 reply->writeInt32(uid); in onTransact()
DPersistableBundle.cpp101 RETURN_IF_FAILED(parcel->writeInt32(0)); in writeToParcel()
106 RETURN_IF_FAILED(parcel->writeInt32(1)); // dummy, will hold length in writeToParcel()
107 RETURN_IF_FAILED(parcel->writeInt32(BUNDLE_MAGIC_NATIVE)); in writeToParcel()
120 RETURN_IF_FAILED(parcel->writeInt32(static_cast<int32_t>(length))); in writeToParcel()
327 RETURN_IF_FAILED(parcel->writeInt32(static_cast<int32_t>(num_entries))); in writeToParcelInner()
331 RETURN_IF_FAILED(parcel->writeInt32(VAL_BOOLEAN)); in writeToParcelInner()
336 RETURN_IF_FAILED(parcel->writeInt32(VAL_INTEGER)); in writeToParcelInner()
337 RETURN_IF_FAILED(parcel->writeInt32(key_val_pair.second)); in writeToParcelInner()
341 RETURN_IF_FAILED(parcel->writeInt32(VAL_LONG)); in writeToParcelInner()
346 RETURN_IF_FAILED(parcel->writeInt32(VAL_DOUBLE)); in writeToParcelInner()
[all …]
/frameworks/av/camera/tests/fuzzer/
Dcamera_SessionStats_fuzzer.cpp37 parcelCamStreamStats.writeInt32(width); in LLVMFuzzerTestOneInput()
41 parcelCamStreamStats.writeInt32(height); in LLVMFuzzerTestOneInput()
45 parcelCamStreamStats.writeInt32(format); in LLVMFuzzerTestOneInput()
53 parcelCamStreamStats.writeInt32(dataSpace); in LLVMFuzzerTestOneInput()
69 parcelCamStreamStats.writeInt32(maxHalBuffers); in LLVMFuzzerTestOneInput()
73 parcelCamStreamStats.writeInt32(maxAppBuffers); in LLVMFuzzerTestOneInput()
77 parcelCamStreamStats.writeInt32(dynamicRangeProfile); in LLVMFuzzerTestOneInput()
81 parcelCamStreamStats.writeInt32(streamUseCase); in LLVMFuzzerTestOneInput()
85 parcelCamStreamStats.writeInt32(colorSpace); in LLVMFuzzerTestOneInput()
110 parcelCamSessionStats.writeInt32(facing); in LLVMFuzzerTestOneInput()
[all …]
Dcamera_c2CaptureRequest_fuzzer.cpp43 parcelCamCaptureReq.writeInt32(physicalCameraSettingsSize); in LLVMFuzzerTestOneInput()
67 parcelCamCaptureReq.writeInt32(captureRequest->mIsReprocess); in LLVMFuzzerTestOneInput()
73 parcelCamCaptureReq.writeInt32(0); in LLVMFuzzerTestOneInput()
79 parcelCamCaptureReq.writeInt32(surfaceListSize); in LLVMFuzzerTestOneInput()
107 parcelCamCaptureReq.writeInt32(indexListSize); in LLVMFuzzerTestOneInput()
116 parcelCamCaptureReq.writeInt32(streamIdx); in LLVMFuzzerTestOneInput()
119 parcelCamCaptureReq.writeInt32(surfaceIdx); in LLVMFuzzerTestOneInput()
/frameworks/native/libs/permission/
DIAppOpsService.cpp42 data.writeInt32(code); in checkOperation()
43 data.writeInt32(uid); in checkOperation()
56 data.writeInt32(code); in noteOperation()
57 data.writeInt32(uid); in noteOperation()
79 data.writeInt32(code); in startOperation()
80 data.writeInt32(uid); in startOperation()
101 data.writeInt32(code); in finishOperation()
102 data.writeInt32(uid); in finishOperation()
112 data.writeInt32(op); in startWatchingMode()
139 data.writeInt32(code); in checkAudioOperation()
[all …]
/frameworks/native/libs/binder/tests/
DbinderParcelUnitTest.cpp45 p.writeInt32(kTestString.size() - 2); in TEST()
62 p.writeInt32(kTestString.size() - 2); in TEST()
74 p.writeInt32(kTestInt); in TEST()
88 p.writeInt32(4); in TEST()
91 p.writeInt32(4); in TEST()
93 p.writeInt32(4); in TEST()
104 p.writeInt32(4); in TEST()
106 p.writeInt32(4); in TEST()
108 p.writeInt32(4); in TEST()
120 p2.writeInt32(2); in TEST()
[all …]
/frameworks/av/camera/
DICamera.cpp101 data.writeInt32(flag); in setPreviewCallbackFlag()
199 data.writeInt32(mode); in setAudioRestriction()
216 data.writeInt32(videoBufferMode); in setVideoBufferMode()
269 data.writeInt32(msgType); in takePicture()
300 data.writeInt32(cmd); in sendCommand()
301 data.writeInt32(arg1); in sendCommand()
302 data.writeInt32(arg2); in sendCommand()
361 reply->writeInt32(setPreviewTarget(st)); in onTransact()
376 reply->writeInt32(setPreviewCallbackTarget(cp)); in onTransact()
382 reply->writeInt32(startPreview()); in onTransact()
[all …]
DCameraSessionStats.cpp170 if ((err = parcel->writeInt32(mWidth)) != OK) { in writeToParcel()
175 if ((err = parcel->writeInt32(mHeight)) != OK) { in writeToParcel()
180 if ((err = parcel->writeInt32(mFormat)) != OK) { in writeToParcel()
190 if ((err = parcel->writeInt32(mDataSpace)) != OK) { in writeToParcel()
210 if ((err = parcel->writeInt32(mStartLatencyMs)) != OK) { in writeToParcel()
215 if ((err = parcel->writeInt32(mMaxHalBuffers)) != OK) { in writeToParcel()
220 if ((err = parcel->writeInt32(mMaxAppBuffers)) != OK) { in writeToParcel()
225 if ((err = parcel->writeInt32(mHistogramType)) != OK) { in writeToParcel()
250 if ((err = parcel->writeInt32(mColorSpace)) != OK) { in writeToParcel()
491 if ((err = parcel->writeInt32(mFacing)) != OK) { in writeToParcel()
[all …]
/frameworks/native/libs/sensor/
DISensorEventConnection.cpp66 data.writeInt32(handle); in enableDisable()
67 data.writeInt32(enabled); in enableDisable()
70 data.writeInt32(reservedFlags); in enableDisable()
79 data.writeInt32(handle); in setEventRate()
95 data.writeInt32(handle); in configureChannel()
96 data.writeInt32(rateLevel); in configureChannel()
140 reply->writeInt32(result); in onTransact()
148 reply->writeInt32(result); in onTransact()
154 reply->writeInt32(result); in onTransact()
162 reply->writeInt32(result); in onTransact()
/frameworks/av/media/libaudioclient/
DAudioPolicy.cpp73 parcel->writeInt32(mRule); in writeToParcel()
74 parcel->writeInt32(mValue.mUsage); in writeToParcel()
114 parcel->writeInt32(mMixType); in writeToParcel()
115 parcel->writeInt32(mFormat.sample_rate); in writeToParcel()
116 parcel->writeInt32(mFormat.channel_mask); in writeToParcel()
117 parcel->writeInt32(mFormat.format); in writeToParcel()
118 parcel->writeInt32(mRouteFlags); in writeToParcel()
119 parcel->writeInt32(mDeviceType); in writeToParcel()
121 parcel->writeInt32(mCbFlags); in writeToParcel()
129 parcel->writeInt32(size); in writeToParcel()
[all …]
/frameworks/av/camera/camera2/
DCaptureRequest.cpp177 if ((err = parcel->writeInt32(settingsCount)) != OK) { in writeToParcel()
194 parcel->writeInt32(mIsReprocess ? 1 : 0); in writeToParcel()
197 parcel->writeInt32(0); // 0-sized array in writeToParcel()
202 parcel->writeInt32(size); in writeToParcel()
220 parcel->writeInt32(mStreamIdxList.size()); in writeToParcel()
222 if ((err = parcel->writeInt32(mStreamIdxList[i])) != OK) { in writeToParcel()
226 if ((err = parcel->writeInt32(mSurfaceIdxList[i])) != OK) { in writeToParcel()
233 parcel->writeInt32(0); in writeToParcel()
235 parcel->writeInt32(1); in writeToParcel()
/frameworks/native/libs/gui/
DIGraphicBufferProducer.cpp99 data.writeInt32(bufferIdx); in requestBuffer()
142 data.writeInt32(maxDequeuedBuffers); in setMaxDequeuedBufferCount()
156 data.writeInt32(async); in setAsyncMode()
175 data.writeInt32(static_cast<int32_t>(format)); in dequeueBuffer()
240 data.writeInt32(slot); in detachBuffer()
361 data.writeInt32(buf); in queueBuffer()
403 data.writeInt32(buf); in cancelBuffer()
433 data.writeInt32(what); in query()
467 data.writeInt32(1); in connect()
470 data.writeInt32(0); in connect()
[all …]
DWindowInfo.cpp114 parcel->writeInt32(0); in writeToParcel()
117 parcel->writeInt32(1); in writeToParcel()
127 parcel->writeInt32(id) ?: in writeToParcel()
129 parcel->writeInt32(layoutParamsFlags.get()) ?: in writeToParcel()
130 parcel->writeInt32( in writeToParcel()
133 parcel->writeInt32(contentSize.width) ?: in writeToParcel()
134 parcel->writeInt32(contentSize.height) ?: in writeToParcel()
135 parcel->writeInt32(surfaceInset) ?: in writeToParcel()
144 parcel->writeInt32(static_cast<int32_t>(touchOcclusionMode)) ?: in writeToParcel()
145 parcel->writeInt32(ownerPid.val()) ?: in writeToParcel()
[all …]

123456