Searched refs:isDemo (Results 1 – 13 of 13) sorted by relevance
43 assertThat(ui.isDemo()).isEqualTo(false); in testSimple()
431 public boolean isDemo() { in isDemo() method in UserInfo
171 return res.getString(mOldUser.isDemo() in getTextMessage()
104 when(userInfo.isDemo()).thenReturn(isDemoUser); in configureTest()
214 when(mockUserInfo.isDemo()).thenReturn(true); in testManagedDemoMode()
209 && currentUser.isDemo(); in getButtonConfig()
702 && userInfo.isDemo(); in isLockScreenDisabled()
2700 return userInfo != null && userInfo.isDemo(); in isDemoUser()5463 final boolean isDemo = UserManager.isUserTypeDemo(userType);5497 if (!isGuest && !isManagedProfile && !isDemo && isUserLimitReached()) {5854 : (userInfo.isDemo() ? TRON_DEMO_CREATED : TRON_USER_CREATED), 1);
3888 .getUserInfo(userId).isDemo(); in getVolumeList()
13986 final boolean isDemo = isCurrentUserDemo(); in enableSystemApp()13994 Preconditions.checkArgument(isDemo || isSystemApp(mIPackageManager, packageName, in enableSystemApp()14001 if (isDemo) { in enableSystemApp()18441 () -> mUserManager.getUserInfo(userId).isDemo());
7160 && mAmInternal.getCurrentUser().isDemo()); in canShowErrorDialogs()
1179 method public boolean isDemo();
13417 Landroid/content/pm/UserInfo;->isDemo()Z