• Home
  • Raw
  • Download

Lines Matching refs:data

73         Parcel data, reply;  in disconnect()  local
74 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in disconnect()
75 remote()->transact(DISCONNECT, data, &reply); in disconnect()
84 Parcel data, reply; in setPreviewTarget() local
85 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewTarget()
87 data.writeStrongBinder(b); in setPreviewTarget()
88 remote()->transact(SET_PREVIEW_TARGET, data, &reply); in setPreviewTarget()
97 Parcel data, reply; in setPreviewCallbackFlag() local
98 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewCallbackFlag()
99 data.writeInt32(flag); in setPreviewCallbackFlag()
100 remote()->transact(SET_PREVIEW_CALLBACK_FLAG, data, &reply); in setPreviewCallbackFlag()
107 Parcel data, reply; in setPreviewCallbackTarget() local
108 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewCallbackTarget()
110 data.writeStrongBinder(b); in setPreviewCallbackTarget()
111 remote()->transact(SET_PREVIEW_CALLBACK_TARGET, data, &reply); in setPreviewCallbackTarget()
119 Parcel data, reply; in startPreview() local
120 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in startPreview()
121 remote()->transact(START_PREVIEW, data, &reply); in startPreview()
129 Parcel data, reply; in startRecording() local
130 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in startRecording()
131 remote()->transact(START_RECORDING, data, &reply); in startRecording()
139 Parcel data, reply; in stopPreview() local
140 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in stopPreview()
141 remote()->transact(STOP_PREVIEW, data, &reply); in stopPreview()
148 Parcel data, reply; in stopRecording() local
149 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in stopRecording()
150 remote()->transact(STOP_RECORDING, data, &reply); in stopRecording()
156 Parcel data, reply; in releaseRecordingFrame() local
157 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in releaseRecordingFrame()
158 data.writeStrongBinder(IInterface::asBinder(mem)); in releaseRecordingFrame()
160 remote()->transact(RELEASE_RECORDING_FRAME, data, &reply); in releaseRecordingFrame()
165 Parcel data, reply; in releaseRecordingFrameHandle() local
166 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in releaseRecordingFrameHandle()
167 data.writeNativeHandle(handle); in releaseRecordingFrameHandle()
169 remote()->transact(RELEASE_RECORDING_FRAME_HANDLE, data, &reply); in releaseRecordingFrameHandle()
178 Parcel data, reply; in releaseRecordingFrameHandleBatch() local
179 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in releaseRecordingFrameHandleBatch()
181 data.writeUint32(n); in releaseRecordingFrameHandleBatch()
183 data.writeNativeHandle(handle); in releaseRecordingFrameHandleBatch()
185 remote()->transact(RELEASE_RECORDING_FRAME_HANDLE_BATCH, data, &reply); in releaseRecordingFrameHandleBatch()
197 Parcel data, reply; in setVideoBufferMode() local
198 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setVideoBufferMode()
199 data.writeInt32(videoBufferMode); in setVideoBufferMode()
200 remote()->transact(SET_VIDEO_BUFFER_MODE, data, &reply); in setVideoBufferMode()
208 Parcel data, reply; in previewEnabled() local
209 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in previewEnabled()
210 remote()->transact(PREVIEW_ENABLED, data, &reply); in previewEnabled()
218 Parcel data, reply; in recordingEnabled() local
219 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in recordingEnabled()
220 remote()->transact(RECORDING_ENABLED, data, &reply); in recordingEnabled()
228 Parcel data, reply; in autoFocus() local
229 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in autoFocus()
230 remote()->transact(AUTO_FOCUS, data, &reply); in autoFocus()
239 Parcel data, reply; in cancelAutoFocus() local
240 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in cancelAutoFocus()
241 remote()->transact(CANCEL_AUTO_FOCUS, data, &reply); in cancelAutoFocus()
250 Parcel data, reply; in takePicture() local
251 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in takePicture()
252 data.writeInt32(msgType); in takePicture()
253 remote()->transact(TAKE_PICTURE, data, &reply); in takePicture()
262 Parcel data, reply; in setParameters() local
263 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setParameters()
264 data.writeString8(params); in setParameters()
265 remote()->transact(SET_PARAMETERS, data, &reply); in setParameters()
273 Parcel data, reply; in getParameters() local
274 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in getParameters()
275 remote()->transact(GET_PARAMETERS, data, &reply); in getParameters()
281 Parcel data, reply; in sendCommand() local
282 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in sendCommand()
283 data.writeInt32(cmd); in sendCommand()
284 data.writeInt32(arg1); in sendCommand()
285 data.writeInt32(arg2); in sendCommand()
286 remote()->transact(SEND_COMMAND, data, &reply); in sendCommand()
291 Parcel data, reply; in connect() local
292 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in connect()
293 data.writeStrongBinder(IInterface::asBinder(cameraClient)); in connect()
294 remote()->transact(CONNECT, data, &reply); in connect()
299 Parcel data, reply; in lock() local
300 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in lock()
301 remote()->transact(LOCK, data, &reply); in lock()
306 Parcel data, reply; in unlock() local
307 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in unlock()
308 remote()->transact(UNLOCK, data, &reply); in unlock()
315 Parcel data, reply; in setVideoTarget() local
316 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setVideoTarget()
318 data.writeStrongBinder(b); in setVideoTarget()
319 remote()->transact(SET_VIDEO_BUFFER_TARGET, data, &reply); in setVideoTarget()
329 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
334 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
341 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
343 interface_cast<IGraphicBufferProducer>(data.readStrongBinder()); in onTransact()
349 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
350 int callback_flag = data.readInt32(); in onTransact()
356 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
358 interface_cast<IGraphicBufferProducer>(data.readStrongBinder()); in onTransact()
364 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
370 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
376 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
382 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
388 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
389 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
395 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
397 releaseRecordingFrameHandle(data.readNativeHandle()); in onTransact()
402 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
404 uint32_t n = data.readUint32(); in onTransact()
408 handles.push_back(data.readNativeHandle()); in onTransact()
415 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
416 int32_t mode = data.readInt32(); in onTransact()
422 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
428 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
434 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
440 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
446 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
447 int msgType = data.readInt32(); in onTransact()
453 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
454 String8 params(data.readString8()); in onTransact()
460 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
466 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
467 int command = data.readInt32(); in onTransact()
468 int arg1 = data.readInt32(); in onTransact()
469 int arg2 = data.readInt32(); in onTransact()
474 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
475 sp<ICameraClient> cameraClient = interface_cast<ICameraClient>(data.readStrongBinder()); in onTransact()
480 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
485 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
491 CHECK_INTERFACE(ICamera, data, reply); in onTransact()
493 interface_cast<IGraphicBufferProducer>(data.readStrongBinder()); in onTransact()
498 return BBinder::onTransact(code, data, reply, flags); in onTransact()