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.java2009 final boolean ownsProfile = isProfileOwner(admin.info.getComponent(), userId); in isActiveAdminWithPolicyForUserLocked()
2951 if (isProfileOwner(adminReceiver, userHandle)) { in forceRemoveActiveAdmin()
2985 || isProfileOwner(adminReceiver, userHandle)) { in removeActiveAdmin()
5740 public boolean isProfileOwner(ComponentName who, int userId) { in isProfileOwner() method in DevicePolicyManagerService
7840 final boolean ownsProfile = isProfileOwner(admin.info.getComponent(), userHandle); in notifyLockTaskModeChanged()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5174 if (isProfileOwner(callingUid)) { in canUserModifyAccounts()
5186 if (isProfileOwner(callingUid)) { in canUserModifyAccountsForType()
5203 private boolean isProfileOwner(int uid) { in isProfileOwner() method in AccountManagerService