• Home
  • Raw
  • Download

Lines Matching refs:flat

146     const sp<IBinder>& binder, const flat_binder_object& flat, Parcel* out)  in finish_flatten_binder()  argument
148 return out->writeObject(flat, false); in finish_flatten_binder()
231 BpBinder* proxy, const flat_binder_object& flat, const Parcel& in) in finish_unflatten_binder() argument
239 const flat_binder_object* flat = in.readObject(false); in unflatten_binder() local
241 if (flat) { in unflatten_binder()
242 switch (flat->type) { in unflatten_binder()
244 *out = static_cast<IBinder*>(flat->cookie); in unflatten_binder()
245 return finish_unflatten_binder(NULL, *flat, in); in unflatten_binder()
247 *out = proc->getStrongProxyForHandle(flat->handle); in unflatten_binder()
249 static_cast<BpBinder*>(out->get()), *flat, in); in unflatten_binder()
258 const flat_binder_object* flat = in.readObject(false); in unflatten_binder() local
260 if (flat) { in unflatten_binder()
261 switch (flat->type) { in unflatten_binder()
263 *out = static_cast<IBinder*>(flat->cookie); in unflatten_binder()
264 return finish_unflatten_binder(NULL, *flat, in); in unflatten_binder()
266 if (flat->binder != NULL) { in unflatten_binder()
268 static_cast<IBinder*>(flat->cookie), in unflatten_binder()
269 static_cast<RefBase::weakref_type*>(flat->binder)); in unflatten_binder()
273 return finish_unflatten_binder(NULL, *flat, in); in unflatten_binder()
276 *out = proc->getWeakProxyForHandle(flat->handle); in unflatten_binder()
278 static_cast<BpBinder*>(out->unsafe_get()), *flat, in); in unflatten_binder()
429 flat_binder_object* flat in appendFrom() local
431 acquire_object(proc, *flat, this); in appendFrom()
433 if (flat->type == BINDER_TYPE_FD) { in appendFrom()
437 flat->handle = dup(flat->handle); in appendFrom()
438 flat->cookie = (void*)1; in appendFrom()
1087 const flat_binder_object* flat = readObject(true); in readFileDescriptor() local
1088 if (flat) { in readFileDescriptor()
1089 switch (flat->type) { in readFileDescriptor()
1092 return flat->handle; in readFileDescriptor()
1225 const flat_binder_object* flat in closeFileDescriptors() local
1227 if (flat->type == BINDER_TYPE_FD) { in closeFileDescriptors()
1229 close(flat->handle); in closeFileDescriptors()
1285 const flat_binder_object* flat in print() local
1288 << TypeCode(flat->type & 0x7f7f7f00) in print()
1289 << " = " << flat->binder; in print()
1306 const flat_binder_object* flat in releaseObjects() local
1308 release_object(proc, *flat, this); in releaseObjects()
1320 const flat_binder_object* flat in acquireObjects() local
1322 acquire_object(proc, *flat, this); in acquireObjects()
1458 const flat_binder_object* flat in continueWrite() local
1460 if (flat->type == BINDER_TYPE_FD) { in continueWrite()
1464 release_object(proc, *flat, this); in continueWrite()
1542 const flat_binder_object* flat in scanForFds() local
1544 if (flat->type == BINDER_TYPE_FD) { in scanForFds()