/frameworks/base/core/java/android/app/role/ |
D | IRoleManager.aidl | 29 boolean isRoleAvailable(in String roleName); in isRoleAvailable() 31 boolean isRoleHeld(in String roleName, in String packageName); in isRoleHeld() 33 List<String> getRoleHoldersAsUser(in String roleName, int userId); in getRoleHoldersAsUser() 35 void addRoleHolderAsUser(in String roleName, in String packageName, int flags, int userId, in addRoleHolderAsUser() 38 void removeRoleHolderAsUser(in String roleName, in String packageName, int flags, int userId, in removeRoleHolderAsUser() 41 void clearRoleHoldersAsUser(in String roleName, int flags, int userId, in clearRoleHoldersAsUser() 51 boolean addRoleHolderFromController(in String roleName, in String packageName); in addRoleHolderFromController() 53 boolean removeRoleHolderFromController(in String roleName, in String packageName); in removeRoleHolderFromController()
|
D | IRoleController.aidl | 28 void onAddRoleHolder(in String roleName, in String packageName, int flags, in onAddRoleHolder() 31 void onRemoveRoleHolder(in String roleName, in String packageName, int flags, in onRemoveRoleHolder() 34 void onClearRoleHolders(in String roleName, int flags, in RemoteCallback callback); in onClearRoleHolders() 36 void isApplicationQualifiedForRole(in String roleName, in String packageName, in isApplicationQualifiedForRole() 39 void isRoleVisible(in String roleName, in RemoteCallback callback); in isRoleVisible()
|
D | RoleManager.java | 201 public Intent createRequestRoleIntent(@NonNull String roleName) { in createRequestRoleIntent() 216 public boolean isRoleAvailable(@NonNull String roleName) { in isRoleAvailable() 232 public boolean isRoleHeld(@NonNull String roleName) { in isRoleHeld() 259 public List<String> getRoleHolders(@NonNull String roleName) { in getRoleHolders() 285 public List<String> getRoleHoldersAsUser(@NonNull String roleName, @NonNull UserHandle user) { in getRoleHoldersAsUser() 319 public void addRoleHolderAsUser(@NonNull String roleName, @NonNull String packageName, in addRoleHolderAsUser() 358 public void removeRoleHolderAsUser(@NonNull String roleName, @NonNull String packageName, in removeRoleHolderAsUser() 396 public void clearRoleHoldersAsUser(@NonNull String roleName, @ManageHoldersFlags int flags, in clearRoleHoldersAsUser() 562 public boolean addRoleHolderFromController(@NonNull String roleName, in addRoleHolderFromController() 595 public boolean removeRoleHolderFromController(@NonNull String roleName, in removeRoleHolderFromController() [all …]
|
D | RoleControllerService.java | 93 public void onAddRoleHolder(String roleName, String packageName, int flags, in onBind() 108 public void onRemoveRoleHolder(String roleName, String packageName, int flags, in onBind() 123 public void onClearRoleHolders(String roleName, int flags, RemoteCallback callback) { in onBind() 142 public void isApplicationQualifiedForRole(String roleName, String packageName, in onBind() 156 public void isRoleVisible(String roleName, RemoteCallback callback) { in onBind()
|
D | RoleControllerManager.java | 130 public void onAddRoleHolder(@NonNull String roleName, @NonNull String packageName, in onAddRoleHolder() 139 public void onRemoveRoleHolder(@NonNull String roleName, @NonNull String packageName, in onRemoveRoleHolder() 148 public void onClearRoleHolders(@NonNull String roleName, in onClearRoleHolders() 158 public void isApplicationQualifiedForRole(@NonNull String roleName, @NonNull String packageName, in isApplicationQualifiedForRole() 168 public void isRoleVisible(@NonNull String roleName, in isRoleVisible() 304 private OnAddRoleHolderRequest(@NonNull RemoteService service, @NonNull String roleName, in OnAddRoleHolderRequest() 359 private OnRemoveRoleHolderRequest(@NonNull RemoteService service, @NonNull String roleName, in OnRemoveRoleHolderRequest() 412 private OnClearRoleHoldersRequest(@NonNull RemoteService service, @NonNull String roleName, in OnClearRoleHoldersRequest() 466 @NonNull String roleName, @NonNull String packageName, in IsApplicationQualifiedForRoleRequest() 519 private IsRoleVisibleRequest(@NonNull RemoteService service, @NonNull String roleName, in IsRoleVisibleRequest()
|
D | OnRoleHoldersChangedListener.java | 39 void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user); in onRoleHoldersChanged()
|
D | IOnRoleHoldersChangedListener.aidl | 24 void onRoleHoldersChanged(String roleName, int userId); in onRoleHoldersChanged()
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleUserState.java | 183 public boolean isRoleAvailable(@NonNull String roleName) { in isRoleAvailable() 199 public ArraySet<String> getRoleHolders(@NonNull String roleName) { in getRoleHolders() 218 public boolean addRoleName(@NonNull String roleName) { in addRoleName() 245 String roleName = mRoles.keyAt(i); in setRoleNames() local 278 public boolean addRoleHolder(@NonNull String roleName, @NonNull String packageName) { in addRoleHolder() 311 public boolean removeRoleHolder(@NonNull String roleName, @NonNull String packageName) { in removeRoleHolder() 421 String roleName = roles.keyAt(i); in serializeRoles() local 499 String roleName = parser.getAttributeValue(null, ATTRIBUTE_NAME); in parseRolesLocked() local 554 String roleName = roles.keyAt(rolesIndex); in dump() local 590 String roleName = mRoles.keyAt(i); in snapshotRolesLocked() local [all …]
|
D | RoleManagerService.java | 116 List<String> getRoleHolders(@NonNull String roleName, @UserIdInt int userId); in getRoleHolders() 381 public void onRoleHoldersChanged(@NonNull String roleName, @UserIdInt int userId, in onRoleHoldersChanged() 389 private void notifyRoleHoldersChanged(@NonNull String roleName, @UserIdInt int userId, in notifyRoleHoldersChanged() 412 @NonNull String roleName, @UserIdInt int userId) { in notifyRoleHoldersChangedForListeners() 431 public boolean isRoleAvailable(@NonNull String roleName) { in isRoleAvailable() 439 public boolean isRoleHeld(@NonNull String roleName, @NonNull String packageName) { in isRoleHeld() 456 public List<String> getRoleHoldersAsUser(@NonNull String roleName, @UserIdInt int userId) { in getRoleHoldersAsUser() 475 public void addRoleHolderAsUser(@NonNull String roleName, @NonNull String packageName, in addRoleHolderAsUser() 495 public void removeRoleHolderAsUser(@NonNull String roleName, @NonNull String packageName, in removeRoleHolderAsUser() 515 public void clearRoleHoldersAsUser(@NonNull String roleName, in clearRoleHoldersAsUser() [all …]
|
D | RoleManagerShellCommand.java | 110 String roleName = getNextArgRequired(); in runAddRoleHolder() local 122 String roleName = getNextArgRequired(); in runRemoveRoleHolder() local 134 String roleName = getNextArgRequired(); in runClearRoleHolders() local
|
/frameworks/base/services/core/java/com/android/server/policy/role/ |
D | LegacyRoleResolutionPolicy.java | 67 public List<String> getRoleHolders(@NonNull String roleName, @UserIdInt int userId) { in getRoleHolders()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 1311 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged()
|
/frameworks/av/media/libstagefright/xmlparser/ |
D | MediaCodecsXmlParser.cpp | 1456 const char* roleName = GetComponentRole(isEncoder, typeName.data()); in generateRoleMap() local
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 2107 String roleName = roles.keyAt(roleNum); in pullRoleHolders() local
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 924 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged()
|