/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationHistoryManagerTest.java | 131 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()
|
D | ShortcutHelperTest.java | 103 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/ |
D | StatementServiceApplication.kt | 29 if (userManager.isUserUnlocked) { in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/start/ |
D | ControlsStartable.kt | 124 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/ |
D | ControlsStartableTest.kt | 83 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/ |
D | ShadowUserManager.java | 38 public boolean isUserUnlocked(@UserIdInt int userId) { in isUserUnlocked() method in ShadowUserManager
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserWrapperActivity.java | 290 protected boolean isUserUnlocked(UserHandle userHandle) { in isUserUnlocked() method in ChooserWrapperActivity 292 return super.isUserUnlocked(userHandle); in isUserUnlocked()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 255 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/ |
D | PacService.java | 70 if (um.isUserUnlocked()) { in checkPacProcessorLocked()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/ |
D | DomainVerificationReceiverV2.kt | 66 if (context.getSystemService(UserManager::class.java)?.isUserUnlocked == true) { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | TakeScreenshotServiceTest.kt | 108 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/ |
D | NoteTaskControllerTest.kt | 77 whenever(userManager.isUserUnlocked).thenReturn(true) in <lambda>() 250 whenever(userManager.isUserUnlocked).thenReturn(false) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/ |
D | NoteTaskController.kt | 81 if (!userManager.isUserUnlocked) return in showNoteTask()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerInternal.java | 199 public abstract boolean isUserUnlocked(int userId); in isUserUnlocked() method in UserManagerInternal
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryManager.java | 340 if (mUserManager.isUserUnlocked(userId)) { in getUserHistoryAndInitializeIfNeededLocked() 360 boolean isUserUnlocked(@UserIdInt int userId) { in isUserUnlocked() method in NotificationHistoryManager
|
D | ShortcutHelper.java | 194 if (mLauncherAppsService == null || !mUserManager.isUserUnlocked(user)) { in getValidShortcutInfo()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 171 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/ |
D | BaseLockSettingsServiceTests.java | 202 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/ |
D | SystemServerBenchmarks.java | 186 userManager.isUserUnlocked(); in initializeBenchmarks()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotPersisterTestBase.java | 99 when(userManagerInternal.isUserUnlocked(mTestUserId)).thenReturn(true); in setUp()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 127 boolean isUserUnlocked(int userId); in isUserUnlocked() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 96 when(mUserManager.isUserUnlocked(any())).thenReturn(true); in setUp()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | CertificateMonitor.java | 141 if (!mInjector.getUserManager().isUserUnlocked(userId)) { in updateInstalledCertificates()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandlerTest.java | 109 doReturn(true).when(userManager).isUserUnlocked(); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsBroadcastUndelivered.java | 146 if (userManager.isUserUnlocked()) { in SmsBroadcastUndelivered()
|