/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/quickaffordance/ |
D | NoteTaskQuickAffordanceConfig.kt | 90 isUserUnlocked, in <lambda>() method 94 logDebug { "lockScreenState:isUserUnlocked=$isUserUnlocked" } in <lambda>() 101 isUserUnlocked && in <lambda>() 151 trySendBlocking(isUserUnlocked) in createUserUnlockedFlow() 155 trySendBlocking(isUserUnlocked) in createUserUnlockedFlow()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/ |
D | NoteTaskInitializerTest.kt | 74 whenever(keyguardMonitor.isUserUnlocked(userTracker.userId)).thenReturn(true) in setUp() 102 whenever(keyguardMonitor.isUserUnlocked(userTracker.userId)).thenReturn(true) in createUnderTest() 114 whenever(keyguardMonitor.isUserUnlocked(userTracker.userId)).thenReturn(false) in initialize_withUserLocked() 176 whenever(keyguardMonitor.isUserUnlocked(userTracker.userId)).thenReturn(false) in initialize_userUnlocked_shouldUpdateNoteTask() 180 whenever(keyguardMonitor.isUserUnlocked(userTracker.userId)).thenReturn(true) in initialize_userUnlocked_shouldUpdateNoteTask()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/ |
D | NoteTaskController.kt | 195 if (!userManager.isUserUnlocked) return in awaitShowNoteTaskAsUser() 267 if (!userManager.isUserUnlocked(user)) { in setNoteTaskShortcutEnabled() 321 if (!userManager.isUserUnlocked(user)) { in updateNoteTaskAsUser() 346 if (!userManager.isUserUnlocked(user)) { in launchUpdateNoteTaskAsUser()
|
D | NoteTaskInitializer.kt | 97 if (keyguardUpdateMonitor.isUserUnlocked(userTracker.userId)) { in initializeOnUserUnlocked()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
D | StatementServiceApplication.kt | 29 if (userManager.isUserUnlocked) { in onCreate()
|
/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() 282 assertThat(mHistoryManager.isUserUnlocked(USER_SYSTEM)).isTrue(); in testOnUserUnlocked_cleansUpRemovedPackages() 293 assertThat(mHistoryManager.isUserUnlocked(USER_SYSTEM)).isFalse(); in testOnUserStopped_userExists() 301 assertThat(mHistoryManager.isUserUnlocked(USER_SYSTEM)).isFalse(); in testOnUserStopped_userDoesNotExist() 310 assertThat(mHistoryManager.isUserUnlocked(USER_SYSTEM)).isFalse(); in testOnUserRemoved_userExists() 319 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/SystemUI/src/com/android/systemui/controls/start/ |
D | ControlsStartable.kt | 156 if (userManager.isUserUnlocked(userTracker.userId)) { in <lambda>() 162 if (userManager.isUserUnlocked(userTracker.userId)) { in <lambda>()
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowUserManager.java | 39 public boolean isUserUnlocked(@UserIdInt int userId) { in isUserUnlocked() method in ShadowUserManager
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierKeyDownloadMgrTest.java | 104 when(mUserManager.isUserUnlocked()).thenReturn(true); in setUp() 377 when(mUserManager.isUserUnlocked()).thenReturn(false); in testCarrierConfigChangedWithUserLocked() 400 when(mUserManager.isUserUnlocked()).thenReturn(false); in testUserLockedAfterCarrierConfigChanged() 420 when(mUserManager.isUserUnlocked()).thenReturn(true); in testUserLockedAfterCarrierConfigChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/start/ |
D | ControlsStartableTest.kt | 98 whenever(userManager.isUserUnlocked(anyInt())).thenReturn(true) in setUp() 243 whenever(userManager.isUserUnlocked(anyInt())).thenReturn(false) in testPreferredSelectionIsPanel_userNotUnlocked_notBind() 257 whenever(userManager.isUserUnlocked(anyInt())).thenReturn(false) in testPreferredSelectionIsPanel_userNotUnlocked_broadcastRegistered_broadcastSentBinds() 281 whenever(userManager.isUserUnlocked(anyInt())).thenReturn(true) in testPreferredSelectionIsPanel_userNotUnlocked_broadcastRegistered_broadcastSentBinds()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | TakeScreenshotServiceTest.kt | 55 private val userManager = mock<UserManager> { on { isUserUnlocked } doReturn (true) } in <lambda>() 113 whenever(userManager.isUserUnlocked).doReturn(false) in takeScreenshotFullscreen_userLocked()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserWrapperActivity.java | 287 protected boolean isUserUnlocked(UserHandle userHandle) { in isUserUnlocked() method in ChooserWrapperActivity 289 return super.isUserUnlocked(userHandle); in isUserUnlocked()
|
/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/services/PacProcessor/src/com/android/pacprocessor/ |
D | PacService.java | 70 if (um.isUserUnlocked()) { in checkPacProcessorLocked()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 259 Uri baseUri = userManager.isUserUnlocked(realUser) ? CALL_COMPOSER_PICTURE_URI in storeCallComposerPicture() 277 if (!userManager.isUserUnlocked(UserHandle.SYSTEM)) { in storeCallComposerPicture() 331 && userManager.isUserUnlocked(userHandle)) { in storeCallComposerPicture() 1922 if (userManager.isUserUnlocked(UserHandle.SYSTEM)) { in addCall() 1971 && userManager.isUserUnlocked(userHandle)) { in addCall() 1993 && userManager.isUserUnlocked(targetUserHandle)) { in addCall() 2055 userManager.isUserUnlocked(user) ? CONTENT_URI : SHADOW_CONTENT_URI, in addEntryAndRemoveExpiredEntries()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotPersister.java | 115 if (!userManagerInternal.isUserUnlocked(mRunningUserIds[i])) { in isReady()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartInterceptorTest.java | 296 when(mUserManager.isUserUnlocked(eq(TEST_USER_ID))).thenReturn(true); in testLockedManagedProfileShowWhenLocked() 311 when(mUserManager.isUserUnlocked(eq(TEST_USER_ID))).thenReturn(false); in testLockedManagedProfileShowWhenLockedEncryptedStorage() 328 when(mUserManager.isUserUnlocked(eq(TEST_USER_ID))).thenReturn(false); in testLockedManagedProfileShowWhenLockedEncryptedStorageDirectBootAware()
|
D | TaskSnapshotPersisterTestBase.java | 101 when(userManagerInternal.isUserUnlocked(mTestUserId)).thenReturn(true); in setUp()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryManager.java | 344 if (mUserManager.isUserUnlocked(userId)) { in getUserHistoryAndInitializeIfNeededLocked() 364 boolean isUserUnlocked(@UserIdInt int userId) { in isUserUnlocked() method in NotificationHistoryManager
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 172 doReturn(true).when(userManager).isUserUnlocked(); in setUp() 354 doReturn(false).when(userManager).isUserUnlocked(); in testNewSmsWithUserLocked_notificationShown() 383 doReturn(false).when(userManager).isUserUnlocked(); in testNewSmsFromBlockedNumberWithUserLocked_noNotificationShown() 1046 doReturn(false).when(userManager).isUserUnlocked(); in testBroadcastUndeliveredUserLocked() 1064 doReturn(true).when(userManager).isUserUnlocked(); in testBroadcastUndeliveredUserLocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierKeyDownloadManager.java | 178 boolean isUserUnlocked = mUserManager.isUserUnlocked(); in CarrierKeyDownloadManager() 180 if (isUserUnlocked && slotIndex == mPhone.getPhoneId()) { in CarrierKeyDownloadManager()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerInternal.java | 303 public abstract boolean isUserUnlocked(int userId); in isUserUnlocked() method in UserManagerInternal
|
/frameworks/base/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 186 userManager.isUserUnlocked(); in initializeBenchmarks()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 285 when(mUserManager.isUserUnlocked(eq(profileId))).thenReturn(true); in installChildProfile() 298 when(mUserManager.isUserUnlocked(eq(profileId))).thenReturn(false); in installAndTurnOffChildProfile()
|