Searched refs:phoneUtils (Results 1 – 5 of 5) sorted by relevance
54 final PhoneUtils phoneUtils = PhoneUtils.getDefault(); in warnOfMissingActionConditions() local55 final boolean isSmsCapable = phoneUtils.isSmsCapable(); in warnOfMissingActionConditions()56 final boolean hasPreferredSmsSim = phoneUtils.getHasPreferredSmsSim(); in warnOfMissingActionConditions()57 final boolean isDefaultSmsApp = phoneUtils.isDefaultSmsApp(); in warnOfMissingActionConditions()
331 final PhoneUtils phoneUtils = PhoneUtils.getDefault(); in isReadyForAction() local337 return phoneUtils.isSmsCapable() && in isReadyForAction()338 phoneUtils.getHasPreferredSmsSim() && in isReadyForAction()339 phoneUtils.isDefaultSmsApp(); in isReadyForAction()
94 final PhoneUtils phoneUtils = PhoneUtils.get(mSubId); in onDialogClosed() local95 final String phoneNumber = phoneUtils.getCanonicalBySystemLocale(value); in onDialogClosed()96 final String defaultPhoneNumber = phoneUtils.getCanonicalBySystemLocale( in onDialogClosed()
58 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in onSendMessageOrManualDownloadActionCompleted() local59 if (phoneUtils.isAirplaneModeOn()) { in onSendMessageOrManualDownloadActionCompleted()66 } else if (!isSms && !phoneUtils.isMobileDataEnabled()) { in onSendMessageOrManualDownloadActionCompleted()
1128 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in allowMmsAutoRetrieve() local1129 if ((autoRetrieveInRoaming && phoneUtils.isDataRoamingEnabled()) in allowMmsAutoRetrieve()1130 || !phoneUtils.isRoaming()) { in allowMmsAutoRetrieve()2029 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in isMmsDataAvailable() local2030 return !phoneUtils.isAirplaneModeOn() && phoneUtils.isMobileDataEnabled(); in isMmsDataAvailable()2038 final PhoneUtils phoneUtils = PhoneUtils.get(subId); in isSmsDataAvailable() local2039 return !phoneUtils.isAirplaneModeOn(); in isSmsDataAvailable()