Searched refs:LockedUserState (Results 1 – 6 of 6) sorted by relevance
51 LockedUserState(context).runOnUserUnlocked(action) in runOnUserUnlocked_runs_action_immediately_if_already_unlocked()59 val state = LockedUserState(context) in runOnUserUnlocked_waits_to_run_action_until_user_is_unlocked()70 assertThat(LockedUserState(context).isUserUnlocked).isTrue() in isUserUnlocked_returns_true_when_user_is_unlocked()76 assertThat(LockedUserState(context).isUserUnlocked).isFalse() in isUserUnlocked_returns_false_when_user_is_locked()
24 class LockedUserState(private val mContext: Context) : SafeCloseable { class82 val INSTANCE = MainThreadInitializedObject { LockedUserState(it) } in <lambda>()84 @JvmStatic fun get(context: Context): LockedUserState = INSTANCE.get(context)
103 import com.android.launcher3.util.LockedUserState;598 LockedUserState.get(this).runOnUserUnlocked(this::onUserUnlocked); in onCreate()599 LockedUserState.get(this).runOnUserUnlocked(mTaskbarManager::onUserUnlocked); in onCreate()670 if (!LockedUserState.get(this).isUserUnlocked() || mDeviceState.isButtonNavMode()) { in resetHomeBounceSeenOnQuickstepEnabledFirstTime()718 if (LockedUserState.get(this).isUserUnlocked()) {729 if (LockedUserState.get(this).isUserUnlocked()) {739 if (LockedUserState.get(this).isUserUnlocked()) {788 boolean isUserUnlocked = LockedUserState.get(this).isUserUnlocked();1031 if (!LockedUserState.get(this).isUserUnlocked()) {1442 if (!LockedUserState.get(this).isUserUnlocked()) {[all …]
54 import com.android.launcher3.util.LockedUserState;148 LockedUserState.get(context).runOnUserUnlocked(() -> { in LauncherAppState()
60 import com.android.launcher3.util.LockedUserState;234 LockedUserState.get(context).runOnUserUnlocked(() -> in InvariantDeviceProfile()
238 import com.android.launcher3.util.LockedUserState;430 ? LockedUserState.get(this).isUserUnlockedAtLauncherStartup() in onCreate()436 && !LockedUserState.get(this).isUserUnlockedAtLauncherStartup(); in onCreate()