/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 265 public static boolean isValidRestriction(@NonNull String restriction) { in isValidRestriction() argument 266 if (!USER_RESTRICTIONS.contains(restriction)) { in isValidRestriction() 286 msg.append(restriction); in isValidRestriction() 287 if (restriction != null && isSystemApp(uid, pkgs)) { in isValidRestriction() 376 public static boolean contains(@Nullable Bundle in, String restriction) { in contains() argument 377 return in != null && in.getBoolean(restriction); in contains() 407 public static boolean canDeviceOwnerChange(String restriction) { in canDeviceOwnerChange() argument 408 return !IMMUTABLE_BY_OWNERS.contains(restriction); in canDeviceOwnerChange() 415 public static boolean canProfileOwnerChange(String restriction, int userId) { in canProfileOwnerChange() argument 416 return !IMMUTABLE_BY_OWNERS.contains(restriction) in canProfileOwnerChange() [all …]
|
D | RestrictionsSet.java | 91 public void moveRestriction(@NonNull RestrictionsSet destRestrictions, String restriction) { in moveRestriction() argument 96 if (UserRestrictionsUtils.contains(from, restriction)) { in moveRestriction() 97 from.remove(restriction); in moveRestriction() 101 to.putBoolean(restriction, true); in moveRestriction() 104 to.putBoolean(restriction, true); in moveRestriction() 139 public @NonNull List<UserManager.EnforcingUser> getEnforcingUsers(String restriction, in getEnforcingUsers() argument 143 if (UserRestrictionsUtils.contains(mUserRestrictions.valueAt(i), restriction)) { in getEnforcingUsers()
|
/frameworks/base/core/java/android/content/ |
D | RestrictionsManager.java | 565 RestrictionEntry restriction; in loadManifestRestrictions() local 571 restriction = loadRestrictionElement(appContext, xml); in loadManifestRestrictions() 572 if (restriction != null) { in loadManifestRestrictions() 573 restrictions.add(restriction); in loadManifestRestrictions() 622 RestrictionEntry restriction = new RestrictionEntry(restrictionType, key); in loadRestriction() local 623 restriction.setTitle(title); in loadRestriction() 624 restriction.setDescription(description); in loadRestriction() 626 restriction.setChoiceEntries(appContext, entries); in loadRestriction() 629 restriction.setChoiceValues(appContext, entryValues); in loadRestriction() 636 restriction.setSelectedString( in loadRestriction() [all …]
|
D | RestrictionEntry.java | 209 for (RestrictionEntry restriction : restrictionEntries) { in RestrictionEntry() 210 if (restriction.getType() != TYPE_BUNDLE) { in RestrictionEntry()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | RestrictionsSetTest.java | 77 String restriction = UserManager.DISALLOW_CONFIG_DATE_TIME; in testMoveRestriction_containsRestriction() local 79 newRestrictions(restriction)); in testMoveRestriction_containsRestriction() 81 mRestrictionsSet.moveRestriction(destRestrictionsSet, restriction); in testMoveRestriction_containsRestriction() 85 assertRestrictions(newRestrictions(restriction), in testMoveRestriction_containsRestriction()
|
D | UserManagerServiceUserTypeTest.java | 369 for (String restriction : restrictions) { in makeRestrictionsBundle() 370 bundle.putBoolean(restriction, true); in makeRestrictionsBundle()
|
D | UserManagerTest.java | 698 for (String restriction : expectedRestrictions.keySet()) { in testDefaultRestrictionsApplied() 699 if (expectedRestrictions.getBoolean(restriction)) { in testDefaultRestrictionsApplied() 700 assertThat(mUserManager.hasUserRestriction(restriction, UserHandle.of(userInfo.id))) in testDefaultRestrictionsApplied()
|
/frameworks/base/core/java/android/app/admin/ |
D | SecurityLogTags.logtags | 34 210027 security_user_restriction_added (package|3),(admin_user|1),(restriction|3) 35 210028 security_user_restriction_removed (package|3),(admin_user|1),(restriction|3)
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestUtils.java | 71 for (String restriction : restrictions) { in newRestrictions() 72 ret.putBoolean(restriction, true); in newRestrictions()
|
/frameworks/native/include/binder/ |
D | ProcessState.h | 90 void setCallRestriction(CallRestriction restriction);
|
/frameworks/native/libs/binder/include/binder/ |
D | ProcessState.h | 90 void setCallRestriction(CallRestriction restriction);
|
/frameworks/base/services/core/java/android/os/ |
D | UserManagerInternal.java | 262 public abstract boolean hasUserRestriction(String restriction, int userId); in hasUserRestriction() argument
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/ |
D | UpdateParameter.java | 119 public void setRestriction(String restriction) { in setRestriction() argument 120 mRestriction = restriction; in setRestriction()
|
/frameworks/native/libs/binder/ |
D | ProcessState.cpp | 219 void ProcessState::setCallRestriction(CallRestriction restriction) { in setCallRestriction() argument 223 mCallRestriction = restriction; in setCallRestriction()
|
/frameworks/native/opengl/include/EGL/ |
D | NOTICE | 5 "Materials"), to deal in the Materials without restriction, including
|
/frameworks/wilhelm/include/OMXAL/ |
D | NOTICE | 5 "Materials "), to deal in the Materials without restriction, including
|
/frameworks/wilhelm/include/SLES/ |
D | NOTICE | 5 deal in the Materials without restriction, including without limitation the
|
/frameworks/native/opengl/include/KHR/ |
D | NOTICE | 5 "Materials"), to deal in the Materials without restriction, including
|
/frameworks/native/opengl/include/GLES2/ |
D | NOTICE | 19 "Materials"), to deal in the Materials without restriction, including
|
/frameworks/native/opengl/include/GLES/ |
D | NOTICE | 19 "Materials"), to deal in the Materials without restriction, including
|
/frameworks/native/opengl/include/GLES3/ |
D | NOTICE | 22 "Materials"), to deal in the Materials without restriction, including
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 2001 final JobRestriction restriction = mJobRestrictions.get(i); 2002 if (restriction.isJobRestricted(job)) { 2003 return restriction; 2031 final JobRestriction restriction = checkIfRestricted(running); 2032 if (restriction != null) { 2033 final int reason = restriction.getReason(); 3192 final JobRestriction restriction = mJobRestrictions.get(i); 3193 if (restriction.isJobRestricted(job)) { 3194 final int reason = restriction.getReason(); 3392 for (JobRestriction restriction : mJobRestrictions) { [all …]
|
/frameworks/compile/mclinker/ |
D | LICENSE.TXT | 18 the Software without restriction, including without limitation the rights to
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstallerActivity.java | 453 private void startAdminSupportDetailsActivity(String restriction) { in startAdminSupportDetailsActivity() argument 457 final Intent showAdminSupportDetailsIntent = dpm.createAdminSupportIntent(restriction); in startAdminSupportDetailsActivity()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 495 private boolean hasRestriction(String restriction, int userId) { in hasRestriction() argument 497 return mUm.hasUserRestriction(restriction, userId); in hasRestriction()
|