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.java38 private int mDeviceOwnerUserId; field in ProtectedPackages
66 mDeviceOwnerUserId = deviceOwnerUserId; in setDeviceAndProfileOwnerPackages()
78 if ((mDeviceOwnerUserId == userId) in hasDeviceOwnerOrProfileOwner()
92 if (mDeviceOwnerUserId == userId) { in getDeviceOwnerOrProfileOwnerPackage()
DUserManagerService.java346 private int mDeviceOwnerUserId = UserHandle.USER_NULL; field in UserManagerService
1459 mDeviceOwnerUserId = userId; in setDevicePolicyUserRestrictionsInner()
1461 if (mDeviceOwnerUserId == userId) { in setDevicePolicyUserRestrictionsInner()
1466 mDeviceOwnerUserId = UserHandle.USER_NULL; in setDevicePolicyUserRestrictionsInner()
1638 int source = mDeviceOwnerUserId == userId ? UserManager.RESTRICTION_SOURCE_DEVICE_OWNER in getEnforcingUserLocked()
2112 mDeviceOwnerUserId = Integer.parseInt(ownerUserId); in readUserListLP()
2191 && mDeviceOwnerUserId != UserHandle.USER_NULL) { in upgradeIfNecessaryLP()
2193 mDeviceOwnerUserId, oldGlobalUserRestrictions); in upgradeIfNecessaryLP()
2420 serializer.attribute(null, ATTR_ID, Integer.toString(mDeviceOwnerUserId)); in writeUserListLP()
3764 pw.println(" Device owner id:" + mDeviceOwnerUserId); in dump()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java116 private int mDeviceOwnerUserId = UserHandle.USER_NULL; field in Owners
208 mDeviceOwnerUserId, (mDeviceOwner != null ? mDeviceOwner.packageName : null), in pushToPackageManagerLocked()
215 PackageManager.MATCH_ALL | PackageManager.MATCH_KNOWN_PACKAGES, mDeviceOwnerUserId) in pushToActivityTaskManagerLocked()
228 return mDeviceOwnerUserId; in getDeviceOwnerUserId()
238 return Pair.create(mDeviceOwnerUserId, mDeviceOwner.admin); in getDeviceOwnerUserIdAndComponent()
290 mDeviceOwnerUserId = userId; in setDeviceOwnerWithRestrictionsMigrated()
302 mDeviceOwnerUserId = UserHandle.USER_NULL; in clearDeviceOwner()
464 return mDeviceOwner != null && mDeviceOwnerUserId == userId; in isDeviceOwnerUserId()
562 mDeviceOwnerUserId = UserHandle.USER_SYSTEM; in readLegacyOwnerFileLocked()
661 mDeviceOwnerUserId); in pushToAppOpsLocked()
[all …]