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