/frameworks/base/core/java/android/os/ |
D | UserManager.java | 1297 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()
|
D | UserManagerInternal.java | 156 public abstract boolean isUserUnlocked(int userId); in isUserUnlocked() method in UserManagerInternal
|
D | IUserManager.aidl | 99 boolean isUserUnlocked(int userId); in isUserUnlocked() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | TakeScreenshotService.java | 53 if (!getSystemService(UserManager.class).isUserUnlocked()) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 186 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/ |
D | KeyguardUpdateMonitorTest.java | 108 when(mUserManager.isUserUnlocked(anyInt())).thenReturn(true); in setup() 318 when(mUserManager.isUserUnlocked(anyInt())).thenReturn(false); in skipsAuthentication_whenEncryptedKeyguard()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 887 && userManager.isUserUnlocked(userHandle)) { in addCall() 955 userManager.isUserUnlocked(user) ? CONTENT_URI : SHADOW_CONTENT_URI, in addEntryAndRemoveExpiredEntries()
|
D | MediaStore.java | 3520 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/ |
D | GsmInboundSmsHandlerTest.java | 174 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/ |
D | CdmaInboundSmsHandlerTest.java | 117 doReturn(true).when(userManager).isUserUnlocked(); in setUp()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | CertificateMonitor.java | 145 if (!mInjector.getUserManager().isUserUnlocked(userHandle.getIdentifier())) { in updateInstalledCertificates()
|
D | DevicePolicyManagerService.java | 5084 if (!mUserManager.isUserUnlocked(userHandle)) { in resetPassword() 8660 Preconditions.checkState(mUserManager.isUserUnlocked(userId), in enforceUserUnlocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsBroadcastUndelivered.java | 137 if (userManager.isUserUnlocked()) { in SmsBroadcastUndelivered()
|
D | SmsDispatchersController.java | 135 if (userManager.isUserUnlocked()) { in SmsDispatchersController()
|
D | InboundSmsHandler.java | 938 if (!mUserManager.isUserUnlocked()) { in processMessagePart() 1730 if (userManager.isUserUnlocked()) { in onReceive()
|
D | WapPushOverSms.java | 145 if (userManager.isUserUnlocked()) { in WapPushOverSms()
|
/frameworks/base/core/java/android/service/trust/ |
D | TrustAgentService.java | 548 if (um.isUserUnlocked(user)) { in unlockUserWithToken()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 194 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/ |
D | Trampoline.java | 365 if (getUserManager().isUserUnlocked(userId)) { in setBackupServiceActive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 381 if (!mUserManager.isUserUnlocked(userId)) { in updateIndication()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 1632 && mUserManager.isUserUnlocked(user) && mIsPrimaryUser; in shouldListenForFace() 2099 if (mUserManager.isUserUnlocked(getCurrentUser())) { in resolveNeedsSlowUnlockTransition()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1135 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/ |
D | SyncManager.java | 757 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/ |
D | AccountManagerService.java | 5225 boolean isUserUnlocked; 5227 isUserUnlocked = isLocalUnlockedUser(userAccounts.userId); 5230 if (!isUserUnlocked) {
|
/frameworks/base/services/ |
D | art-profile | 5918 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
|