HomeSort by relevance Sort by last modified time
    Searched refs:newRestrictions (Results 1 - 13 of 13) sorted by null

  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
UserRestrictionsUtilsTest.java 52 assertFalse(UserRestrictionsUtils.isEmpty(DpmTestUtils.newRestrictions("a")));
67 Bundle a = DpmTestUtils.newRestrictions("a", "d");
68 Bundle b = DpmTestUtils.newRestrictions("b", "d", "e");
72 DpmTestUtils.assertRestrictions(DpmTestUtils.newRestrictions("a", "b", "d", "e"), a);
76 DpmTestUtils.assertRestrictions(DpmTestUtils.newRestrictions("a", "b", "d", "e"), a);
125 UserRestrictionsUtils.sortToGlobalAndLocal(DpmTestUtils.newRestrictions(
135 DpmTestUtils.assertRestrictions(DpmTestUtils.newRestrictions(
145 DpmTestUtils.assertRestrictions(DpmTestUtils.newRestrictions(
175 DpmTestUtils.newRestrictions("a")));
178 DpmTestUtils.newRestrictions("a")
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DpmTestUtils.java 60 public static Bundle newRestrictions(String... restrictions) {
149 final Bundle a = newRestrictions();
150 final Bundle b = newRestrictions("a");
151 final Bundle c = newRestrictions("a");
152 final Bundle d = newRestrictions("b", "c");
153 final Bundle e = newRestrictions("b", "c");
DevicePolicyManagerServiceMigrationTest.java 88 eq(UserHandle.USER_SYSTEM))).thenReturn(DpmTestUtils.newRestrictions(
93 eq(10))).thenReturn(DpmTestUtils.newRestrictions(
102 eq(11))).thenReturn(DpmTestUtils.newRestrictions(
158 DpmTestUtils.newRestrictions(
164 DpmTestUtils.newRestrictions(
174 DpmTestUtils.newRestrictions(
185 DpmTestUtils.newRestrictions(
191 DpmTestUtils.newRestrictions(
197 DpmTestUtils.newRestrictions(
219 eq(UserHandle.USER_SYSTEM))).thenReturn(DpmTestUtils.newRestrictions(
    [all...]
MockUtils.java 86 final Bundle expected = DpmTestUtils.newRestrictions(Preconditions.checkNotNull(keys));
DevicePolicyManagerTest.java     [all...]
  /developers/build/prebuilts/gradle/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
GetRestrictionsReceiver.java 91 ArrayList<RestrictionEntry> newRestrictions = new ArrayList<RestrictionEntry>();
96 newRestrictions.add(reBoolean);
100 newRestrictions.add(reSingleChoice);
104 newRestrictions.add(reMultiSelect);
106 return newRestrictions;
  /developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
GetRestrictionsReceiver.java 91 ArrayList<RestrictionEntry> newRestrictions = new ArrayList<RestrictionEntry>();
96 newRestrictions.add(reBoolean);
100 newRestrictions.add(reSingleChoice);
104 newRestrictions.add(reMultiSelect);
106 return newRestrictions;
  /development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
GetRestrictionsReceiver.java 91 ArrayList<RestrictionEntry> newRestrictions = new ArrayList<RestrictionEntry>();
96 newRestrictions.add(reBoolean);
100 newRestrictions.add(reSingleChoice);
104 newRestrictions.add(reMultiSelect);
106 return newRestrictions;
  /frameworks/base/core/java/android/os/
UserManagerInternal.java 32 * @param newRestrictions new user restrictions
35 void onUserRestrictionsChanged(int userId, Bundle newRestrictions, Bundle prevRestrictions);
  /frameworks/base/services/core/java/com/android/server/pm/
UserRestrictionsUtils.java 305 Bundle newRestrictions, Bundle prevRestrictions) {
307 final boolean newValue = newRestrictions.getBoolean(key);
UserManagerService.java     [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsProvider.java 657 userManager.addUserRestrictionsListener((int userId, Bundle newRestrictions,
663 if (newRestrictions.containsKey(UserManager.DISALLOW_SHARE_LOCATION)
677 if (newRestrictions.containsKey(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES)
690 if (newRestrictions.containsKey(UserManager.DISALLOW_DEBUGGING_FEATURES)
703 if (newRestrictions.containsKey(UserManager.ENSURE_VERIFY_APPS)
721 if (newRestrictions.containsKey(UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS)
    [all...]
  /frameworks/base/services/core/java/com/android/server/audio/
AudioService.java     [all...]

Completed in 585 milliseconds