/frameworks/av/media/libstagefright/xmlparser/test/ |
D | XMLParserTest.cpp | 40 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/ |
D | DefaultAppProvider.java | 169 private String getRoleHolder(@NonNull String roleName, @NonNull int userId) { in getRoleHolder() argument 176 return CollectionUtils.firstOrNull(roleManager.getRoleHoldersAsUser(roleName, in getRoleHolder()
|
D | ShortcutService.java | 549 public void onRoleHoldersChanged(String roleName, UserHandle user) { 550 if (RoleManager.ROLE_HOME.equals(roleName)) {
|
/frameworks/av/media/libstagefright/xmlparser/ |
D | MediaCodecsXmlParser.cpp | 1577 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/ |
D | RoleServicePlatformHelperImpl.java | 143 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/ |
D | AppOpsPolicy.java | 180 (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/ |
D | TelecomLoaderService.java | 239 (roleName, user) -> updateSimCallManagerPermissions(user.getIdentifier()), in registerDefaultAppNotifier()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 578 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/ |
D | SmsApplication.java | 878 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/ |
D | VoiceInteractionManagerService.java | 1870 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/ |
D | NotificationManagerService.java | 10824 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/ |
D | StatsPullAtomService.java | 3224 String roleName = roleEntry.getKey(); 3237 atomTag, pkg.applicationInfo.uid, packageName, roleName));
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 1242 public void onRoleHoldersChanged(@NonNull String roleName, @NonNull UserHandle user) { in onRoleHoldersChanged() argument 1243 if (RoleManager.ROLE_ASSISTANT.equals(roleName)) { in onRoleHoldersChanged()
|