Home
last modified time | relevance | path

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

123

/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()
83 parcel->writeInt32(KEY_STRUCT_TEXT); in extract3GPPLocalDescriptions()
[all …]
/frameworks/av/media/libmedia/
DIAudioPolicyService.cpp75 data.writeInt32(static_cast <uint32_t>(device)); in setDeviceConnectionState()
76 data.writeInt32(static_cast <uint32_t>(state)); in setDeviceConnectionState()
88 data.writeInt32(static_cast <uint32_t>(device)); in getDeviceConnectionState()
98 data.writeInt32(state); in setPhoneState()
107 data.writeInt32(static_cast <uint32_t>(usage)); in setForceUse()
108 data.writeInt32(static_cast <uint32_t>(config)); in setForceUse()
117 data.writeInt32(static_cast <uint32_t>(usage)); in getForceUse()
131 data.writeInt32(static_cast <uint32_t>(stream)); in getOutput()
132 data.writeInt32(samplingRate); in getOutput()
133 data.writeInt32(static_cast <uint32_t>(format)); in getOutput()
[all …]
DIAudioFlinger.cpp101 data.writeInt32(pid); in createTrack()
102 data.writeInt32((int32_t) streamType); in createTrack()
103 data.writeInt32(sampleRate); in createTrack()
104 data.writeInt32(format); in createTrack()
105 data.writeInt32(channelMask); in createTrack()
106 data.writeInt32(frameCount); in createTrack()
107 data.writeInt32((int32_t) flags); in createTrack()
109 data.writeInt32((int32_t) output); in createTrack()
110 data.writeInt32((int32_t) tid); in createTrack()
115 data.writeInt32(lSessionId); in createTrack()
[all …]
DIMediaPlayer.cpp84 data.writeInt32(0); in setDataSource()
87 data.writeInt32(headers->size()); in setDataSource()
171 data.writeInt32(msec); in seekTo()
206 data.writeInt32((int32_t) stream); in setAudioStreamType()
215 data.writeInt32(loop); in setLooping()
251 request.writeInt32(update_only); in getMetadata()
252 request.writeInt32(apply_filter); in getMetadata()
270 data.writeInt32(effectId); in attachAuxEffect()
279 data.writeInt32(key); in setParameter()
291 data.writeInt32(key); in getParameter()
[all …]
DIMediaRecorder.cpp113 data.writeInt32(vs); in setVideoSource()
123 data.writeInt32(as); in setAudioSource()
133 data.writeInt32(of); in setOutputFormat()
143 data.writeInt32(ve); in setVideoEncoder()
153 data.writeInt32(ae); in setAudioEncoder()
184 data.writeInt32(width); in setVideoSize()
185 data.writeInt32(height); in setVideoSize()
195 data.writeInt32(frames_per_second); in setVideoFrameRate()
296 reply->writeInt32(release()); in onTransact()
302 reply->writeInt32(init()); in onTransact()
[all …]
DIOMX.cpp64 data.writeInt32(pid); in livesLocally()
124 data.writeInt32(cmd); in sendCommand()
125 data.writeInt32(param); in sendCommand()
137 data.writeInt32(index); in getParameter()
138 data.writeInt32(size); in getParameter()
158 data.writeInt32(index); in setParameter()
159 data.writeInt32(size); in setParameter()
172 data.writeInt32(index); in getConfig()
173 data.writeInt32(size); in getConfig()
193 data.writeInt32(index); in setConfig()
[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 …]
DIAudioFlingerClient.cpp46 data.writeInt32(event); in ioConfigChanged()
47 data.writeInt32((int32_t) ioHandle); in ioConfigChanged()
51 data.writeInt32(stream); in ioConfigChanged()
54 data.writeInt32(desc->samplingRate); in ioConfigChanged()
55 data.writeInt32(desc->format); in ioConfigChanged()
56 data.writeInt32(desc->channels); in ioConfigChanged()
57 data.writeInt32(desc->frameCount); in ioConfigChanged()
58 data.writeInt32(desc->latency); in ioConfigChanged()
DIMediaMetadataRetriever.cpp43 data.writeInt32(policy); in sendSchedPolicy()
93 data.writeInt32(0); in setDataSource()
96 data.writeInt32(headers->size()); in setDataSource()
124 data.writeInt32(option); in getFrameAtTime()
158 data.writeInt32(keyCode); in extractMetadata()
193 reply->writeInt32( in onTransact()
203 reply->writeInt32(setDataSource(fd, offset, length)); in onTransact()
216 reply->writeInt32(NO_ERROR); in onTransact()
219 reply->writeInt32(UNKNOWN_ERROR); in onTransact()
233 reply->writeInt32(NO_ERROR); in onTransact()
[all …]
DIAudioTrack.cpp95 data.writeInt32(e); in mute()
110 data.writeInt32(effectId); in attachAuxEffect()
123 data.writeInt32(size); in allocateTimedBuffer()
155 data.writeInt32(xform.a_to_b_numer); in setMediaTimeTransform()
156 data.writeInt32(xform.a_to_b_denom); in setMediaTimeTransform()
157 data.writeInt32(target); in setMediaTimeTransform()
182 reply->writeInt32(start()); in onTransact()
207 reply->writeInt32(attachAuxEffect(data.readInt32())); in onTransact()
214 reply->writeInt32(status); in onTransact()
225 reply->writeInt32(queueTimedBuffer(buffer, pts)); in onTransact()
[all …]
DICrypto.cpp65 data.writeInt32(opaqueSize); in createPlugin()
105 data.writeInt32(secure); in decrypt()
106 data.writeInt32(mode); in decrypt()
127 data.writeInt32(totalSize); in decrypt()
130 data.writeInt32(numSubSamples); in decrypt()
170 reply->writeInt32(initCheck()); in onTransact()
180 reply->writeInt32(isCryptoSchemeSupported(uuid)); in onTransact()
200 reply->writeInt32(createPlugin(uuid, opaqueData, opaqueSize)); in onTransact()
213 reply->writeInt32(destroyPlugin()); in onTransact()
223 reply->writeInt32(requiresSecureDecoderComponent(mime)); in onTransact()
[all …]
DIStreamSource.cpp61 data.writeInt32(static_cast<int32_t>(buffers.size())); in setBuffers()
71 data.writeInt32(static_cast<int32_t>(index)); in onBufferAvailable()
129 data.writeInt32(static_cast<int32_t>(index)); in queueBuffer()
130 data.writeInt32(static_cast<int32_t>(size)); in queueBuffer()
139 data.writeInt32(static_cast<int32_t>(cmd)); in issueCommand()
140 data.writeInt32(static_cast<int32_t>(synchronous)); in issueCommand()
143 data.writeInt32(1); in issueCommand()
146 data.writeInt32(0); in issueCommand()
DIMediaPlayerService.cpp57 data.writeInt32(pid); in createMetadataRetriever()
66 data.writeInt32(pid); in create()
68 data.writeInt32(audioSessionId); in create()
78 data.writeInt32(pid); in createMediaRecorder()
126 data.writeInt32(params); in addBatteryData()
162 reply->writeInt32(sampleRate); in onTransact()
163 reply->writeInt32(numChannels); in onTransact()
164 reply->writeInt32((int32_t) format); in onTransact()
177 reply->writeInt32(sampleRate); in onTransact()
178 reply->writeInt32(numChannels); in onTransact()
[all …]
/frameworks/av/drm/common/
DIDrmManagerService.cpp42 data->writeInt32(handle->decryptId); in writeDecryptHandleToParcelData()
44 data->writeInt32(handle->decryptApiType); in writeDecryptHandleToParcelData()
45 data->writeInt32(handle->status); in writeDecryptHandleToParcelData()
48 data->writeInt32(size); in writeDecryptHandleToParcelData()
50 data->writeInt32(handle->copyControlVector.keyAt(i)); in writeDecryptHandleToParcelData()
51 data->writeInt32(handle->copyControlVector.valueAt(i)); in writeDecryptHandleToParcelData()
55 data->writeInt32(size); in writeDecryptHandleToParcelData()
62 data->writeInt32(handle->decryptInfo->decryptBufferLength); in writeDecryptHandleToParcelData()
64 data->writeInt32(INVALID_BUFFER_LENGTH); in writeDecryptHandleToParcelData()
117 data.writeInt32(isNative); in addUniqueId()
[all …]
/frameworks/native/libs/gui/
DISurfaceTexture.cpp57 data.writeInt32(bufferIdx); in requestBuffer()
75 data.writeInt32(bufferCount); in setBufferCount()
88 data.writeInt32(w); in dequeueBuffer()
89 data.writeInt32(h); in dequeueBuffer()
90 data.writeInt32(format); in dequeueBuffer()
91 data.writeInt32(usage); in dequeueBuffer()
105 data.writeInt32(buf); in queueBuffer()
119 data.writeInt32(buf); in cancelBuffer()
126 data.writeInt32(what); in query()
139 data.writeInt32(enabled); in setSynchronousMode()
[all …]
DISurfaceComposerClient.cpp64 data.writeInt32(display); in createSurface()
65 data.writeInt32(w); in createSurface()
66 data.writeInt32(h); in createSurface()
67 data.writeInt32(format); in createSurface()
68 data.writeInt32(flags); in createSurface()
78 data.writeInt32(sid); in destroySurface()
109 reply->writeInt32( destroySurface( data.readInt32() ) ); in onTransact()
128 parcel->writeInt32(token); in writeToParcel()
129 parcel->writeInt32(identity); in writeToParcel()
DISurfaceComposer.cpp86 data.writeInt32(state.size()); in setTransactionState()
90 data.writeInt32(orientation); in setTransactionState()
91 data.writeInt32(flags); in setTransactionState()
110 data.writeInt32(dpy); in captureScreen()
111 data.writeInt32(reqWidth); in captureScreen()
112 data.writeInt32(reqHeight); in captureScreen()
113 data.writeInt32(minLayerZ); in captureScreen()
114 data.writeInt32(maxLayerZ); in captureScreen()
127 data.writeInt32(mode); in turnElectronBeamOff()
136 data.writeInt32(mode); in turnElectronBeamOn()
[all …]
DIGraphicBufferAlloc.cpp49 data.writeInt32(w); in createGraphicBuffer()
50 data.writeInt32(h); in createGraphicBuffer()
51 data.writeInt32(format); in createGraphicBuffer()
52 data.writeInt32(usage); in createGraphicBuffer()
98 reply->writeInt32(error); in onTransact()
/frameworks/av/media/common_time/
Dutils.cpp39 p->writeInt32(AF_INET); in serializeSockaddr()
40 p->writeInt32(ntohl(s->sin_addr.s_addr)); in serializeSockaddr()
41 p->writeInt32(static_cast<int32_t>(ntohs(s->sin_port))); in serializeSockaddr()
49 p->writeInt32(AF_INET6); in serializeSockaddr()
50 p->writeInt32(ntohl(a[0])); in serializeSockaddr()
51 p->writeInt32(ntohl(a[1])); in serializeSockaddr()
52 p->writeInt32(ntohl(a[2])); in serializeSockaddr()
53 p->writeInt32(ntohl(a[3])); in serializeSockaddr()
54 p->writeInt32(static_cast<int32_t>(ntohs(s->sin6_port))); in serializeSockaddr()
55 p->writeInt32(ntohl(s->sin6_flowinfo)); in serializeSockaddr()
[all …]
DICommonTimeConfig.cpp74 data.writeInt32(static_cast<int32_t>(priority)); in setMasterElectionPriority()
108 data.writeInt32(0); in setMasterElectionEndpoint()
110 data.writeInt32(1); in setMasterElectionEndpoint()
204 data.writeInt32(interval); in setMasterAnnounceInterval()
234 data.writeInt32(interval); in setClientSyncInterval()
264 data.writeInt32(threshold); in setPanicThreshold()
294 data.writeInt32(autoDisable ? 1 : 0); in setAutoDisable()
332 reply->writeInt32(status); in onTransact()
334 reply->writeInt32(static_cast<int32_t>(priority)); in onTransact()
343 reply->writeInt32(status); in onTransact()
[all …]
DICommonClock.cpp246 reply->writeInt32(status); in onTransact()
248 reply->writeInt32(valid); in onTransact()
249 reply->writeInt32(timelineID); in onTransact()
259 reply->writeInt32(status); in onTransact()
271 reply->writeInt32(status); in onTransact()
282 reply->writeInt32(status); in onTransact()
293 reply->writeInt32(status); in onTransact()
304 reply->writeInt32(status); in onTransact()
315 reply->writeInt32(status); in onTransact()
326 reply->writeInt32(status); in onTransact()
[all …]
/frameworks/av/camera/
DICamera.cpp101 data.writeInt32(flag); in setPreviewCallbackFlag()
157 data.writeInt32(enabled); in storeMetaDataInBuffers()
210 data.writeInt32(msgType); in takePicture()
241 data.writeInt32(cmd); in sendCommand()
242 data.writeInt32(arg1); in sendCommand()
243 data.writeInt32(arg2); in sendCommand()
289 reply->writeInt32(setPreviewDisplay(surface)); in onTransact()
296 reply->writeInt32(setPreviewTexture(st)); in onTransact()
309 reply->writeInt32(startPreview()); in onTransact()
315 reply->writeInt32(startRecording()); in onTransact()
[all …]
DICameraService.cpp51 data.writeInt32(cameraId); in getCameraInfo()
64 data.writeInt32(cameraId); in connect()
80 reply->writeInt32(getNumberOfCameras()); in onTransact()
88 reply->writeInt32(cameraInfo.facing); in onTransact()
89 reply->writeInt32(cameraInfo.orientation); in onTransact()
90 reply->writeInt32(result); in onTransact()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp508 writeInt32(mEstimatedMoovBoxSize); in start()
614 writeInt32(a); // a in writeCompositionMatrix()
615 writeInt32(b); // b in writeCompositionMatrix()
616 writeInt32(0); // u in writeCompositionMatrix()
617 writeInt32(c); // c in writeCompositionMatrix()
618 writeInt32(d); // d in writeCompositionMatrix()
619 writeInt32(0); // v in writeCompositionMatrix()
620 writeInt32(0); // x in writeCompositionMatrix()
621 writeInt32(0); // y in writeCompositionMatrix()
622 writeInt32(0x40000000); // w in writeCompositionMatrix()
[all …]
/frameworks/native/libs/binder/
DIPCThreadState.cpp429 mOut.writeInt32(isMain ? BC_ENTER_LOOPER : BC_REGISTER_LOOPER); in joinThreadPool()
495 mOut.writeInt32(BC_EXIT_LOOPER); in joinThreadPool()
574 mOut.writeInt32(BC_ACQUIRE); in incStrongHandle()
575 mOut.writeInt32(handle); in incStrongHandle()
581 mOut.writeInt32(BC_RELEASE); in decStrongHandle()
582 mOut.writeInt32(handle); in decStrongHandle()
588 mOut.writeInt32(BC_INCREFS); in incWeakHandle()
589 mOut.writeInt32(handle); in incWeakHandle()
595 mOut.writeInt32(BC_DECREFS); in decWeakHandle()
596 mOut.writeInt32(handle); in decWeakHandle()
[all …]

123