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.java119 private final ArrayMap<Integer, OwnerInfo> mProfileOwners = new ArrayMap<>(); field in Owners
204 for (int i = mProfileOwners.size() - 1; i >= 0; i--) { in pushToPackageManagerLocked()
205 po.put(mProfileOwners.keyAt(i), mProfileOwners.valueAt(i).packageName); in pushToPackageManagerLocked()
314 mProfileOwners.put(userId, new OwnerInfo(ownerName, admin, in setProfileOwner()
325 mProfileOwners.remove(userId); in removeProfileOwner()
334 final OwnerInfo ownerInfo = mProfileOwners.get(userId); in transferProfileOwner()
339 mProfileOwners.put(userId, newOwnerInfo); in transferProfileOwner()
361 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerComponent()
368 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerName()
375 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerPackage()
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java224 SparseIntArray mProfileOwners; field in AppOpsService
1258 if (mProfileOwners != null && mProfileOwners.get(callingUser, -1) == callingUid) { in enforceManageAppOpsModes()
3880 if (dumpOp < 0 && dumpMode < 0 && dumpPackage == null && mProfileOwners != null in dump()
3883 for (int poi = 0; poi < mProfileOwners.size(); poi++) { in dump()
3885 pw.print(mProfileOwners.keyAt(poi)); in dump()
3887 UserHandle.formatUid(pw, mProfileOwners.valueAt(poi)); in dump()
4739 mProfileOwners = owners; in setDeviceAndProfileOwners()