device_policy

command
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 Imports: 8 Imported by: 0

Documentation

Overview

Query DevicePolicyManager for device administration state.

Checks storage encryption status, active device admin list, and related device policy information.

Build:

GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/device_policy ./examples/device_policy/
adb push build/device_policy /data/local/tmp/ && adb shell /data/local/tmp/device_policy

Jump to

Keyboard shortcuts

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