Autobinder.cpp File Reference

#include <new>
#include <stdlib.h>
#include <stdio.h>
#include <support/Autobinder.h>
#include <support/Binder.h>
#include <support/TypeConstants.h>
#include <support/SupportDefs.h>
#include <support/StdIO.h>
#include <support/String.h>
#include <support/Value.h>
#include <support/Debug.h>
#include <support_p/SupportMisc.h>
#include <support_p/WindowsCompatibility.h>

Functions

status_t autobinder_from_parcel (const BEffectMethodDef &def, SParcel &parcel, void **args, uint32_t *outDirs)
 Used by pidgen to unmarshal when receiving a call.
status_t autobinder_marshal_args (const BParameterInfo *pi, const BParameterInfo *pi_end, uint32_t dir, void **args, SParcel &parcel, uint32_t *outDirs)
 Marshal an argument list into a parcel.
status_t autobinder_to_parcel (const BEffectMethodDef &def, void **args, void *result, SParcel &parcel, uint32_t dirs)
 Used by pidgen to marshal result when receiving a call.
status_t autobinder_unmarshal_args (const BParameterInfo *pi, const BParameterInfo *pi_end, uint32_t dir, SParcel &parcel, void **args, uint32_t *outDirs)
 Unmarshal an argument list out of a parcel.
status_t execute_autobinder (uint32_t code, const sptr< IInterface > &target, SParcel &data, SParcel *reply, const BAutobinderDef **defs, size_t def_count, uint32_t flags)
status_t parameter_from_value (type_code type, const struct PTypeMarshaller *marshaller, const SValue &v, void *result)
status_t parameter_to_value (type_code type, const struct PTypeMarshaller *marshaller, const void *value, SValue *out)