Lines Matching refs:data
75 Parcel data, reply; in disconnect() local
76 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in disconnect()
77 remote()->transact(DISCONNECT, data, &reply); in disconnect()
86 Parcel data, reply; in setPreviewTarget() local
87 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewTarget()
89 data.writeStrongBinder(b); in setPreviewTarget()
90 remote()->transact(SET_PREVIEW_TARGET, data, &reply); in setPreviewTarget()
99 Parcel data, reply; in setPreviewCallbackFlag() local
100 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewCallbackFlag()
101 data.writeInt32(flag); in setPreviewCallbackFlag()
102 remote()->transact(SET_PREVIEW_CALLBACK_FLAG, data, &reply); in setPreviewCallbackFlag()
109 Parcel data, reply; in setPreviewCallbackTarget() local
110 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewCallbackTarget()
112 data.writeStrongBinder(b); in setPreviewCallbackTarget()
113 remote()->transact(SET_PREVIEW_CALLBACK_TARGET, data, &reply); in setPreviewCallbackTarget()
121 Parcel data, reply; in startPreview() local
122 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in startPreview()
123 remote()->transact(START_PREVIEW, data, &reply); in startPreview()
131 Parcel data, reply; in startRecording() local
132 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in startRecording()
133 remote()->transact(START_RECORDING, data, &reply); in startRecording()
141 Parcel data, reply; in stopPreview() local
142 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in stopPreview()
143 remote()->transact(STOP_PREVIEW, data, &reply); in stopPreview()
150 Parcel data, reply; in stopRecording() local
151 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in stopRecording()
152 remote()->transact(STOP_RECORDING, data, &reply); in stopRecording()
158 Parcel data, reply; in releaseRecordingFrame() local
159 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in releaseRecordingFrame()
160 data.writeStrongBinder(IInterface::asBinder(mem)); in releaseRecordingFrame()
162 remote()->transact(RELEASE_RECORDING_FRAME, data, &reply); in releaseRecordingFrame()
167 Parcel data, reply; in releaseRecordingFrameHandle() local
168 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in releaseRecordingFrameHandle()
169 data.writeNativeHandle(handle); in releaseRecordingFrameHandle()
171 remote()->transact(RELEASE_RECORDING_FRAME_HANDLE, data, &reply); in releaseRecordingFrameHandle()
180 Parcel data, reply; in releaseRecordingFrameHandleBatch() local
181 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in releaseRecordingFrameHandleBatch()
183 data.writeUint32(n); in releaseRecordingFrameHandleBatch()
185 data.writeNativeHandle(handle); in releaseRecordingFrameHandleBatch()
187 remote()->transact(RELEASE_RECORDING_FRAME_HANDLE_BATCH, data, &reply); in releaseRecordingFrameHandleBatch()
197 Parcel data, reply; in setAudioRestriction() local
198 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setAudioRestriction()
199 data.writeInt32(mode); in setAudioRestriction()
200 remote()->transact(SET_AUDIO_RESTRICTION, data, &reply); in setAudioRestriction()
205 Parcel data, reply; in getGlobalAudioRestriction() local
206 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in getGlobalAudioRestriction()
207 remote()->transact(GET_GLOBAL_AUDIO_RESTRICTION, data, &reply); in getGlobalAudioRestriction()
214 Parcel data, reply; in setVideoBufferMode() local
215 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setVideoBufferMode()
216 data.writeInt32(videoBufferMode); in setVideoBufferMode()
217 remote()->transact(SET_VIDEO_BUFFER_MODE, data, &reply); in setVideoBufferMode()
225 Parcel data, reply; in previewEnabled() local
226 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in previewEnabled()
227 remote()->transact(PREVIEW_ENABLED, data, &reply); in previewEnabled()
235 Parcel data, reply; in recordingEnabled() local
236 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in recordingEnabled()
237 remote()->transact(RECORDING_ENABLED, data, &reply); in recordingEnabled()
245 Parcel data, reply; in autoFocus() local
246 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in autoFocus()
247 remote()->transact(AUTO_FOCUS, data, &reply); in autoFocus()
256 Parcel data, reply; in cancelAutoFocus() local
257 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in cancelAutoFocus()
258 remote()->transact(CANCEL_AUTO_FOCUS, data, &reply); in cancelAutoFocus()
267 Parcel data, reply; in takePicture() local
268 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in takePicture()
269 data.writeInt32(msgType); in takePicture()
270 remote()->transact(TAKE_PICTURE, data, &reply); in takePicture()
279 Parcel data, reply; in setParameters() local
280 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setParameters()
281 data.writeString8(params); in setParameters()
282 remote()->transact(SET_PARAMETERS, data, &reply); in setParameters()
290 Parcel data, reply; in getParameters() local
291 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in getParameters()
292 remote()->transact(GET_PARAMETERS, data, &reply); in getParameters()
298 Parcel data, reply; in sendCommand() local
299 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in sendCommand()
300 data.writeInt32(cmd); in sendCommand()
301 data.writeInt32(arg1); in sendCommand()
302 data.writeInt32(arg2); in sendCommand()
303 remote()->transact(SEND_COMMAND, data, &reply); in sendCommand()
308 Parcel data, reply; in connect() local
309 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in connect()
310 data.writeStrongBinder(IInterface::asBinder(cameraClient)); in connect()
311 remote()->transact(CONNECT, data, &reply); in connect()
316 Parcel data, reply; in lock() local
317 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in lock()
318 remote()->transact(LOCK, data, &reply); in lock()
323 Parcel data, reply; in unlock() local
324 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in unlock()
325 remote()->transact(UNLOCK, data, &reply); in unlock()
332 Parcel data, reply; in setVideoTarget() local
333 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setVideoTarget()
335 data.writeStrongBinder(b); in setVideoTarget()
336 remote()->transact(SET_VIDEO_BUFFER_TARGET, data, &reply); in setVideoTarget()
346 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
351 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
358 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
360 interface_cast<IGraphicBufferProducer>(data.readStrongBinder()); in onTransact()
366 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
367 int callback_flag = data.readInt32(); in onTransact()
373 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
375 interface_cast<IGraphicBufferProducer>(data.readStrongBinder()); in onTransact()
381 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
387 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
393 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
399 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
405 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
406 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
412 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
414 releaseRecordingFrameHandle(data.readNativeHandle()); in onTransact()
419 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
421 uint32_t n = data.readUint32(); in onTransact()
425 handles.push_back(data.readNativeHandle()); in onTransact()
432 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
433 int32_t mode = data.readInt32(); in onTransact()
439 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
445 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
451 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
457 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
463 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
464 int msgType = data.readInt32(); in onTransact()
470 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
471 String8 params(data.readString8()); in onTransact()
477 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
483 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
484 int command = data.readInt32(); in onTransact()
485 int arg1 = data.readInt32(); in onTransact()
486 int arg2 = data.readInt32(); in onTransact()
491 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
492 sp<ICameraClient> cameraClient = interface_cast<ICameraClient>(data.readStrongBinder()); in onTransact()
497 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
502 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
508 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
510 interface_cast<IGraphicBufferProducer>(data.readStrongBinder()); in onTransact()
515 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
516 int32_t mode = data.readInt32(); in onTransact()
521 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
526 return BBinder::onTransact(code, data, reply, flags); in onTransact()