Home
last modified time | relevance | path

Searched refs:writeInt32 (Results 1 – 25 of 148) 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()
73 data.writeInt32((int32_t) piid); in playerAttributes()
74 data.writeInt32(1); // non-null AudioAttributes parcelable in playerAttributes()
[all …]
/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp133 data.writeInt32(static_cast <uint32_t>(device)); in setDeviceConnectionState()
134 data.writeInt32(static_cast <uint32_t>(state)); in setDeviceConnectionState()
137 data.writeInt32(static_cast <uint32_t>(encodedFormat)); in setDeviceConnectionState()
148 data.writeInt32(static_cast <uint32_t>(device)); in getDeviceConnectionState()
161 data.writeInt32(static_cast <uint32_t>(device)); in handleDeviceConfigChange()
164 data.writeInt32(static_cast <uint32_t>(encodedFormat)); in handleDeviceConfigChange()
173 data.writeInt32(state); in setPhoneState()
182 data.writeInt32(static_cast <uint32_t>(usage)); in setForceUse()
183 data.writeInt32(static_cast <uint32_t>(config)); in setForceUse()
192 data.writeInt32(static_cast <uint32_t>(usage)); in getForceUse()
[all …]
DIAudioFlinger.cpp182 data.writeInt32((int32_t) ioHandle); in sampleRate()
193 data.writeInt32((int32_t) output); in format()
202 data.writeInt32((int32_t) ioHandle); in frameCount()
211 data.writeInt32((int32_t) output); in latency()
229 data.writeInt32(muted); in setMasterMute()
283 data.writeInt32((int32_t) stream); in setStreamVolume()
285 data.writeInt32((int32_t) output); in setStreamVolume()
294 data.writeInt32((int32_t) stream); in setStreamMute()
295 data.writeInt32(muted); in setStreamMute()
304 data.writeInt32((int32_t) stream); in streamVolume()
[all …]
DIAudioTrack.cpp110 data.writeInt32(effectId); in attachAuxEffect()
135 data.writeInt32(presentationId); in selectPresentation()
136 data.writeInt32(programId); in selectPresentation()
172 ? data.writeInt32(0) in applyVolumeShaper()
173 : data.writeInt32(1) in applyVolumeShaper()
180 ? status = data.writeInt32(0) in applyVolumeShaper()
181 : data.writeInt32(1) in applyVolumeShaper()
198 data.writeInt32(id); in getVolumeShaperState()
227 reply->writeInt32(start()); in onTransact()
247 reply->writeInt32(attachAuxEffect(data.readInt32())); in onTransact()
[all …]
DAudioAttributes.cpp52 parcel->writeInt32(static_cast<int32_t>(mAttributes.content_type)); in writeToParcel()
53 parcel->writeInt32(static_cast<int32_t>(mAttributes.usage)); in writeToParcel()
54 parcel->writeInt32(static_cast<int32_t>(mAttributes.source)); in writeToParcel()
55 parcel->writeInt32(static_cast<int32_t>(mAttributes.flags)); in writeToParcel()
57 parcel->writeInt32(0); in writeToParcel()
59 parcel->writeInt32(1); in writeToParcel()
62 parcel->writeInt32(static_cast<int32_t>(mStreamType)); in writeToParcel()
DAudioPolicy.cpp65 parcel->writeInt32(mRule); in writeToParcel()
66 parcel->writeInt32(mValue.mUsage); in writeToParcel()
100 parcel->writeInt32(mMixType); in writeToParcel()
101 parcel->writeInt32(mFormat.sample_rate); in writeToParcel()
102 parcel->writeInt32(mFormat.channel_mask); in writeToParcel()
103 parcel->writeInt32(mFormat.format); in writeToParcel()
104 parcel->writeInt32(mRouteFlags); in writeToParcel()
105 parcel->writeInt32(mDeviceType); in writeToParcel()
107 parcel->writeInt32(mCbFlags); in writeToParcel()
114 parcel->writeInt32(size); in writeToParcel()
[all …]
DIEffect.cpp74 data.writeInt32(cmdCode); in command()
79 data.writeInt32(size); in command()
88 data.writeInt32(size); in command()
144 reply->writeInt32(enable()); in onTransact()
151 reply->writeInt32(disable()); in onTransact()
163 reply->writeInt32(NO_MEMORY); in onTransact()
168 reply->writeInt32(NO_MEMORY); in onTransact()
179 reply->writeInt32(NO_MEMORY); in onTransact()
185 reply->writeInt32(NO_MEMORY); in onTransact()
190 reply->writeInt32(status); 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/av/media/libmedia/
DIMediaMetadataRetriever.cpp49 data.writeInt32(policy); in sendSchedPolicy()
102 data.writeInt32(httpService != NULL); in setDataSource()
109 data.writeInt32(0); in setDataSource()
141 data.writeInt32(1); in setDataSource()
144 data.writeInt32(0); in setDataSource()
157 data.writeInt32(option); in getFrameAtTime()
158 data.writeInt32(colorFormat); in getFrameAtTime()
159 data.writeInt32(metaOnly); in getFrameAtTime()
177 data.writeInt32(index); in getImageAtIndex()
178 data.writeInt32(colorFormat); in getImageAtIndex()
[all …]
DIMediaPlayer.cpp122 data.writeInt32(httpService != NULL); in setDataSource()
128 data.writeInt32(0); in setDataSource()
131 data.writeInt32(headers->size()); in setDataSource()
182 data.writeInt32(buffering.mInitialMarkMs); in setBufferingSettings()
183 data.writeInt32(buffering.mResumePlaybackMarkMs); in setBufferingSettings()
243 data.writeInt32((int32_t)rate.mFallbackMode); in setPlaybackSettings()
244 data.writeInt32((int32_t)rate.mStretchMode); in setPlaybackSettings()
269 data.writeInt32((int32_t)sync.mSource); in setSyncSettings()
270 data.writeInt32((int32_t)sync.mAudioAdjustMode); in setSyncSettings()
306 data.writeInt32(msec); in seekTo()
[all …]
DIMediaRecorder.cpp139 data.writeInt32(vs); in setVideoSource()
149 data.writeInt32(as); in setAudioSource()
159 data.writeInt32(of); in setOutputFormat()
169 data.writeInt32(ve); in setVideoEncoder()
179 data.writeInt32(ae); in setAudioEncoder()
207 data.writeInt32(width); in setVideoSize()
208 data.writeInt32(height); in setVideoSize()
218 data.writeInt32(frames_per_second); in setVideoFrameRate()
352 data.writeInt32(deviceId); in setInputDevice()
416 data.writeInt32(direction); in setPreferredMicrophoneDirection()
[all …]
DIOMX.cpp82 data.writeInt32(cmd); in sendCommand()
83 data.writeInt32(param); in sendCommand()
94 data.writeInt32(index); in getParameter()
114 data.writeInt32(index); in setParameter()
127 data.writeInt32(index); in getConfig()
147 data.writeInt32(index); in setConfig()
159 data.writeInt32(port_index); in setPortMode()
160 data.writeInt32(mode); in setPortMode()
170 data.writeInt32(port_index); in getGraphicBufferUsage()
182 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/libmediadrm/
DICrypto.cpp70 data.writeInt32(opaqueSize); in createPlugin()
106 data.writeInt32(mode); in decrypt()
107 data.writeInt32(pattern.mEncryptBlocks); in decrypt()
108 data.writeInt32(pattern.mSkipBlocks); in decrypt()
129 data.writeInt32(totalSize); in decrypt()
131 data.writeInt32(source.mHeapSeqNum); in decrypt()
132 data.writeInt32(offset); in decrypt()
134 data.writeInt32(numSubSamples); in decrypt()
137 data.writeInt32((int32_t)destination.mType); in decrypt()
168 data.writeInt32(width); in notifyResolution()
[all …]
DIDrm.cpp92 data.writeInt32(level); in isCryptoSchemeSupported()
134 data.writeInt32(level); in openSession()
171 data.writeInt32((uint32_t)keyType); in getKeyRequest()
173 data.writeInt32(optionalParameters.size()); in getKeyRequest()
732 data.writeInt32(vector.size()); in writeVector()
755 reply->writeInt32(vector.size()); in writeVector()
765 reply->writeInt32(initCheck()); in onTransact()
779 reply->writeInt32(isSupported); in onTransact()
780 reply->writeInt32(result); in onTransact()
790 reply->writeInt32(createPlugin(uuid, appPackageName)); in onTransact()
[all …]
/frameworks/native/libs/input/
DInputWindow.cpp69 output.writeInt32(0); in write()
72 output.writeInt32(1); in write()
77 output.writeInt32(layoutParamsFlags); in write()
78 output.writeInt32(layoutParamsType); in write()
80 output.writeInt32(frameLeft); in write()
81 output.writeInt32(frameTop); in write()
82 output.writeInt32(frameRight); in write()
83 output.writeInt32(frameBottom); in write()
84 output.writeInt32(surfaceInset); in write()
93 output.writeInt32(layer); in write()
[all …]
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp44 status = parcel->writeInt32(getDeviceId()); in writeToParcel()
46 status = parcel->writeInt32(getSampleRate()); in writeToParcel()
48 status = parcel->writeInt32(getSamplesPerFrame()); in writeToParcel()
50 status = parcel->writeInt32((int32_t) getSharingMode()); in writeToParcel()
52 status = parcel->writeInt32((int32_t) getFormat()); in writeToParcel()
55 status = parcel->writeInt32((int32_t) getDirection()); in writeToParcel()
57 status = parcel->writeInt32(getBufferCapacity()); in writeToParcel()
59 status = parcel->writeInt32((int32_t) getUsage()); in writeToParcel()
61 status = parcel->writeInt32((int32_t) getContentType()); in writeToParcel()
63 status = parcel->writeInt32((int32_t) getInputPreset()); in writeToParcel()
[all …]
DIAAudioService.cpp90 data.writeInt32(streamHandle); in closeStream()
107 data.writeInt32(streamHandle); in getStreamDescription()
136 data.writeInt32(streamHandle); in startStream()
151 data.writeInt32(streamHandle); in pauseStream()
166 data.writeInt32(streamHandle); in stopStream()
181 data.writeInt32(streamHandle); in flushStream()
199 data.writeInt32(streamHandle); in registerAudioThread()
200 data.writeInt32((int32_t) clientThreadId); in registerAudioThread()
218 data.writeInt32(streamHandle); in unregisterAudioThread()
219 data.writeInt32((int32_t) clientThreadId); in unregisterAudioThread()
[all …]
/frameworks/native/services/powermanager/
DIPowerManager.cpp45 data.writeInt32(flags); in acquireWakeLock()
48 data.writeInt32(0); // no WorkSource in acquireWakeLock()
61 data.writeInt32(flags); in acquireWakeLockWithUid()
64 data.writeInt32(uid); // uid to blame for the work in acquireWakeLockWithUid()
74 data.writeInt32(flags); in releaseWakeLock()
93 data.writeInt32(hintId); in powerHint()
94 data.writeInt32(param); in powerHint()
104 data.writeInt32(reason); in goToSleep()
105 data.writeInt32(flags); in goToSleep()
113 data.writeInt32(confirm); in reboot()
[all …]
/frameworks/native/libs/binder/
DIAppOpsService.cpp42 data.writeInt32(code); in checkOperation()
43 data.writeInt32(uid); in checkOperation()
54 data.writeInt32(code); in noteOperation()
55 data.writeInt32(uid); in noteOperation()
68 data.writeInt32(code); in startOperation()
69 data.writeInt32(uid); in startOperation()
71 data.writeInt32(startIfModeDefault ? 1 : 0); in startOperation()
83 data.writeInt32(code); in finishOperation()
84 data.writeInt32(uid); in finishOperation()
93 data.writeInt32(op); in startWatchingMode()
[all …]
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
Dparcelable_composer_layer.cpp33 ret = parcel->writeInt32(layer_.display_frame.left); in writeToParcel()
36 ret = parcel->writeInt32(layer_.display_frame.top); in writeToParcel()
39 ret = parcel->writeInt32(layer_.display_frame.right); in writeToParcel()
42 ret = parcel->writeInt32(layer_.display_frame.bottom); in writeToParcel()
57 ret = parcel->writeInt32(static_cast<int32_t>(layer_.blend_mode)); in writeToParcel()
72 ret = parcel->writeInt32(layer_.cursor_x); in writeToParcel()
75 ret = parcel->writeInt32(layer_.cursor_y); in writeToParcel()
85 ret = parcel->writeInt32(layer_.dataspace); in writeToParcel()
88 ret = parcel->writeInt32(layer_.transform); in writeToParcel()
95 ret = parcel->writeInt32(rect.left); in writeToParcel()
[all …]
/frameworks/av/camera/
DICamera.cpp99 data.writeInt32(flag); in setPreviewCallbackFlag()
199 data.writeInt32(videoBufferMode); in setVideoBufferMode()
252 data.writeInt32(msgType); in takePicture()
283 data.writeInt32(cmd); in sendCommand()
284 data.writeInt32(arg1); in sendCommand()
285 data.writeInt32(arg2); in sendCommand()
344 reply->writeInt32(setPreviewTarget(st)); in onTransact()
359 reply->writeInt32(setPreviewCallbackTarget(cp)); in onTransact()
365 reply->writeInt32(startPreview()); in onTransact()
371 reply->writeInt32(startRecording()); in onTransact()
[all …]
/frameworks/av/soundtrigger/
DISoundTriggerHwService.cpp64 data.writeInt32(numModulesReq); in listModules()
107 data.writeInt32(active); in setCaptureState()
141 reply->writeInt32(NO_MEMORY); in onTransact()
142 reply->writeInt32(0); in onTransact()
146 reply->writeInt32(status); in onTransact()
147 reply->writeInt32(numModules); in onTransact()
174 reply->writeInt32(status); in onTransact()
176 reply->writeInt32(1); in onTransact()
179 reply->writeInt32(0); in onTransact()
186 reply->writeInt32(setCaptureState((bool)data.readInt32())); in onTransact()

123456