Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/role/
DRoleUserState.java228 public void setRoleNames(@NonNull List<String> roleNames) { in setRoleNames() argument
235 if (!roleNames.contains(roleName)) { in setRoleNames()
246 int roleNamesSize = roleNames.size(); in setRoleNames()
248 changed |= addRoleName(roleNames.get(i)); in setRoleNames()
326 List<String> roleNames = new ArrayList<>(); in getHeldRoles() local
330 roleNames.add(mRoles.keyAt(i)); in getHeldRoles()
333 return roleNames; in getHeldRoles()
DRoleManagerService.java597 public void setRoleNamesFromController(@NonNull List<String> roleNames) { in setRoleNamesFromController() argument
602 Objects.requireNonNull(roleNames, "roleNames cannot be null"); in setRoleNamesFromController()
605 getOrCreateUserState(userId).setRoleNames(roleNames); in setRoleNamesFromController()
/frameworks/base/core/java/android/app/role/
DIRoleManager.aidl48 void setRoleNamesFromController(in List<String> roleNames); in setRoleNamesFromController() argument
DRoleManager.java531 public void setRoleNamesFromController(@NonNull List<String> roleNames) { in setRoleNamesFromController() argument
532 Objects.requireNonNull(roleNames, "roleNames cannot be null"); in setRoleNamesFromController()
534 mService.setRoleNamesFromController(roleNames); in setRoleNamesFromController()