examples/

directory
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: CC0-1.0

Directories

Path Synopsis
Query the Activity Manager: process limits, permissions, running state.
Query the Activity Manager: process limits, permissions, running state.
Query audio state: volume levels, mute status, audio mode.
Query audio state: volume levels, mute status, audio mode.
Query battery health from the system battery properties service.
Query battery health from the system battery properties service.
Camera frame capture using gralloc-allocated buffers.
Camera frame capture using gralloc-allocated buffers.
Test camera ConnectDevice with a local callback stub.
Test camera ConnectDevice with a local callback stub.
Query device information: thermal status, GNSS hardware, input devices, network interfaces, vibrator capabilities, screensaver state.
Query device information: thermal status, GNSS hardware, input devices, network interfaces, vibrator capabilities, screensaver state.
Query display configuration: IDs, brightness, night mode, color mode.
Query display configuration: IDs, brightness, night mode, color mode.
Graceful error handling: service availability, permissions, typed errors.
Graceful error handling: service availability, permissions, typed errors.
Toggle the Android flashlight/torch on and off via the camera service binder.
Toggle the Android flashlight/torch on and off via the camera service binder.
Binary getservice_vs_checkservice compares GetService vs CheckService for HAL binder services to investigate the discrepancy where CheckService returns NOT FOUND for services that GetService can retrieve.
Binary getservice_vs_checkservice compares GetService vs CheckService for HAL binder services to investigate the discrepancy where CheckService returns NOT FOUND for services that GetService can retrieve.
Live GPS location via binder IPC: register a callback, receive a fix, print coordinates.
Live GPS location via binder IPC: register a callback, receive a fix, print coordinates.
Binary keymint_delete_test calls DeleteAllKeys on the KeyMint HAL via binder IPC.
Binary keymint_delete_test calls DeleteAllKeys on the KeyMint HAL via binder IPC.
List all installed packages on the device.
List all installed packages on the device.
List all registered Android binder services and ping each one.
List all registered Android binder services and ping each one.
Query installed packages: check availability, get installer, SDK target.
Query installed packages: check availability, get installer, SDK target.
Query Android power state: interactive, power save mode, battery saver, idle.
Query Android power state: interactive, power save mode, battery saver, idle.
Binary security_test_apk probes whether an app-sandboxed process can reach critical HAL binder services.
Binary security_test_apk probes whether an app-sandboxed process can reach critical HAL binder services.
Register a Go service with the ServiceManager and call it back.
Register a Go service with the ServiceManager and call it back.
Query network management status via the INetworkManagementService system service.
Query network management status via the INetworkManagementService system service.
Query tethering and network interface status via INetworkManagementService.
Query tethering and network interface status via INetworkManagementService.
Query WiFi information from the wificond system service.
Query WiFi information from the wificond system service.
Query storage and USB state: last fstrim, USB functions, USB speed.
Query storage and USB state: last fstrim, USB functions, USB speed.

Jump to

Keyboard shortcuts

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