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
Click to show internal directories.
Click to hide internal directories.