Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/os/
DUserManagerCompat.java40 return !isUserUnlocked(context); in isUserRunningAndLocked()
54 return isUserUnlocked(context); in isUserRunningAndUnlocked()
63 public static boolean isUserUnlocked(Context context) { in isUserUnlocked() method in UserManagerCompat
65 return UserManagerCompatApi24.isUserUnlocked(context); in isUserUnlocked()
/frameworks/support/v4/api24/android/support/v4/os/
DUserManagerCompatApi24.java24 public static boolean isUserUnlocked(Context context) { in isUserUnlocked() method in UserManagerCompatApi24
25 return context.getSystemService(UserManager.class).isUserUnlocked(); in isUserUnlocked()
/frameworks/base/core/java/android/os/
DUserManager.java739 boolean isSystemUserUnlocked = isUserUnlocked(UserHandle.SYSTEM); in canSwitchUsers()
1000 public boolean isUserUnlocked() { in isUserUnlocked() method in UserManager
1001 return isUserUnlocked(Process.myUserHandle()); in isUserUnlocked()
1019 public boolean isUserUnlocked(UserHandle user) { in isUserUnlocked() method in UserManager
1020 return isUserUnlocked(user.getIdentifier()); in isUserUnlocked()
1024 public boolean isUserUnlocked(@UserIdInt int userId) { in isUserUnlocked() method in UserManager
/frameworks/base/docs/html-intl/intl/zh-cn/preview/features/
Ddirect-boot.jd122 <p>您可以通过调用 <code>UserManager.isUserUnlocked()</code> 直接查询用户是否已解锁设备。
/frameworks/base/docs/html-intl/intl/zh-tw/preview/features/
Ddirect-boot.jd123 <code>UserManager.isUserUnlocked()</code>,以直接查詢使用者是否已將裝置解鎖。</p>
/frameworks/base/docs/html-intl/intl/ja/preview/features/
Ddirect-boot.jd123 <code>UserManager.isUserUnlocked()</code> を呼び出して、ユーザーが端末のロックを解除したかを直接問い合わせることもできます。</p>
/frameworks/base/docs/html-intl/intl/ko/preview/features/
Ddirect-boot.jd123 <code>UserManager.isUserUnlocked()</code>를 호출하여 기기 잠금을 해제했는지 직접 쿼리할 수 있습니다.</p>
/frameworks/base/core/java/android/provider/
DCallLog.java766 && userManager.isUserUnlocked(userHandle)) { in addCall()
830 userManager.isUserUnlocked(user) ? CONTENT_URI : SHADOW_CONTENT_URI, in addEntryAndRemoveExpiredEntries()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java310 doReturn(true).when(userManager).isUserUnlocked(); in setUp()
689 doReturn(false).when(userManager).isUserUnlocked(); in testBroadcastUndeliveredUserLocked()
704 doReturn(true).when(userManager).isUserUnlocked(); in testBroadcastUndeliveredUserLocked()
/frameworks/base/docs/html-intl/intl/ru/preview/features/
Ddirect-boot.jd123 <code>UserManager.isUserUnlocked()</code>.</p>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsBroadcastUndelivered.java130 if (userManager.isUserUnlocked()) { in SmsBroadcastUndelivered()
DSubscriptionInfoUpdater.java682 if (!mUserManager.isUserUnlocked()) { in broadcastSimStateChanged()
DInboundSmsHandler.java793 if (!mUserManager.isUserUnlocked()) { in processMessagePart()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java100 when(mContext.userManager.isUserUnlocked(anyInt())).thenReturn(true); in setUp()
440 when(mContext.userManager.isUserUnlocked(eq(DpmMockContext.CALLER_USER_HANDLE))) in testRemoveActiveAdmin_userNotRunningOrLocked()
453 when(mContext.userManager.isUserUnlocked(eq(DpmMockContext.CALLER_USER_HANDLE))) in testRemoveActiveAdmin_userNotRunningOrLocked()
834 when(mContext.userManager.isUserUnlocked(anyInt())).thenReturn(false); in testClearDeviceOwner()
843 when(mContext.userManager.isUserUnlocked(anyInt())).thenReturn(true); in testClearDeviceOwner()
932 when(mContext.userManager.isUserUnlocked(anyInt())) in testClearProfileOwner()
942 when(mContext.userManager.isUserUnlocked(anyInt())) in testClearProfileOwner()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java107 doReturn(true).when(userManager).isUserUnlocked(); in setUp()
/frameworks/base/docs/html-intl/intl/in/preview/features/
Ddirect-boot.jd123 <code>UserManager.isUserUnlocked()</code>.</p>
/frameworks/base/docs/html/preview/features/
Ddirect-boot.jd130 <code>UserManager.isUserUnlocked()</code>.</p>
/frameworks/base/docs/html-intl/intl/es/preview/features/
Ddirect-boot.jd123 <code>UserManager.isUserUnlocked()</code>.</p>
/frameworks/base/docs/html-intl/intl/pt-br/preview/features/
Ddirect-boot.jd123 <code>UserManager.isUserUnlocked()</code>.</p>
/frameworks/base/docs/html-intl/intl/vi/preview/features/
Ddirect-boot.jd123 <code>UserManager.isUserUnlocked()</code>.</p>
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2674 if (!mUserManager.isUserUnlocked(userHandle)) { in manageNotification()
3860 if (!mUserManager.isUserUnlocked(userHandle)) { in resetPassword()
6270 Preconditions.checkState(mUserManager.isUserUnlocked(userId), in enforceUserUnlocked()
/frameworks/support/v4/api/
Dcurrent.txt1908 method public static boolean isUserUnlocked(android.content.Context);
/frameworks/base/api/
Dcurrent.txt29267 method public boolean isUserUnlocked();
29268 method public boolean isUserUnlocked(android.os.UserHandle);
Dtest-current.txt29337 method public boolean isUserUnlocked();
29338 method public boolean isUserUnlocked(android.os.UserHandle);
Dsystem-current.txt31794 method public boolean isUserUnlocked();
31795 method public boolean isUserUnlocked(android.os.UserHandle);