Home
last modified time | relevance | path

Searched refs:LockedUserState (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DLockedUserStateTest.kt51 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()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLockedUserState.kt24 class LockedUserState(private val mContext: Context) : SafeCloseable { class
82 val INSTANCE = MainThreadInitializedObject { LockedUserState(it) } in <lambda>()
84 @JvmStatic fun get(context: Context): LockedUserState = INSTANCE.get(context)
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTouchInteractionService.java103 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 …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppState.java54 import com.android.launcher3.util.LockedUserState;
148 LockedUserState.get(context).runOnUserUnlocked(() -> { in LauncherAppState()
DInvariantDeviceProfile.java60 import com.android.launcher3.util.LockedUserState;
234 LockedUserState.get(context).runOnUserUnlocked(() -> in InvariantDeviceProfile()
DLauncher.java238 import com.android.launcher3.util.LockedUserState;
430 ? LockedUserState.get(this).isUserUnlockedAtLauncherStartup() in onCreate()
436 && !LockedUserState.get(this).isUserUnlockedAtLauncherStartup(); in onCreate()