HomeSort by relevance Sort by last modified time
    Searched refs:getApplicationRestrictions (Results 1 - 25 of 56) sorted by null

1 2 3

  /frameworks/base/core/java/android/content/
IRestrictionsManager.aidl 28 Bundle getApplicationRestrictions(in String packageName);
RestrictionsManager.java 421 public Bundle getApplicationRestrictions() {
424 return mService.getApplicationRestrictions(mContext.getPackageName());
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowRestrictionsManager.java 16 * Sets the application restrictions as returned by {@link RestrictionsManager#getApplicationRestrictions()}
23 public Bundle getApplicationRestrictions() {
ShadowDevicePolicyManager.java 173 public Bundle getApplicationRestrictions(ComponentName admin, String packageName) {
175 return getApplicationRestrictions(packageName);
179 public Bundle getApplicationRestrictions(String packageName) {
ShadowUserManager.java 67 public Bundle getApplicationRestrictions(String packageName) {
73 * Setter for {@link #getApplicationRestrictions(String)}
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowRestrictionsManagerTest.java 34 public void getApplicationRestrictions() {
35 assertThat(restrictionsManager.getApplicationRestrictions()).isNull();
41 assertThat(restrictionsManager.getApplicationRestrictions().getCharSequence("test_key")).isEqualTo("test_value");
ShadowUserManagerTest.java 56 assertThat(userManager.getApplicationRestrictions(packageName).size()).isZero();
62 assertThat(userManager.getApplicationRestrictions(packageName).getCharSequence("test_key"))
ShadowDevicePolicyManagerTest.java 435 Bundle actualRestrictions = devicePolicyManager.getApplicationRestrictions(testComponent, app);
457 Bundle actualRestrictions = devicePolicyManager.getApplicationRestrictions(testComponent, app);
470 // WHEN DevicePolicyManager#getApplicationRestrictions is called to get the restrictions of the
473 assertThat(devicePolicyManager.getApplicationRestrictions(testComponent, app))
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
ApplicationRestrictionsTest.java 119 mDevicePolicyManager.getApplicationRestrictions(null, APP_RESTRICTIONS_TARGET_PKG);
136 assertBundle0(mDevicePolicyManager.getApplicationRestrictions(
138 assertBundle1(mDevicePolicyManager.getApplicationRestrictions(
147 assertBundle1(mDevicePolicyManager.getApplicationRestrictions(
153 assertTrue(mDevicePolicyManager.getApplicationRestrictions(
159 assertTrue(mDevicePolicyManager.getApplicationRestrictions(
168 assertBundle0(mDevicePolicyManager.getApplicationRestrictions(
176 assertBundle1(mDevicePolicyManager.getApplicationRestrictions(
183 mUserManager.getApplicationRestrictions(OTHER_PACKAGE);
332 return mUserManager.getApplicationRestrictions(mContext.getPackageName())
    [all...]
  /cts/hostsidetests/devicepolicy/app/AppRestrictionsTargetApp/src/com/android/cts/apprestrictions/targetapp/
ApplicationRestrictionsActivity.java 52 Bundle restrictions = mUserManager.getApplicationRestrictions(getPackageName());
  /cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
AppRestrictionsDelegateTest.java 98 mDpm.getApplicationRestrictions(null, APP_RESTRICTIONS_TARGET_PKG);
106 assertBundle0(mDpm.getApplicationRestrictions(null, APP_RESTRICTIONS_TARGET_PKG));
113 assertBundle1(mDpm.getApplicationRestrictions(null, APP_RESTRICTIONS_TARGET_PKG));
118 mDpm.getApplicationRestrictions(null, APP_RESTRICTIONS_TARGET_PKG).isEmpty());
  /developers/build/prebuilts/gradle/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
MainActivity.java 84 .getApplicationRestrictions(getPackageName());
CustomRestrictionsFragment.java 106 .getApplicationRestrictions(activity.getPackageName());
  /developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
MainActivity.java 84 .getApplicationRestrictions(getPackageName());
CustomRestrictionsFragment.java 106 .getApplicationRestrictions(activity.getPackageName());
  /development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
MainActivity.java 84 .getApplicationRestrictions(getPackageName());
CustomRestrictionsFragment.java 106 .getApplicationRestrictions(activity.getPackageName());
  /frameworks/base/core/java/android/os/
IUserManager.aidl 79 Bundle getApplicationRestrictions(in String packageName);
UserManager.java     [all...]
  /frameworks/base/services/restrictions/java/com/android/server/restrictions/
RestrictionsManagerService.java 71 public Bundle getApplicationRestrictions(String packageName) throws RemoteException {
72 return mUm.getApplicationRestrictions(packageName);
  /cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
ReflectorVpnService.java 119 final Bundle restrictions = um.getApplicationRestrictions(getPackageName());
  /development/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/
AppRestrictionSchemaFragment.java 102 Bundle restrictions = manager.getApplicationRestrictions();
  /developers/build/prebuilts/gradle/AppRestrictionSchema/Application/src/main/java/com/example/android/apprestrictionschema/
AppRestrictionSchemaFragment.java 130 Bundle restrictions = manager.getApplicationRestrictions();
  /developers/samples/android/admin/AppRestrictionSchema/Application/src/main/java/com/example/android/apprestrictionschema/
AppRestrictionSchemaFragment.java 130 Bundle restrictions = manager.getApplicationRestrictions();
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DevicePolicyManagerTest.java 253 // UM.getApplicationRestrictions() will read from appRestrictions.
262 }).when(getServices().userManager).getApplicationRestrictions(
    [all...]

Completed in 965 milliseconds

1 2 3