/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 289 @Nullable Bundle restrictions, @NonNull String tag) throws IOException { in writeRestrictions() argument 290 if (restrictions == null) { in writeRestrictions() 295 for (String key : restrictions.keySet()) { in writeRestrictions() 300 if (restrictions.getBoolean(key)) { in writeRestrictions() 310 public static void readRestrictions(XmlPullParser parser, Bundle restrictions) { in readRestrictions() argument 311 restrictions.clear(); in readRestrictions() 315 restrictions.putBoolean(key, Boolean.parseBoolean(value)); in readRestrictions() 373 public static Bundle mergeAll(SparseArray<Bundle> restrictions) { in mergeAll() argument 374 if (restrictions.size() == 0) { in mergeAll() 378 for (int i = 0; i < restrictions.size(); i++) { in mergeAll() [all …]
|
D | UserManagerService.java | 1425 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions() argument 1429 mGuestRestrictions.putAll(restrictions); in setDefaultGuestRestrictions() 1439 private void setDevicePolicyUserRestrictionsInner(int userId, @Nullable Bundle restrictions, in setDevicePolicyUserRestrictionsInner() argument 1445 UserRestrictionsUtils.sortToGlobalAndLocal(restrictions, isDeviceOwner, in setDevicePolicyUserRestrictionsInner() 1497 private boolean updateRestrictionsIfNeededLR(int userId, @Nullable Bundle restrictions, in updateRestrictionsIfNeededLR() argument 1500 !UserRestrictionsUtils.areEqual(restrictionsArray.get(userId), restrictions); in updateRestrictionsIfNeededLR() 1502 if (!UserRestrictionsUtils.isEmpty(restrictions)) { in updateRestrictionsIfNeededLR() 1503 restrictionsArray.put(userId, restrictions); in updateRestrictionsIfNeededLR() 1539 Bundle restrictions = mCachedEffectiveUserRestrictions.get(userId); in getEffectiveUserRestrictions() local 1540 if (restrictions == null) { in getEffectiveUserRestrictions() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserRestrictionsUtilsTest.java | 218 SparseArray<Bundle> restrictions = new SparseArray<>(); in testMergeAll() local 219 assertNull(UserRestrictionsUtils.mergeAll(restrictions)); in testMergeAll() 221 restrictions.put(0, newRestrictions(UserManager.DISALLOW_ADJUST_VOLUME)); in testMergeAll() 222 restrictions.put(1, newRestrictions(UserManager.DISALLOW_USB_FILE_TRANSFER)); in testMergeAll() 223 restrictions.put(2, newRestrictions(UserManager.DISALLOW_APPS_CONTROL)); in testMergeAll() 225 Bundle result = UserRestrictionsUtils.mergeAll(restrictions); in testMergeAll()
|
D | UserManagerTest.java | 135 Bundle restrictions = mUserManager.getUserRestrictions(user.getUserHandle()); in testAddUser() local 137 restrictions.getBoolean(UserManager.DISALLOW_CONFIG_WIFI)); in testAddUser() 377 Bundle restrictions = mUserManager.getUserRestrictions(UserHandle.of(userInfo.id)); in testAddRestrictedProfile() local 379 restrictions.getBoolean(UserManager.DISALLOW_MODIFY_ACCOUNTS)); in testAddRestrictedProfile() 381 restrictions.getBoolean(UserManager.DISALLOW_SHARE_LOCATION)); in testAddRestrictedProfile() 521 Bundle restrictions = new Bundle(); in testSetDefaultGuestRestrictions() local 522 restrictions.putBoolean(UserManager.DISALLOW_FUN, true); in testSetDefaultGuestRestrictions() 523 mUserManager.setDefaultGuestRestrictions(restrictions); in testSetDefaultGuestRestrictions()
|
/frameworks/base/core/java/android/content/ |
D | RestrictionsManager.java | 32 import android.service.restrictions.RestrictionsReceiver; 564 ArrayList<RestrictionEntry> restrictions = new ArrayList<>(); in loadManifestRestrictions() local 573 restrictions.add(restriction); in loadManifestRestrictions() 586 return restrictions; in loadManifestRestrictions() 722 RestrictionEntry[] restrictions = entry.getRestrictions(); in addRestrictionToBundle() local 723 Bundle childBundle = convertRestrictionsToBundle(Arrays.asList(restrictions)); in addRestrictionToBundle()
|
D | RestrictionEntry.java | 370 public void setRestrictions(RestrictionEntry[] restrictions) { in setRestrictions() argument 371 mRestrictions = restrictions; in setRestrictions()
|
/frameworks/base/cmds/incidentd/src/ |
D | PrivacyFilter.cpp | 129 FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data, 172 FieldStripper::FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data, in FieldStripper() argument 174 :mRestrictions(restrictions), in FieldStripper() 246 PrivacyFilter::PrivacyFilter(int sectionId, const Privacy* restrictions) in PrivacyFilter() argument 248 mRestrictions(restrictions), in PrivacyFilter()
|
D | PrivacyFilter.h | 65 PrivacyFilter(int sectionId, const Privacy* restrictions);
|
/frameworks/base/services/restrictions/ |
D | Android.bp | 2 name: "services.restrictions",
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 78 void setApplicationRestrictions(in String packageName, in Bundle restrictions, in setApplicationRestrictions() argument 82 void setDefaultGuestRestrictions(in Bundle restrictions); in setDefaultGuestRestrictions() argument
|
D | UserManagerInternal.java | 53 public abstract void setDevicePolicyUserRestrictions(int userId, @Nullable Bundle restrictions, in setDevicePolicyUserRestrictions() argument
|
D | UserManager.java | 1887 public void setUserRestrictions(Bundle restrictions) { in setUserRestrictions() argument 1897 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions() argument 3071 public void setApplicationRestrictions(String packageName, Bundle restrictions, in setApplicationRestrictions() argument 3074 mService.setApplicationRestrictions(packageName, restrictions, user.getIdentifier()); in setApplicationRestrictions() 3097 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions() argument 3099 mService.setDefaultGuestRestrictions(restrictions); in setDefaultGuestRestrictions()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestUtils.java | 61 public static Bundle newRestrictions(String... restrictions) { in newRestrictions() argument 63 for (String restriction : restrictions) { in newRestrictions()
|
/frameworks/base/core/java/android/service/restrictions/ |
D | RestrictionsReceiver.java | 17 package android.service.restrictions;
|
/frameworks/base/services/ |
D | Android.bp | 32 "services.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 | 72 void setUserRestrictions(in Bundle restrictions, IBinder token, int userHandle); in setUserRestrictions() argument
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_framebuffer_target.txt | 40 some device-specific restrictions. Because of this, some EGLConfigs may
|
D | EGL_ANDROID_recordable.txt | 40 some device-specific restrictions. Because of this, some EGLConfigs may be
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
D | RestrictionsManagerService.java | 17 package com.android.server.restrictions;
|
/frameworks/base/core/proto/android/telephony/ |
D | enums.proto | 112 * carrier restrictions.
|
/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/core/java/android/accounts/ |
D | ChooseTypeAndAccountActivity.java | 155 Bundle restrictions = UserManager.get(this) in onCreate() local 158 restrictions.getBoolean(UserManager.DISALLOW_MODIFY_ACCOUNTS, false); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 3936 final SparseArray<Restriction> restrictions = mAudioRestrictions.valueAt(o); in dump() local 3937 for (int i=0; i<restrictions.size(); i++) { in dump() 3943 final int usage = restrictions.keyAt(i); in dump() 3946 Restriction r = restrictions.valueAt(i); in dump() 4213 public void setUserRestrictions(Bundle restrictions, IBinder token, int userHandle) { in setUserRestrictions() argument 4215 Preconditions.checkNotNull(restrictions); in setUserRestrictions() 4220 setUserRestrictionNoCheck(i, restrictions.getBoolean(restriction, false), token, in setUserRestrictions() 4514 boolean[] restrictions = perUserRestrictions.get(userId); in hasRestriction() 4515 if (restrictions == null) { in hasRestriction() 4518 if (!restrictions[restriction]) { in hasRestriction() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | any.proto | 118 // following restrictions and interpretations apply:
|