Searched refs:ROLE_DIALER (Results 1 – 10 of 10) sorted by relevance
92 when(mRoleManager.getRoleHolders(RoleManager.ROLE_DIALER)).thenReturn( in getSummary_allAvailable_shouldReturnAll()104 when(mRoleManager.getRoleHolders(RoleManager.ROLE_DIALER)).thenReturn( in getSummary_browserAndDialerAvailable_shouldReturnBrowserAndDialer()115 when(mRoleManager.getRoleHolders(RoleManager.ROLE_DIALER)).thenReturn( in getSummary_browserAndSmsAvailable_shouldReturnBrowserAndSms()127 when(mRoleManager.getRoleHolders(RoleManager.ROLE_DIALER)).thenReturn( in getSummary_dialerAndSmsAvailable_shouldReturnDialerAndSms()139 when(mRoleManager.getRoleHolders(RoleManager.ROLE_DIALER)).thenReturn( in getSummary_browserAvailable_shouldReturnBrowser()150 when(mRoleManager.getRoleHolders(RoleManager.ROLE_DIALER)).thenReturn( in getSummary_dialerAvailable_shouldReturnDialer()161 when(mRoleManager.getRoleHolders(RoleManager.ROLE_DIALER)).thenReturn( in getSummary_smsAvailable_shouldReturnSms()173 when(mRoleManager.getRoleHolders(RoleManager.ROLE_DIALER)).thenReturn( in getSummary_noneAvailable_shouldReturnNull()
37 private static final String ROLE_DIALER = RoleManager.ROLE_DIALER; field in RoleManagerAdapterImpl128 List<String> roleHolders = mRoleManager.getRoleHoldersAsUser(ROLE_DIALER, in getRoleManagerDefaultDialerApp()
37 String ROLE_DIALER = "android.app.role.DIALER"; field
199 mRoleName = RoleManager.ROLE_DIALER; in handleChangeDefaultDialerDialogCompatibility()215 RoleManager.ROLE_DIALER)); in handleChangeDefaultDialerDialogCompatibility()
26 super(context, KEY, RoleManager.ROLE_DIALER, packageName); in DefaultPhoneShortcutPreferenceController()
55 final CharSequence defaultPhoneLabel = getDefaultAppLabel(RoleManager.ROLE_DIALER); in getSummary()
68 roles.add(RoleManager.ROLE_DIALER); in testMarkAppRow_defaultPackage()
101 if (roles.contains(RoleManager.ROLE_DIALER) in recordCanBeBlocked()