Home
last modified time | relevance | path

Searched refs:isUserUnlocked (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryManagerTest.java131 assertThat(mHistoryManager.isUserUnlocked(USER_SYSTEM)).isFalse(); in testOnUserUnlocked()
134 assertThat(mHistoryManager.isUserUnlocked(USER_SYSTEM)).isTrue(); in testOnUserUnlocked()
248 assertThat(mHistoryManager.isUserUnlocked(USER_SYSTEM)).isTrue(); in testOnUserUnlocked_cleansUpRemovedPackages()
259 assertThat(mHistoryManager.isUserUnlocked(USER_SYSTEM)).isFalse(); in testOnUserStopped_userExists()
267 assertThat(mHistoryManager.isUserUnlocked(USER_SYSTEM)).isFalse(); in testOnUserStopped_userDoesNotExist()
276 assertThat(mHistoryManager.isUserUnlocked(USER_SYSTEM)).isFalse(); in testOnUserRemoved_userExists()
285 assertThat(mHistoryManager.isUserUnlocked(USER_SYSTEM)).isFalse(); in testOnUserRemoved_userDoesNotExist()
DShortcutHelperTest.java103 when(mUserManager.isUserUnlocked(any(UserHandle.class))).thenReturn(true); in setUp()
337 when(mUserManager.isUserUnlocked(any(UserHandle.class))).thenReturn(false); in testGetValidShortcutInfo_isValidButUserLocked()
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DStatementServiceApplication.kt29 if (userManager.isUserUnlocked) { in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/start/
DControlsStartable.kt124 if (userManager.isUserUnlocked(userTracker.userId)) { in <lambda>()
130 if (userManager.isUserUnlocked(userTracker.userId)) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/start/
DControlsStartableTest.kt83 whenever(userManager.isUserUnlocked(anyInt())).thenReturn(true) in setUp()
226 whenever(userManager.isUserUnlocked(anyInt())).thenReturn(false) in testPreferredSelectionIsPanel_userNotUnlocked_notBind()
240 whenever(userManager.isUserUnlocked(anyInt())).thenReturn(false) in testPreferredSelectionIsPanel_userNotUnlocked_broadcastRegistered_broadcastSentBinds()
264 whenever(userManager.isUserUnlocked(anyInt())).thenReturn(true) in testPreferredSelectionIsPanel_userNotUnlocked_broadcastRegistered_broadcastSentBinds()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowUserManager.java38 public boolean isUserUnlocked(@UserIdInt int userId) { in isUserUnlocked() method in ShadowUserManager
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserWrapperActivity.java290 protected boolean isUserUnlocked(UserHandle userHandle) { in isUserUnlocked() method in ChooserWrapperActivity
292 return super.isUserUnlocked(userHandle); in isUserUnlocked()
/frameworks/base/core/java/android/provider/
DCallLog.java255 Uri baseUri = userManager.isUserUnlocked(realUser) ? CALL_COMPOSER_PICTURE_URI in storeCallComposerPicture()
273 if (!userManager.isUserUnlocked(UserHandle.SYSTEM)) { in storeCallComposerPicture()
327 && userManager.isUserUnlocked(userHandle)) { in storeCallComposerPicture()
1815 if (userManager.isUserUnlocked(UserHandle.SYSTEM)) { in addCall()
1864 && userManager.isUserUnlocked(userHandle)) { in addCall()
1886 && userManager.isUserUnlocked(targetUserHandle)) { in addCall()
1948 userManager.isUserUnlocked(user) ? CONTENT_URI : SHADOW_CONTENT_URI, in addEntryAndRemoveExpiredEntries()
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
DPacService.java70 if (um.isUserUnlocked()) { in checkPacProcessorLocked()
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/
DDomainVerificationReceiverV2.kt66 if (context.getSystemService(UserManager::class.java)?.isUserUnlocked == true) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DTakeScreenshotServiceTest.kt108 whenever(userManager.isUserUnlocked).thenReturn(true) in <lambda>()
265 whenever(userManager.isUserUnlocked).thenReturn(false) in <lambda>()
357 whenever(userManager.isUserUnlocked).thenReturn(false) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskControllerTest.kt77 whenever(userManager.isUserUnlocked).thenReturn(true) in <lambda>()
250 whenever(userManager.isUserUnlocked).thenReturn(false) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
DNoteTaskController.kt81 if (!userManager.isUserUnlocked) return in showNoteTask()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerInternal.java199 public abstract boolean isUserUnlocked(int userId); in isUserUnlocked() method in UserManagerInternal
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryManager.java340 if (mUserManager.isUserUnlocked(userId)) { in getUserHistoryAndInitializeIfNeededLocked()
360 boolean isUserUnlocked(@UserIdInt int userId) { in isUserUnlocked() method in NotificationHistoryManager
DShortcutHelper.java194 if (mLauncherAppsService == null || !mUserManager.isUserUnlocked(user)) { in getValidShortcutInfo()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java171 doReturn(true).when(userManager).isUserUnlocked(); in setUp()
357 doReturn(false).when(userManager).isUserUnlocked(); in testNewSmsWithUserLocked_notificationShown()
387 doReturn(false).when(userManager).isUserUnlocked(); in testNewSmsFromBlockedNumberWithUserLocked_noNotificationShown()
1060 doReturn(false).when(userManager).isUserUnlocked(); in testBroadcastUndeliveredUserLocked()
1078 doReturn(true).when(userManager).isUserUnlocked(); in testBroadcastUndeliveredUserLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java202 when(mUserManager.isUserUnlocked(eq(profileId))).thenReturn(true); in installChildProfile()
211 when(mUserManager.isUserUnlocked(eq(profileId))).thenReturn(false); in installAndTurnOffChildProfile()
/frameworks/base/startop/apps/test/src/
DSystemServerBenchmarks.java186 userManager.isUserUnlocked(); in initializeBenchmarks()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java99 when(userManagerInternal.isUserUnlocked(mTestUserId)).thenReturn(true); in setUp()
/frameworks/base/core/java/android/os/
DIUserManager.aidl127 boolean isUserUnlocked(int userId); in isUserUnlocked() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java96 when(mUserManager.isUserUnlocked(any())).thenReturn(true); in setUp()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java141 if (!mInjector.getUserManager().isUserUnlocked(userId)) { in updateInstalledCertificates()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java109 doReturn(true).when(userManager).isUserUnlocked(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsBroadcastUndelivered.java146 if (userManager.isUserUnlocked()) { in SmsBroadcastUndelivered()

123