Home
last modified time | relevance | path

Searched refs:phoneUtils (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
DChangeDefaultSmsAppHelper.java54 final PhoneUtils phoneUtils = PhoneUtils.getDefault(); in warnOfMissingActionConditions() local
55 final boolean isSmsCapable = phoneUtils.isSmsCapable(); in warnOfMissingActionConditions()
56 final boolean hasPreferredSmsSim = phoneUtils.getHasPreferredSmsSim(); in warnOfMissingActionConditions()
57 final boolean isDefaultSmsApp = phoneUtils.isDefaultSmsApp(); in warnOfMissingActionConditions()
DUiUtils.java331 final PhoneUtils phoneUtils = PhoneUtils.getDefault(); in isReadyForAction() local
337 return phoneUtils.isSmsCapable() && in isReadyForAction()
338 phoneUtils.getHasPreferredSmsSim() && in isReadyForAction()
339 phoneUtils.isDefaultSmsApp(); in isReadyForAction()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DPhoneNumberPreference.java94 final PhoneUtils phoneUtils = PhoneUtils.get(mSubId); in onDialogClosed() local
95 final String phoneNumber = phoneUtils.getCanonicalBySystemLocale(value); in onDialogClosed()
96 final String defaultPhoneNumber = phoneUtils.getCanonicalBySystemLocale( in onDialogClosed()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DBugleActionToasts.java58 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in onSendMessageOrManualDownloadActionCompleted() local
59 if (phoneUtils.isAirplaneModeOn()) { in onSendMessageOrManualDownloadActionCompleted()
66 } else if (!isSms && !phoneUtils.isMobileDataEnabled()) { in onSendMessageOrManualDownloadActionCompleted()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java1128 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in allowMmsAutoRetrieve() local
1129 if ((autoRetrieveInRoaming && phoneUtils.isDataRoamingEnabled()) in allowMmsAutoRetrieve()
1130 || !phoneUtils.isRoaming()) { in allowMmsAutoRetrieve()
2029 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in isMmsDataAvailable() local
2030 return !phoneUtils.isAirplaneModeOn() && phoneUtils.isMobileDataEnabled(); in isMmsDataAvailable()
2038 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in isSmsDataAvailable() local
2039 return !phoneUtils.isAirplaneModeOn(); in isSmsDataAvailable()