public class KeyguardServiceDelegate extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
KeyguardServiceDelegate.DrawnListener |
Modifier and Type | Field and Description |
---|---|
protected KeyguardServiceWrapper |
mKeyguardService |
Constructor and Description |
---|
KeyguardServiceDelegate(Context context,
KeyguardStateMonitor.OnShowingStateChangedCallback showingStateChangedCallback) |
Modifier and Type | Method and Description |
---|---|
void |
bindService(Context context) |
void |
dismiss(boolean allowWhileOccluded) |
void |
doKeyguardTimeout(Bundle options) |
void |
dump(String prefix,
PrintWriter pw) |
boolean |
hasLockscreenWallpaper() |
void |
hideScrim() |
boolean |
isInputRestricted() |
boolean |
isSecure(int userId) |
boolean |
isShowing() |
boolean |
isTrusted() |
void |
keyguardDone(boolean authenticated,
boolean wakeup) |
void |
onActivityDrawn() |
void |
onBootCompleted() |
void |
onDreamingStarted() |
void |
onDreamingStopped() |
void |
onFinishedGoingToSleep(int why,
boolean cameraGestureTriggered) |
void |
onScreenTurnedOff() |
void |
onScreenTurnedOn() |
void |
onScreenTurningOn(KeyguardServiceDelegate.DrawnListener drawnListener) |
void |
onStartedGoingToSleep(int why) |
void |
onStartedWakingUp() |
void |
onSystemReady() |
void |
setCurrentUser(int newUserId) |
void |
setKeyguardEnabled(boolean enabled) |
void |
setOccluded(boolean isOccluded,
boolean animate) |
void |
showScrim() |
void |
startKeyguardExitAnimation(long startTime,
long fadeoutDuration) |
void |
verifyUnlock(WindowManagerPolicy.OnKeyguardExitResult onKeyguardExitResult) |
protected KeyguardServiceWrapper mKeyguardService
public KeyguardServiceDelegate(Context context, KeyguardStateMonitor.OnShowingStateChangedCallback showingStateChangedCallback)
public void bindService(Context context)
public boolean isShowing()
public boolean isTrusted()
public boolean hasLockscreenWallpaper()
public boolean isInputRestricted()
public void verifyUnlock(WindowManagerPolicy.OnKeyguardExitResult onKeyguardExitResult)
public void keyguardDone(boolean authenticated, boolean wakeup)
public void setOccluded(boolean isOccluded, boolean animate)
public void dismiss(boolean allowWhileOccluded)
public boolean isSecure(int userId)
public void onDreamingStarted()
public void onDreamingStopped()
public void onStartedWakingUp()
public void onScreenTurnedOff()
public void onScreenTurningOn(KeyguardServiceDelegate.DrawnListener drawnListener)
public void onScreenTurnedOn()
public void onStartedGoingToSleep(int why)
public void onFinishedGoingToSleep(int why, boolean cameraGestureTriggered)
public void setKeyguardEnabled(boolean enabled)
public void onSystemReady()
public void doKeyguardTimeout(Bundle options)
public void setCurrentUser(int newUserId)
public void startKeyguardExitAnimation(long startTime, long fadeoutDuration)
public void showScrim()
public void hideScrim()
public void onBootCompleted()
public void onActivityDrawn()
public void dump(String prefix, PrintWriter pw)