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 isRoleVisible(in String roleName, in RemoteCallback callback); in isRoleVisible()
DRoleManager.java200 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 …]
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()
DIOnRoleHoldersChangedListener.aidl24 void onRoleHoldersChanged(String roleName, int userId); in onRoleHoldersChanged()
DOnRoleHoldersChangedListener.java39 void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user); 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.java115 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.java64 public List<String> getRoleHolders(@NonNull String roleName, @UserIdInt int userId) { in getRoleHolders()
/frameworks/av/media/libstagefright/xmlparser/test/
DXMLParserTest.cpp40 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/
DVoiceInteractionManagerService.java1337 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/stats/
DStatsCompanionService.java2147 String roleName = roles.keyAt(roleNum); in pullRoleHolders() local
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java928 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged()