Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.
이 페이지는 Cloud Translation API를 통해 번역되었습니다.
Switch to English

KeyguardControllerState

public class KeyguardControllerState
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.KeyguardControllerState


A container for the keyguard states. Inspired from ActivityManagerState.java.

Summary

Public methods

static KeyguardControllerState create( dump)

Creates and populate a KeyguardControllerState based on a dumpsys output from the KeyguardController.

boolean isKeyguardOccluded()

Returns True if the keyguard is occluded, false otherwise.

boolean isKeyguardShowing()

Returns True if the keyguard is showing, false otherwise.

Public methods

create

public static KeyguardControllerState create ( dump)

Creates and populate a KeyguardControllerState based on a dumpsys output from the KeyguardController.

Parameters
dump : output from the dumpsys activity activities

Returns
KeyguardControllerState The KeyguardControllerState representing the output or null if invalid output is provided.

isKeyguardOccluded

public boolean isKeyguardOccluded ()

Returns True if the keyguard is occluded, false otherwise.

Returns
boolean

isKeyguardShowing

public boolean isKeyguardShowing ()

Returns True if the keyguard is showing, false otherwise.

Returns
boolean