Searched refs:RestrictionsManager (Results 1 – 11 of 11) sorted by relevance
23 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()
25 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()
28 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()
125 public class RestrictionsManager { class410 public RestrictionsManager(Context context, IRestrictionsManager service) { in RestrictionsManager() method in RestrictionsManager
38 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()
765 android.content.RestrictionsManager
919 android.content.RestrictionsManager
665 Landroid/content/RestrictionsManager;
8070 public class RestrictionsManager {
9821 public class RestrictionsManager {
10401 public class RestrictionsManager {