Documentation
¶
Overview ¶
Verify device compliance: encryption, security state, OTA update status.
Queries DevicePolicyManager for encryption, SecurityStateManager for global security state, and SystemUpdateManager for pending updates.
Build:
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/compliance_checker ./examples/compliance_checker/ adb push build/compliance_checker /data/local/tmp/ && adb shell /data/local/tmp/compliance_checker
Click to show internal directories.
Click to hide internal directories.