/frameworks/base/services/companion/java/com/android/server/companion/utils/ |
D | RolesUtils.java | 46 final List<String> roleHolders = roleManager.getRoleHoldersAsUser( in isRoleHolder() local 48 return roleHolders.contains(packageName); in isRoleHolder()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | BroadcastResponseStatsTracker.java | 313 final List<String> roleHolders = getRoleHoldersLocked(roleName, user); in doesPackageHoldExemptedRole() local 314 if (CollectionUtils.contains(roleHolders, packageName)) { in doesPackageHoldExemptedRole() 352 List<String> roleHolders = roleHoldersForUser.get(roleName); in getRoleHoldersLocked() local 353 if (roleHolders == null && mRoleManager != null) { in getRoleHoldersLocked() 354 roleHolders = mRoleManager.getRoleHoldersAsUser(roleName, user); in getRoleHoldersLocked() 355 roleHoldersForUser.put(roleName, roleHolders); in getRoleHoldersLocked() 357 return roleHolders; in getRoleHoldersLocked()
|
/frameworks/base/services/core/java/com/android/server/policy/role/ |
D | RoleServicePlatformHelperImpl.java | 150 Set<String> roleHolders = parseRoleHoldersLocked(parser); in parseRoles() local 151 roles.put(roleName, roleHolders); in parseRoles() 161 Set<String> roleHolders = new ArraySet<>(); in parseRoleHoldersLocked() local 174 roleHolders.add(roleHolder); in parseRoleHoldersLocked() 178 return roleHolders; in parseRoleHoldersLocked()
|
/frameworks/base/core/java/android/service/quickaccesswallet/ |
D | QuickAccessWalletServiceInfo.java | 108 List<String> roleHolders = roleManager.getRoleHolders(RoleManager.ROLE_WALLET); in getDefaultWalletApp() local 109 return roleHolders.isEmpty() ? null : roleHolders.get(0); in getDefaultWalletApp()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | OverlayPackagesProvider.java | 125 List<String> roleHolders = roleManager.getRoleHolders( in getDevicePolicyManagementRoleHolderPackageName() 127 if (roleHolders.isEmpty()) { in getDevicePolicyManagementRoleHolderPackageName() 130 return roleHolders.get(0); in getDevicePolicyManagementRoleHolderPackageName()
|
D | DevicePolicyManagerService.java | 21607 List<String> roleHolders = roleManager.getRoleHoldersAsUser(role, user); 21608 if (roleHolders.isEmpty()) { 21611 return roleHolders.get(0); 21665 List<String> roleHolders = 21667 if (!roleHolders.isEmpty()) { 21668 return roleHolders.get(0);
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 244 List<String> roleHolders = callWithShellPermissionIdentity( in getDefaultLauncher() local 246 int size = roleHolders.size(); in getDefaultLauncher() 248 return roleHolders.get(0); in getDefaultLauncher() 253 + RoleManager.ROLE_HOME + ": " + roleHolders); in getDefaultLauncher()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsApplication.java | 899 final List<String> roleHolders = mRoleManager.getRoleHoldersAsUser( in getSmsPackageName() local 901 return !roleHolders.isEmpty() ? roleHolders.get(0) : null; in getSmsPackageName()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 2418 List<String> roleHolders = mRm.getRoleHoldersAsUser(roleName, user); in onRoleHoldersChanged() local 2422 roleHolders); in onRoleHoldersChanged() 2432 if (roleHolders.isEmpty()) { in onRoleHoldersChanged() 2443 if (roleHolders.isEmpty()) { in onRoleHoldersChanged() 2450 String pkg = roleHolders.get(0); in onRoleHoldersChanged()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 5306 List<String> roleHolders = mRoleManager.getRoleHoldersAsUser( 5308 return roleHolders.isEmpty() ? null : roleHolders.get(0);
|
D | PackageManagerService.java | 3398 List<String> roleHolders = 3401 if (roleHolders.isEmpty()) { 3404 return roleHolders.get(0);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 12632 ArraySet<String> roleHolders = new ArraySet<>(mRm.getRoleHoldersAsUser(roleName, user)); 12644 if (!roleHolders.contains(previous)) { 12648 for (String nowApproved : roleHolders) { 12656 prevApprovedForRole.put(user.getIdentifier(), roleHolders);
|