Lines Matching defs:data

50         Parcel data, reply;
51 data.writeInterfaceToken(ICameraClient::getInterfaceDescriptor());
52 data.writeInt32(msgType);
53 data.writeInt32(ext1);
54 data.writeInt32(ext2);
55 remote()->transact(NOTIFY_CALLBACK, data, &reply, IBinder::FLAG_ONEWAY);
58 // generic data callback from camera service to app with image data
63 Parcel data, reply;
64 data.writeInterfaceToken(ICameraClient::getInterfaceDescriptor());
65 data.writeInt32(msgType);
66 data.writeStrongBinder(IInterface::asBinder(imageData));
68 data.writeInt32(metadata->number_of_faces);
69 data.write(metadata->faces, sizeof(camera_face_t) * metadata->number_of_faces);
71 remote()->transact(DATA_CALLBACK, data, &reply, IBinder::FLAG_ONEWAY);
74 // generic data callback from camera service to app with image data
78 Parcel data, reply;
79 data.writeInterfaceToken(ICameraClient::getInterfaceDescriptor());
80 data.writeInt64(timestamp);
81 data.writeInt32(msgType);
82 data.writeStrongBinder(IInterface::asBinder(imageData));
83 remote()->transact(DATA_CALLBACK_TIMESTAMP, data, &reply, IBinder::FLAG_ONEWAY);
88 Parcel data, reply;
89 data.writeInterfaceToken(ICameraClient::getInterfaceDescriptor());
90 data.writeInt64(timestamp);
91 data.writeNativeHandle(handle);
92 remote()->transact(RECORDING_FRAME_HANDLE_CALLBACK_TIMESTAMP, data, &reply,
100 Parcel data, reply;
101 data.writeInterfaceToken(ICameraClient::getInterfaceDescriptor());
108 data.writeUint32(n);
110 data.writeInt64(ts);
113 data.writeNativeHandle(handle);
115 remote()->transact(RECORDING_FRAME_HANDLE_CALLBACK_TIMESTAMP_BATCH, data, &reply,
125 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
130 CHECK_INTERFACE(ICameraClient, data, reply);
131 int32_t msgType = data.readInt32();
132 int32_t ext1 = data.readInt32();
133 int32_t ext2 = data.readInt32();
139 CHECK_INTERFACE(ICameraClient, data, reply);
140 int32_t msgType = data.readInt32();
141 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder());
143 if (data.dataAvail() > 0) {
145 metadata->number_of_faces = data.readInt32();
146 metadata->faces = (camera_face_t *) data.readInplace(
155 CHECK_INTERFACE(ICameraClient, data, reply);
156 nsecs_t timestamp = data.readInt64();
157 int32_t msgType = data.readInt32();
158 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder());
164 CHECK_INTERFACE(ICameraClient, data, reply);
166 status_t res = data.readInt64(&timestamp);
171 native_handle_t* handle = data.readNativeHandle();
183 CHECK_INTERFACE(ICameraClient, data, reply);
185 status_t res = data.readUint32(&n);
196 res = data.readInt64(&t);
205 native_handle_t* handle = data.readNativeHandle();
219 return BBinder::onTransact(code, data, reply, flags);