Home
last modified time | relevance | path

Searched refs:roleName (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libstagefright/xmlparser/test/
DXMLParserTest.cpp40 string roleName; member
65 void setRoleProperties(string roleName, bool isEncoder, int32_t order, string typeName,
228 void XMLParseTest::setRoleProperties(string roleName, bool isEncoder, int32_t order, in setRoleProperties() argument
232 roleProperty.roleName = roleName; in setRoleProperties()
366 const string &roleName = mRole.first; in TEST_F() local
367 ALOGV("Role map:name = %s\n", roleName.c_str()); in TEST_F()
/frameworks/base/services/core/java/com/android/server/pm/
DDefaultAppProvider.java169 private String getRoleHolder(@NonNull String roleName, @NonNull int userId) { in getRoleHolder() argument
176 return CollectionUtils.firstOrNull(roleManager.getRoleHoldersAsUser(roleName, in getRoleHolder()
DShortcutService.java549 public void onRoleHoldersChanged(String roleName, UserHandle user) {
550 if (RoleManager.ROLE_HOME.equals(roleName)) {
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp1577 const char* roleName = GetComponentRole(isEncoder, typeName.data()); in generateRoleMap() local
1578 if (roleName == nullptr) { in generateRoleMap()
1586 auto roleIterator = mRoleMap.find(roleName); in generateRoleMap()
1593 std::make_pair(roleName, roleProperties)); in generateRoleMap()
1595 ALOGE("Cannot add role %s", roleName); in generateRoleMap()
1602 roleName, in generateRoleMap()
1609 roleName); in generateRoleMap()
/frameworks/base/services/core/java/com/android/server/policy/role/
DRoleServicePlatformHelperImpl.java143 String roleName = parser.getAttributeValue(null, ATTRIBUTE_NAME); in parseRoles() local
145 roles.put(roleName, roleHolders); in parseRoles()
/frameworks/base/services/core/java/com/android/server/policy/
DAppOpsPolicy.java180 (String roleName, UserHandle user) -> { in AppOpsPolicy()
181 if (RoleManager.ROLE_SYSTEM_ACTIVITY_RECOGNIZER.equals(roleName)) { in AppOpsPolicy()
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java239 (roleName, user) -> updateSimCallManagerPermissions(user.getIdentifier()), in registerDefaultAppNotifier()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java578 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged() argument
579 if (RoleManager.ROLE_HOME.equals(roleName)) { in onRoleHoldersChanged()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsApplication.java878 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged() argument
879 if (!Objects.equals(roleName, RoleManager.ROLE_SMS)) { in onRoleHoldersChanged()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java1870 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged() argument
1871 if (!roleName.equals(RoleManager.ROLE_ASSISTANT)) { in onRoleHoldersChanged()
1875 List<String> roleHolders = mRm.getRoleHoldersAsUser(roleName, user); in onRoleHoldersChanged()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java10824 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) {
10825 onRoleHoldersChangedForNonBlockableDefaultApps(roleName, user);
10826 onRoleHoldersChangedForTrampolines(roleName, user);
10829 private void onRoleHoldersChangedForNonBlockableDefaultApps(@NonNull String roleName,
10834 if (NON_BLOCKABLE_DEFAULT_ROLES[i].equals(roleName)) {
10844 ArraySet<String> roleHolders = new ArraySet<>(mRm.getRoleHoldersAsUser(roleName, user));
10848 mNonBlockableDefaultApps.getOrDefault(roleName, new ArrayMap<>());
10869 mNonBlockableDefaultApps.put(roleName, prevApprovedForRole);
10878 private void onRoleHoldersChangedForTrampolines(@NonNull String roleName,
10880 if (!RoleManager.ROLE_BROWSER.equals(roleName)) {
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java3224 String roleName = roleEntry.getKey();
3237 atomTag, pkg.applicationInfo.uid, packageName, roleName));
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1242 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged() argument
1243 if (RoleManager.ROLE_ASSISTANT.equals(roleName)) { in onRoleHoldersChanged()