Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DProtectedPackages.java42 private int mDeviceOwnerUserId; field in ProtectedPackages
74 mDeviceOwnerUserId = deviceOwnerUserId; in setDeviceAndProfileOwnerPackages()
90 if ((mDeviceOwnerUserId == userId) in hasDeviceOwnerOrProfileOwner()
104 if (mDeviceOwnerUserId == userId) { in getDeviceOwnerOrProfileOwnerPackage()
DUserManagerService.java376 private int mDeviceOwnerUserId = UserHandle.USER_NULL; field in UserManagerService
1787 mDeviceOwnerUserId = originatingUserId; in setDevicePolicyUserRestrictionsInner()
1789 if (mDeviceOwnerUserId == originatingUserId) { in setDevicePolicyUserRestrictionsInner()
1794 mDeviceOwnerUserId = UserHandle.USER_NULL; in setDevicePolicyUserRestrictionsInner()
2032 restrictionKey, mDeviceOwnerUserId)); in getUserRestrictionSources()
2036 mDeviceOwnerUserId)); in getUserRestrictionSources()
2568 mDeviceOwnerUserId = Integer.parseInt(ownerUserId); in readUserListLP()
2657 && mDeviceOwnerUserId != UserHandle.USER_NULL) { in upgradeIfNecessaryLP()
2659 mDeviceOwnerUserId, oldGlobalUserRestrictions); in upgradeIfNecessaryLP()
2972 serializer.attribute(null, ATTR_ID, Integer.toString(mDeviceOwnerUserId)); in writeUserListLP()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java123 private int mDeviceOwnerUserId = UserHandle.USER_NULL; field in Owners
218 mDeviceOwnerUserId, (mDeviceOwner != null ? mDeviceOwner.packageName : null), in pushToPackageManagerLocked()
225 PackageManager.MATCH_ALL | PackageManager.MATCH_KNOWN_PACKAGES, mDeviceOwnerUserId) in pushToActivityTaskManagerLocked()
239 return mDeviceOwnerUserId; in getDeviceOwnerUserId()
249 return Pair.create(mDeviceOwnerUserId, mDeviceOwner.admin); in getDeviceOwnerUserIdAndComponent()
301 mDeviceOwnerUserId = userId; in setDeviceOwnerWithRestrictionsMigrated()
313 mDeviceOwnerUserId = UserHandle.USER_NULL; in clearDeviceOwner()
475 return mDeviceOwner != null && mDeviceOwnerUserId == userId; in isDeviceOwnerUserId()
574 mDeviceOwnerUserId = UserHandle.USER_SYSTEM; in readLegacyOwnerFileLocked()
673 mDeviceOwnerUserId); in pushToAppOpsLocked()
[all …]