Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DProtectedPackages.java42 private int mDeviceOwnerUserId; field in ProtectedPackages
71 mDeviceOwnerUserId = deviceOwnerUserId; in setDeviceAndProfileOwnerPackages()
93 if ((mDeviceOwnerUserId == userId) in hasDeviceOwnerOrProfileOwner()
107 if (mDeviceOwnerUserId == userId) { in getDeviceOwnerOrProfileOwnerPackage()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java163 mData.mDeviceOwnerUserId, doPackage, po); in pushToPackageManagerLocked()
199 mData.mDeviceOwnerUserId); in getDeviceOwnerUidLocked()
226 return mData.mDeviceOwnerUserId; in getDeviceOwnerUserId()
236 return Pair.create(mData.mDeviceOwnerUserId, mData.mDeviceOwner.admin); in getDeviceOwnerUserIdAndComponent()
270 mData.mDeviceOwnerUserId = userId; in setDeviceOwner()
293 mData.mDeviceOwnerUserId = UserHandle.USER_NULL; in clearDeviceOwner()
409 owners.add(OwnerShellData.forDeviceOwner(mData.mDeviceOwnerUserId, in listAllOwners()
479 return mData.mDeviceOwner != null && mData.mDeviceOwnerUserId == userId; in isDeviceOwnerUserId()
486 && mData.mDeviceOwnerUserId == userId in isDefaultDeviceOwnerUserId()
494 && mData.mDeviceOwnerUserId == userId in isFinancedDeviceOwnerUserId()
[all …]
DOwnersData.java98 int mDeviceOwnerUserId = UserHandle.USER_NULL; field in OwnersData
139 OwnerInfo profileOwner = mProfileOwners.get(mDeviceOwnerUserId); in load()
143 mDeviceOwnerUserId)); in load()
173 pw.println("User ID: " + mDeviceOwnerUserId); in dump()
374 out.attributeInt(null, ATTR_USERID, mDeviceOwnerUserId); in writeInner()
436 mDeviceOwnerUserId = UserHandle.USER_SYSTEM; // Set default in readInner()
439 mDeviceOwnerUserId = in readInner()
440 parser.getAttributeInt(null, ATTR_USERID, mDeviceOwnerUserId); in readInner()
DPolicyVersionUpgrader.java148 if (ownersData.mDeviceOwnerUserId == userId in upgradeSensorPermissionsAccess()
170 DevicePolicyData doUserData = allUsersData.get(ownersData.mDeviceOwnerUserId); in upgradeProtectedPackages()
207 saveSuspendedPackages(allUsersData, ownersData.mDeviceOwnerUserId, in upgradePackageSuspension()
287 if (ownersData.mDeviceOwnerUserId == user && ownersData.mDeviceOwner != null) { in getOwnerForUser()