Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KnownServiceNames map[string]string
KnownServiceNames maps AIDL descriptors to well-known Android ServiceManager names, allowing fast lookup without enumeration. Populated by generated code via SetKnownServiceNames.
Functions ¶
func FindServiceByDescriptor ¶
func FindServiceByDescriptor( ctx context.Context, c *conn.Conn, descriptor string, ) (binder.IBinder, error)
FindServiceByDescriptor locates a binder service by its AIDL descriptor. It first tries the static map of well-known service names to avoid slow enumeration, then falls back to listing all services.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.