/frameworks/base/core/java/android/content/ |
D | RestrictionsManager.java | 29 import android.service.restrictions.RestrictionsReceiver; 559 ArrayList<RestrictionEntry> restrictions = new ArrayList<>(); in loadManifestRestrictions() local 568 restrictions.add(restriction); in loadManifestRestrictions() 581 return restrictions; in loadManifestRestrictions() 717 RestrictionEntry[] restrictions = entry.getRestrictions(); in addRestrictionToBundle() local 718 Bundle childBundle = convertRestrictionsToBundle(Arrays.asList(restrictions)); in addRestrictionToBundle() 722 restrictions = entry.getRestrictions(); in addRestrictionToBundle() 723 Bundle[] bundleArray = new Bundle[restrictions.length]; in addRestrictionToBundle() 724 for (int i = 0; i < restrictions.length; i++) { in addRestrictionToBundle() 725 bundleArray[i] = addRestrictionToBundle(new Bundle(), restrictions[i]); in addRestrictionToBundle()
|
D | RestrictionEntry.java | 370 public void setRestrictions(RestrictionEntry[] restrictions) { in setRestrictions() argument 371 mRestrictions = restrictions; in setRestrictions()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 168 @Nullable Bundle restrictions, @NonNull String tag) throws IOException { in writeRestrictions() argument 169 if (restrictions == null) { in writeRestrictions() 174 for (String key : restrictions.keySet()) { in writeRestrictions() 179 if (restrictions.getBoolean(key)) { in writeRestrictions() 189 public static void readRestrictions(XmlPullParser parser, Bundle restrictions) { in readRestrictions() argument 193 restrictions.putBoolean(key, Boolean.parseBoolean(value)); in readRestrictions() 454 public static void dumpRestrictions(PrintWriter pw, String prefix, Bundle restrictions) { in dumpRestrictions() argument 456 if (restrictions != null) { in dumpRestrictions() 457 for (String key : restrictions.keySet()) { in dumpRestrictions() 458 if (restrictions.getBoolean(key, false)) { in dumpRestrictions()
|
D | UserManagerService.java | 1105 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions() argument 1109 mGuestRestrictions.putAll(restrictions); in setDefaultGuestRestrictions() 1206 Bundle restrictions = mCachedEffectiveUserRestrictions.get(userId); in getEffectiveUserRestrictions() local 1207 if (restrictions == null) { in getEffectiveUserRestrictions() 1208 restrictions = computeEffectiveUserRestrictionsLR(userId); in getEffectiveUserRestrictions() 1209 mCachedEffectiveUserRestrictions.put(userId, restrictions); in getEffectiveUserRestrictions() 1211 return restrictions; in getEffectiveUserRestrictions() 1221 Bundle restrictions = getEffectiveUserRestrictions(userId); in hasUserRestriction() local 1222 return restrictions != null && restrictions.getBoolean(restrictionKey); in hasUserRestriction() 1827 Bundle restrictions = new Bundle(); in fallbackToSingleUserLP() local [all …]
|
/frameworks/base/docs/html/work/ |
D | managed-configurations.jd | 21 Managed configurations, previously known as <em>application restrictions</em>, 46 <em>restrictions,</em> and are implemented with files and classes that use this 48 restrictions can actually implement a wide range of configuration options, 49 not just restrictions on app functionality. 124 single top-level <code><restrictions></code> element, which contains 159 <restrictions xmlns:android="http://schemas.android.com/apk/res/android"> 168 </restrictions> 186 <p id="nested-restrictions"> 198 <restrictions xmlns:android="http://schemas.android.com/apk/res/android" > 218 </restrictions> [all …]
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 66 void setApplicationRestrictions(in String packageName, in Bundle restrictions, in setApplicationRestrictions() argument 70 void setDefaultGuestRestrictions(in Bundle restrictions); in setDefaultGuestRestrictions() argument
|
D | UserManager.java | 1160 public void setUserRestrictions(Bundle restrictions) { in setUserRestrictions() argument 1170 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions() argument 2110 public void setApplicationRestrictions(String packageName, Bundle restrictions, in setApplicationRestrictions() argument 2113 mService.setApplicationRestrictions(packageName, restrictions, user.getIdentifier()); in setApplicationRestrictions() 2135 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions() argument 2137 mService.setDefaultGuestRestrictions(restrictions); in setDefaultGuestRestrictions()
|
/frameworks/base/services/restrictions/ |
D | Android.mk | 5 LOCAL_MODULE := services.restrictions
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestUtils.java | 60 public static Bundle newRestrictions(String... restrictions) { in newRestrictions() argument 62 for (String restriction : restrictions) { in newRestrictions()
|
/frameworks/base/services/ |
D | Android.mk | 30 restrictions \
|
/frameworks/base/core/java/android/service/restrictions/ |
D | RestrictionsReceiver.java | 17 package android.service.restrictions;
|
/frameworks/compile/mclinker/ |
D | LICENSE.TXT | 48 This file will describe the copyrights, license, and restrictions which apply 58 licenses, and/or restrictions:
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 47 void setUserRestrictions(in Bundle restrictions, IBinder token, int userHandle); in setUserRestrictions() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 100 Bundle restrictions = mUserManager.getUserRestrictions(user.getUserHandle()); in testAddUser() local 102 restrictions.getBoolean(UserManager.DISALLOW_CONFIG_WIFI)); in testAddUser()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppOpsService.java | 2099 final SparseArray<Restriction> restrictions = mAudioRestrictions.valueAt(o); in dump() local 2100 for (int i=0; i<restrictions.size(); i++) { in dump() 2106 final int usage = restrictions.keyAt(i); in dump() 2109 Restriction r = restrictions.valueAt(i); in dump() 2177 public void setUserRestrictions(Bundle restrictions, IBinder token, int userHandle) { in setUserRestrictions() argument 2179 Preconditions.checkNotNull(restrictions); in setUserRestrictions() 2184 setUserRestrictionNoCheck(i, restrictions.getBoolean(restriction, false), token, in setUserRestrictions() 2375 boolean[] restrictions = perUserRestrictions.get(userId); in hasRestriction() 2376 if (restrictions == null) { in hasRestriction() 2379 if (!restrictions[restriction]) { in hasRestriction() [all …]
|
/frameworks/base/docs/html/training/monitoring-device-state/ |
D | doze-standby.jd | 21 <li><a href="#restrictions">Doze restrictions</a></li> 98 <h3 id="restrictions">Doze restrictions</h3> 101 The following restrictions apply to your apps while in Doze: 312 restrictions still apply</strong> to the whitelisted app, just as they do to
|
/frameworks/base/docs/html/about/versions/nougat/ |
D | android-7.0-changes.jd | 80 enhancements to Doze by applying a subset of CPU and network restrictions 90 system activity restrictions to improve battery life. 95 time, the device enters Doze and applies the first subset of restrictions: It 98 rest of the Doze restrictions to {@link android.os.PowerManager.WakeLock}, 100 whether some or all Doze restrictions are being applied, the system wakes the 110 system activity restrictions after the device is stationary for a certain time. 115 removes these processing restrictions. The additional behavior does not 686 <li>Reset password restrictions for device admins now apply to profile 693 <li>Device and profile owners can manage accounts even if restrictions are 695 even if <code>DISALLOW_MODIFY_ACCOUNTS</code> user restrictions are in place.
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_framebuffer_target.txt | 40 some device-specific restrictions. Because of this, some EGLConfigs may
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
D | RestrictionsManagerService.java | 17 package com.android.server.restrictions;
|
/frameworks/base/core/java/android/accounts/ |
D | ChooseTypeAndAccountActivity.java | 148 Bundle restrictions = UserManager.get(this) in onCreate() local 151 restrictions.getBoolean(UserManager.DISALLOW_MODIFY_ACCOUNTS, false); in onCreate()
|
/frameworks/compile/slang/ |
D | NOTICE | 248 This file will describe the copyrights, license, and restrictions which apply 258 licenses, and/or restrictions: 320 This file will describe the copyrights, license, and restrictions which apply 330 licenses, and/or restrictions:
|
/frameworks/base/docs/html/ |
D | legal.jd | 60 restrictions for re-use, read the complete <a href="license.html">Content License</a>.</p> 70 restrictions. Such services include:</p>
|
/frameworks/base/docs/html/training/basics/network-ops/ |
D | data-saver.jd | 63 restrictions are being applied. The {@code getRestrictBackgroundStatus()} 82 usage in the foreground and gracefully handle restrictions to background
|
/frameworks/base/docs/html/topic/performance/ |
D | background-optimization.jd | 2 page.metaDescription=New restrictions to implicit broadcasts. 60 restrictions: 98 restrictions.
|
/frameworks/base/docs/html/about/versions/ |
D | android-4.3.jd | 237 When users create a restricted profile, they can enable restrictions such as which apps are 243 <p>The UI for users to control the restrictions you've built is managed by the system's 245 you must declare the restrictions your app provides by creating a {@link 247 all apps for available restrictions, then builds the UI to allow the primary user to 248 manage restrictions for each restricted profile. </p> 269 <p>The system creates the UI for your app's restrictions in the Settings app and saves each 271 object. When the user opens your app, you can query for any current restrictions by 276 <p>If you want to provide more specific restrictions that can't be handled by boolean, single 278 restrictions and allow users to open that activity from the restriction settings. In your 284 When the primary user enters your activity to set custom restrictions, your [all …]
|