Add boolean to ApfFilter to indicate whether mechanism is running
This change adds a boolean and corresponding getter implementation
(including a default implementation to satisfy LegacyApfFilter) to
ApfFilter. This boolean will indicate whether the ApfFilter is currently
running, i.e. it is allowed to install programs.
For test (and debug) purposes, new adb shell cmd interfaces are being
added that will support pausing and resuming ApfFilter generation.
Test: builds
Change-Id: I0cf3fe69e9d457385e5fa581ae72461e2ee19545
2 files changed