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