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.java43 private int mDeviceOwnerUserId; field in ProtectedPackages
75 mDeviceOwnerUserId = deviceOwnerUserId; in setDeviceAndProfileOwnerPackages()
97 if ((mDeviceOwnerUserId == userId) in hasDeviceOwnerOrProfileOwner()
111 if (mDeviceOwnerUserId == userId) { in getDeviceOwnerOrProfileOwnerPackage()
DUserManagerService.java391 private int mDeviceOwnerUserId = UserHandle.USER_NULL; field in UserManagerService
1909 mDeviceOwnerUserId = originatingUserId; in setDevicePolicyUserRestrictionsInner()
1911 if (mDeviceOwnerUserId == originatingUserId) { in setDevicePolicyUserRestrictionsInner()
1916 mDeviceOwnerUserId = UserHandle.USER_NULL; in setDevicePolicyUserRestrictionsInner()
2154 restrictionKey, mDeviceOwnerUserId)); in getUserRestrictionSources()
2158 mDeviceOwnerUserId)); in getUserRestrictionSources()
2702 mDeviceOwnerUserId = in readUserListLP()
2703 parser.getAttributeInt(null, ATTR_ID, mDeviceOwnerUserId); in readUserListLP()
2793 && mDeviceOwnerUserId != UserHandle.USER_NULL) { in upgradeIfNecessaryLP()
2795 mDeviceOwnerUserId, oldGlobalUserRestrictions); in upgradeIfNecessaryLP()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java138 private int mDeviceOwnerUserId = UserHandle.USER_NULL; field in Owners
240 mDeviceOwnerUserId, (mDeviceOwner != null ? mDeviceOwner.packageName : null), in pushToPackageManagerLocked()
269 mDeviceOwnerUserId); in getDeviceOwnerUidLocked()
283 return mDeviceOwnerUserId; in getDeviceOwnerUserId()
293 return Pair.create(mDeviceOwnerUserId, mDeviceOwner.admin); in getDeviceOwnerUserIdAndComponent()
345 mDeviceOwnerUserId = userId; in setDeviceOwnerWithRestrictionsMigrated()
365 mDeviceOwnerUserId = UserHandle.USER_NULL; in clearDeviceOwner()
483 owners.add(new OwnerDto(mDeviceOwnerUserId, mDeviceOwner.admin, in listAllOwners()
563 return mDeviceOwner != null && mDeviceOwnerUserId == userId; in isDeviceOwnerUserId()
721 mDeviceOwnerUserId = UserHandle.USER_SYSTEM; in readLegacyOwnerFileLocked()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DPolicyVersionUpgraderTest.java62 int mDeviceOwnerUserId; field in PolicyVersionUpgraderTest.FakePolicyUpgraderDataProvider
72 return userId == mDeviceOwnerUserId && mDeviceOwnerComponent.equals(who); in isDeviceOwner()
179 mProvider.mDeviceOwnerUserId = ownerUser; in testUpgrade1To2MarksDoForPermissionControl()