make keyguard related code being independent of framework/base

N/A

Change-Id: I5440eb8f24dcda9a302f9c0a67e73ced0b3e5be8
Signed-off-by: mochangming <mochangming@xiaomi.com>
fix IllegalAccessError

N/A

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