/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | DefaultAppsPreferenceControllerTest.java | 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()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | RoleManagerAdapterImpl.java | 38 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()
|
D | RoleManagerAdapter.java | 37 String ROLE_DIALER = "android.app.role.DIALER"; field
|
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 104 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/ |
D | DefaultPhoneShortcutPreferenceController.java | 26 super(context, KEY, RoleManager.ROLE_DIALER, packageName); in DefaultPhoneShortcutPreferenceController()
|
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/ |
D | DefaultAppShortcuts.kt | 34 DefaultAppShortcut(RoleManager.ROLE_DIALER, R.string.default_phone_title),
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/ |
D | RequestRoleActivity.java | 235 mRoleName = RoleManager.ROLE_DIALER; in handleChangeDefaultDialerDialogCompatibility() 251 RoleManager.ROLE_DIALER)); in handleChangeDefaultDialerDialogCompatibility()
|
/packages/modules/Permission/framework-s/api/ |
D | current.txt | 12 field public static final String ROLE_DIALER = "android.app.role.DIALER";
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | DefaultAppsPreferenceController.java | 73 final CharSequence defaultPhoneLabel = getDefaultAppLabel(RoleManager.ROLE_DIALER); in getSummary()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestDialerActivity.java | 150 startActivityForResult(roleManager.createRequestRoleIntent(RoleManager.ROLE_DIALER), in setDefault()
|
/packages/modules/Permission/service/java/com/android/ecm/ |
D | EnhancedConfirmationService.java | 136 PROTECTED_SETTINGS.add(RoleManager.ROLE_DIALER);
|
/packages/modules/Permission/framework-s/java/android/app/role/ |
D | RoleManager.java | 102 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/ |
D | ApplicationActionButtonsPreferenceControllerTest.java | 237 when(mockRoleManager.getRoleHoldersAsUser(eq(RoleManager.ROLE_DIALER), in onCreate_bundledApp_enabledApp_keepEnabledPackage_disablesDisableButton()
|
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleService.java | 111 defaultApplicationRoles.add(RoleManager.ROLE_DIALER);
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 8131 List<String> dialerRoleHolders = rm.getRoleHolders(RoleManager.ROLE_DIALER); in uploadCallComposerPicture()
|