Searched refs:roleHolders (Results 1 – 2 of 2) sorted by relevance
119 List<String> roleHolders = mRoleManager.getRoleHoldersAsUser(ROLE_CALL_SCREENING, in getRoleManagerCallScreeningApp() local121 if (roleHolders == null || roleHolders.isEmpty()) { in getRoleManagerCallScreeningApp()124 return roleHolders.get(0); in getRoleManagerCallScreeningApp()128 List<String> roleHolders = mRoleManager.getRoleHoldersAsUser(ROLE_DIALER, in getRoleManagerDefaultDialerApp() local130 if (roleHolders == null || roleHolders.isEmpty()) { in getRoleManagerDefaultDialerApp()133 return roleHolders.get(0); in getRoleManagerDefaultDialerApp()142 List<String> roleHolders = mRoleManager.getRoleHoldersAsUser(ROLE_CALL_REDIRECTION_APP, in getRoleManagerCallRedirectionApp() local144 if (roleHolders == null || roleHolders.isEmpty()) { in getRoleManagerCallRedirectionApp()147 return roleHolders.get(0); in getRoleManagerCallRedirectionApp()
121 List<String> roleHolders = context.getSystemService(RoleManager.class) in getDefaultEmergencyPackage() local123 return roleHolders.isEmpty() ? null : roleHolders.get(0); in getDefaultEmergencyPackage()