Home
last modified time | relevance | path

Searched refs:RestrictionsManager (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/service/restrictions/
DRestrictionsReceiver.java23 import android.content.RestrictionsManager;
76 if (RestrictionsManager.ACTION_REQUEST_PERMISSION.equals(action)) { in onReceive()
77 String packageName = intent.getStringExtra(RestrictionsManager.EXTRA_PACKAGE_NAME); in onReceive()
78 String requestType = intent.getStringExtra(RestrictionsManager.EXTRA_REQUEST_TYPE); in onReceive()
79 String requestId = intent.getStringExtra(RestrictionsManager.EXTRA_REQUEST_ID); in onReceive()
81 intent.getParcelableExtra(RestrictionsManager.EXTRA_REQUEST_BUNDLE); in onReceive()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java25 import android.content.RestrictionsManager;
113 Intent intent = new Intent(RestrictionsManager.ACTION_REQUEST_PERMISSION); in requestPermission()
115 intent.putExtra(RestrictionsManager.EXTRA_PACKAGE_NAME, packageName); in requestPermission()
116 intent.putExtra(RestrictionsManager.EXTRA_REQUEST_TYPE, requestType); in requestPermission()
117 intent.putExtra(RestrictionsManager.EXTRA_REQUEST_ID, requestId); in requestPermission()
118 intent.putExtra(RestrictionsManager.EXTRA_REQUEST_BUNDLE, requestData); in requestPermission()
143 Intent intent = new Intent(RestrictionsManager.ACTION_REQUEST_LOCAL_APPROVAL); in createLocalApprovalIntent()
177 RestrictionsManager.ACTION_PERMISSION_RESPONSE_RECEIVED); in notifyPermissionResponse()
179 responseIntent.putExtra(RestrictionsManager.EXTRA_RESPONSE_BUNDLE, response); in notifyPermissionResponse()
/frameworks/base/core/tests/coretests/src/android/content/
DRestrictionsManagerTest.java28 private RestrictionsManager mRm;
33 mRm = (RestrictionsManager) mContext.getSystemService(Context.RESTRICTIONS_SERVICE); in setUp()
68 Bundle bundle = RestrictionsManager.convertRestrictionsToBundle(manifestRestrictions); in testConvertRestrictionsToBundle()
/frameworks/base/docs/html/work/
Dmanaged-configurations.jd44 term (such as {@link android.content.RestrictionsManager}). However, these
79 android.content.RestrictionsManager} object to check the current
87 broadcast, check the {@link android.content.RestrictionsManager} to see what
120 the reference for {@link android.content.RestrictionsManager}. The file has a
162 documented in the reference for {@link android.content.RestrictionsManager}.
202 {@link android.content.RestrictionsManager} object. Your app should
218 To get a {@link android.content.RestrictionsManager} object, get the current
224 <pre>RestrictionsManager myRestrictionsMgr =
225 (RestrictionsManager) getActivity()
229 Once you have a {@link android.content.RestrictionsManager}, you can get the
[all …]
Dguide.jd235 …<a href="{@docRoot}reference/android/content/RestrictionsManager.html#getApplicationRestrictions()"
/frameworks/base/core/java/android/content/
DRestrictionsManager.java123 public class RestrictionsManager { class
408 public RestrictionsManager(Context context, IRestrictionsManager service) { in RestrictionsManager() method in RestrictionsManager
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java38 import android.content.RestrictionsManager;
597 registerService(Context.RESTRICTIONS_SERVICE, RestrictionsManager.class, in registerService()
598 new CachedServiceFetcher<RestrictionsManager>() { in registerService()
600 public RestrictionsManager createService(ContextImpl ctx) { in registerService()
603 return new RestrictionsManager(ctx, service); in registerService()
/frameworks/base/
Dpreloaded-classes633 android.content.RestrictionsManager
Dcompiled-classes-phone862 android.content.RestrictionsManager
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt101 NO DOC BLOCK: android.content.RestrictionsManager Class
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8070 public class RestrictionsManager {
/frameworks/base/api/
Dcurrent.txt9031 public class RestrictionsManager {
Dtest-current.txt9040 public class RestrictionsManager {
Dsystem-current.txt9373 public class RestrictionsManager {