Home
last modified time | relevance | path

Searched refs:mIsAdmin (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/users/
DUserCapabilities.java36 boolean mIsAdmin; field in UserCapabilities
60 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()
DUserSettings.java1345 return mUserCaps.mIsAdmin;
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DNetworkProviderSettingsTest.java760 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()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSettings.java207 boolean mIsAdmin = true; field in NetworkProviderSettings
352 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserSettingsTest.java285 mUserCapabilities.mIsAdmin = false; in withDisallowRemoveUser_ShouldDisableRemoveUser()
310 mUserCapabilities.mIsAdmin = false; in withoutDisallowRemoveUser_ShouldNotDisableRemoveUser()