/frameworks/base/core/java/android/os/ |
D | UserManager.java | 1308 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()
|
D | UserManagerInternal.java | 156 public abstract boolean isUserUnlocked(int userId); in isUserUnlocked() method in UserManagerInternal
|
D | IUserManager.aidl | 101 boolean isUserUnlocked(int userId); in isUserUnlocked() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | TakeScreenshotService.java | 56 if (!getSystemService(UserManager.class).isUserUnlocked()) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 191 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/ |
D | TaskSnapshotPersisterTestBase.java | 79 when(userManagerInternal.isUserUnlocked(mTestUserId)).thenReturn(true); in setUp()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | FullscreenUserSwitcher.java | 100 if (mUserManager.isUserUnlocked(UserHandle.USER_SYSTEM)) { in FullscreenUserSwitcher()
|
D | CarTrustAgentUnlockDialogHelper.java | 144 if (!mUserManager.isUserUnlocked(uid)) { in showUnlockDialogAfterDelay()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 888 && 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/ |
D | GsmInboundSmsHandlerTest.java | 199 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/ |
D | CdmaInboundSmsHandlerTest.java | 107 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()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsBroadcastUndelivered.java | 156 if (userManager.isUserUnlocked()) { in SmsBroadcastUndelivered()
|
D | SmsDispatchersController.java | 157 if (userManager.isUserUnlocked()) { in SmsDispatchersController()
|
D | WapPushOverSms.java | 176 if (userManager.isUserUnlocked()) { in WapPushOverSms()
|
D | InboundSmsHandler.java | 957 if (!mUserManager.isUserUnlocked()) { in processMessagePart() 1743 if (userManager.isUserUnlocked()) { in onReceive()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccProfile.java | 1278 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/ |
D | TrustAgentService.java | 548 if (um.isUserUnlocked(user)) { in unlockUserWithToken()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotPersister.java | 336 return mUserManagerInternal.isUserUnlocked(mUserId); in isReady()
|
/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() 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/ |
D | KeyguardIndicationControllerTest.java | 134 when(mUserManager.isUserUnlocked(anyInt())).thenReturn(true); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 131 when(mUserManager.isUserUnlocked(anyInt())).thenReturn(true); in setup()
|
/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 | 414 if (!mUserManager.isUserUnlocked(userId)) { in updateIndication()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | ImsResolver.java | 550 if (userManager.isUserUnlocked()) { in ImsResolver() 555 if (userManager.isUserUnlocked()) { in ImsResolver()
|