Home
last modified time | relevance | path

Searched refs:ROLE_SMS (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DDefaultAppsPreferenceControllerTest.java94 when(mRoleManager.getRoleHolders(RoleManager.ROLE_SMS)).thenReturn( in getSummary_allAvailable_shouldReturnAll()
106 when(mRoleManager.getRoleHolders(RoleManager.ROLE_SMS)).thenReturn(Collections.emptyList()); in getSummary_browserAndDialerAvailable_shouldReturnBrowserAndDialer()
117 when(mRoleManager.getRoleHolders(RoleManager.ROLE_SMS)).thenReturn( in getSummary_browserAndSmsAvailable_shouldReturnBrowserAndSms()
129 when(mRoleManager.getRoleHolders(RoleManager.ROLE_SMS)).thenReturn( in getSummary_dialerAndSmsAvailable_shouldReturnDialerAndSms()
141 when(mRoleManager.getRoleHolders(RoleManager.ROLE_SMS)).thenReturn(Collections.emptyList()); in getSummary_browserAvailable_shouldReturnBrowser()
152 when(mRoleManager.getRoleHolders(RoleManager.ROLE_SMS)).thenReturn(Collections.emptyList()); in getSummary_dialerAvailable_shouldReturnDialer()
163 when(mRoleManager.getRoleHolders(RoleManager.ROLE_SMS)).thenReturn( in getSummary_smsAvailable_shouldReturnSms()
175 when(mRoleManager.getRoleHolders(RoleManager.ROLE_SMS)).thenReturn(Collections.emptyList()); in getSummary_noneAvailable_shouldReturnNull()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRequestRoleActivity.java242 mRoleName = RoleManager.ROLE_SMS; in handleSmsDefaultDialogCompatibility()
253 RoleManager.ROLE_SMS, Process.myUserHandle(), this) in handleSmsDefaultDialogCompatibility()
267 RoleManager.ROLE_SMS)); in handleSmsDefaultDialogCompatibility()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DDefaultSmsShortcutPreferenceController.java26 super(context, KEY, RoleManager.ROLE_SMS, packageName); in DefaultSmsShortcutPreferenceController()
/packages/modules/Permission/framework-s/api/
Dcurrent.txt15 field public static final String ROLE_SMS = "android.app.role.SMS";
/packages/apps/Settings/src/com/android/settings/applications/
DDefaultAppsPreferenceController.java61 final CharSequence defaultSmsLabel = getDefaultAppLabel(RoleManager.ROLE_SMS); in getSummary()
/packages/services/Telephony/tests/src/com/android/phone/
DRcsProvisioningMonitorTest.java277 when(mRoleManager.getRoleHolders(eq(RoleManager.ROLE_SMS))).thenReturn(dmas); in setUp()
789 when(mRoleManager.getRoleHolders(eq(RoleManager.ROLE_SMS))).thenReturn(dmas); in updateDefaultMessageApplication()
791 RoleManager.ROLE_SMS, UserHandle.ALL)); in updateDefaultMessageApplication()
/packages/services/Telephony/src/com/android/phone/
DRcsProvisioningMonitor.java130 if (RoleManager.ROLE_SMS.equals(role)) { in onRoleHoldersChanged()
819 return CollectionUtils.firstOrNull(mRoleManager.getRoleHolders(RoleManager.ROLE_SMS)); in getDmaPackageName()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DSipTransportController.java798 if (!RoleManager.ROLE_SMS.equals(roleName)) { in onRoleHoldersChanged()
825 newSmsRolePackageName = mRoleManagerAdapter.getRoleHolders(RoleManager.ROLE_SMS) in updateRoleCache()
/packages/modules/Permission/framework-s/java/android/app/role/
DRoleManager.java99 public static final String ROLE_SMS = "android.app.role.SMS"; field in RoleManager
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DSipTransportControllerTest.java130 doReturn(mSmsPackageName).when(mMockRoleManager).getRoleHolders(RoleManager.ROLE_SMS); in setUp()
950 c.onRoleHoldersChanged(RoleManager.ROLE_SMS, UserHandle.SYSTEM); in setSmsRoleAndEvaluate()
/packages/modules/Permission/service/java/com/android/role/
DRoleService.java715 return CollectionUtils.firstOrNull(getRoleHoldersAsUser(RoleManager.ROLE_SMS, in getSmsRoleHolder()