Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/os/
DUserManager.java1308 boolean isSystemUserUnlocked = isUserUnlocked(UserHandle.SYSTEM); in canSwitchUsers()
1338 final boolean systemUserUnlocked = isUserUnlocked(UserHandle.SYSTEM); in getUserSwitchability()
1718 public boolean isUserUnlocked() { in isUserUnlocked() method in UserManager
1719 return isUserUnlocked(Process.myUserHandle()); in isUserUnlocked()
1740 public boolean isUserUnlocked(UserHandle user) { in isUserUnlocked() method in UserManager
1741 return isUserUnlocked(user.getIdentifier()); in isUserUnlocked()
1746 public boolean isUserUnlocked(@UserIdInt int userId) { in isUserUnlocked() method in UserManager
1748 return mService.isUserUnlocked(userId); in isUserUnlocked()
DUserManagerInternal.java156 public abstract boolean isUserUnlocked(int userId); in isUserUnlocked() method in UserManagerInternal
DIUserManager.aidl101 boolean isUserUnlocked(int userId); in isUserUnlocked() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTakeScreenshotService.java56 if (!getSystemService(UserManager.class).isUserUnlocked()) {
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java191 when(mUserManager.isUserUnlocked(eq(profileId))).thenReturn(true); in installChildProfile()
199 when(mUserManager.isUserUnlocked(eq(profileId))).thenReturn(false); in installAndTurnOffChildProfile()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java79 when(userManagerInternal.isUserUnlocked(mTestUserId)).thenReturn(true); in setUp()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DFullscreenUserSwitcher.java100 if (mUserManager.isUserUnlocked(UserHandle.USER_SYSTEM)) { in FullscreenUserSwitcher()
DCarTrustAgentUnlockDialogHelper.java144 if (!mUserManager.isUserUnlocked(uid)) { in showUnlockDialogAfterDelay()
/frameworks/base/core/java/android/provider/
DCallLog.java888 && userManager.isUserUnlocked(userHandle)) { in addCall()
956 userManager.isUserUnlocked(user) ? CONTENT_URI : SHADOW_CONTENT_URI, in addEntryAndRemoveExpiredEntries()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java199 doReturn(true).when(userManager).isUserUnlocked(); in setUp()
804 doReturn(false).when(userManager).isUserUnlocked(); in testBroadcastUndeliveredUserLocked()
822 doReturn(true).when(userManager).isUserUnlocked(); in testBroadcastUndeliveredUserLocked()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java107 doReturn(true).when(userManager).isUserUnlocked(); in setUp()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java145 if (!mInjector.getUserManager().isUserUnlocked(userHandle.getIdentifier())) { in updateInstalledCertificates()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsBroadcastUndelivered.java156 if (userManager.isUserUnlocked()) { in SmsBroadcastUndelivered()
DSmsDispatchersController.java157 if (userManager.isUserUnlocked()) { in SmsDispatchersController()
DWapPushOverSms.java176 if (userManager.isUserUnlocked()) { in WapPushOverSms()
DInboundSmsHandler.java957 if (!mUserManager.isUserUnlocked()) { in processMessagePart()
1743 if (userManager.isUserUnlocked()) { in onReceive()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java1278 boolean isUnlocked = isUserUnlocked(); in onCarrierPrivilegesLoadedMessage()
1309 private boolean isUserUnlocked() { in isUserUnlocked() method in UiccProfile
1310 return mContext.getSystemService(UserManager.class).isUserUnlocked(); in isUserUnlocked()
1314 if (isProvisioned() && isUserUnlocked()) { in showCarrierAppNotificationsIfPossible()
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java548 if (um.isUserUnlocked(user)) { in unlockUserWithToken()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotPersister.java336 return mUserManagerInternal.isUserUnlocked(mUserId); in isReady()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java194 when(getServices().userManager.isUserUnlocked(anyInt())).thenReturn(true); in setUp()
585 when(getServices().userManager.isUserUnlocked(eq(DpmMockContext.CALLER_USER_HANDLE))) in testRemoveActiveAdmin_userNotRunningOrLocked()
596 when(getServices().userManager.isUserUnlocked(eq(DpmMockContext.CALLER_USER_HANDLE))) in testRemoveActiveAdmin_userNotRunningOrLocked()
1106 when(getServices().userManager.isUserUnlocked(anyInt())).thenReturn(false); in testClearDeviceOwner()
1111 when(getServices().userManager.isUserUnlocked(anyInt())).thenReturn(true); in testClearDeviceOwner()
1238 when(getServices().userManager.isUserUnlocked(anyInt())) in testClearProfileOwner()
1245 when(getServices().userManager.isUserUnlocked(anyInt())).thenReturn(true); in testClearProfileOwner()
5226 when(getServices().userManager.isUserUnlocked(DpmMockContext.CALLER_USER_HANDLE)) in testGetPasswordComplexity_illegalStateExceptionIfLocked()
5232 when(getServices().userManager.isUserUnlocked(DpmMockContext.CALLER_USER_HANDLE)) in testGetPasswordComplexity_securityExceptionWithoutPermissions()
5239 when(getServices().userManager.isUserUnlocked(DpmMockContext.CALLER_USER_HANDLE)) in testGetPasswordComplexity_currentUserNoPassword()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java134 when(mUserManager.isUserUnlocked(anyInt())).thenReturn(true); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java131 when(mUserManager.isUserUnlocked(anyInt())).thenReturn(true); in setup()
/frameworks/base/services/backup/java/com/android/server/backup/
DTrampoline.java365 if (getUserManager().isUserUnlocked(userId)) { in setBackupServiceActive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java414 if (!mUserManager.isUserUnlocked(userId)) { in updateIndication()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java550 if (userManager.isUserUnlocked()) { in ImsResolver()
555 if (userManager.isUserUnlocked()) { in ImsResolver()

12