HomeSort by relevance Sort by last modified time
    Searched full:restrictionsmanager (Results 1 - 25 of 46) sorted by null

1 2

  /frameworks/base/core/java/android/service/restrictions/
RestrictionsReceiver.java 23 import android.content.RestrictionsManager;
36 * {@link RestrictionsManager#notifyPermissionResponse(String, PersistableBundle)}.
38 * @see RestrictionsManager
51 * If the request bundle contains the key {@link RestrictionsManager#REQUEST_KEY_NEW_REQUEST},
60 * @see RestrictionsManager#REQUEST_TYPE_APPROVAL
61 * @see RestrictionsManager#REQUEST_TYPE_LOCAL_APPROVAL
62 * @see RestrictionsManager#REQUEST_KEY_ID
76 if (RestrictionsManager.ACTION_REQUEST_PERMISSION.equals(action)) {
77 String packageName = intent.getStringExtra(RestrictionsManager.EXTRA_PACKAGE_NAME);
78 String requestType = intent.getStringExtra(RestrictionsManager.EXTRA_REQUEST_TYPE)
    [all...]
  /developers/build/prebuilts/gradle/AppRestrictionSchema/.google/
packaging.yaml 16 - android:android.content.RestrictionsManager
  /frameworks/base/services/restrictions/java/com/android/server/restrictions/
RestrictionsManagerService.java 25 import android.content.RestrictionsManager;
39 * SystemService wrapper for the RestrictionsManager implementation. Publishes the
113 Intent intent = new Intent(RestrictionsManager.ACTION_REQUEST_PERMISSION);
115 intent.putExtra(RestrictionsManager.EXTRA_PACKAGE_NAME, packageName);
116 intent.putExtra(RestrictionsManager.EXTRA_REQUEST_TYPE, requestType);
117 intent.putExtra(RestrictionsManager.EXTRA_REQUEST_ID, requestId);
118 intent.putExtra(RestrictionsManager.EXTRA_REQUEST_BUNDLE, requestData);
143 Intent intent = new Intent(RestrictionsManager.ACTION_REQUEST_LOCAL_APPROVAL);
177 RestrictionsManager.ACTION_PERMISSION_RESPONSE_RECEIVED);
179 responseIntent.putExtra(RestrictionsManager.EXTRA_RESPONSE_BUNDLE, response)
    [all...]
  /packages/apps/Settings/src/com/android/settings/
RestrictedSettingsFragment.java 25 import android.content.RestrictionsManager;
42 * locked by. If {@link RestrictionsManager.hasRestrictionsProvider()} and
47 * {@link RestrictionsManager.hasRestrictionsProvider()} returns true, pass in
65 private RestrictionsManager mRestrictionsManager;
100 mRestrictionsManager = (RestrictionsManager) getSystemService(Context.RESTRICTIONS_SERVICE);
169 request.putString(RestrictionsManager.REQUEST_KEY_MESSAGE,
171 intent.putExtra(RestrictionsManager.EXTRA_REQUEST_BUNDLE, request);
  /frameworks/base/core/tests/coretests/src/android/content/
RestrictionsManagerTest.java 28 private RestrictionsManager mRm;
33 mRm = (RestrictionsManager) mContext.getSystemService(Context.RESTRICTIONS_SERVICE);
68 Bundle bundle = RestrictionsManager.convertRestrictionsToBundle(manifestRestrictions);
  /frameworks/base/core/java/android/content/
IRestrictionsManager.aidl 24 * Interface used by the RestrictionsManager
RestrictionsManager.java 57 * The RestrictionsManager forwards the dynamic requests to the active
123 public class RestrictionsManager {
125 private static final String TAG = "RestrictionsManager";
147 * RestrictionsManager, when a response is available, by calling
408 public RestrictionsManager(Context context, IRestrictionsManager service) {
  /frameworks/base/docs/html/sdk/api_diff/23/changes/
android.content.RestrictionsManager.html 10 android.content.RestrictionsManager
74 Class android.content.<A HREF="../../../../reference/android/content/RestrictionsManager.html" target="_top"><font size="+2"><code>RestrictionsManager</code></font></A>
86 <A NAME="android.content.RestrictionsManager.convertRestrictionsToBundle_added(java.util.List<android.content.RestrictionEntry>)"></A>
87 <nobr><code>Bundle</code>&nbsp;<A HREF="../../../../reference/android/content/RestrictionsManager.html#convertRestrictionsToBundle(java.util.List<android.content.RestrictionEntry>)" target="_top"><code>convertRestrictionsToBundle</code></A>(<code>List&lt;RestrictionEntry&gt;</code>)</nobr>
pkg_android.content.html 133 <A NAME="RestrictionsManager"></A>
134 <nobr><A HREF="android.content.RestrictionsManager.html">RestrictionsManager</A></nobr>
  /developers/samples/android/admin/AppRestrictionSchema/
template-params.xml 53 <android>android.content.RestrictionsManager</android>
101 checked by calling [RestrictionsManager.getApplicationRestrictions()][2].
104 [2]: https://developer.android.com/reference/android/content/RestrictionsManager.html#getApplicationRestrictions()
  /frameworks/base/docs/html/work/
managed-configurations.jd 47 term (such as {@link android.content.RestrictionsManager}). However, these
82 android.content.RestrictionsManager} object to check the current
90 broadcast, check the {@link android.content.RestrictionsManager} to see what
123 the reference for {@link android.content.RestrictionsManager}. The file has a
224 the reference for {@link android.content.RestrictionsManager} and
334 {@link android.content.RestrictionsManager} object. Your app should
350 To get a {@link android.content.RestrictionsManager} object, get the current
356 <pre>RestrictionsManager myRestrictionsMgr =
357 (RestrictionsManager) getActivity()
361 Once you have a {@link android.content.RestrictionsManager}, you can get th
    [all...]
  /developers/build/prebuilts/gradle/AppRestrictionSchema/Application/src/main/res/xml/
app_restrictions.xml 19 Refer to the javadoc of RestrictionsManager for detail of this file.
20 https://developer.android.com/reference/android/content/RestrictionsManager.html
  /developers/samples/android/admin/AppRestrictionSchema/Application/src/main/res/xml/
app_restrictions.xml 19 Refer to the javadoc of RestrictionsManager for detail of this file.
20 https://developer.android.com/reference/android/content/RestrictionsManager.html
  /development/samples/browseable/AppRestrictionSchema/res/xml/
app_restrictions.xml 19 Refer to the javadoc of RestrictionsManager for detail of this file.
20 https://developer.android.com/reference/android/content/RestrictionsManager.html
  /developers/build/prebuilts/gradle/AppRestrictionSchema/Application/src/main/java/com/example/android/apprestrictionschema/
AppRestrictionSchemaFragment.java 21 import android.content.RestrictionsManager;
113 RestrictionsManager manager =
114 (RestrictionsManager) getActivity().getSystemService(Context.RESTRICTIONS_SERVICE);
  /developers/samples/android/admin/AppRestrictionSchema/Application/src/main/java/com/example/android/apprestrictionschema/
AppRestrictionSchemaFragment.java 21 import android.content.RestrictionsManager;
113 RestrictionsManager manager =
114 (RestrictionsManager) getActivity().getSystemService(Context.RESTRICTIONS_SERVICE);
  /development/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/
AppRestrictionSchemaFragment.java 21 import android.content.RestrictionsManager;
113 RestrictionsManager manager =
114 (RestrictionsManager) getActivity().getSystemService(Context.RESTRICTIONS_SERVICE);
  /frameworks/base/docs/html/sdk/api_diff/21/changes/
pkg_android.content.html 84 <A NAME="RestrictionsManager"></A>
85 <nobr><A HREF="../../../../reference/android/content/RestrictionsManager.html" target="_top"><code>RestrictionsManager</code></A></nobr>
  /developers/build/prebuilts/gradle/AppRestrictionSchema/
README.md 49 checked by calling [RestrictionsManager.getApplicationRestrictions()][2].
52 [2]: https://developer.android.com/reference/android/content/RestrictionsManager.html#getApplicationRestrictions()
  /frameworks/base/core/java/android/app/
SystemServiceRegistry.java 38 import android.content.RestrictionsManager;
597 registerService(Context.RESTRICTIONS_SERVICE, RestrictionsManager.class,
598 new CachedServiceFetcher<RestrictionsManager>() {
600 public RestrictionsManager createService(ContextImpl ctx) {
603 return new RestrictionsManager(ctx, service);
    [all...]
  /developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
AppRestrictionEnforcerFragment.java 23 import android.content.RestrictionsManager;
270 RestrictionsManager manager =
271 (RestrictionsManager) activity.getSystemService(Context.RESTRICTIONS_SERVICE);
  /developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
AppRestrictionEnforcerFragment.java 23 import android.content.RestrictionsManager;
270 RestrictionsManager manager =
271 (RestrictionsManager) activity.getSystemService(Context.RESTRICTIONS_SERVICE);
  /development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
AppRestrictionEnforcerFragment.java 23 import android.content.RestrictionsManager;
270 RestrictionsManager manager =
271 (RestrictionsManager) activity.getSystemService(Context.RESTRICTIONS_SERVICE);
  /packages/apps/Settings/src/com/android/settings/users/
AppRestrictionsFragment.java 25 import android.content.RestrictionsManager;
557 RestrictionsManager.convertRestrictionsToBundle(restrictions),
631 RestrictionsManager.convertRestrictionsToBundle(restrictions), mUser);
759 RestrictionsManager.convertRestrictionsToBundle(list), mUser);
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
AppRestrictionsFragment.java 26 import android.content.RestrictionsManager;
619 RestrictionsManager.convertRestrictionsToBundle(restrictions),
669 RestrictionsManager.convertRestrictionsToBundle(restrictions), mUser);
    [all...]

Completed in 449 milliseconds

1 2