provide KeyguardManager and Random