/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | InstallNonMarketAppsDeprecationTest.java | 137 mUm.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, !mHasUserRestriction); in testValueRespectsUserRestriction() 143 mUm.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, mHasUserRestriction); in testValueRespectsUserRestriction() 156 mUm.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in tearDown()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 461 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, true, creatorHandle); in testCreateUser_disallowAddUser() 466 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, false, in testCreateUser_disallowAddUser() 478 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, true, in testCreateProfileForUser_disallowAddManagedProfile() 485 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, false, in testCreateProfileForUser_disallowAddManagedProfile() 497 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, true, in testCreateProfileForUserEvenWhenDisallowed() 504 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, false, in testCreateProfileForUserEvenWhenDisallowed() 516 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, true, primaryUserHandle); in testCreateProfileForUser_disallowAddUser() 522 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, false, in testCreateProfileForUser_disallowAddUser() 678 mUserManager.setUserRestriction( in testRestrictions() 680 mUserManager.setUserRestriction( in testRestrictions()
|
/frameworks/base/services/core/java/com/android/server/oemlock/ |
D | PersistentDataBlockLock.java | 56 UserManager.get(mContext).setUserRestriction( in setOemUnlockAllowedByCarrier()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | InjectedSetting.java | 173 public Builder setUserRestriction(String userRestriction) { in setUserRestriction() method in InjectedSetting.Builder
|
D | SettingsInjector.java | 292 .setUserRestriction(userRestriction) in parseAttributes()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 83 void setUserRestriction(String key, boolean value, int userId); in setUserRestriction() method
|
D | UserManager.java | 2526 public void setUserRestriction(String key, boolean value) { in setUserRestriction() method in UserManager 2527 setUserRestriction(key, value, Process.myUserHandle()); in setUserRestriction() 2543 public void setUserRestriction(String key, boolean value, UserHandle userHandle) { in setUserRestriction() method in UserManager 2545 mService.setUserRestriction(key, value, userHandle.getIdentifier()); in setUserRestriction()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 90 …void setUserRestriction(int code, boolean restricted, IBinder token, int userHandle, in String[] e… in setUserRestriction() method
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 221 void setUserRestriction(in ComponentName who, in String key, boolean enable, boolean parent); in setUserRestriction() method
|
D | DevicePolicyManager.java | 8367 mService.setUserRestriction(admin, key, true, mParentInstance); in addUserRestriction() 8394 mService.setUserRestriction(admin, key, false, mParentInstance); in clearUserRestriction()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 2064 public void setUserRestriction(String key, boolean value, @UserIdInt int userId) { in setUserRestriction() method in UserManagerService 2671 setUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, true, currentGuestUser.id); in upgradeIfNecessaryLP() 3719 setUserRestriction(UserManager.DISALLOW_MODIFY_ACCOUNTS, true, user.id); in createRestrictedProfileWithThrow() 3725 setUserRestriction(UserManager.DISALLOW_SHARE_LOCATION, true, user.id); in createRestrictedProfileWithThrow()
|
D | PackageManagerShellCommand.java | 2716 um.setUserRestriction(restriction, value, translatedUserId); in runSetUserRestriction()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 6679 public void setUserRestriction(int code, boolean restricted, IBinder token) { in setUserRestriction() method in AppOpsManager 6680 setUserRestriction(code, restricted, token, /*exceptionPackages*/null); in setUserRestriction() 6684 public void setUserRestriction(int code, boolean restricted, IBinder token, in setUserRestriction() method in AppOpsManager 6693 mService.setUserRestriction(code, restricted, token, userId, exceptionPackages); in setUserRestrictionForUser()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 6633 UserManagerService.getInstance().setUserRestriction( in onReceive() 6638 UserManagerService.getInstance().setUserRestriction( in onReceive()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 5666 public void setUserRestriction(int code, boolean restricted, IBinder token, int userHandle, in setUserRestriction() method
|
/frameworks/base/services/ |
D | art-profile | 8278 HPLcom/android/server/appop/AppOpsService;->setUserRestriction(IZLandroid/os/IBinder;I[Ljava/lang/S… 14531 HPLcom/android/server/devicepolicy/DevicePolicyManagerService;->setUserRestriction(Landroid/content… 26637 HSPLcom/android/server/pm/UserManagerService;->setUserRestriction(Ljava/lang/String;ZI)V
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 22383 method public deprecated void setUserRestriction(java.lang.String, boolean);
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 3491 HPLandroid/app/admin/IDevicePolicyManager$Stub;->onTransact$setUserRestriction$(Landroid/os/Parcel;…
|
/frameworks/base/api/ |
D | current.txt | 37022 …@RequiresPermission("android.permission.MANAGE_USERS") public void setUserRestriction(String, bool…
|