Home
last modified time | relevance | path

Searched refs:enforceCrossUserPermission (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Permission/service/java/com/android/role/
DRoleService.java467 UserUtils.enforceCrossUserPermission(userId, false, "isRoleAvailableAsUser", in isRoleAvailableAsUser()
484 UserUtils.enforceCrossUserPermission(userId, false, "isRoleHeldAsUser", getContext()); in isRoleHeldAsUser()
503 UserUtils.enforceCrossUserPermission(userId, false, "getRoleHoldersAsUser", in getRoleHoldersAsUser()
526 UserUtils.enforceCrossUserPermission(userId, false, "addRoleHolderAsUser", in addRoleHolderAsUser()
547 UserUtils.enforceCrossUserPermission(userId, false, "removeRoleHolderAsUser", in removeRoleHolderAsUser()
569 UserUtils.enforceCrossUserPermission(userId, false, "clearRoleHoldersAsUser", in clearRoleHoldersAsUser()
588 UserUtils.enforceCrossUserPermission(userId, false, "getDefaultApplicationAsUser", in getDefaultApplicationAsUser()
613 UserUtils.enforceCrossUserPermission(userId, false, "setDefaultApplicationAsUser", in setDefaultApplicationAsUser()
638 UserUtils.enforceCrossUserPermission(userId, true, in addOnRoleHoldersChangedListenerAsUser()
659 UserUtils.enforceCrossUserPermission(userId, true, in removeOnRoleHoldersChangedListenerAsUser()
[all …]
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterService.java311 if (!enforceCrossUserPermission("setSafetySourceData", userId) in setSafetySourceData()
354 if (!enforceCrossUserPermission("getSafetySourceData", userId) in getSafetySourceData()
378 if (!enforceCrossUserPermission("reportSafetySourceError", userId) in reportSafetySourceError()
412 if (!enforceCrossUserPermission("refreshSafetySources", userId) in refreshSafetySources()
432 if (!enforceCrossUserPermission("refreshSpecificSafetySources", userId) in refreshSpecificSafetySources()
465 if (!enforceCrossUserPermission("getSafetyCenterData", userId) in getSafetyCenterData()
488 if (!enforceCrossUserPermission("addOnSafetyCenterDataChangedListener", userId) in addOnSafetyCenterDataChangedListener()
515 if (!enforceCrossUserPermission("removeOnSafetyCenterDataChangedListener", userId) in removeOnSafetyCenterDataChangedListener()
531 if (!enforceCrossUserPermission("dismissSafetyCenterIssue", userId) in dismissSafetyCenterIssue()
586 if (!enforceCrossUserPermission("executeSafetyCenterIssueAction", userId) in executeSafetyCenterIssueAction()
[all …]
/packages/modules/Permission/service/java/com/android/permission/util/
DUserUtils.java40 public static void enforceCrossUserPermission( in enforceCrossUserPermission() method in UserUtils
/packages/modules/Permission/service/java/com/android/ecm/
DEnhancedConfirmationService.java231 UserUtils.enforceCrossUserPermission(userId, false, methodName, mContext); in enforcePermissions()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java764 enforceCrossUserPermission(callingUid);
788 enforceCrossUserPermission(callingUid);
3111 private void enforceCrossUserPermission(int callingUid) { in enforceCrossUserPermission() method in TelecomServiceImpl