Home
last modified time | relevance | path

Searched refs:getApplicationRestrictions (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/docs/html/work/
Dmanaged-configurations.jd363 {@link android.content.RestrictionsManager#getApplicationRestrictions
364 getApplicationRestrictions()} method:
367 <pre>Bundle appRestrictions = myRestrictionsMgr.getApplicationRestrictions();</pre>
372 {@link android.os.UserManager#getApplicationRestrictions
373 UserManager.getApplicationRestrictions()}. This method behaves exactly the
374 same as {@link android.content.RestrictionsManager#getApplicationRestrictions
375 RestrictionsManager.getApplicationRestrictions()}.
379 The {@link android.content.RestrictionsManager#getApplicationRestrictions
380 getApplicationRestrictions()} method requires reading from data storage, so
395 The {@link android.content.RestrictionsManager#getApplicationRestrictions
[all …]
Dguide.jd235 …<a href="{@docRoot}reference/android/content/RestrictionsManager.html#getApplicationRestrictions()"
236 ><code>getApplicationRestrictions()</code></a> returns:
263 call <code>getApplicationRestrictions()</code> in <code>onStart()</code>
/frameworks/base/core/java/android/content/
DIRestrictionsManager.aidl28 Bundle getApplicationRestrictions(in String packageName); in getApplicationRestrictions() method
DRestrictionsManager.java419 public Bundle getApplicationRestrictions() { in getApplicationRestrictions() method in RestrictionsManager
422 return mService.getApplicationRestrictions(mContext.getPackageName()); in getApplicationRestrictions()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java71 public Bundle getApplicationRestrictions(String packageName) throws RemoteException { in getApplicationRestrictions() method in RestrictionsManagerService.RestrictionsManagerImpl
72 return mUm.getApplicationRestrictions(packageName); in getApplicationRestrictions()
/frameworks/base/core/java/android/os/
DIUserManager.aidl68 Bundle getApplicationRestrictions(in String packageName); in getApplicationRestrictions() method
DUserManager.java2088 public Bundle getApplicationRestrictions(String packageName) { in getApplicationRestrictions() method in UserManager
2090 return mService.getApplicationRestrictions(packageName); in getApplicationRestrictions()
2099 public Bundle getApplicationRestrictions(String packageName, UserHandle user) { in getApplicationRestrictions() method in UserManager
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java154 }).when(mContext.userManager).getApplicationRestrictions( in setUpUserManager()
1039 Bundle returned = dpm.getApplicationRestrictions(admin1, "pkg1"); in testSetGetApplicationRestriction()
1046 Bundle returned = dpm.getApplicationRestrictions(admin1, "pkg2"); in testSetGetApplicationRestriction()
1053 assertEquals(0, dpm.getApplicationRestrictions(admin1, "pkg2").size()); in testSetGetApplicationRestriction()
1090 dpm.getApplicationRestrictions(null, "pkg1"); in testApplicationRestrictionsManagingApp()
1099 assertEquals(0, dpm.getApplicationRestrictions(admin1, "pkg1").size()); in testApplicationRestrictionsManagingApp()
1120 Bundle returned = dpm.getApplicationRestrictions(null, "pkg1"); in testApplicationRestrictionsManagingApp()
1139 assertEquals(returned, dpm.getApplicationRestrictions(admin1, "pkg1")); in testApplicationRestrictionsManagingApp()
1141 assertEquals(0, dpm.getApplicationRestrictions(admin1, "pkg1").size()); in testApplicationRestrictionsManagingApp()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl172 Bundle getApplicationRestrictions(in ComponentName who, in String packageName); in getApplicationRestrictions() method
DDevicePolicyManager.java5129 public Bundle getApplicationRestrictions(@Nullable ComponentName admin, String packageName) { in getApplicationRestrictions() method in DevicePolicyManager
5133 return mService.getApplicationRestrictions(admin, packageName); in getApplicationRestrictions()
/frameworks/base/docs/html/about/versions/
Dandroid-4.3.jd272 calling {@link android.os.UserManager#getApplicationRestrictions getApplicationRestrictions()}.
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java2620 public Bundle getApplicationRestrictions(String packageName) { in getApplicationRestrictions() method in UserManagerService
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java7506 public Bundle getApplicationRestrictions(ComponentName who, String packageName) { in getApplicationRestrictions() method in DevicePolicyManagerService
7512 Bundle bundle = mUserManager.getApplicationRestrictions(packageName, userHandle); in getApplicationRestrictions()
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt388 NO DOC BLOCK: android.app.admin.DevicePolicyManager Method getApplicationRestrictions(android.conte…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5312 …method public android.os.Bundle getApplicationRestrictions(android.content.ComponentName, java.lan…
8072 method public android.os.Bundle getApplicationRestrictions();
22370 method public android.os.Bundle getApplicationRestrictions(java.lang.String);
/frameworks/base/api/
Dcurrent.txt5916 …method public android.os.Bundle getApplicationRestrictions(android.content.ComponentName, java.lan…
9052 method public android.os.Bundle getApplicationRestrictions();
29353 method public android.os.Bundle getApplicationRestrictions(java.lang.String);
Dsystem-current.txt6078 …method public android.os.Bundle getApplicationRestrictions(android.content.ComponentName, java.lan…
9403 method public android.os.Bundle getApplicationRestrictions();
31923 method public android.os.Bundle getApplicationRestrictions(java.lang.String);
Dtest-current.txt5925 …method public android.os.Bundle getApplicationRestrictions(android.content.ComponentName, java.lan…
9064 method public android.os.Bundle getApplicationRestrictions();
29429 method public android.os.Bundle getApplicationRestrictions(java.lang.String);