Home
last modified time | relevance | path

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

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java158 for (int i = mData.mProfileOwners.size() - 1; i >= 0; i--) { in pushToPackageManagerLocked()
159 po.put(mData.mProfileOwners.keyAt(i), mData.mProfileOwners.valueAt(i).packageName); in pushToPackageManagerLocked()
181 for (int poi = mData.mProfileOwners.size() - 1; poi >= 0; poi--) { in pushToActivityManagerLocked()
182 final int userId = mData.mProfileOwners.keyAt(poi); in pushToActivityManagerLocked()
184 mData.mProfileOwners.valueAt(poi).packageName, in pushToActivityManagerLocked()
208 for (int i = 0; i < mData.mProfileOwners.size(); i++) { in getProfileOwnerUidsLocked()
209 int userId = mData.mProfileOwners.keyAt(i); in getProfileOwnerUidsLocked()
210 OwnerInfo info = mData.mProfileOwners.valueAt(i); in getProfileOwnerUidsLocked()
311 mData.mProfileOwners.put(userId, new OwnerInfo(admin, in setProfileOwner()
330 mData.mProfileOwners.remove(userId); in removeProfileOwner()
[all …]
DPolicyVersionUpgrader.java211 for (int i = 0; i < ownersData.mProfileOwners.size(); i++) { in upgradePackageSuspension()
212 int ownerUserId = ownersData.mProfileOwners.keyAt(i); in upgradePackageSuspension()
213 OwnersData.OwnerInfo ownerInfo = ownersData.mProfileOwners.valueAt(i); in upgradePackageSuspension()
289 } else if (ownersData.mProfileOwners.containsKey(user)) { in getOwnerForUser()
290 owner = ownersData.mProfileOwners.get(user).admin; in getOwnerForUser()
DOwnersData.java109 final ArrayMap<Integer, OwnerInfo> mProfileOwners = new ArrayMap<>(); field in OwnersData
139 OwnerInfo profileOwner = mProfileOwners.get(mDeviceOwnerUserId); in load()
184 if (mProfileOwners != null) { in dump()
185 for (Map.Entry<Integer, OwnerInfo> entry : mProfileOwners.entrySet()) { in dump()
515 return mProfileOwners.get(mUserId) != null; in shouldWrite()
520 final OwnerInfo profileOwner = mProfileOwners.get(mUserId); in writeInner()
533 mProfileOwners.put(mUserId, OwnerInfo.readFromXml(parser)); in readInner()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java363 SparseIntArray mProfileOwners; field in AppOpsService
2012 if (mProfileOwners != null && mProfileOwners.get(callingUser, -1) == callingUid) { in enforceManageAppOpsModes()
6022 if (dumpFilter == 0 && dumpMode < 0 && mProfileOwners != null && !dumpWatchers in dump()
6025 for (int poi = 0; poi < mProfileOwners.size(); poi++) { in dump()
6027 pw.print(mProfileOwners.keyAt(poi)); in dump()
6029 UserHandle.formatUid(pw, mProfileOwners.valueAt(poi)); in dump()
7112 mProfileOwners = owners;