Home
last modified time | relevance | path

Searched defs:roleName (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/app/role/
DIRoleManager.aidl29 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()
DIRoleController.aidl28 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()
DRoleManager.java201 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 …]
DRoleControllerService.java93 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()
DRoleControllerManager.java130 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()
DOnRoleHoldersChangedListener.java39 void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user); in onRoleHoldersChanged()
DIOnRoleHoldersChangedListener.aidl24 void onRoleHoldersChanged(String roleName, int userId); in onRoleHoldersChanged()
/frameworks/base/services/core/java/com/android/server/role/
DRoleUserState.java183 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 …]
DRoleManagerService.java116 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 …]
DRoleManagerShellCommand.java110 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/
DLegacyRoleResolutionPolicy.java67 public List<String> getRoleHolders(@NonNull String roleName, @UserIdInt int userId) { in getRoleHolders()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java1311 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged()
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp1456 const char* roleName = GetComponentRole(isEncoder, typeName.data()); in generateRoleMap() local
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java2107 String roleName = roles.keyAt(roleNum); in pullRoleHolders() local
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java924 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged()