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/
DDeviceOwner.java98 static DeviceOwner createWithDeviceOwner(String packageName, String ownerName) { in createWithDeviceOwner() argument
100 owner.mDeviceOwner = new OwnerInfo(ownerName, packageName); in createWithDeviceOwner()
108 static DeviceOwner createWithProfileOwner(String packageName, String ownerName, int userId) { in createWithProfileOwner() argument
110 owner.mProfileOwners.put(userId, new OwnerInfo(ownerName, packageName)); in createWithProfileOwner()
117 static DeviceOwner createWithProfileOwner(ComponentName admin, String ownerName, int userId) { in createWithProfileOwner() argument
119 owner.mProfileOwners.put(userId, new OwnerInfo(ownerName, admin)); in createWithProfileOwner()
131 void setDeviceOwner(String packageName, String ownerName) { in setDeviceOwner() argument
132 mDeviceOwner = new OwnerInfo(ownerName, packageName); in setDeviceOwner()
142 void setProfileOwner(String packageName, String ownerName, int userId) { in setProfileOwner() argument
143 mProfileOwners.put(userId, new OwnerInfo(ownerName, packageName)); in setProfileOwner()
[all …]
DDevicePolicyManagerService.java1718 final String ownerName = getDeviceOwnerName(); in manageNotification() local
1722 } else if (ownerName != null) { in manageNotification()
1723 contentText = mContext.getString(R.string.ssl_ca_cert_noti_managed, ownerName); in manageNotification()
3719 public boolean setDeviceOwner(String packageName, String ownerName) { in setDeviceOwner() argument
3753 mDeviceOwner = DeviceOwner.createWithDeviceOwner(packageName, ownerName); in setDeviceOwner()
3758 mDeviceOwner.setDeviceOwner(packageName, ownerName); in setDeviceOwner()
3853 public boolean setProfileOwner(ComponentName who, String ownerName, int userHandle) { in setProfileOwner() argument
3884 mDeviceOwner = DeviceOwner.createWithProfileOwner(who, ownerName, in setProfileOwner()
3890 mDeviceOwner.setProfileOwner(who, ownerName, userHandle); in setProfileOwner()
4738 String ownerName, ComponentName profileOwnerComponent, Bundle adminExtras) { in createAndInitializeUser() argument
[all …]
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java2264 public boolean setDeviceOwner(String packageName, String ownerName) in setDeviceOwner() argument
2268 return mService.setDeviceOwner(packageName, ownerName); in setDeviceOwner()
2369 public boolean setActiveProfileOwner(ComponentName admin, String ownerName) in setActiveProfileOwner() argument
2375 return mService.setProfileOwner(admin, ownerName, myUserId); in setActiveProfileOwner()
2432 public boolean setProfileOwner(String packageName, String ownerName, int userHandle) in setProfileOwner() argument
2437 return setProfileOwner(new ComponentName(packageName, ""), ownerName, userHandle); in setProfileOwner()
2452 public boolean setProfileOwner(ComponentName admin, String ownerName, int userHandle) in setProfileOwner() argument
2459 if (ownerName == null) { in setProfileOwner()
2460 ownerName = ""; in setProfileOwner()
2462 return mService.setProfileOwner(admin, ownerName, userHandle); in setProfileOwner()
[all …]
DIDevicePolicyManager.aidl113 boolean setDeviceOwner(String packageName, String ownerName); in setDeviceOwner() argument
119 boolean setProfileOwner(in ComponentName who, String ownerName, int userHandle); in setProfileOwner() argument
/frameworks/base/docs/html/guide/topics/providers/
Dcalendar-provider.jd329 String ownerName = null;
335 ownerName = cur.getString(PROJECTION_OWNER_ACCOUNT_INDEX);