Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/role/
DIRoleManager.aidl28 boolean isRoleAvailable(in String roleName); in isRoleAvailable()
30 boolean isRoleHeld(in String roleName, in String packageName); in isRoleHeld()
32 List<String> getRoleHoldersAsUser(in String roleName, int userId); in getRoleHoldersAsUser()
34 void addRoleHolderAsUser(in String roleName, in String packageName, int flags, int userId, in addRoleHolderAsUser()
37 void removeRoleHolderAsUser(in String roleName, in String packageName, int flags, int userId, in removeRoleHolderAsUser()
40 void clearRoleHoldersAsUser(in String roleName, int flags, int userId, in clearRoleHoldersAsUser()
50 boolean addRoleHolderFromController(in String roleName, in String packageName); in addRoleHolderFromController()
52 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 isApplicationVisibleForRole(in String roleName, in String packageName, in isApplicationVisibleForRole()
42 void isRoleVisible(in String roleName, in RemoteCallback callback); in isRoleVisible()
DRoleControllerService.java94 public void onAddRoleHolder(String roleName, String packageName, int flags, in onBind()
109 public void onRemoveRoleHolder(String roleName, String packageName, int flags, in onBind()
124 public void onClearRoleHolders(String roleName, int flags, RemoteCallback callback) { in onBind()
143 public void isApplicationQualifiedForRole(String roleName, String packageName, in onBind()
157 public void isApplicationVisibleForRole(String roleName, String packageName, in onBind()
171 public void isRoleVisible(String roleName, RemoteCallback callback) { in onBind()
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 …]
DRoleControllerManager.java158 public void onAddRoleHolder(@NonNull String roleName, @NonNull String packageName, in onAddRoleHolder()
174 public void onRemoveRoleHolder(@NonNull String roleName, @NonNull String packageName, in onRemoveRoleHolder()
190 public void onClearRoleHolders(@NonNull String roleName, in onClearRoleHolders()
210 public void isApplicationQualifiedForRole(@NonNull String roleName, @NonNull String packageName, in isApplicationQualifiedForRole()
228 public void isApplicationVisibleForRole(@NonNull String roleName, @NonNull String packageName, in isApplicationVisibleForRole()
246 public void isRoleVisible(@NonNull String roleName, in isRoleVisible()
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.java179 public boolean isRoleAvailable(@NonNull String roleName) { in isRoleAvailable()
193 public ArraySet<String> getRoleHolders(@NonNull String roleName) { in getRoleHolders()
210 public boolean addRoleName(@NonNull String roleName) { in addRoleName()
233 String roleName = mRoles.keyAt(i); in setRoleNames() local
266 public boolean addRoleHolder(@NonNull String roleName, @NonNull String packageName) { in addRoleHolder()
297 public boolean removeRoleHolder(@NonNull String roleName, @NonNull String packageName) { in removeRoleHolder()
384 String roleName = entry.getKey(); in readFile() local
440 String roleName = parser.getAttributeValue(null, ATTRIBUTE_NAME); in parseRolesLocked() local
493 String roleName = roles.keyAt(rolesIndex); in dump() local
529 String roleName = mRoles.keyAt(i); in snapshotRolesLocked() local
[all …]
DRoleManagerService.java119 List<String> getRoleHolders(@NonNull String roleName, @UserIdInt int userId); in getRoleHolders()
407 public void onRoleHoldersChanged(@NonNull String roleName, @UserIdInt int userId, in onRoleHoldersChanged()
415 private void notifyRoleHoldersChanged(@NonNull String roleName, @UserIdInt int userId, in notifyRoleHoldersChanged()
438 @NonNull String roleName, @UserIdInt int userId) { in notifyRoleHoldersChangedForListeners()
457 public boolean isRoleAvailable(@NonNull String roleName) { in isRoleAvailable()
465 public boolean isRoleHeld(@NonNull String roleName, @NonNull String packageName) { in isRoleHeld()
482 public List<String> getRoleHoldersAsUser(@NonNull String roleName, @UserIdInt int userId) { in getRoleHoldersAsUser()
501 public void addRoleHolderAsUser(@NonNull String roleName, @NonNull String packageName, in addRoleHolderAsUser()
521 public void removeRoleHolderAsUser(@NonNull String roleName, @NonNull String packageName, in removeRoleHolderAsUser()
541 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/packages/CarSystemUI/src/com/android/systemui/car/navigationbar/
DButtonRoleHolderController.java79 String roleName = button.getRoleName(); in addAllButtonsWithRoleName() local
91 private void addButtonWithRoleName(CarNavigationButton button, String roleName) { in addButtonWithRoleName()
110 void onRoleChanged(String roleName, UserHandle user) { in onRoleChanged()
117 private void updateIcon(String roleName) { in updateIcon()
/frameworks/base/apex/permission/service/java/com/android/role/persistence/
DRolesPersistenceImpl.java118 String roleName = parser.getAttributeValue(null, ATTRIBUTE_NAME); in parseRoles() local
186 String roleName = entry.getKey(); in serializeRoles() local
/frameworks/base/services/core/java/com/android/server/policy/role/
DLegacyRoleResolutionPolicy.java65 public List<String> getRoleHolders(@NonNull String roleName, @UserIdInt int userId) { in getRoleHolders()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java1525 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged()
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp1472 const char* roleName = GetComponentRole(isEncoder, typeName.data()); in generateRoleMap() local
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java989 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged()