/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | OmtpService.java | 60 if (!isUserUnlocked(this)) { in onCellServiceConnected() 86 if (!isUserUnlocked(this)) { in onSmsReceived() 118 if (!isUserUnlocked(this)) { in onSimRemoved() 143 if (!isUserUnlocked(this)) { in onStopped() 154 Assert.isTrue(isUserUnlocked(context)); in onBoot() 162 Assert.isTrue(isUserUnlocked(context)); in onShutdown() 194 private static boolean isUserUnlocked(@NonNull Context context) { in isUserUnlocked() method in OmtpService 196 return userManager.isUserUnlocked(); in isUserUnlocked()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | UserLockStateChangedTask.java | 54 boolean isUserUnlocked = UserManagerCompat.getInstance(context).isUserUnlocked(mUser); in execute() 58 if (isUserUnlocked) { in execute() 69 isUserUnlocked = false; in execute() 81 if (isUserUnlocked) { in execute() 116 if (isUserUnlocked) { in execute()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | WorkSoundPreferenceControllerTest.java | 97 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in isAvailable_managedProfileAndNotSingleVolume_shouldReturnTrue() 107 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in isAvailable_noManagedProfile_shouldReturnFalse() 117 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in isAvailable_singleVolume_shouldReturnFalse() 153 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in onManagedProfileRemoved_shouldHidePreferenceCategory() 173 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in displayPreference_isAvailable_shouldShowPreferenceCategory() 210 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in onResume_noVoiceCapability_shouldHidePhoneRingtone() 237 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(false); in onResume_availableButLocked_shouldRedactPreferences() 259 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in onResume_shouldSetUserIdToPreference()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | FallbackHome.java | 68 if (isUserUnlocked()) { in maybeFinish() 91 if (isUserUnlocked() || !hasLockscreenSecurity(getUserId()) in maybeStartPinDialog() 104 private boolean isUserUnlocked() { in isUserUnlocked() method in FallbackHome 105 return getSystemService(UserManager.class).isUserUnlocked(); in isUserUnlocked()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | AudioHelper.java | 49 public boolean isUserUnlocked(UserManager um, @UserIdInt int userId) { in isUserUnlocked() method in AudioHelper 50 return um.isUserUnlocked(userId); in isUserUnlocked()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | AudioHelper.java | 51 public boolean isUserUnlocked(UserManager um, @UserIdInt int userId) { in isUserUnlocked() method in AudioHelper 52 return um.isUserUnlocked(userId); in isUserUnlocked()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppFileProvider.java | 74 if (userManager.isUserUnlocked()) { in attachInfo() 112 if (!userManager.isUserUnlocked()) { in getUriForFile()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | UserManagerCompatVNMr1.java | 52 public boolean isUserUnlocked(UserHandle user) { in isUserUnlocked() method in UserManagerCompatVNMr1 53 return mUserManager.isUserUnlocked(user); in isUserUnlocked()
|
D | UserManagerCompat.java | 55 public abstract boolean isUserUnlocked(UserHandle user); in isUserUnlocked() method in UserManagerCompat
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapObexServer.java | 447 private boolean isUserUnlocked() { in isUserUnlocked() method in BluetoothMapObexServer 449 return (manager == null || manager.isUserUnlocked()); in isUserUnlocked() 494 if (!isUserUnlocked()) { in onPut() 507 if (!isUserUnlocked()) { in onPut() 519 if (!isUserUnlocked()) { in onPut() 1052 if (!isUserUnlocked()) { in onGet() 1071 if (!isUserUnlocked()) { in onGet() 1091 if (!isUserUnlocked()) { in onGet()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbHostManagementActivity.java | 140 if (userManager.isUserUnlocked() || getUserId() == UserHandle.USER_SYSTEM) { in onResume() 146 if (userManager.isUserUnlocked()) { in onResume()
|
/packages/apps/DeskClock/src/com/android/deskclock/controller/ |
D | ShortcutController.kt | 58 if (!mUserManager.isUserUnlocked()) { in updateShortcuts() 158 if (!mUserManager.isUserUnlocked()) { in stopwatchUpdated()
|
D | ShortcutController.java | 67 if (!mUserManager.isUserUnlocked()) { in updateShortcuts() 166 if (!mUserManager.isUserUnlocked()) { in stopwatchUpdated()
|
/packages/apps/Dialer/java/com/android/dialer/contacts/ |
D | ContactsModule.java | 43 if (appContext.getSystemService(UserManager.class).isUserUnlocked()) { in provideContactDisplayPreferences()
|
/packages/apps/Dialer/java/com/android/dialer/strictmode/ |
D | StrictModeUtils.java | 107 if (UserManagerCompat.isUserUnlocked(application)) { in warmupSharedPrefs()
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ |
D | ConcreteCreator.java | 65 if (!UserManagerCompat.isUserUnlocked(context)) { in createNewAssistedDialingMediator()
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | BlockedNumbersAutoMigrator.java | 105 if (!UserManagerCompat.isUserUnlocked(appContext)) { in doInBackground()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | PeriodicJobService.java | 60 if (VERSION.SDK_INT >= VERSION_CODES.N_MR1 && UserManagerCompat.isUserUnlocked(context)) { in schedulePeriodicJob()
|
/packages/services/Car/tests/robotests/src/com/android/car/testutils/shadow/ |
D | ShadowUserManager.java | 102 return isUserUnlocked(); in isUserUnlockingOrUnlocked()
|
/packages/apps/Dialer/java/com/android/dialer/contacts/displaypreference/ |
D | ContactDisplayPreferencesImpl.java | 84 if (!appContext.getSystemService(UserManager.class).isUserUnlocked()) { in migrate()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserverTest.java | 82 when(mockUserService.isUserUnlocked()).thenReturn(true); in testInitMsgList()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | VideoChargesAlertDialogFragment.java | 74 if (!UserManagerCompat.isUserUnlocked(context)) { in shouldShow()
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | LegacyVoicemailNotificationReceiver.java | 104 && UserManagerCompat.isUserUnlocked(context) in onReceive()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
D | TouchInteractionService.java | 147 if (UserManagerCompat.getInstance(this).isUserUnlocked(Process.myUserHandle())) { in onCreate()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | UserSwitchListenerService.java | 144 if (!UserManager.get(this).isUserUnlocked()) return; in switchToLastUserIfUnlocked()
|