examples/

directory
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: CC0-1.0

Directories

Path Synopsis
List accounts on the device via AccountManager.
List accounts on the device via AccountManager.
Query the Activity Manager: process limits, permissions, running state.
Query the Activity Manager: process limits, permissions, running state.
Expose a bridge service that forwards calls to another binder service.
Expose a bridge service that forwards calls to another binder service.
Introspect methods on binder services.
Introspect methods on binder services.
Audit pending alarms via AlarmManager.
Audit pending alarms via AlarmManager.
Query app hibernation status via the AppHibernationService.
Query app hibernation status via the AppHibernationService.
Monitor user presence via PowerManager and display state.
Monitor user presence via PowerManager and display state.
Query attestation verification and related security services.
Query attestation verification and related security services.
Query current audio focus state via AudioService.
Query current audio focus state via AudioService.
Detect which apps are currently recording audio.
Detect which apps are currently recording audio.
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.
Send randomized parcel data to services to test robustness.
Send randomized parcel data to services to test robustness.
Measure round-trip binder transaction times.
Measure round-trip binder transaction times.
BLE sensor collector: scan for BLE devices and register a GATT client.
BLE sensor collector: scan for BLE devices and register a GATT client.
Manage Bluetooth A2DP audio connections via binder.
Manage Bluetooth A2DP audio connections via binder.
Enumerate paired/bonded Bluetooth devices and query adapter info.
Enumerate paired/bonded Bluetooth devices and query adapter info.
Query Bluetooth adapter status and scan for BLE devices via binder.
Query Bluetooth adapter status and scan for BLE devices via binder.
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 carrier configuration: default carrier service package, configuration for subscriptions.
Query carrier configuration: default carrier service package, configuration for subscriptions.
Monitor charging status and battery health via the Health HAL.
Monitor charging status and battery health via the Health HAL.
Set and read clipboard text via the Android clipboard binder service.
Set and read clipboard text via the Android clipboard binder service.
Codec2 H.264 encoding via HIDL hwbinder.
Codec2 H.264 encoding via HIDL hwbinder.
Verify device compliance: encryption, security state, OTA update status.
Verify device compliance: encryption, security state, OTA update status.
Query the CredentialManager service for availability.
Query the CredentialManager service for availability.
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 DevicePolicyManager for device administration state.
Query DevicePolicyManager for device administration state.
Query display configuration: IDs, brightness, night mode, color mode.
Query display configuration: IDs, brightness, night mode, color mode.
Query and display Do Not Disturb (Zen) mode via NotificationManager.
Query and display Do Not Disturb (Zen) mode via NotificationManager.
Query network configuration via the netd system service.
Query network configuration via the netd system service.
Query screensaver/daydream state via DreamManager.
Query screensaver/daydream state via DreamManager.
Monitor SIM slots: query active subscription count, slot info, and per-slot ICC card presence.
Monitor SIM slots: query active subscription count, slot info, and per-slot ICC card presence.
Graceful error handling: service availability, permissions, typed errors.
Graceful error handling: service availability, permissions, typed errors.
Query eSIM/eUICC profile management: OTA status, supported countries, available memory.
Query eSIM/eUICC profile management: OTA status, supported countries, available memory.
Factory reset demonstration via DevicePolicyManager.
Factory reset demonstration via DevicePolicyManager.
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.
Query location provider availability for geofencing use cases.
Query location provider availability for geofencing use cases.
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.
Query GNSS hardware model name, year, and capabilities via LocationManager.
Query GNSS hardware model name, year, and capabilities via LocationManager.
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.
Headless device orchestration: query power, display, and process state.
Headless device orchestration: query power, display, and process state.
Monitor IMS registration state via ITelephony proxy.
Monitor IMS registration state via ITelephony proxy.
Inject input events via InputManager's binder interface.
Inject input events via InputManager's binder interface.
Query JobScheduler state from the "jobscheduler" service.
Query JobScheduler state from the "jobscheduler" service.
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.
Query Keystore2 service for key entries and counts (read-only).
Query Keystore2 service for key entries and counts (read-only).
Query activity/window manager for kiosk lockdown information.
Query activity/window manager for kiosk lockdown information.
Retrieve the last known fused location without registering a listener.
Retrieve the last known fused location without registering a listener.
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.
Compare location providers by querying all providers and their properties.
Compare location providers by querying all providers and their properties.
Lightweight MDM agent querying device policies via DevicePolicyManager.
Lightweight MDM agent querying device policies via DevicePolicyManager.
Enumerate active media sessions and query global priority.
Enumerate active media sessions and query global priority.
Query media transcoding service status and media metrics session IDs.
Query media transcoding service status and media metrics session IDs.
Read memory pressure info from ActivityManager.
Read memory pressure info from ActivityManager.
Create a mock binder service for testing.
Create a mock binder service for testing.
Check network connectivity status via NetworkManagementService.
Check network connectivity status via NetworkManagementService.
Query network policy settings via the INetworkPolicyManager system service.
Query network policy settings via the INetworkPolicyManager system service.
Query notification state via NotificationManager: zen mode, active notifications.
Query notification state via NotificationManager: zen mode, active notifications.
Query OemLockService for bootloader lock state and OEM unlock status.
Query OemLockService for bootloader lock state and OEM unlock status.
Query update engine for OTA update status.
Query update engine for OTA update status.
Monitor installed packages by polling the PackageManager.
Monitor installed packages by polling the PackageManager.
Query installed packages: check availability, get installer, SDK target.
Query installed packages: check availability, get installer, SDK target.
Audit permissions for installed apps via the ActivityManager.
Audit permissions for installed apps via the ActivityManager.
Test which binder calls succeed or fail from the current security context.
Test which binder calls succeed or fail from the current security context.
Check permissions for UIDs/PIDs via ActivityManager.
Check permissions for UIDs/PIDs via ActivityManager.
Measure battery current draw over time via the Health HAL.
Measure battery current draw over time via the Health HAL.
Query power save mode status and related settings via PowerManager.
Query power save mode status and related settings via PowerManager.
Query Android power state: interactive, power save mode, battery saver, idle.
Query Android power state: interactive, power save mode, battery saver, idle.
List running processes via ActivityManager and check resource usage.
List running processes via ActivityManager and check resource usage.
QR/barcode scanner daemon that captures camera frames for processing.
QR/barcode scanner daemon that captures camera frames for processing.
Collect comprehensive device state for remote diagnostics.
Collect comprehensive device state for remote diagnostics.
Monitor remote key provisioning (RKP) and device security state.
Monitor remote key provisioning (RKP) and device security state.
Query device rotation and display state via WindowManager and DisplayManager.
Query device rotation and display state via WindowManager and DisplayManager.
Check satellite telephony readiness by querying the telephony service.
Check satellite telephony readiness by querying the telephony service.
Check screen on/off state and display interactivity via PowerManager.
Check screen on/off state and display interactivity via PowerManager.
Query OMAPI SecureElementService for available readers.
Query OMAPI SecureElementService for available readers.
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.
Stream live sensor events via the SensorManager event queue callback.
Stream live sensor events via the SensorManager event queue callback.
Read sensor data from the SensorManager HAL.
Read sensor data from the SensorManager HAL.
Register a Go service with the ServiceManager and call it back.
Register a Go service with the ServiceManager and call it back.
Register a Go binder service using a generated AIDL stub.
Register a Go binder service using a generated AIDL stub.
Display brightness and power control for digital signage.
Display brightness and power control for digital signage.
Query telephony service for SIM state: radio, ICC card, data state.
Query telephony service for SIM state: radio, ICC card, data state.
Query SMS service: preferred subscription, IMS SMS support.
Query SMS service: preferred subscription, IMS SMS support.
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.
List sound trigger modules via SoundTriggerMiddlewareService.
List sound trigger modules via SoundTriggerMiddlewareService.
Query status bar state: navigation bar mode, tracing, last system key.
Query status bar state: navigation bar mode, tracing, last system key.
Query storage and USB state: last fstrim, USB functions, USB speed.
Query storage and USB state: last fstrim, USB functions, USB speed.
Acquire and release a wake lock via the PowerManager binder service.
Acquire and release a wake lock via the PowerManager binder service.
Classify installed packages as system or user apps.
Classify installed packages as system or user apps.
Poll thermal service for CPU/GPU temperatures, throttling status, and cooling devices.
Poll thermal service for CPU/GPU temperatures, throttling status, and cooling devices.
Periodic timelapse camera capture via binder.
Periodic timelapse camera capture via binder.
Resolve AIDL method names to transaction codes for binder services.
Resolve AIDL method names to transaction codes for binder services.
Query app usage statistics via the UsageStatsManager.
Query app usage statistics via the UsageStatsManager.
Query USB device state: ports, functions, speed, and HAL versions.
Query USB device state: ports, functions, speed, and HAL versions.
Query user profiles from the UserManager service.
Query user profiles from the UserManager service.
Collect GPS, battery, and device diagnostics for vehicle telematics.
Collect GPS, battery, and device diagnostics for vehicle telematics.
Validate proxy compatibility across API levels.
Validate proxy compatibility across API levels.
Get and set stream volumes via AudioService.
Get and set stream volumes via AudioService.
Check VPN status via the IVpnManager system service.
Check VPN status via the IVpnManager system service.
Enumerate supported wake lock levels via PowerManager.
Enumerate supported wake lock levels via PowerManager.
Scan available WiFi networks via the wificond system service.
Scan available WiFi networks via the wificond system service.

Jump to

Keyboard shortcuts

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