Home
last modified time | relevance | path

Searched refs:restrictionKey (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowUserManager.java89 protected boolean hasBaseUserRestriction(String restrictionKey, UserHandle userHandle) { in hasBaseUserRestriction() argument
90 return mBaseRestrictions.contains(restrictionKey); in hasBaseUserRestriction()
115 String restrictionKey, UserHandle userHandle) { in getUserRestrictionSources() argument
119 mRestrictionSources.get(restrictionKey + userHandle.getIdentifier()); in getUserRestrictionSources()
124 String restrictionKey, UserHandle userHandle, List<EnforcingUser> enforcers) { in setUserRestrictionSources() argument
125 mRestrictionSources.put(restrictionKey + userHandle.getIdentifier(), enforcers); in setUserRestrictionSources()
/packages/apps/Settings/src/com/android/settings/dashboard/
DRestrictedDashboardFragment.java98 public RestrictedDashboardFragment(String restrictionKey) { in RestrictedDashboardFragment() argument
99 mRestrictionKey = restrictionKey; in RestrictedDashboardFragment()
201 protected boolean shouldBeProviderProtected(String restrictionKey) { in shouldBeProviderProtected() argument
202 if (restrictionKey == null) { in shouldBeProviderProtected()
205 boolean restricted = RESTRICT_IF_OVERRIDABLE.equals(restrictionKey) in shouldBeProviderProtected()
/packages/apps/Settings/src/com/android/settings/
DRestrictedSettingsFragment.java100 public RestrictedSettingsFragment(String restrictionKey) { in RestrictedSettingsFragment() argument
101 mRestrictionKey = restrictionKey; in RestrictedSettingsFragment()
207 protected boolean shouldBeProviderProtected(String restrictionKey) { in shouldBeProviderProtected() argument
208 if (restrictionKey == null) { in shouldBeProviderProtected()
211 boolean restricted = RESTRICT_IF_OVERRIDABLE.equals(restrictionKey) in shouldBeProviderProtected()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DRestrictedSettingsFragment.java97 public RestrictedSettingsFragment(String restrictionKey) { in RestrictedSettingsFragment() argument
98 mRestrictionKey = restrictionKey; in RestrictedSettingsFragment()
205 protected boolean shouldBeProviderProtected(String restrictionKey) { in shouldBeProviderProtected() argument
206 if (restrictionKey == null) { in shouldBeProviderProtected()
209 boolean restricted = RESTRICT_IF_OVERRIDABLE.equals(restrictionKey) in shouldBeProviderProtected()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DAbstractMobileNetworkSettings.java47 AbstractMobileNetworkSettings(String restrictionKey) { in AbstractMobileNetworkSettings() argument
48 super(restrictionKey); in AbstractMobileNetworkSettings()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java233 public boolean hasUserRestriction(String restrictionKey) { in hasUserRestriction() argument
238 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction() argument
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java535 final String restrictionKey = st.nextToken(); in onPreferenceChange() local
541 if (entry.getKey().equals(restrictionKey)) { in onPreferenceChange()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java428 private boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction() argument
430 .getUserRestrictionSources(restrictionKey, userHandle); in hasUserRestriction()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java618 final String restrictionKey = st.nextToken(); in onPreferenceChange() local
624 if (entry.getKey().equals(restrictionKey)) { in onPreferenceChange()