Searched refs:mRestrictionKey (Results 1 – 3 of 3) sorted by relevance
73 private final String mRestrictionKey; field in RestrictedSettingsFragment101 mRestrictionKey = restrictionKey; in RestrictedSettingsFragment()142 if (shouldBeProviderProtected(mRestrictionKey)) { in onResume()193 if (mRestrictionKey == null || RESTRICT_IF_OVERRIDABLE.equals(mRestrictionKey)) { in isRestrictedAndNotProviderProtected()196 return mUserManager.hasUserRestriction(mRestrictionKey) in isRestrictedAndNotProviderProtected()212 || mUserManager.hasUserRestriction(mRestrictionKey); in shouldBeProviderProtected()223 mRestrictionKey, UserHandle.myUserId()); in getRestrictionEnforcedAdmin()241 .prepareDialogBuilder(mRestrictionKey, admin) in onDataSetChanged()264 return isUiRestricted() && !mUserManager.hasBaseUserRestriction(mRestrictionKey, in isUiRestrictedByOnlyAdmin()
73 private final String mRestrictionKey; field in RestrictedDashboardFragment99 mRestrictionKey = restrictionKey; in RestrictedDashboardFragment()140 if (shouldBeProviderProtected(mRestrictionKey)) { in onResume()187 if (mRestrictionKey == null || RESTRICT_IF_OVERRIDABLE.equals(mRestrictionKey)) { in isRestrictedAndNotProviderProtected()190 return mUserManager.hasUserRestriction(mRestrictionKey) in isRestrictedAndNotProviderProtected()206 || mUserManager.hasUserRestriction(mRestrictionKey); in shouldBeProviderProtected()217 mRestrictionKey, UserHandle.myUserId()); in getRestrictionEnforcedAdmin()235 .prepareDialogBuilder(mRestrictionKey, admin) in onDataSetChanged()258 return isUiRestricted() && !mUserManager.hasBaseUserRestriction(mRestrictionKey, in isUiRestrictedByOnlyAdmin()
69 private final String mRestrictionKey; field in RestrictedSettingsFragment98 mRestrictionKey = restrictionKey; in RestrictedSettingsFragment()140 if (shouldBeProviderProtected(mRestrictionKey)) { in onResume()191 if (mRestrictionKey == null || RESTRICT_IF_OVERRIDABLE.equals(mRestrictionKey)) { in isRestrictedAndNotProviderProtected()194 return mUserManager.hasUserRestriction(mRestrictionKey) in isRestrictedAndNotProviderProtected()210 || mUserManager.hasUserRestriction(mRestrictionKey); in shouldBeProviderProtected()221 mRestrictionKey, UserHandle.myUserId()); in getRestrictionEnforcedAdmin()237 .prepareDialogBuilder(mRestrictionKey, admin) in showAdminDialog()259 return isUiRestricted() && !mUserManager.hasBaseUserRestriction(mRestrictionKey, in isUiRestrictedByOnlyAdmin()