Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/service/
DRoleControllerServiceImpl.java55 private RoleManager mUserRoleManager; field in RoleControllerServiceImpl
74 mUserRoleManager = userContext.getSystemService(RoleManager.class); in init()
99 if (!mUserRoleManager.isRoleAvailable(roleName)) { in onGrantDefaultRoles()
107 mUserRoleManager.setRoleNamesFromController(roleNames); in onGrantDefaultRoles()
126 List<String> currentPackageNames = mUserRoleManager.getRoleHolders(roleName); in onGrantDefaultRoles()
149 currentPackageNames = mUserRoleManager.getRoleHolders(roleName); in onGrantDefaultRoles()
188 currentPackageNames = mUserRoleManager.getRoleHolders(roleName); in onGrantDefaultRoles()
235 List<String> currentPackageNames = mUserRoleManager.getRoleHolders(roleName); in onAddRoleHolder()
350 added = mUserRoleManager.addRoleHolderFromController(roleName, packageName); in addRoleHolderInternal()
373 boolean removed = mUserRoleManager.removeRoleHolderFromController(roleName, packageName); in removeRoleHolderInternal()
[all …]