Home
last modified time | relevance | path

Searched refs:ROLE_BROWSER (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DDefaultAppsPreferenceControllerTest.java90 when(mRoleManager.getRoleHolders(RoleManager.ROLE_BROWSER)).thenReturn( in getSummary_allAvailable_shouldReturnAll()
102 when(mRoleManager.getRoleHolders(RoleManager.ROLE_BROWSER)).thenReturn( in getSummary_browserAndDialerAvailable_shouldReturnBrowserAndDialer()
113 when(mRoleManager.getRoleHolders(RoleManager.ROLE_BROWSER)).thenReturn( in getSummary_browserAndSmsAvailable_shouldReturnBrowserAndSms()
125 when(mRoleManager.getRoleHolders(RoleManager.ROLE_BROWSER)).thenReturn( in getSummary_dialerAndSmsAvailable_shouldReturnDialerAndSms()
137 when(mRoleManager.getRoleHolders(RoleManager.ROLE_BROWSER)).thenReturn( in getSummary_browserAvailable_shouldReturnBrowser()
148 when(mRoleManager.getRoleHolders(RoleManager.ROLE_BROWSER)).thenReturn( in getSummary_dialerAvailable_shouldReturnDialer()
159 when(mRoleManager.getRoleHolders(RoleManager.ROLE_BROWSER)).thenReturn( in getSummary_smsAvailable_shouldReturnSms()
171 when(mRoleManager.getRoleHolders(RoleManager.ROLE_BROWSER)).thenReturn( in getSummary_noneAvailable_shouldReturnNull()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DDefaultBrowserShortcutPreferenceController.java26 super(context, KEY, RoleManager.ROLE_BROWSER, packageName); in DefaultBrowserShortcutPreferenceController()
/packages/modules/Permission/framework-s/api/
Dcurrent.txt9 field public static final String ROLE_BROWSER = "android.app.role.BROWSER";
/packages/modules/Permission/service/java/com/android/role/
DRoleService.java636 return CollectionUtils.firstOrNull(getRoleHoldersAsUser(RoleManager.ROLE_BROWSER, in getBrowserRoleHolder()
688 addRoleHolderAsUser(RoleManager.ROLE_BROWSER, packageName, 0, userId, callback); in setBrowserRoleHolder()
690 clearRoleHoldersAsUser(RoleManager.ROLE_BROWSER, 0, userId, callback); in setBrowserRoleHolder()
/packages/apps/Settings/src/com/android/settings/applications/
DDefaultAppsPreferenceController.java53 final CharSequence defaultBrowserLabel = getDefaultAppLabel(RoleManager.ROLE_BROWSER); in getSummary()
/packages/modules/Permission/framework-s/java/android/app/role/
DRoleManager.java84 public static final String ROLE_BROWSER = "android.app.role.BROWSER"; field in RoleManager