/aosp_15_r20/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/ |
D | ShadowUserManager.java | 143 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 D | IUserManager.aidl | 91 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 D | UserManager.java | 3988 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 D | SetPolicyActivity.java | 60 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 D | SetPolicyActivity.java | 62 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 D | SetPolicyActivity.java | 74 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/ |
D | UserRestrictionBindingHelper.kt | 37 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/ |
D | RestrictedSettingsFragment.java | 100 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/ |
D | RestrictedDashboardFragment.java | 98 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/ |
D | RestrictedSettingsFragment.java | 97 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 D | ShadowUserManager.java | 498 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/ |
D | ProfileSettingsPreferenceFragment.java | 38 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/ |
D | UserRestrictionBindingHelper.java | 27 private final void notifyRestrictionChanged(java.lang.String restrictionKey) { in notifyRestrictionChanged()
|
/aosp_15_r20/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | WifiEnterpriseRestrictionUtils.java | 81 static boolean hasUserRestrictionFromT(Context context, String restrictionKey) { in hasUserRestrictionFromT()
|
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
H A D | ShadowDevicePolicyManagerTest.java | 309 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/ |
D | AbstractMobileNetworkSettings.java | 46 AbstractMobileNetworkSettings(String restrictionKey) { in AbstractMobileNetworkSettings()
|
/aosp_15_r20/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 263 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/ |
D | UserManagerCompat.java | 97 public boolean hasBaseUserRestriction( in hasBaseUserRestriction()
|
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserManagerService.java | 3515 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 D | UserRestrictionsUtils.java | 928 public static void moveRestriction(String restrictionKey, in moveRestriction()
|
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityShortcutPreferenceFragmentTest.java | 238 public TestAccessibilityShortcutPreferenceFragment(String restrictionKey) { in TestAccessibilityShortcutPreferenceFragment()
|
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityShortcutPreferenceFragment.java | 74 public AccessibilityShortcutPreferenceFragment(String restrictionKey) { in AccessibilityShortcutPreferenceFragment()
|
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
H A D | CommandReceiverActivity.java | 225 String restrictionKey = intent.getStringExtra(EXTRA_USER_RESTRICTION); in onCreate() local
|
/aosp_15_r20/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 2140 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/ |
D | AndroidMockitoHelper.java | 380 UserHandle user, String restrictionKey, boolean value) { in mockUmHasUserRestrictionForUser()
|