Searched refs:ROLE_BROWSER (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | DefaultAppsPreferenceControllerTest.java | 90 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/ |
D | DefaultBrowserShortcutPreferenceController.java | 26 super(context, KEY, RoleManager.ROLE_BROWSER, packageName); in DefaultBrowserShortcutPreferenceController()
|
/packages/modules/Permission/framework-s/api/ |
D | current.txt | 9 field public static final String ROLE_BROWSER = "android.app.role.BROWSER";
|
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleService.java | 636 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/ |
D | DefaultAppsPreferenceController.java | 53 final CharSequence defaultBrowserLabel = getDefaultAppLabel(RoleManager.ROLE_BROWSER); in getSummary()
|
/packages/modules/Permission/framework-s/java/android/app/role/ |
D | RoleManager.java | 84 public static final String ROLE_BROWSER = "android.app.role.BROWSER"; field in RoleManager
|