Home
last modified time | relevance | path

Searched refs:mProfileOwners (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java141 private final ArrayMap<Integer, OwnerInfo> mProfileOwners = new ArrayMap<>(); field in Owners
236 for (int i = mProfileOwners.size() - 1; i >= 0; i--) { in pushToPackageManagerLocked()
237 po.put(mProfileOwners.keyAt(i), mProfileOwners.valueAt(i).packageName); in pushToPackageManagerLocked()
252 for (int poi = mProfileOwners.size() - 1; poi >= 0; poi--) { in pushToActivityManagerLocked()
253 final int userId = mProfileOwners.keyAt(poi); in pushToActivityManagerLocked()
255 mProfileOwners.valueAt(poi).packageName, in pushToActivityManagerLocked()
378 mProfileOwners.put(userId, new OwnerInfo(ownerName, admin, in setProfileOwner()
390 mProfileOwners.remove(userId); in removeProfileOwner()
400 final OwnerInfo ownerInfo = mProfileOwners.get(userId); in transferProfileOwner()
405 mProfileOwners.put(userId, newOwnerInfo); in transferProfileOwner()
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java355 SparseIntArray mProfileOwners; field in AppOpsService
2497 if (mProfileOwners != null && mProfileOwners.get(callingUser, -1) == callingUid) { in enforceManageAppOpsModes()
5978 if (dumpFilter == 0 && dumpMode < 0 && mProfileOwners != null && !dumpWatchers in dump()
5981 for (int poi = 0; poi < mProfileOwners.size(); poi++) { in dump()
5983 pw.print(mProfileOwners.keyAt(poi)); in dump()
5985 UserHandle.formatUid(pw, mProfileOwners.valueAt(poi)); in dump()
7258 mProfileOwners = owners;