|
Public Types |
typedef status_t(* | catch_root_func )(const sptr< IBinder > &node) |
typedef bool(* | ContextPermissionCheckFunc )(const SString &name, const sptr< IBinder > &caller, void *userData) |
Public Member Functions |
status_t | AcquireHandle (int32_t handle) |
status_t | AttemptAcquireHandle (int32_t handle) |
status_t | DecrefsHandle (int32_t handle) |
void | ExpungePackages () |
SLooper * | GetNext () |
status_t | IncrefsHandle (int32_t handle) |
sptr< IBinder > | ReceiveRootObject (pid_t process) |
status_t | ReleaseHandle (int32_t handle) |
status_t | SendRootObject (const sptr< IBinder > &rootNode) |
void | SetNext (SLooper *next) |
status_t | Transact (int32_t handle, uint32_t code, const SParcel &data, SParcel *reply, uint32_t flags) |
Static Public Member Functions |
static bool | BecomeContextManager (ContextPermissionCheckFunc checkFunc, void *userData) |
static void | CatchRootObjects (catch_root_func func) |
static status_t | ExpungeHandle (int32_t handle, IBinder *binder) |
static SContext | GetContext (const SString &name, const sptr< IBinder > &caller) |
static sptr< IBinder > | GetContextObject (const SString &name, const sptr< IBinder > &caller) |
static sptr< IBinder > | GetStrongProxyForHandle (int32_t handle) |
static wptr< IBinder > | GetWeakProxyForHandle (int32_t handle) |
static status_t | InitMain (const sptr< BProcess > &team=NULL) |
static status_t | InitOther (const sptr< BProcess > &team=NULL) |
static status_t | LastError () |
static status_t | Loop (bool isMain) |
static int32_t | Loopers () |
static bool | PrefersProcesses () |
| Returns true if the user would like us to use multiple processes.
|
static sptr< BProcess > | Process () |
static int32_t | ProcessID () |
static bool | ProcessManagesContexts (void) |
static void | SetContextObject (const sptr< IBinder > &object, const SString &name) |
static void | SetLastError (status_t error) |
static void | SetThreadPriority (int32_t priority) |
static void | Shutdown () |
static status_t | SpawnLooper () |
static SysHandle | SpawnThread (thread_func function_name, const char *thread_name, int32_t priority, void *arg) |
| spawn_thread for binder debugging.
|
static void | Stop () |
static void | StopProcess (const sptr< IBinder > &rootObject, bool now=false) |
| Cause the process associated with the give root object to stop.
|
static bool | SupportsProcesses () |
| Returns true if the current environment supports multiple processes.
|
static SLooper * | This (const sptr< BProcess > &team) |
static SLooper * | This () |
static int32_t | Thread () |
static int32_t | ThreadPriority () |
Friends |
class | BProcess |
class | BProcess::ComponentImage |