Searched refs:mIsAdmin (Results 1 – 5 of 5) sorted by relevance
36 boolean mIsAdmin; field in UserCapabilities60 caps.mIsAdmin = myUserInfo.isAdmin(); in create()87 if (!mIsAdmin in updateAddUserCapabilities()96 final boolean canAddUsersWhenLocked = mIsAdmin || Settings.Global.getInt( in updateAddUserCapabilities()105 return mIsAdmin; in isAdmin()127 ", mIsAdmin=" + mIsAdmin + in toString()
1345 return mUserCaps.mIsAdmin;
760 mNetworkProviderSettings.mIsAdmin = true; in addShareMenuIfSuitable_isAdmin_addMenu()770 mNetworkProviderSettings.mIsAdmin = false; in addShareMenuIfSuitable_isNotAdmin_notAddMenu()780 mNetworkProviderSettings.mIsAdmin = true; in addForgetMenuIfSuitable_isAdmin_addMenu()790 mNetworkProviderSettings.mIsAdmin = false; in addForgetMenuIfSuitable_isNotAdmin_notAddMenu()800 mNetworkProviderSettings.mIsAdmin = true; in addModifyMenuIfSuitable_isAdmin_addMenu()811 mNetworkProviderSettings.mIsAdmin = false; in addModifyMenuIfSuitable_isNotAdmin_notAddMenu()
207 boolean mIsAdmin = true; field in NetworkProviderSettings352 mIsAdmin = userManager.isAdminUser(); in updateUserType()653 if (mIsAdmin) { in addShareMenuIfSuitable()663 if (mIsAdmin) { in addForgetMenuIfSuitable()670 if (mIsAdmin && wifiEntry.isSaved() in addModifyMenuIfSuitable()698 if (!mIsAdmin) { in onContextItemSelected()
285 mUserCapabilities.mIsAdmin = false; in withDisallowRemoveUser_ShouldDisableRemoveUser()310 mUserCapabilities.mIsAdmin = false; in withoutDisallowRemoveUser_ShouldNotDisableRemoveUser()