/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowUserManager.java | 84 protected boolean hasBaseUserRestriction(String restrictionKey, UserHandle userHandle) { in hasBaseUserRestriction() argument 85 return mRestrictions.contains(restrictionKey); in hasBaseUserRestriction() 99 String restrictionKey, UserHandle userHandle) { in getUserRestrictionSources() argument 103 mRestrictionSources.get(restrictionKey + userHandle.getIdentifier()); in getUserRestrictionSources() 108 String restrictionKey, UserHandle userHandle, List<EnforcingUser> enforcers) { in setUserRestrictionSources() argument 109 mRestrictionSources.put(restrictionKey + userHandle.getIdentifier(), enforcers); in setUserRestrictionSources()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | RestrictedDashboardFragment.java | 98 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/ |
D | RestrictedDashboardFragment.java | 98 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | RestrictedSettingsFragment.java | 100 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/Settings/src/com/android/settings/ |
D | RestrictedSettingsFragment.java | 100 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/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 229 public boolean hasUserRestriction(String restrictionKey) { in hasUserRestriction() argument 234 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | AppRestrictionsFragment.java | 529 final String restrictionKey = st.nextToken(); in onPreferenceChange() local 535 if (entry.getKey().equals(restrictionKey)) { in onPreferenceChange()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | AppRestrictionsFragment.java | 529 final String restrictionKey = st.nextToken(); in onPreferenceChange() local 535 if (entry.getKey().equals(restrictionKey)) { in onPreferenceChange()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | AppRestrictionsFragment.java | 618 final String restrictionKey = st.nextToken(); in onPreferenceChange() local 624 if (entry.getKey().equals(restrictionKey)) { in onPreferenceChange()
|