binderprocess

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package binderprocess provides access to ABinderProcess_* functions that are not part of the public NDK headers but available at runtime via dlsym in libbinder_ndk.so.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartThreadPool

func StartThreadPool(threads int) error

StartThreadPool starts the binder thread pool with the given number of threads. If threads is 0, the default thread count is used (only startThreadPool is called).

Types

type ErrDLOpenLibbinderNDK

type ErrDLOpenLibbinderNDK struct{}

ErrDLOpenLibbinderNDK is returned when libbinder_ndk.so cannot be loaded.

func (ErrDLOpenLibbinderNDK) Error

func (ErrDLOpenLibbinderNDK) Error() string

type ErrSymbolSetThreadPoolMax

type ErrSymbolSetThreadPoolMax struct{}

ErrSymbolSetThreadPoolMax is returned when ABinderProcess_setThreadPoolMaxThreadCount is not found.

func (ErrSymbolSetThreadPoolMax) Error

type ErrSymbolStartThreadPool

type ErrSymbolStartThreadPool struct{}

ErrSymbolStartThreadPool is returned when ABinderProcess_startThreadPool is not found.

func (ErrSymbolStartThreadPool) Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL