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.java1167 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in allowMmsAutoRetrieve() local
1168 if ((autoRetrieveInRoaming && phoneUtils.isDataRoamingEnabled()) in allowMmsAutoRetrieve()
1169 || !phoneUtils.isRoaming()) { in allowMmsAutoRetrieve()
2064 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in isMmsDataAvailable() local
2065 return !phoneUtils.isAirplaneModeOn() && phoneUtils.isMobileDataEnabled(); in isMmsDataAvailable()
2073 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in isSmsDataAvailable() local
2074 return !phoneUtils.isAirplaneModeOn(); in isSmsDataAvailable()
2078 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in isMobileDataEnabled() local
2079 return phoneUtils.isMobileDataEnabled(); in isMobileDataEnabled()
2083 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in isAirplaneModeOn() local
[all …]