Home
last modified time | relevance | path

Searched refs:ownerName (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java250 void setDeviceOwner(ComponentName admin, String ownerName, int userId) { in setDeviceOwner() argument
257 setDeviceOwnerWithRestrictionsMigrated(admin, ownerName, userId, in setDeviceOwner()
264 void setDeviceOwnerWithRestrictionsMigrated(ComponentName admin, String ownerName, int userId, in setDeviceOwnerWithRestrictionsMigrated() argument
267 mDeviceOwner = new OwnerInfo(ownerName, admin, userRestrictionsMigrated, in setDeviceOwnerWithRestrictionsMigrated()
288 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner() argument
291 mProfileOwners.put(userId, new OwnerInfo(ownerName, admin, in setProfileOwner()
DCertificateMonitor.java191 final String ownerName = mService.getDeviceOwnerName(); in buildNotification() local
DDevicePolicyManagerService.java7172 public boolean setDeviceOwner(ComponentName admin, String ownerName, int userId) { in setDeviceOwner() argument
7209 mOwners.setDeviceOwner(admin, ownerName, userId); in setDeviceOwner()
7442 public boolean setProfileOwner(ComponentName who, String ownerName, int userHandle) { in setProfileOwner() argument
7466 mOwners.setProfileOwner(who, ownerName, userHandle); in setProfileOwner()
8956 final String ownerName = getProfileOwnerName(Process.myUserHandle().getIdentifier()); in createAndManageUser() local
8957 setProfileOwner(profileOwner, ownerName, userHandle); in createAndManageUser()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java4975 public boolean setDeviceOwner(ComponentName who, String ownerName) { in setDeviceOwner() argument
4976 return setDeviceOwner(who, ownerName, UserHandle.USER_SYSTEM); in setDeviceOwner()
4994 public boolean setDeviceOwner(ComponentName who, String ownerName, int userId) in setDeviceOwner() argument
4998 return mService.setDeviceOwner(who, ownerName, userId); in setDeviceOwner()
5236 public boolean setActiveProfileOwner(@NonNull ComponentName admin, @Deprecated String ownerName) in setActiveProfileOwner() argument
5243 return mService.setProfileOwner(admin, ownerName, myUserId); in setActiveProfileOwner()
5311 public boolean setProfileOwner(@NonNull ComponentName admin, @Deprecated String ownerName, in setProfileOwner() argument
5315 if (ownerName == null) { in setProfileOwner()
5316 ownerName = ""; in setProfileOwner()
5318 return mService.setProfileOwner(admin, ownerName, userHandle); in setProfileOwner()
[all …]
DIDevicePolicyManager.aidl140 boolean setDeviceOwner(in ComponentName who, String ownerName, int userId); in setDeviceOwner() argument
147 boolean setProfileOwner(in ComponentName who, String ownerName, int userHandle); in setProfileOwner() argument