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.java126 private final ArrayMap<Integer, OwnerInfo> mProfileOwners = new ArrayMap<>(); field in Owners
214 for (int i = mProfileOwners.size() - 1; i >= 0; i--) { in pushToPackageManagerLocked()
215 po.put(mProfileOwners.keyAt(i), mProfileOwners.valueAt(i).packageName); in pushToPackageManagerLocked()
325 mProfileOwners.put(userId, new OwnerInfo(ownerName, admin, in setProfileOwner()
336 mProfileOwners.remove(userId); in removeProfileOwner()
345 final OwnerInfo ownerInfo = mProfileOwners.get(userId); in transferProfileOwner()
350 mProfileOwners.put(userId, newOwnerInfo); in transferProfileOwner()
372 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerComponent()
379 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerName()
386 OwnerInfo profileOwner = mProfileOwners.get(userId); in getProfileOwnerPackage()
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java329 SparseIntArray mProfileOwners; field in AppOpsService
2159 if (mProfileOwners != null && mProfileOwners.get(callingUser, -1) == callingUid) { in enforceManageAppOpsModes()
5183 if (dumpFilter == 0 && dumpMode < 0 && mProfileOwners != null && !dumpWatchers in dump()
5186 for (int poi = 0; poi < mProfileOwners.size(); poi++) { in dump()
5188 pw.print(mProfileOwners.keyAt(poi)); in dump()
5190 UserHandle.formatUid(pw, mProfileOwners.valueAt(poi)); in dump()
6291 mProfileOwners = owners; in setDeviceAndProfileOwners()