Home
last modified time | relevance | path

Searched refs:getWfcMode (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsImsManagerTest.java270 assertEquals(0, mQnsImsMgr.getWfcMode(false)); in testQnsImsManagerGetWfcMode()
273 assertEquals(1, mQnsImsMgr.getWfcMode(false)); in testQnsImsManagerGetWfcMode()
276 assertEquals(2, mQnsImsMgr.getWfcMode(false)); in testQnsImsManagerGetWfcMode()
282 assertEquals(0, mQnsImsMgr.getWfcMode(true)); in testQnsImsManagerGetWfcRoamingMode()
285 assertEquals(1, mQnsImsMgr.getWfcMode(true)); in testQnsImsManagerGetWfcRoamingMode()
288 assertEquals(2, mQnsImsMgr.getWfcMode(true)); in testQnsImsManagerGetWfcRoamingMode()
301 assertEquals(0, mQnsImsMgr.getWfcMode(false)); in testQnsImsManagerGetWfcModeFromCarrierConfig()
305 assertEquals(1, mQnsImsMgr.getWfcMode(false)); in testQnsImsManagerGetWfcModeFromCarrierConfig()
309 assertEquals(2, mQnsImsMgr.getWfcMode(false)); in testQnsImsManagerGetWfcModeFromCarrierConfig()
322 assertEquals(0, mQnsImsMgr.getWfcMode(true)); in testQnsImsManagerGetWfcRoamingModeFromCarrierConfig()
[all …]
DQnsUtilsTest.java197 when(mMockQnsImsManager.getWfcMode(true)).thenReturn(0, 1, 2); in testGetWfcMode()
198 when(mMockQnsImsManager.getWfcMode(false)).thenReturn(0, 1, 2); in testGetWfcMode()
199 assertEquals(0, QnsUtils.getWfcMode(mMockQnsImsManager, true)); in testGetWfcMode()
200 assertEquals(1, QnsUtils.getWfcMode(mMockQnsImsManager, true)); in testGetWfcMode()
201 assertEquals(2, QnsUtils.getWfcMode(mMockQnsImsManager, true)); in testGetWfcMode()
202 assertEquals(0, QnsUtils.getWfcMode(mMockQnsImsManager, false)); in testGetWfcMode()
203 assertEquals(1, QnsUtils.getWfcMode(mMockQnsImsManager, false)); in testGetWfcMode()
204 assertEquals(2, QnsUtils.getWfcMode(mMockQnsImsManager, false)); in testGetWfcMode()
DQnsEventDispatcherTest.java417 when(mMockQnsImsManager.getWfcMode(false)).thenReturn(1, 2); in testNotifyImmediatelyDifferentWfcModes()
705 when(mMockQnsImsManager.getWfcMode(false)).thenReturn(QnsConstants.WIFI_PREF); in testLoadWfcSettingsWhenCreate()
DAccessNetworkEvaluatorTest.java167 when(mMockQnsImsManager.getWfcMode(anyBoolean())) in stubQnsDefaultWfcSettings()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/atoms/
DAtomsQualifiedRatListChangedInfoTest.java234 assertEquals(0, mInfoEmpty.getWfcMode()); in testGetSetWfcMode()
235 assertEquals(DEFAULT_WFC_MODE, mInfoDefault.getWfcMode()); in testGetSetWfcMode()
236 assertEquals(DEFAULT_WFC_MODE, mInfoCopy.getWfcMode()); in testGetSetWfcMode()
242 assertEquals(QnsProtoEnums.CELLULAR_PREFERRED, mInfoEmpty.getWfcMode()); in testGetSetWfcMode()
243 assertEquals(QnsProtoEnums.WIFI_ONLY, mInfoDefault.getWfcMode()); in testGetSetWfcMode()
244 assertEquals(QnsProtoEnums.WIFI_PREFERRED, mInfoCopy.getWfcMode()); in testGetSetWfcMode()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsEventDispatcher.java517 mLastWfcMode = QnsUtils.getWfcMode(mQnsImsManager, false); in registerContentObserver()
520 mLastWfcModeRoaming = QnsUtils.getWfcMode(mQnsImsManager, true); in registerContentObserver()
631 int wfcMode = QnsUtils.getWfcMode(mQnsImsManager, false); in notifyCurrentSetting()
664 int wfcModeRoaming = QnsUtils.getWfcMode(mQnsImsManager, true); in notifyCurrentSetting()
DQnsUtils.java222 public static int getWfcMode(QnsImsManager imsManager, boolean roaming) { in getWfcMode() method in QnsUtils
224 int wfcMode = imsManager.getWfcMode(roaming); in getWfcMode()
DAccessNetworkEvaluator.java346 mSettingWfcMode = QnsUtils.getWfcMode(mQnsImsManager, false); in initSettings()
349 mSettingWfcRoamingMode = QnsUtils.getWfcMode(mQnsImsManager, true); in initSettings()
1049 mSettingWfcRoamingMode = QnsUtils.getWfcMode(mQnsImsManager, true); in validateWfcSettingsAndUpdate()
1059 mSettingWfcMode = QnsUtils.getWfcMode(mQnsImsManager, false); in validateWfcSettingsAndUpdate()
DQnsMetrics.java258 int wfcMode = getWfcMode(coverage, settingWfcMode, settingWfcRoamingMode); in procQualifiedRatListChanged()
923 private int getWfcMode(int coverage, int wfcMode, int wfcRoamingMode) { in getWfcMode() method in QnsMetrics
DRestrictManager.java505 mWfcPreference = QnsUtils.getWfcMode(qnsComponents.getQnsImsManager(mSlotId), false); in RestrictManager()
506 mWfcRoamingPreference = QnsUtils.getWfcMode(qnsComponents.getQnsImsManager(mSlotId), true); in RestrictManager()
DQnsImsManager.java1055 int getWfcMode(boolean roaming) { in getWfcMode() method in QnsImsManager
/packages/services/Telephony/src/com/android/phone/
DImsUtil.java89 imsManager.getWfcMode() == ImsConfig.WfcModeFeatureValueConstants.WIFI_ONLY; in isWfcModeWifiOnly()
DCallFeaturesSetting.java520 int wfcMode = mImsMgr.getWfcMode(isRoaming && !useWfcHomeModeForRoaming); in updateVtWfc()
DPhoneInterfaceManager.java5185 return ImsManager.getInstance(mApp, slotId).getWfcMode(false /*isRoaming*/); in getVoWiFiModeSetting()
5225 return ImsManager.getInstance(mApp, slotId).getWfcMode(true /*isRoaming*/); in getVoWiFiRoamingModeSetting()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSliceHelper.java231 wfcMode = getWfcMode(imsMmTelManager); in createWifiCallingPreferenceSlice()
347 private int getWfcMode(ImsMmTelManager imsMmTelManager) in getWfcMode() method in WifiCallingSliceHelper
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/atoms/
DAtomsQualifiedRatListChangedInfo.java237 public int getWfcMode() { in getWfcMode() method in AtomsQualifiedRatListChangedInfo