Introduce "adb shell dpm force-security-logs"
This command fetches the most recent batch of the logs and makes them available to the DPC. Primary purpose is to make security logging testable in CTS without having to either wait for 2 hours or relying on implementation details. To prevent the user from abusing the command and annoying the DPC, it is throttled if run more than once per 10 seconds. Waiting happens in Dpm command. Test: adb shell dpm force-security-logs Bug: 70886042 Bug: 62251154 Change-Id: Ic5acd5a3e5c3b060881385c472df2b972961b626
Loading
Please register or sign in to comment