Searched refs:isDemo (Results 1 – 7 of 7) sorted by relevance
335 final boolean isDemo = UserManager.isDeviceInDemoMode(mContext); in updateVisibilities()338 && mMultiUserSwitch.hasMultipleUsers() && !isDemo in updateVisibilities()342 mEdit.setVisibility(isDemo || !mExpanded ? View.INVISIBLE : View.VISIBLE); in updateVisibilities()
72 if (oldUser.isDemo()) { in UserSwitchingDialog()
23502 if (!targetUserInfo.isDemo() && UserManager.isDeviceInDemoMode(mContext)) {
168 public boolean isDemo() { in isDemo() method in UserInfo
196 if (user.isDemo()) { in handleMessage()608 if (!ui.isDemo()) { in onSwitchUser()
982 return userInfo != null && userInfo.isDemo(); in isDemoUser()2396 final boolean isDemo = (flags & UserInfo.FLAG_DEMO) != 0; in createUserInternalUnchecked()2414 if (!isGuest && !isManagedProfile && !isDemo && isUserLimitReached()) { in createUserInternalUnchecked()
367 if (info != null && (info.isGuest() || info.isDemo())) {