Home
last modified time | relevance | path

Searched refs:isWfcEnabled (Results 1 – 10 of 10) sorted by relevance

/packages/services/Telephony/src/com/android/phone/
DImsUtil.java56 public static boolean isWfcEnabled(Context context) { in isWfcEnabled() method in ImsUtil
57 return isWfcEnabled(context, SubscriptionManager.getDefaultVoicePhoneId()); in isWfcEnabled()
63 public static boolean isWfcEnabled(Context context, int phoneId) { in isWfcEnabled() method in ImsUtil
92 return isWfcEnabled(context, phoneId) && isWifiOnlyMode; in isWfcModeWifiOnly()
145 return ni.getType() == ConnectivityManager.TYPE_WIFI && !isWfcEnabled(context, in shouldPromoteWfc()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsEventDispatcher.java516 QnsUtils.isWfcEnabled(mQnsImsManager, mQnsProvisioningListener, false); in registerContentObserver()
519 QnsUtils.isWfcEnabled(mQnsImsManager, mQnsProvisioningListener, true); in registerContentObserver()
617 boolean isWfcEnabled = in notifyCurrentSetting()
618 QnsUtils.isWfcEnabled(mQnsImsManager, mQnsProvisioningListener, false); in notifyCurrentSetting()
619 if (mLastWfcEnabled != isWfcEnabled || bForceUpdate) { in notifyCurrentSetting()
620 if (isWfcEnabled) { in notifyCurrentSetting()
625 mLastWfcEnabled = isWfcEnabled; in notifyCurrentSetting()
626 sb.append(", isWfcEnabled:").append(isWfcEnabled); in notifyCurrentSetting()
651 QnsUtils.isWfcEnabled(mQnsImsManager, mQnsProvisioningListener, true); in notifyCurrentSetting()
DAccessNetworkEvaluator.java345 mSettingWfcEnabled = QnsUtils.isWfcEnabled(mQnsImsManager, mQnsProvisioningListener, false); in initSettings()
348 QnsUtils.isWfcEnabled(mQnsImsManager, mQnsProvisioningListener, true); in initSettings()
998 protected boolean isWfcEnabled() { in isWfcEnabled() method in AccessNetworkEvaluator
1039 QnsUtils.isWfcEnabled(mQnsImsManager, mQnsProvisioningListener, roaming); in validateWfcSettingsAndUpdate()
1083 boolean isWfcEnabled = isWfcEnabled(); in isAllowed()
1084 sb.append(" isWfcEnabled:").append(isWfcEnabled); in isAllowed()
1085 if (!isWfcEnabled) { in isAllowed()
DQnsUtils.java167 public static boolean isWfcEnabled( in isWfcEnabled() method in QnsUtils
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSub.java123 boolean isWfcEnabled = false; in onCallStateChanged()
129 isWfcEnabled = prefSwitch.isChecked(); in onCallStateChanged()
135 if (isWfcEnabled || isCallStateIdle) { in onCallStateChanged()
141 isWfcEnabled = isWfcEnabled && isNonTtyOrTtyOnVolteEnabled; in onCallStateChanged()
147 if (isWfcEnabled && isCallStateIdle) { in onCallStateChanged()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsUtilsTest.java149 QnsUtils.isWfcEnabled( in testIsWfcEnabled_Home()
152 QnsUtils.isWfcEnabled( in testIsWfcEnabled_Home()
157 QnsUtils.isWfcEnabled( in testIsWfcEnabled_Home()
162 QnsUtils.isWfcEnabled( in testIsWfcEnabled_Home()
178 QnsUtils.isWfcEnabled( in testIsWfcEnabled_Roaming()
181 QnsUtils.isWfcEnabled( in testIsWfcEnabled_Roaming()
184 QnsUtils.isWfcEnabled( in testIsWfcEnabled_Roaming()
189 QnsUtils.isWfcEnabled( in testIsWfcEnabled_Roaming()
DAccessNetworkEvaluatorTest.java558 assertTrue(mAne.isWfcEnabled()); in testOnTryWfcConnectionStateChanged()
567 assertFalse(mAne.isWfcEnabled()); in testOnTryWfcConnectionStateChanged()
1556 assertFalse(mAne.isWfcEnabled()); in testValidateWfcSettingsAndUpdate()
1560 assertTrue(mAne.isWfcEnabled()); in testValidateWfcSettingsAndUpdate()
1574 assertFalse(mAne.isWfcEnabled()); in testValidateWfcSettingsAndUpdate()
1579 assertTrue(mAne.isWfcEnabled()); in testValidateWfcSettingsAndUpdate()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTestTelephonyConnection.java276 boolean isWfcEnabled(Phone phone) { in isWfcEnabled() method in TestTelephonyConnection
/packages/services/Telephony/src/com/android/services/telephony/
DDisconnectCauseUtil.java752 } else if (ImsUtil.isWfcEnabled(context, phoneId)) { in toTelecomDisconnectCauseDescription()
789 } else if (ImsUtil.isWfcEnabled(context, phoneId)) { in toTelecomDisconnectCauseDescription()
DTelephonyConnection.java1892 isVowifiEnabled = isWfcEnabled(phone); in shouldSetDisableAddCallExtra()
3143 isVoWifiEnabled = isWfcEnabled(phone); in refreshConferenceSupported()
3212 boolean isWfcEnabled(Phone phone) { in isWfcEnabled() method in TelephonyConnection
3213 return ImsUtil.isWfcEnabled(phone.getContext(), phone.getPhoneId()); in isWfcEnabled()