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

1 2

  /frameworks/base/core/java/android/content/
IRestrictionsManager.aidl 28 Bundle getApplicationRestrictions(in String packageName);
RestrictionsManager.java 419 public Bundle getApplicationRestrictions() {
422 return mService.getApplicationRestrictions(mContext.getPackageName());
  /cts/hostsidetests/devicepolicy/app/AppRestrictionsManagingApp/src/com/android/cts/apprestrictions/managingapp/
ApplicationRestrictionsManagerTest.java 101 mDevicePolicyManager.getApplicationRestrictions(null, APP_RESTRICTIONS_TARGET_PKG);
109 mUserManager.getApplicationRestrictions(mContext.getPackageName());
117 assertBundle0(mDevicePolicyManager.getApplicationRestrictions(
126 assertBundle1(mDevicePolicyManager.getApplicationRestrictions(
132 assertTrue(mDevicePolicyManager.getApplicationRestrictions(
147 mDevicePolicyManager.getApplicationRestrictions(
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
ApplicationRestrictionsTest.java 118 mDevicePolicyManager.getApplicationRestrictions(null, APP_RESTRICTIONS_TARGET_PKG);
134 assertBundle0(mDevicePolicyManager.getApplicationRestrictions(
136 assertBundle1(mDevicePolicyManager.getApplicationRestrictions(
145 assertBundle1(mDevicePolicyManager.getApplicationRestrictions(
151 assertTrue(mDevicePolicyManager.getApplicationRestrictions(
157 assertTrue(mDevicePolicyManager.getApplicationRestrictions(
166 assertBundle0(mDevicePolicyManager.getApplicationRestrictions(
174 assertBundle1(mDevicePolicyManager.getApplicationRestrictions(
181 mUserManager.getApplicationRestrictions(OTHER_PACKAGE);
330 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());
  /developers/build/prebuilts/gradle/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
MainActivity.java 84 .getApplicationRestrictions(getPackageName());
CustomRestrictionsFragment.java 105 .getApplicationRestrictions(activity.getPackageName());
  /developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
MainActivity.java 84 .getApplicationRestrictions(getPackageName());
CustomRestrictionsFragment.java 105 .getApplicationRestrictions(activity.getPackageName());
  /development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
MainActivity.java 84 .getApplicationRestrictions(getPackageName());
CustomRestrictionsFragment.java 105 .getApplicationRestrictions(activity.getPackageName());
  /frameworks/base/core/java/android/os/
IUserManager.aidl 68 Bundle getApplicationRestrictions(in String packageName);
UserManager.java 662 * @see android.app.admin.DevicePolicyManager#getApplicationRestrictions(
    [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/hostsidetests/devicepolicy/app/VpnApp/src/com/android/cts/vpnfirewall/
ReflectorVpnService.java 63 final Bundle restrictions = um.getApplicationRestrictions(getPackageName());
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DevicePolicyManagerTest.java 145 // UM.getApplicationRestrictions() will read from appRestrictions.
154 }).when(mContext.userManager).getApplicationRestrictions(
    [all...]
  /developers/build/prebuilts/gradle/AppRestrictionSchema/Application/src/main/java/com/example/android/apprestrictionschema/
AppRestrictionSchemaFragment.java 115 Bundle restrictions = manager.getApplicationRestrictions();
  /developers/samples/android/admin/AppRestrictionSchema/Application/src/main/java/com/example/android/apprestrictionschema/
AppRestrictionSchemaFragment.java 115 Bundle restrictions = manager.getApplicationRestrictions();
  /development/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/
AppRestrictionSchemaFragment.java 115 Bundle restrictions = manager.getApplicationRestrictions();
  /frameworks/base/core/java/android/app/admin/
IDevicePolicyManager.aidl 167 Bundle getApplicationRestrictions(in ComponentName who, in String packageName);
DevicePolicyManager.java     [all...]
  /packages/apps/Settings/src/com/android/settings/users/
AppRestrictionsFragment.java 596 mUserManager.getApplicationRestrictions(packageName, mUser);
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
AppRestrictionsFragment.java 637 mUserManager.getApplicationRestrictions(packageName, mUser);
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherProvider.java 266 // UserManager.getApplicationRestrictions() requires minSdkVersion >= 18
273 Bundle bundle = um.getApplicationRestrictions(ctx.getPackageName());
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherProvider.java 426 // UserManager.getApplicationRestrictions() requires minSdkVersion >= 18
433 Bundle bundle = um.getApplicationRestrictions(ctx.getPackageName());
    [all...]

Completed in 1218 milliseconds

1 2