Lines Matching defs:flat

191     const sp<IBinder>& /*binder*/, const flat_binder_object& flat, Parcel* out)
193 return out->writeObject(flat);
285 BpHwBinder* /*proxy*/, const flat_binder_object& /*flat*/,
294 const flat_binder_object* flat = in.readObject<flat_binder_object>();
296 if (flat) {
297 switch (flat->hdr.type) {
299 *out = reinterpret_cast<IBinder*>(flat->cookie);
300 return finish_unflatten_binder(NULL, *flat, in);
302 *out = proc->getStrongProxyForHandle(flat->handle);
304 static_cast<BpHwBinder*>(out->get()), *flat, in);
313 const flat_binder_object* flat = in.readObject<flat_binder_object>();
315 if (flat) {
316 switch (flat->hdr.type) {
318 *out = reinterpret_cast<IBinder*>(flat->cookie);
319 return finish_unflatten_binder(NULL, *flat, in);
321 if (flat->binder != 0) {
323 reinterpret_cast<IBinder*>(flat->cookie),
324 reinterpret_cast<RefBase::weakref_type*>(flat->binder));
328 return finish_unflatten_binder(NULL, *flat, in);
331 *out = proc->getWeakProxyForHandle(flat->handle);
333 static_cast<BpHwBinder*>(out->unsafe_get()), *flat, in);
1766 const flat_binder_object* flat
1768 if (flat->hdr.type == BINDER_TYPE_FD) {
1769 //ALOGI("Closing fd: %ld", flat->handle);
1770 close(flat->handle);
1864 const flat_binder_object* flat
1866 if (flat->hdr.type == BINDER_TYPE_PTR) {
1879 << TypeCode(flat->hdr.type & 0x7f7f7f00)
1880 << " = " << flat->binder;
1898 const flat_binder_object* flat
1900 release_object(proc, *flat, this);
1912 const binder_object_header* flat
1914 acquire_object(proc, *flat, this);
2102 const flat_binder_object* flat
2104 if (flat->hdr.type == BINDER_TYPE_FD) {
2108 release_object(proc, *flat, this);
2215 const flat_binder_object* flat
2217 if (flat->hdr.type == BINDER_TYPE_FD) {