Home
last modified time | relevance | path

Searched defs:restrictionKey (Results 1 – 25 of 207) sorted by relevance

123456789

/aosp_15_r20/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowUserManager.java143 protected boolean hasBaseUserRestriction(String restrictionKey, UserHandle userHandle) { in hasBaseUserRestriction()
178 protected boolean hasUserRestriction(String restrictionKey) { in hasUserRestriction()
188 String restrictionKey, UserHandle userHandle) { in getUserRestrictionSources()
197 String restrictionKey, UserHandle userHandle, List<EnforcingUser> enforcers) { in setUserRestrictionSources()
/aosp_15_r20/frameworks/base/core/java/android/os/
H A DIUserManager.aidl91 int getUserRestrictionSource(String restrictionKey, int userId); in getUserRestrictionSource()
92 List<UserManager.EnforcingUser> getUserRestrictionSources(String restrictionKey, int userId); in getUserRestrictionSources()
94 boolean hasBaseUserRestriction(String restrictionKey, int userId); in hasBaseUserRestriction()
95 boolean hasUserRestriction(in String restrictionKey, int userId); in hasUserRestriction()
96 boolean hasUserRestrictionOnAnyUser(in String restrictionKey); in hasUserRestrictionOnAnyUser()
H A DUserManager.java3988 public int getUserRestrictionSource(@UserRestrictionKey String restrictionKey, in getUserRestrictionSource()
4009 public List<EnforcingUser> getUserRestrictionSources( in getUserRestrictionSources()
4069 public boolean hasBaseUserRestriction(@UserRestrictionKey @NonNull String restrictionKey, in hasBaseUserRestriction()
4153 public boolean hasUserRestriction(@UserRestrictionKey String restrictionKey) { in hasUserRestriction()
4170 public boolean hasUserRestriction(@UserRestrictionKey String restrictionKey, in hasUserRestriction()
4191 public boolean hasUserRestrictionForUser(@NonNull @UserRestrictionKey String restrictionKey, in hasUserRestrictionForUser()
4199 private boolean hasUserRestrictionForUser(@NonNull @UserRestrictionKey String restrictionKey, in hasUserRestrictionForUser()
4212 public boolean hasUserRestrictionOnAnyUser(@UserRestrictionKey String restrictionKey) { in hasUserRestrictionOnAnyUser()
/aosp_15_r20/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
H A DSetPolicyActivity.java60 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
65 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
/aosp_15_r20/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
H A DSetPolicyActivity.java62 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
67 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
/aosp_15_r20/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
H A DSetPolicyActivity.java74 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
79 String restrictionKey = intent.getStringExtra(EXTRA_RESTRICTION_KEY); in handleIntent() local
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/restriction/
DUserRestrictionBindingHelper.kt37 for (restrictionKey in metadata.restrictionKeys) { in <lambda>() constant
52 KeyedObserver<String?> { restrictionKey, _ -> in <lambda>() method
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/
DRestrictedSettingsFragment.java100 public RestrictedSettingsFragment(String restrictionKey) { in RestrictedSettingsFragment()
207 protected boolean shouldBeProviderProtected(String restrictionKey) { in shouldBeProviderProtected()
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/dashboard/
DRestrictedDashboardFragment.java98 public RestrictedDashboardFragment(String restrictionKey) { in RestrictedDashboardFragment()
201 protected boolean shouldBeProviderProtected(String restrictionKey) { in shouldBeProviderProtected()
/aosp_15_r20/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DRestrictedSettingsFragment.java97 public RestrictedSettingsFragment(String restrictionKey) { in RestrictedSettingsFragment()
205 protected boolean shouldBeProviderProtected(String restrictionKey) { in shouldBeProviderProtected()
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowUserManager.java498 protected boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction()
528 public void setUserRestriction(UserHandle userHandle, String restrictionKey, boolean value) { in setUserRestriction()
1207 protected boolean hasUserRestrictionForUser(String restrictionKey, UserHandle userHandle) { in hasUserRestrictionForUser()
1249 protected boolean hasUserRestrictionForUser(String restrictionKey, int userId) { in hasUserRestrictionForUser()
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/print/
DProfileSettingsPreferenceFragment.java38 public ProfileSettingsPreferenceFragment(String restrictionKey) { in ProfileSettingsPreferenceFragment()
/aosp_15_r20/out/soong/.intermediates/packages/apps/Settings/Settings-core/android_common/kapt/gen/stubs/com/android/settings/restriction/
DUserRestrictionBindingHelper.java27 private final void notifyRestrictionChanged(java.lang.String restrictionKey) { in notifyRestrictionChanged()
/aosp_15_r20/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiEnterpriseRestrictionUtils.java81 static boolean hasUserRestrictionFromT(Context context, String restrictionKey) { in hasUserRestrictionFromT()
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowDevicePolicyManagerTest.java309 String restrictionKey = "restriction key"; in addUserRestrictionShouldWorkAsIntendedForDeviceOwner() local
325 String restrictionKey = "restriction key"; in addUserRestrictionShouldWorkAsIntendedForProfileOwner() local
344 String restrictionKey = "restriction key"; in clearUserRestrictionShouldWorkAsIntendedForActiveAdmins() local
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/network/telephony/
DAbstractMobileNetworkSettings.java46 AbstractMobileNetworkSettings(String restrictionKey) { in AbstractMobileNetworkSettings()
/aosp_15_r20/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java263 public boolean hasUserRestriction(String restrictionKey) { in hasUserRestriction()
268 public boolean hasUserRestriction(String restrictionKey, UserHandle userHandle) { in hasUserRestriction()
/aosp_15_r20/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DUserManagerCompat.java97 public boolean hasBaseUserRestriction( in hasBaseUserRestriction()
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java3515 public boolean hasUserRestriction(String restrictionKey, @UserIdInt int userId) { in hasUserRestriction()
3525 public boolean hasUserRestrictionOnAnyUser(String restrictionKey) { in hasUserRestrictionOnAnyUser()
3584 public int getUserRestrictionSource(String restrictionKey, @UserIdInt int userId) { in getUserRestrictionSource()
3596 String restrictionKey, @UserIdInt int userId) { in getUserRestrictionSources()
3630 public boolean hasBaseUserRestriction(String restrictionKey, @UserIdInt int userId) { in hasBaseUserRestriction()
H A DUserRestrictionsUtils.java928 public static void moveRestriction(String restrictionKey, in moveRestriction()
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityShortcutPreferenceFragmentTest.java238 public TestAccessibilityShortcutPreferenceFragment(String restrictionKey) { in TestAccessibilityShortcutPreferenceFragment()
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityShortcutPreferenceFragment.java74 public AccessibilityShortcutPreferenceFragment(String restrictionKey) { in AccessibilityShortcutPreferenceFragment()
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
H A DCommandReceiverActivity.java225 String restrictionKey = intent.getStringExtra(EXTRA_USER_RESTRICTION); in onCreate() local
/aosp_15_r20/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java2140 String restrictionKey = VISIBLE_BACKGROUND_USER_RESTRICTIONS[i]; in setVisibleBackgroundUserRestrictions() local
2154 String restrictionKey = VISIBLE_BACKGROUND_USER_RESTRICTIONS[i]; in clearVisibleBackgroundUserRestrictions() local
/aosp_15_r20/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java380 UserHandle user, String restrictionKey, boolean value) { in mockUmHasUserRestrictionForUser()

123456789