make keyguard related code being independent of framework/base

N/A

Change-Id: Ibccd39f37514cc5c426df06ad9b2a52a0febb653
fix IllegalAccessError

N/A

Change-Id: I9c3cd08efabfa77bbc7112fe57f0cea27afc7215
Signed-off-by: mochangming <mochangming@xiaomi.com>