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