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.java115 private final ArrayMap<Integer, OwnerInfo> mProfileOwners = new ArrayMap<>(); field in Owners
195 for (int i = mProfileOwners.size() - 1; i >= 0; i--) { in pushToPackageManagerLocked()
196 po.put(mProfileOwners.keyAt(i), mProfileOwners.valueAt(i).packageName); in pushToPackageManagerLocked()
291 mProfileOwners.put(userId, new OwnerInfo(ownerName, admin, in setProfileOwner()
302 mProfileOwners.remove(userId); in removeProfileOwner()
311 final OwnerInfo ownerInfo = mProfileOwners.get(userId); in transferProfileOwner()
315 mProfileOwners.put(userId, newOwnerInfo); in transferProfileOwner()
335 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerComponent()
342 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerName()
349 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerPackage()
[all …]
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java208 SparseIntArray mProfileOwners; field in AppOpsService
974 if (mProfileOwners != null && mProfileOwners.get(callingUser, -1) == callingUid) { in enforceManageAppOpsModes()
3047 if (dumpOp < 0 && dumpMode < 0 && dumpPackage == null && mProfileOwners != null) { in dump()
3049 for (int poi = 0; poi < mProfileOwners.size(); poi++) { in dump()
3051 pw.print(mProfileOwners.keyAt(poi)); in dump()
3053 UserHandle.formatUid(pw, mProfileOwners.valueAt(poi)); in dump()
3775 mProfileOwners = owners; in setDeviceAndProfileOwners()