Home
last modified time | relevance | path

Searched refs:ROLE_DIALER (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DDefaultAppsPreferenceControllerTest.java92 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()
/packages/services/Telecomm/src/com/android/server/telecom/
DRoleManagerAdapterImpl.java38 private static final String ROLE_DIALER = RoleManager.ROLE_DIALER; field in RoleManagerAdapterImpl
105 if (ROLE_DIALER.equals(roleName)) { in observeDefaultDialerApp()
147 List<String> roleHolders = mRoleManager.getRoleHoldersAsUser(ROLE_DIALER, in getRoleManagerDefaultDialerApp()
DRoleManagerAdapter.java37 String ROLE_DIALER = "android.app.role.DIALER"; field
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DRoleManagerTest.java104 private static final String ROLE_PHONE_NAME = RoleManager.ROLE_DIALER;
508 assumeTrue(sRoleManager.isRoleAvailable(RoleManager.ROLE_DIALER)); in targetCurrentSdkAndChangeDefaultDialerThenDeniedAutomatically()
537 assumeTrue(sRoleManager.isRoleAvailable(RoleManager.ROLE_DIALER)); in targetSdk28AndChangeDefaultDialerAndAllowThenIsDefaultDialer()
552 getRoleHolders(RoleManager.ROLE_DIALER).contains(APP_28_PACKAGE_NAME)); in targetSdk28AndChangeDefaultDialerAndAllowThenIsDefaultDialer()
576 assumeTrue(sRoleManager.isRoleAvailable(RoleManager.ROLE_DIALER)); in targetSdk28AndChangeDefaultDialerForAnotherAppThenDeniedAutomatically()
609 assumeTrue(sRoleManager.isRoleAvailable(RoleManager.ROLE_DIALER)); in targetSdk28AndChangeDefaultDialerForAnotherAppAsHolderAndAllowThenTheOtherAppIsDefaultDialer()
611 addRoleHolder(RoleManager.ROLE_DIALER, APP_28_PACKAGE_NAME); in targetSdk28AndChangeDefaultDialerForAnotherAppAsHolderAndAllowThenTheOtherAppIsDefaultDialer()
625 getRoleHolders(RoleManager.ROLE_DIALER).contains(APP_PACKAGE_NAME)); in targetSdk28AndChangeDefaultDialerForAnotherAppAsHolderAndAllowThenTheOtherAppIsDefaultDialer()
632 assumeTrue(sRoleManager.isRoleAvailable(RoleManager.ROLE_DIALER)); in testHoldDialerRoleRequirementWithInCallServiceAndSdk()
635 RoleManager.ROLE_DIALER, APP_28_PACKAGE_NAME, true); in testHoldDialerRoleRequirementWithInCallServiceAndSdk()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DDefaultPhoneShortcutPreferenceController.java26 super(context, KEY, RoleManager.ROLE_DIALER, packageName); in DefaultPhoneShortcutPreferenceController()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DDefaultAppShortcuts.kt34 DefaultAppShortcut(RoleManager.ROLE_DIALER, R.string.default_phone_title),
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRequestRoleActivity.java235 mRoleName = RoleManager.ROLE_DIALER; in handleChangeDefaultDialerDialogCompatibility()
251 RoleManager.ROLE_DIALER)); in handleChangeDefaultDialerDialogCompatibility()
/packages/modules/Permission/framework-s/api/
Dcurrent.txt12 field public static final String ROLE_DIALER = "android.app.role.DIALER";
/packages/apps/Settings/src/com/android/settings/applications/
DDefaultAppsPreferenceController.java73 final CharSequence defaultPhoneLabel = getDefaultAppLabel(RoleManager.ROLE_DIALER); in getSummary()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestDialerActivity.java150 startActivityForResult(roleManager.createRequestRoleIntent(RoleManager.ROLE_DIALER), in setDefault()
/packages/modules/Permission/service/java/com/android/ecm/
DEnhancedConfirmationService.java136 PROTECTED_SETTINGS.add(RoleManager.ROLE_DIALER);
/packages/modules/Permission/framework-s/java/android/app/role/
DRoleManager.java102 public static final String ROLE_DIALER = "android.app.role.DIALER"; field in RoleManager
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceControllerTest.java237 when(mockRoleManager.getRoleHoldersAsUser(eq(RoleManager.ROLE_DIALER), in onCreate_bundledApp_enabledApp_keepEnabledPackage_disablesDisableButton()
/packages/modules/Permission/service/java/com/android/role/
DRoleService.java111 defaultApplicationRoles.add(RoleManager.ROLE_DIALER);
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java8131 List<String> dialerRoleHolders = rm.getRoleHolders(RoleManager.ROLE_DIALER); in uploadCallComposerPicture()