Home
last modified time | relevance | path

Searched refs:isUserUnlocked (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Dialer/java/com/android/voicemail/impl/
DOmtpService.java59 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/
DWorkSoundPreferenceControllerTest.java99 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/
DUserLockStateChangedTask.java54 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()
DLoaderTask.java289 boolean userUnlocked = mUserManager.isUserUnlocked(user); in loadWorkspace()
847 if (mUserManager.isUserUnlocked(user)) { in loadDeepShortcuts()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java401 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/
DCarBleTrustAgent.java123 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/
DUserManagerCompatVN.java37 public boolean isUserUnlocked(UserHandle user) { in isUserUnlocked() method in UserManagerCompatVN
38 return mUserManager.isUserUnlocked(user); in isUserUnlocked()
DUserManagerCompat.java61 public abstract boolean isUserUnlocked(UserHandle user); in isUserUnlocked() method in UserManagerCompat
DUserManagerCompatVL.java76 public boolean isUserUnlocked(UserHandle user) { in isUserUnlocked() method in UserManagerCompatVL
/packages/apps/Settings/src/com/android/settings/notification/
DAudioHelper.java45 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/
DBluetoothOppFileProvider.java74 if (userManager.isUserUnlocked()) { in attachInfo()
110 if (!userManager.isUserUnlocked()) { in getUriForFile()
/packages/apps/DeskClock/src/com/android/deskclock/controller/
DShortcutController.java67 if (!mUserManager.isUserUnlocked()) { in updateShortcuts()
166 if (!mUserManager.isUserUnlocked()) { in stopwatchUpdated()
/packages/apps/Dialer/java/com/android/incallui/
DContactsPreferencesFactory.java41 if (UserManagerCompat.isUserUnlocked(context)) { in newContactsPreferences()
/packages/apps/Dialer/java/com/android/dialer/configprovider/
DConfigProviderBindings.java37 if (!UserManagerCompat.isUserUnlocked(context)) { in get()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DFallbackHome.java57 if (getSystemService(UserManager.class).isUserUnlocked()) { in maybeFinish()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/map/
DBluetoothMapContentObserverTest.java50 when(mockUserService.isUserUnlocked()).thenReturn(true); in testInitMsgList()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockedNumbersAutoMigrator.java104 if (!UserManagerCompat.isUserUnlocked(appContext)) { in doInBackground()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DPeriodicJobService.java60 if (VERSION.SDK_INT >= VERSION_CODES.N_MR1 && UserManagerCompat.isUserUnlocked(context)) { in schedulePeriodicJob()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DLegacyVoicemailNotificationReceiver.java125 if (!UserManagerCompat.isUserUnlocked(context)) { in hasVoicemailCountChanged()
/packages/apps/Settings/src/com/android/settings/
DFallbackHome.java111 if (getSystemService(UserManager.class).isUserUnlocked()) { in maybeFinish()
/packages/services/Telecomm/src/com/android/server/telecom/
DRingtoneFactory.java72 if (UserManager.get(contextToUse).isUserUnlocked(contextToUse.getUserId())) { in getRingtone()
/packages/apps/Dialer/java/com/android/dialer/persistentlog/
DPersistentLogger.java83 if (!UserManagerCompat.isUserUnlocked(context)) { in initialize()
/packages/apps/Dialer/java/com/android/incallui/telecomeventui/
DInternationalCallOnWifiDialogFragment.java51 if (!UserManagerCompat.isUserUnlocked(context)) { in shouldShow()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVvmAccountManager.java135 if (!context.getSystemService(UserManager.class).isUserUnlocked()) { in migrateActivationState()
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DOmtpMessageReceiver.java64 if (!context.getSystemService(UserManager.class).isUserUnlocked()) { in onReceive()

12