/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 310 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, true, primaryUserHandle); in testCreateUser_disallowAddUser() 315 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, false, in testCreateUser_disallowAddUser() 325 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, true, in testCreateProfileForUser_disallowAddManagedProfile() 332 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, false, in testCreateProfileForUser_disallowAddManagedProfile() 342 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, true, in testCreateProfileForUserEvenWhenDisallowed() 349 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, false, in testCreateProfileForUserEvenWhenDisallowed() 359 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, true, primaryUserHandle); in testCreateProfileForUser_disallowAddUser() 365 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, false, in testCreateProfileForUser_disallowAddUser() 506 mUserManager.setUserRestriction( in testRestrictions() 508 mUserManager.setUserRestriction( in testRestrictions()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | InstallNonMarketAppsDeprecationTest.java | 135 mUm.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, !mHasUserRestriction); in testValueRespectsUserRestriction() 141 mUm.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, mHasUserRestriction); in testValueRespectsUserRestriction() 152 mUm.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in tearDown()
|
/frameworks/base/services/core/java/com/android/server/oemlock/ |
D | PersistentDataBlockLock.java | 56 UserManager.get(mContext).setUserRestriction( in setOemUnlockAllowedByCarrier()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 1912 public void setUserRestriction(String key, boolean value) { in setUserRestriction() method in UserManager 1913 setUserRestriction(key, value, Process.myUserHandle()); in setUserRestriction() 1929 public void setUserRestriction(String key, boolean value, UserHandle userHandle) { in setUserRestriction() method in UserManager 1931 mService.setUserRestriction(key, value, userHandle.getIdentifier()); in setUserRestriction() 2024 mService.setUserRestriction(DISALLOW_SMS, true, user.id); in createUser() 2025 mService.setUserRestriction(DISALLOW_OUTGOING_CALLS, true, user.id); in createUser()
|
D | IUserManager.aidl | 77 void setUserRestriction(String key, boolean value, int userHandle); in setUserRestriction() method
|
/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 | 286 .setUserRestriction(userRestriction) in parseAttributes()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 73 …void setUserRestriction(int code, boolean restricted, IBinder token, int userHandle, in String[] e… in setUserRestriction() method
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 570 setUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, true, currentGuestUser.id); in systemReady() 1065 setUserRestriction(UserManager.DISALLOW_SMS, false, userId); in setUserAdmin() 1066 setUserRestriction(UserManager.DISALLOW_OUTGOING_CALLS, false, userId); in setUserAdmin() 1665 public void setUserRestriction(String key, boolean value, int userId) { in setUserRestriction() method in UserManagerService 2853 setUserRestriction(UserManager.DISALLOW_MODIFY_ACCOUNTS, true, user.id); in createRestrictedProfile() 2859 setUserRestriction(UserManager.DISALLOW_SHARE_LOCATION, true, user.id); in createRestrictedProfile() 3975 setUserRestriction(UserManager.DISALLOW_SMS, true, user.id); in createUserEvenWhenDisallowed() 3976 setUserRestriction(UserManager.DISALLOW_OUTGOING_CALLS, true, user.id); in createUserEvenWhenDisallowed()
|
D | PackageManagerShellCommand.java | 2349 um.setUserRestriction(restriction, value, userId); in runSetUserRestriction()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 4566 public void setUserRestriction(int code, boolean restricted, IBinder token) { in setUserRestriction() method in AppOpsManager 4567 setUserRestriction(code, restricted, token, /*exceptionPackages*/null); in setUserRestriction() 4571 public void setUserRestriction(int code, boolean restricted, IBinder token, in setUserRestriction() method in AppOpsManager 4580 mService.setUserRestriction(code, restricted, token, userId, exceptionPackages); in setUserRestrictionForUser()
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 210 void setUserRestriction(in ComponentName who, in String key, boolean enable); in setUserRestriction() method
|
D | DevicePolicyManager.java | 7729 mService.setUserRestriction(admin, key, true); in addUserRestriction() 7751 mService.setUserRestriction(admin, key, false); in clearUserRestriction()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 5692 UserManagerService.getInstance().setUserRestriction( in onReceive() 5697 UserManagerService.getInstance().setUserRestriction( in onReceive()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 4042 mUserManager.setUserRestriction(UserManager.DISALLOW_ADD_USER, false, userHandle); in clearDeviceOwnerUserRestrictionLocked() 10040 public void setUserRestriction(ComponentName who, String key, boolean enabledFromThisOwner) { in setUserRestriction() method 10912 setUserRestriction(who, UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in setSecureSetting() 10958 setUserRestriction(who, UserManager.DISALLOW_UNMUTE_DEVICE, on); in setMasterVolumeMuted()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 4301 public void setUserRestriction(int code, boolean restricted, IBinder token, int userHandle, in setUserRestriction() method
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 1122 verify(getServices().userManager).setUserRestriction(eq(UserManager.DISALLOW_ADD_USER), in testClearDeviceOwner()
|
/frameworks/base/services/ |
D | art-profile | 3888 PLcom/android/server/appop/AppOpsService;->setUserRestriction(IZLandroid/os/IBinder;I[Ljava/lang/St… 6401 PLcom/android/server/devicepolicy/DevicePolicyManagerService;->setUserRestriction(Landroid/content/… 11832 HSPLcom/android/server/pm/UserManagerService;->setUserRestriction(Ljava/lang/String;ZI)V
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 3121 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->setUserRestriction(Landroid/content/ComponentN… 3650 Landroid/app/admin/IDevicePolicyManager;->setUserRestriction(Landroid/content/ComponentName;Ljava/l… 4093 Landroid/app/AppOpsManager;->setUserRestriction(IZLandroid/os/IBinder;)V 4094 Landroid/app/AppOpsManager;->setUserRestriction(IZLandroid/os/IBinder;[Ljava/lang/String;)V 54837 Landroid/os/IUserManager$Stub$Proxy;->setUserRestriction(Ljava/lang/String;ZI)V 54960 Landroid/os/IUserManager;->setUserRestriction(Ljava/lang/String;ZI)V 57938 Landroid/os/UserManager;->setUserRestriction(Ljava/lang/String;ZLandroid/os/UserHandle;)V 93011 Lcom/android/internal/app/IAppOpsService$Stub$Proxy;->setUserRestriction(IZLandroid/os/IBinder;I[Lj… 93042 Lcom/android/internal/app/IAppOpsService;->setUserRestriction(IZLandroid/os/IBinder;I[Ljava/lang/St…
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 22383 method public deprecated void setUserRestriction(java.lang.String, boolean);
|
/frameworks/base/api/ |
D | current.txt | 35291 method @Deprecated public void setUserRestriction(String, boolean);
|