Home
last modified time | relevance | path

Searched refs:grantAsUser (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/
DHomeRoleBehavior.java143 public void grantAsUser(@NonNull Role role, @NonNull String packageName, in grantAsUser() method in HomeRoleBehavior
146 Permissions.grantAsUser(packageName, AUTOMOTIVE_PERMISSIONS, in grantAsUser()
152 Permissions.grantAsUser(packageName, WEAR_PERMISSIONS_T, in grantAsUser()
155 AppOpPermissions.grantAsUser(packageName, permission, true, user, context); in grantAsUser()
159 Permissions.grantAsUser(packageName, WEAR_PERMISSIONS_V, in grantAsUser()
DDialerRoleBehavior.java63 public void grantAsUser(@NonNull Role role, @NonNull String packageName, in grantAsUser() method in DialerRoleBehavior
67 Permissions.grantAsUser(packageName, SYSTEM_DIALER_PERMISSIONS, false, false, in grantAsUser()
DSmsRoleBehavior.java117 public void grantAsUser(@NonNull Role role, @NonNull String packageName, in grantAsUser() method in SmsRoleBehavior
121 Permissions.grantAsUser(packageName, SYSTEM_SMS_PERMISSIONS, false, false, true, in grantAsUser()
DBrowserRoleBehavior.java136 public void grantAsUser(@NonNull Role role, @NonNull String packageName, in grantAsUser() method in BrowserRoleBehavior
142 Permissions.grantAsUser(packageName, SYSTEM_BROWSER_PERMISSIONS, false, false, in grantAsUser()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DRole.java801 public void grantAsUser(@NonNull String packageName, boolean dontKillApp, in grantAsUser() method in Role
803 boolean permissionOrAppOpChanged = Permissions.grantAsUser(packageName, in grantAsUser()
813 AppOpPermissions.grantAsUser(packageName, appOpPermission, overrideUser, user, context); in grantAsUser()
819 appOp.grantAsUser(packageName, user, context); in grantAsUser()
829 mBehavior.grantAsUser(this, packageName, user, context); in grantAsUser()
DAppOp.java94 public boolean grantAsUser(@NonNull String packageName, @NonNull UserHandle user, in grantAsUser() method in AppOp
DRoleBehavior.java96 default void grantAsUser(@NonNull Role role, @NonNull String packageName, in grantAsUser() method
DAppOpPermissions.java51 public static boolean grantAsUser(@NonNull String packageName, @NonNull String appOpPermission, in grantAsUser() method in AppOpPermissions
DPermissions.java103 public static boolean grantAsUser(@NonNull String packageName, in grantAsUser() method in Permissions
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v31/
DCompanionDeviceWatchRoleBehavior.java35 public void grantAsUser(@NonNull Role role, @NonNull String packageName, in grantAsUser() method in CompanionDeviceWatchRoleBehavior
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v33/
DCompanionDeviceAppStreamingRoleBehavior.java35 public void grantAsUser(@NonNull Role role, @NonNull String packageName, in grantAsUser() method in CompanionDeviceAppStreamingRoleBehavior
DCompanionDeviceComputerRoleBehavior.java35 public void grantAsUser(@NonNull Role role, @NonNull String packageName, in grantAsUser() method in CompanionDeviceComputerRoleBehavior
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/v34/
DCompanionDeviceGlassesRoleBehavior.java35 public void grantAsUser(@NonNull Role role, @NonNull String packageName, in grantAsUser() method in CompanionDeviceGlassesRoleBehavior
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/service/
DRoleControllerServiceImpl.java346 role.grantAsUser(packageName, dontKillApp, overrideUser, mUser, mContext); in addRoleHolderInternal()