Searched refs:isDemo (Results 1 – 13 of 13) sorted by relevance
101 if (mOldUser.isDemo()) { in inflateContent()
363 public boolean isDemo() { in isDemo() method in UserInfo
98 when(userInfo.isDemo()).thenReturn(isDemoUser); in configureTest()
204 when(mockUserInfo.isDemo()).thenReturn(true); in testManagedDemoMode()
208 && currentUser.isDemo(); in getButtonConfig()
646 && userInfo.isDemo(); in isLockScreenDisabled()
1752 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()
577 } else if (info.isGuest() || info.isDemo()) {
11664 final boolean isDemo = isCurrentUserDemo();11672 Preconditions.checkArgument(isDemo || isSystemApp(mIPackageManager, packageName,11679 if (isDemo) {15197 () -> mUserManager.getUserInfo(userId).isDemo());
3860 .getUserInfo(userId).isDemo(); in getVolumeList()
6681 && mAmInternal.getCurrentUser().isDemo()); in canShowErrorDialogs()
889 method public boolean isDemo();
13417 Landroid/content/pm/UserInfo;->isDemo()Z