Home | History | Annotate | Download | only in binder

Lines Matching full:flat

237     const sp<IBinder>& /*binder*/, const flat_binder_object& flat, Parcel* out)
239 return out->writeObject(flat, false);
324 BpBinder* /*proxy*/, const flat_binder_object& /*flat*/,
333 const flat_binder_object* flat = in.readObject(false);
335 if (flat) {
336 switch (flat->type) {
338 *out = reinterpret_cast<IBinder*>(flat->cookie);
339 return finish_unflatten_binder(NULL, *flat, in);
341 *out = proc->getStrongProxyForHandle(flat->handle);
343 static_cast<BpBinder*>(out->get()), *flat, in);
352 const flat_binder_object* flat = in.readObject(false);
354 if (flat) {
355 switch (flat->type) {
357 *out = reinterpret_cast<IBinder*>(flat->cookie);
358 return finish_unflatten_binder(NULL, *flat, in);
360 if (flat->binder != 0) {
362 reinterpret_cast<IBinder*>(flat->cookie),
363 reinterpret_cast<RefBase::weakref_type*>(flat->binder));
367 return finish_unflatten_binder(NULL, *flat, in);
370 *out = proc->getWeakProxyForHandle(flat->handle);
372 static_cast<BpBinder*>(out->unsafe_get()), *flat, in);
568 flat_binder_object* flat
570 acquire_object(proc, *flat, this, &mOpenAshmemSize);
572 if (flat->type == BINDER_TYPE_FD) {
576 flat->handle = dup(flat->handle);
577 flat->cookie = 1;
1988 const flat_binder_object* flat = readObject(true);
1990 if (flat && flat->type == BINDER_TYPE_FD) {
1991 return flat->handle;
2166 const flat_binder_object* flat
2168 if (flat->type == BINDER_TYPE_FD) {
2169 //ALOGI("Closing fd: %ld", flat->handle);
2170 close(flat->handle);
2237 const flat_binder_object* flat
2240 << TypeCode(flat->type & 0x7f7f7f00)
2241 << " = " << flat->binder;
2258 const flat_binder_object* flat
2260 release_object(proc, *flat, this, &mOpenAshmemSize);
2272 const flat_binder_object* flat
2274 acquire_object(proc, *flat, this, &mOpenAshmemSize);
2459 const flat_binder_object* flat
2461 if (flat->type == BINDER_TYPE_FD) {
2465 release_object(proc, *flat, this, &mOpenAshmemSize);
2569 const flat_binder_object* flat
2571 if (flat->type == BINDER_TYPE_FD) {