KeyguardControllerState
public class KeyguardControllerState
extends Object
java.lang.Object | |
↳ | com.android.tradefed.util.KeyguardControllerState |
Un contenitore per gli stati dello scudo di tastiera. Ispirato da ActivityManagerState.java.
Riepilogo
Metodi pubblici | |
---|---|
static KeyguardControllerState | create ( dump) create ( dump) Crea e popola un |
boolean | isKeyguardGoingAway () Restituisce True se lo scudo tastiera viene rimosso, false altrimenti. |
boolean | isKeyguardOccluded () Restituisce True se lo scudo tastiera è occluso, false altrimenti. |
boolean | isKeyguardShowing () Restituisce True se viene visualizzato lo scudo tastiera, false altrimenti. |
Metodi pubblici
creare
public static KeyguardControllerState create (dump)
Crea e popola un KeyguardControllerState
in base a un output dumpsys di KeyguardController.
Parametri | |
---|---|
dump |
ritorna | |
---|---|
KeyguardControllerState | KeyguardControllerState che rappresenta l'output o null se viene fornito un output non valido. |
isKeyguardGoingAway
public boolean isKeyguardGoingAway ()
Restituisce True se lo scudo tastiera viene rimosso, false altrimenti.
ritorna | |
---|---|
boolean |
isKeyguardOccluded
public boolean isKeyguardOccluded ()
Restituisce True se lo scudo tastiera è occluso, false altrimenti.
ritorna | |
---|---|
boolean |
isKeyguardMostra
public boolean isKeyguardShowing ()
Restituisce True se viene visualizzato lo scudo tastiera, false altrimenti.
ritorna | |
---|---|
boolean |