KeyguardControllerState

public class KeyguardControllerState
extends Object

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


キーガード状態のコンテナ。 ActivityManagerState.java から着想を得ています。

まとめ

公開メソッド

static KeyguardControllerState create ( dump) create ( dump)

KeyguardController からの dumpsys 出力に基づいて、 KeyguardControllerStateを作成して設定します。

boolean isKeyguardOccluded ()

キーガードが遮られている場合は True、そうでない場合は False を返します。

boolean isKeyguardShowing ()

キーガードが表示されている場合は True、そうでない場合は False を返します。

公開メソッド

作成

public static KeyguardControllerState create ( dump)

KeyguardController からの dumpsys 出力に基づいて、 KeyguardControllerStateを作成して設定します。

パラメーター
dump : dumpsys アクティビティからの出力

戻り値
KeyguardControllerState出力を表すKeyguardControllerState 、または無効な出力が提供された場合は null。

isKeyguardOccluded

public boolean isKeyguardOccluded ()

キーガードが遮られている場合は True、そうでない場合は False を返します。

戻り値
boolean

isKeyguardShowing

public boolean isKeyguardShowing ()

キーガードが表示されている場合は True、そうでない場合は False を返します。

戻り値
boolean