Searched refs:mIsAdmin (Results 1 – 3 of 3) sorted by relevance
34 boolean mIsAdmin; field in UserCapabilities57 caps.mIsAdmin = myUserInfo.isAdmin(); in create()79 if (!mIsAdmin || UserManager.getMaxSupportedUsers() < 2 in updateAddUserCapabilities()85 final boolean canAddUsersWhenLocked = mIsAdmin || Settings.Global.getInt( in updateAddUserCapabilities()93 return mIsAdmin; in isAdmin()115 ", mIsAdmin=" + mIsAdmin + in toString()
288 if (mUserCaps.mIsAdmin) { in onCreate()361 if (!mUserCaps.mIsAdmin && canSwitchUserNow() && !(isCurrentUserGuest() in onCreateOptionsMenu()934 mUserCaps.mIsAdmin || (canSwitchUserNow() && !mUserCaps.mDisallowSwitchUser);
213 mUserCapabilities.mIsAdmin = false; in withDisallowRemoveUser_ShouldDisableRemoveUser()238 mUserCapabilities.mIsAdmin = false; in withoutDisallowRemoveUser_ShouldNotDisableRemoveUser()