Searched refs:isDemo (Results 1 – 14 of 14) sorted by relevance
321 final boolean isDemo = UserManager.isDeviceInDemoMode(mContext); in updateVisibilities()323 mEditContainer.setVisibility(isDemo || !mExpanded ? View.INVISIBLE : View.VISIBLE); in updateVisibilities()324 mSettingsButton.setVisibility(isDemo || !mExpanded ? View.INVISIBLE : View.VISIBLE); in updateVisibilities()
143 && currentUser.isDemo(); in handleRefreshState()
74 when(userInfo.isDemo()).thenReturn(isDemoUser); in configureTest()
101 if (mOldUser.isDemo()) { in inflateContent()
237 public boolean isDemo() { in isDemo() method in UserInfo
139 when(mockUserInfo.isDemo()).thenReturn(true); in testManagedDemoMode()
1250 return userInfo != null && userInfo.isDemo(); in isDemoUser()2834 final boolean isDemo = (flags & UserInfo.FLAG_DEMO) != 0; in createUserInternalUncheckedNoTracing()2852 if (!isGuest && !isManagedProfile && !isDemo && isUserLimitReached()) { in createUserInternalUncheckedNoTracing()3006 : (userInfo.isDemo() ? TRON_DEMO_CREATED : TRON_USER_CREATED), 1); in dispatchUserAddedIntent()4266 if (user != null && !user.isAdmin() && !user.isDemo()) { in createUserEvenWhenDisallowed()
2039 if (user != null && !user.isAdmin() && !user.isDemo()) { in createUser()
742 && userInfo.isDemo(); in isLockScreenDisabled()
398 } else if (info.isGuest() || info.isDemo()) {
10218 final boolean isDemo = isCurrentUserDemo(); in enableSystemApp()10230 if (!isDemo && !isSystemApp(mIPackageManager, packageName, parentUserId)) { in enableSystemApp()10238 if (isDemo) { in enableSystemApp()12871 return mUserManager.getUserInfo(userId).isDemo(); in isCurrentUserDemo()
7437 && mAmInternal.getCurrentUser().isDemo()); in canShowErrorDialogs()
4613 HSPLandroid/content/pm/UserInfo;->isDemo()Z
16304 Landroid/content/pm/UserInfo;->isDemo()Z