Home
last modified time | relevance | path

Searched refs:RestrictionsManager (Results 1 – 11 of 11) 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()
80 Bundle bundle = RestrictionsManager.convertRestrictionsToBundle(manifestRestrictions); in testConvertRestrictionsToBundle_bundleArray()
/frameworks/base/core/java/android/content/
DRestrictionsManager.java125 public class RestrictionsManager { class
410 public RestrictionsManager(Context context, IRestrictionsManager service) { in RestrictionsManager() method in RestrictionsManager
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java38 import android.content.RestrictionsManager;
632 registerService(Context.RESTRICTIONS_SERVICE, RestrictionsManager.class, in registerService()
633 new CachedServiceFetcher<RestrictionsManager>() { in registerService()
635 … public RestrictionsManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
638 return new RestrictionsManager(ctx, service); in registerService()
/frameworks/base/
Dpreloaded-classes765 android.content.RestrictionsManager
Dcompiled-classes-phone919 android.content.RestrictionsManager
/frameworks/base/services/
Dprofile-classes665 Landroid/content/RestrictionsManager;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8070 public class RestrictionsManager {
/frameworks/base/api/
Dcurrent.txt9821 public class RestrictionsManager {
Dsystem-current.txt10401 public class RestrictionsManager {