Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/os/
DUserManager.java1297 boolean isSystemUserUnlocked = isUserUnlocked(UserHandle.SYSTEM); in canSwitchUsers()
1324 final boolean systemUserUnlocked = isUserUnlocked(UserHandle.SYSTEM); in getUserSwitchability()
1704 public boolean isUserUnlocked() { in isUserUnlocked() method in UserManager
1705 return isUserUnlocked(Process.myUserHandle()); in isUserUnlocked()
1726 public boolean isUserUnlocked(UserHandle user) { in isUserUnlocked() method in UserManager
1727 return isUserUnlocked(user.getIdentifier()); in isUserUnlocked()
1732 public boolean isUserUnlocked(@UserIdInt int userId) { in isUserUnlocked() method in UserManager
1734 return mService.isUserUnlocked(userId); in isUserUnlocked()
DUserManagerInternal.java156 public abstract boolean isUserUnlocked(int userId); in isUserUnlocked() method in UserManagerInternal
DIUserManager.aidl99 boolean isUserUnlocked(int userId); in isUserUnlocked() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTakeScreenshotService.java53 if (!getSystemService(UserManager.class).isUserUnlocked()) {
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java186 when(mUserManager.isUserUnlocked(eq(profileId))).thenReturn(true); in installChildProfile()
194 when(mUserManager.isUserUnlocked(eq(profileId))).thenReturn(false); in installAndTurnOffChildProfile()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java108 when(mUserManager.isUserUnlocked(anyInt())).thenReturn(true); in setup()
318 when(mUserManager.isUserUnlocked(anyInt())).thenReturn(false); in skipsAuthentication_whenEncryptedKeyguard()
/frameworks/base/core/java/android/provider/
DCallLog.java887 && userManager.isUserUnlocked(userHandle)) { in addCall()
955 userManager.isUserUnlocked(user) ? CONTENT_URI : SHADOW_CONTENT_URI, in addEntryAndRemoveExpiredEntries()
DMediaStore.java3520 if (um.isUserUnlocked(user) && um.isUserRunning(user)) { in getContributedMediaSize()
3548 if (um.isUserUnlocked(user) && um.isUserRunning(user)) { in deleteContributedMedia()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java174 doReturn(true).when(userManager).isUserUnlocked(); in setUp()
765 doReturn(false).when(userManager).isUserUnlocked(); in testBroadcastUndeliveredUserLocked()
781 doReturn(true).when(userManager).isUserUnlocked(); in testBroadcastUndeliveredUserLocked()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java117 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()
DDevicePolicyManagerService.java5084 if (!mUserManager.isUserUnlocked(userHandle)) { in resetPassword()
8660 Preconditions.checkState(mUserManager.isUserUnlocked(userId), in enforceUserUnlocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsBroadcastUndelivered.java137 if (userManager.isUserUnlocked()) { in SmsBroadcastUndelivered()
DSmsDispatchersController.java135 if (userManager.isUserUnlocked()) { in SmsDispatchersController()
DInboundSmsHandler.java938 if (!mUserManager.isUserUnlocked()) { in processMessagePart()
1730 if (userManager.isUserUnlocked()) { in onReceive()
DWapPushOverSms.java145 if (userManager.isUserUnlocked()) { in WapPushOverSms()
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java548 if (um.isUserUnlocked(user)) { in unlockUserWithToken()
/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()
1110 when(getServices().userManager.isUserUnlocked(anyInt())).thenReturn(false); in testClearDeviceOwner()
1115 when(getServices().userManager.isUserUnlocked(anyInt())).thenReturn(true); in testClearDeviceOwner()
1211 when(getServices().userManager.isUserUnlocked(anyInt())) in testClearProfileOwner()
1218 when(getServices().userManager.isUserUnlocked(anyInt())).thenReturn(true); in testClearProfileOwner()
5199 when(getServices().userManager.isUserUnlocked(DpmMockContext.CALLER_USER_HANDLE)) in testGetPasswordComplexity_illegalStateExceptionIfLocked()
5205 when(getServices().userManager.isUserUnlocked(DpmMockContext.CALLER_USER_HANDLE)) in testGetPasswordComplexity_securityExceptionWithoutPermissions()
5212 when(getServices().userManager.isUserUnlocked(DpmMockContext.CALLER_USER_HANDLE)) in testGetPasswordComplexity_currentUserNoPassword()
[all …]
/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.java381 if (!mUserManager.isUserUnlocked(userId)) { in updateIndication()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java1632 && mUserManager.isUserUnlocked(user) && mIsPrimaryUser; in shouldListenForFace()
2099 if (mUserManager.isUserUnlocked(getCurrentUser())) { in resolveNeedsSlowUnlockTransition()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1135 public boolean isUserUnlocked(int userId) { in isUserUnlocked() method in UserManagerService
1137 return mLocalService.isUserUnlocked(userId); in isUserUnlocked()
4027 public boolean isUserUnlocked(int userId) { in isUserUnlocked() method in UserManagerService.LocalService
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java757 private boolean isUserUnlocked(int userId) { in isUserUnlocked() method in SyncManager
2874 && instance.mProvisioned && instance.isUserUnlocked(userId); in readyToSync()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5225 boolean isUserUnlocked;
5227 isUserUnlocked = isLocalUnlockedUser(userAccounts.userId);
5230 if (!isUserUnlocked) {
/frameworks/base/services/
Dart-profile5918 HSPLcom/android/server/content/SyncManager;->isUserUnlocked(I)Z
11751 HSPLcom/android/server/pm/UserManagerService$LocalService;->isUserUnlocked(I)Z
11817 HSPLcom/android/server/pm/UserManagerService;->isUserUnlocked(I)Z

12