Home
last modified time | relevance | path

Searched refs:isDemo (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DUserSwitchingDialog.java101 if (mOldUser.isDemo()) { in inflateContent()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java363 public boolean isDemo() { in isDemo() method in UserInfo
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DLockPatternUtilsTest.java98 when(userInfo.isDemo()).thenReturn(isDemoUser); in configureTest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java204 when(mockUserInfo.isDemo()).thenReturn(true); in testManagedDemoMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooterUtils.java208 && currentUser.isDemo(); in getButtonConfig()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java646 && userInfo.isDemo(); in isLockScreenDisabled()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1752 return userInfo != null && userInfo.isDemo(); in isDemoUser()
4018 final boolean isDemo = UserManager.isUserTypeDemo(userType); in createUserInternalUncheckedNoTracing()
4044 if (!isGuest && !isManagedProfile && !isDemo && isUserLimitReached()) { in createUserInternalUncheckedNoTracing()
4395 : (userInfo.isDemo() ? TRON_DEMO_CREATED : TRON_USER_CREATED), 1); in dispatchUserAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java577 } else if (info.isGuest() || info.isDemo()) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java11664 final boolean isDemo = isCurrentUserDemo();
11672 Preconditions.checkArgument(isDemo || isSystemApp(mIPackageManager, packageName,
11679 if (isDemo) {
15197 () -> mUserManager.getUserInfo(userId).isDemo());
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java3860 .getUserInfo(userId).isDemo(); in getVolumeList()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java6681 && mAmInternal.getCurrentUser().isDemo()); in canShowErrorDialogs()
/frameworks/base/core/api/
Dtest-current.txt889 method public boolean isDemo();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13417 Landroid/content/pm/UserInfo;->isDemo()Z