Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java129 boolean isProfileOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in checkAccessLevel()
131 if (isProfileOwner) { in checkAccessLevel()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2018 final boolean ownsProfile = isProfileOwner(admin.info.getComponent(), userId); in isActiveAdminWithPolicyForUserLocked()
2971 if (isProfileOwner(adminReceiver, userHandle)) { in forceRemoveActiveAdmin()
3005 || isProfileOwner(adminReceiver, userHandle)) { in removeActiveAdmin()
5760 public boolean isProfileOwner(ComponentName who, int userId) { in isProfileOwner() method in DevicePolicyManagerService
7861 final boolean ownsProfile = isProfileOwner(admin.info.getComponent(), userHandle); in notifyLockTaskModeChanged()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5207 if (isProfileOwner(callingUid)) { in canUserModifyAccounts()
5219 if (isProfileOwner(callingUid)) { in canUserModifyAccountsForType()
5236 private boolean isProfileOwner(int uid) { in isProfileOwner() method in AccountManagerService