/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | OmtpService.java | 59 if (!isUserUnlocked(this)) { in onCellServiceConnected() 84 if (!isUserUnlocked(this)) { in onSmsReceived() 114 if (!isUserUnlocked(this)) { in onSimRemoved() 139 if (!isUserUnlocked(this)) { in onStopped() 150 Assert.isTrue(isUserUnlocked(context)); in onBoot() 158 Assert.isTrue(isUserUnlocked(context)); in onShutdown() 181 private static boolean isUserUnlocked(@NonNull Context context) { in isUserUnlocked() method in OmtpService 183 return userManager.isUserUnlocked(); in isUserUnlocked()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | WorkSoundPreferenceControllerTest.java | 99 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in isAvailable_managedProfileAndNotSingleVolume_shouldReturnTrue() 109 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in isAvailable_noManagedProfile_shouldReturnFalse() 119 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in isAvailable_singleVolume_shouldReturnFalse() 155 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in onManagedProfileRemoved_shouldHidePreferenceCategory() 176 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in displayPreference_isAvailable_shouldShowPreferenceCategory() 213 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in onResume_noVoiceCapability_shouldHidePhoneRingtone() 239 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(false); in onResume_availableButLocked_shouldRedactPreferences() 261 when(mAudioHelper.isUserUnlocked(nullable(UserManager.class), anyInt())).thenReturn(true); in onResume_shouldSetUserIdToPreference()
|
/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() 113 if (isUserUnlocked) { in execute()
|
D | LoaderTask.java | 289 boolean userUnlocked = mUserManager.isUserUnlocked(user); in loadWorkspace() 847 if (mUserManager.isUserUnlocked(user)) { in loadDeepShortcuts()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapObexServer.java | 401 private boolean isUserUnlocked() { in isUserUnlocked() method in BluetoothMapObexServer 403 return (manager == null || manager.isUserUnlocked()); in isUserUnlocked() 441 if (!isUserUnlocked()) { in onPut() 454 if (!isUserUnlocked()) { in onPut() 465 if (!isUserUnlocked()) { in onPut() 902 if (!isUserUnlocked()) { in onGet() 920 if (!isUserUnlocked()) { in onGet() 941 if (!isUserUnlocked()) { in onGet()
|
/packages/services/Car/TrustAgent/src/com/android/car/trust/ |
D | CarBleTrustAgent.java | 123 if (!um.isUserUnlocked()) { in onCreate() 250 Log.d(TAG, "Attempted to unlock user, is user unlocked? " + um.isUserUnlocked() in unlock() 255 if (um.isUserUnlocked()) { in unlock()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | UserManagerCompatVN.java | 37 public boolean isUserUnlocked(UserHandle user) { in isUserUnlocked() method in UserManagerCompatVN 38 return mUserManager.isUserUnlocked(user); in isUserUnlocked()
|
D | UserManagerCompat.java | 61 public abstract boolean isUserUnlocked(UserHandle user); in isUserUnlocked() method in UserManagerCompat
|
D | UserManagerCompatVL.java | 76 public boolean isUserUnlocked(UserHandle user) { in isUserUnlocked() method in UserManagerCompatVL
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | AudioHelper.java | 45 public boolean isUserUnlocked(UserManager um, @UserIdInt int userId) { in isUserUnlocked() method in AudioHelper 46 return um.isUserUnlocked(userId); in isUserUnlocked()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppFileProvider.java | 74 if (userManager.isUserUnlocked()) { in attachInfo() 110 if (!userManager.isUserUnlocked()) { in getUriForFile()
|
/packages/apps/DeskClock/src/com/android/deskclock/controller/ |
D | ShortcutController.java | 67 if (!mUserManager.isUserUnlocked()) { in updateShortcuts() 166 if (!mUserManager.isUserUnlocked()) { in stopwatchUpdated()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ContactsPreferencesFactory.java | 41 if (UserManagerCompat.isUserUnlocked(context)) { in newContactsPreferences()
|
/packages/apps/Dialer/java/com/android/dialer/configprovider/ |
D | ConfigProviderBindings.java | 37 if (!UserManagerCompat.isUserUnlocked(context)) { in get()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | FallbackHome.java | 57 if (getSystemService(UserManager.class).isUserUnlocked()) { in maybeFinish()
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserverTest.java | 50 when(mockUserService.isUserUnlocked()).thenReturn(true); in testInitMsgList()
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | BlockedNumbersAutoMigrator.java | 104 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/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | LegacyVoicemailNotificationReceiver.java | 125 if (!UserManagerCompat.isUserUnlocked(context)) { in hasVoicemailCountChanged()
|
/packages/apps/Settings/src/com/android/settings/ |
D | FallbackHome.java | 111 if (getSystemService(UserManager.class).isUserUnlocked()) { in maybeFinish()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RingtoneFactory.java | 72 if (UserManager.get(contextToUse).isUserUnlocked(contextToUse.getUserId())) { in getRingtone()
|
/packages/apps/Dialer/java/com/android/dialer/persistentlog/ |
D | PersistentLogger.java | 83 if (!UserManagerCompat.isUserUnlocked(context)) { in initialize()
|
/packages/apps/Dialer/java/com/android/incallui/telecomeventui/ |
D | InternationalCallOnWifiDialogFragment.java | 51 if (!UserManagerCompat.isUserUnlocked(context)) { in shouldShow()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
D | VvmAccountManager.java | 135 if (!context.getSystemService(UserManager.class).isUserUnlocked()) { in migrateActivationState()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/ |
D | OmtpMessageReceiver.java | 64 if (!context.getSystemService(UserManager.class).isUserUnlocked()) { in onReceive()
|