OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isUserUnlocked
(Results
1 - 25
of
79
) sorted by null
1
2
3
4
/frameworks/support/compat/java/android/support/v4/os/
UserManagerCompat.java
38
public static boolean
isUserUnlocked
(Context context) {
40
return context.getSystemService(UserManager.class).
isUserUnlocked
();
/packages/apps/Launcher3/src/com/android/launcher3/compat/
UserManagerCompatVN.java
37
public boolean
isUserUnlocked
(UserHandle user) {
38
return mUserManager.
isUserUnlocked
(user);
UserManagerCompat.java
61
public abstract boolean
isUserUnlocked
(UserHandle user);
/packages/apps/Dialer/java/com/android/voicemail/impl/
OmtpService.java
59
if (!
isUserUnlocked
(this)) {
84
if (!
isUserUnlocked
(this)) {
94
//
isUserUnlocked
() is not checked. OmtpMessageReceiver will handle the locked case.
114
if (!
isUserUnlocked
(this)) {
139
if (!
isUserUnlocked
(this)) {
150
Assert.isTrue(
isUserUnlocked
(context));
158
Assert.isTrue(
isUserUnlocked
(context));
181
private static boolean
isUserUnlocked
(@NonNull Context context) {
183
return userManager.
isUserUnlocked
();
/packages/apps/Settings/src/com/android/settings/notification/
AudioHelper.java
45
public boolean
isUserUnlocked
(UserManager um, @UserIdInt int userId) {
46
return um.
isUserUnlocked
(userId);
/packages/apps/Launcher3/src/com/android/launcher3/model/
UserLockStateChangedTask.java
54
boolean
isUserUnlocked
= UserManagerCompat.getInstance(context).
isUserUnlocked
(mUser);
58
if (
isUserUnlocked
) {
69
isUserUnlocked
= false;
81
if (
isUserUnlocked
) {
113
if (
isUserUnlocked
) {
/packages/apps/Dialer/java/com/android/incallui/
ContactsPreferencesFactory.java
41
if (UserManagerCompat.
isUserUnlocked
(context)) {
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
ResetPasswordTest.java
60
assertFalse("Failed to lock FBE", mUserManager.
isUserUnlocked
());
/frameworks/base/core/java/android/os/
UserManagerInternal.java
154
public abstract boolean
isUserUnlocked
(int userId);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppFileProvider.java
74
if (userManager.
isUserUnlocked
()) {
110
if (!userManager.
isUserUnlocked
()) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
WorkSoundPreferenceControllerTest.java
99
when(mAudioHelper.
isUserUnlocked
(nullable(UserManager.class), anyInt())).thenReturn(true);
109
when(mAudioHelper.
isUserUnlocked
(nullable(UserManager.class), anyInt())).thenReturn(true);
119
when(mAudioHelper.
isUserUnlocked
(nullable(UserManager.class), anyInt())).thenReturn(true);
155
when(mAudioHelper.
isUserUnlocked
(nullable(UserManager.class), anyInt())).thenReturn(true);
176
when(mAudioHelper.
isUserUnlocked
(nullable(UserManager.class), anyInt())).thenReturn(true);
213
when(mAudioHelper.
isUserUnlocked
(nullable(UserManager.class), anyInt())).thenReturn(true);
239
when(mAudioHelper.
isUserUnlocked
(nullable(UserManager.class), anyInt())).thenReturn(false);
261
when(mAudioHelper.
isUserUnlocked
(nullable(UserManager.class), anyInt())).thenReturn(true);
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
ResetPasswordWithTokenTest.java
63
assertFalse(um.
isUserUnlocked
());
/developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/
BootBroadcastReceiver.java
49
.
isUserUnlocked
(context));
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/
BootBroadcastReceiver.java
49
.
isUserUnlocked
(context));
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/
BootBroadcastReceiver.java
49
.
isUserUnlocked
(context));
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
TakeScreenshotService.java
53
if (!getSystemService(UserManager.class).
isUserUnlocked
()) {
/packages/apps/Dialer/java/com/android/dialer/configprovider/
ConfigProviderBindings.java
37
if (!UserManagerCompat.
isUserUnlocked
(context)) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
FallbackHome.java
57
if (getSystemService(UserManager.class).
isUserUnlocked
()) {
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
EncryptionAppTest.java
183
assertFalse("
isUserUnlocked
", mCe.getSystemService(UserManager.class).
isUserUnlocked
());
184
assertFalse("
isUserUnlocked
", mDe.getSystemService(UserManager.class).
isUserUnlocked
());
217
assertTrue("
isUserUnlocked
", mCe.getSystemService(UserManager.class).
isUserUnlocked
());
218
assertTrue("
isUserUnlocked
", mDe.getSystemService(UserManager.class).
isUserUnlocked
());
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
AppListFragment.java
39
if (mUserManager.
isUserUnlocked
(ai.getUser())
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/map/
BluetoothMapContentObserverTest.java
50
when(mockUserService.
isUserUnlocked
()).thenReturn(true);
/packages/services/Car/TrustAgent/src/com/android/car/trust/
CarBleTrustAgent.java
123
if (!um.
isUserUnlocked
()) {
250
Log.d(TAG, "Attempted to unlock user, is user unlocked? " + um.
isUserUnlocked
()
255
if (um.
isUserUnlocked
()) {
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
LegacyVoicemailNotificationReceiver.java
125
if (!UserManagerCompat.
isUserUnlocked
(context)) {
/packages/apps/Dialer/java/com/android/dialer/blocking/
BlockedNumbersAutoMigrator.java
104
if (!UserManagerCompat.
isUserUnlocked
(appContext)) {
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
PeriodicJobService.java
60
if (VERSION.SDK_INT >= VERSION_CODES.N_MR1 && UserManagerCompat.
isUserUnlocked
(context)) {
Completed in 1018 milliseconds
1
2
3
4