Searched refs:mIsAdmin (Results 1 – 5 of 5) 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()
270 if (mUserCaps.mIsAdmin) { in onCreate()339 if (!mUserCaps.mIsAdmin && canSwitchUsers) { in onCreateOptionsMenu()499 if (info.isRestricted() && mUserCaps.mIsAdmin) { in onManageUserClicked()512 } else if (mUserCaps.mIsAdmin) { in onManageUserClicked()839 final boolean showSettings = mUserCaps.mIsAdmin in updateUserList()841 final boolean showDelete = mUserCaps.mIsAdmin in updateUserList()902 mUserCaps.mIsAdmin && voiceCapable ? this : null /* settings icon handler */, in updateUserList()
270 if (mUserCaps.mIsAdmin) { in onCreate()335 if (!mUserCaps.mIsAdmin && canSwitchUsers) { in onCreateOptionsMenu()495 if (info.isRestricted() && mUserCaps.mIsAdmin) { in onManageUserClicked()508 } else if (mUserCaps.mIsAdmin) { in onManageUserClicked()835 final boolean showSettings = mUserCaps.mIsAdmin in updateUserList()837 final boolean showDelete = mUserCaps.mIsAdmin in updateUserList()898 mUserCaps.mIsAdmin && voiceCapable ? this : null /* settings icon handler */, in updateUserList()
244 mUserCapabilities.mIsAdmin = false; in withDisallowRemoveUser_ShouldDisableRemoveUser()269 mUserCapabilities.mIsAdmin = false; in withoutDisallowRemoveUser_ShouldNotDisableRemoveUser()