/frameworks/base/core/java/android/app/role/ |
D | IRoleManager.aidl | 28 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()
|
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 | 200 public Intent createRequestRoleIntent(@NonNull String roleName) { in createRequestRoleIntent() 215 public boolean isRoleAvailable(@NonNull String roleName) { in isRoleAvailable() 231 public boolean isRoleHeld(@NonNull String roleName) { in isRoleHeld() 258 public List<String> getRoleHolders(@NonNull String roleName) { in getRoleHolders() 284 public List<String> getRoleHoldersAsUser(@NonNull String roleName, @NonNull UserHandle user) { in getRoleHoldersAsUser() 318 public void addRoleHolderAsUser(@NonNull String roleName, @NonNull String packageName, in addRoleHolderAsUser() 357 public void removeRoleHolderAsUser(@NonNull String roleName, @NonNull String packageName, in removeRoleHolderAsUser() 395 public void clearRoleHoldersAsUser(@NonNull String roleName, @ManageHoldersFlags int flags, in clearRoleHoldersAsUser() 561 public boolean addRoleHolderFromController(@NonNull String roleName, in addRoleHolderFromController() 594 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 | IOnRoleHoldersChangedListener.aidl | 24 void onRoleHoldersChanged(String roleName, int userId); in onRoleHoldersChanged()
|
D | OnRoleHoldersChangedListener.java | 39 void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user); 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 | 115 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 | 64 public List<String> getRoleHolders(@NonNull String roleName, @UserIdInt int userId) { in getRoleHolders()
|
/frameworks/av/media/libstagefright/xmlparser/test/ |
D | XMLParserTest.cpp | 40 string roleName; member 199 void XMLParseTest::setRoleProperties(string roleName, bool isEncoder, int32_t order, in setRoleProperties() 337 const string &roleName = mRole.first; in TEST_F() local
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 1337 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged()
|
/frameworks/av/media/libstagefright/xmlparser/ |
D | MediaCodecsXmlParser.cpp | 1472 const char* roleName = GetComponentRole(isEncoder, typeName.data()); in generateRoleMap() local
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 2147 String roleName = roles.keyAt(roleNum); in pullRoleHolders() local
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 928 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged()
|