/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | QnsImsManagerTest.java | 270 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 …]
|
D | QnsUtilsTest.java | 197 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()
|
D | QnsEventDispatcherTest.java | 417 when(mMockQnsImsManager.getWfcMode(false)).thenReturn(1, 2); in testNotifyImmediatelyDifferentWfcModes() 705 when(mMockQnsImsManager.getWfcMode(false)).thenReturn(QnsConstants.WIFI_PREF); in testLoadWfcSettingsWhenCreate()
|
D | AccessNetworkEvaluatorTest.java | 167 when(mMockQnsImsManager.getWfcMode(anyBoolean())) in stubQnsDefaultWfcSettings()
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/atoms/ |
D | AtomsQualifiedRatListChangedInfoTest.java | 234 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/ |
D | QnsEventDispatcher.java | 517 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()
|
D | QnsUtils.java | 222 public static int getWfcMode(QnsImsManager imsManager, boolean roaming) { in getWfcMode() method in QnsUtils 224 int wfcMode = imsManager.getWfcMode(roaming); in getWfcMode()
|
D | AccessNetworkEvaluator.java | 346 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()
|
D | QnsMetrics.java | 258 int wfcMode = getWfcMode(coverage, settingWfcMode, settingWfcRoamingMode); in procQualifiedRatListChanged() 923 private int getWfcMode(int coverage, int wfcMode, int wfcRoamingMode) { in getWfcMode() method in QnsMetrics
|
D | RestrictManager.java | 505 mWfcPreference = QnsUtils.getWfcMode(qnsComponents.getQnsImsManager(mSlotId), false); in RestrictManager() 506 mWfcRoamingPreference = QnsUtils.getWfcMode(qnsComponents.getQnsImsManager(mSlotId), true); in RestrictManager()
|
D | QnsImsManager.java | 1055 int getWfcMode(boolean roaming) { in getWfcMode() method in QnsImsManager
|
/packages/services/Telephony/src/com/android/phone/ |
D | ImsUtil.java | 89 imsManager.getWfcMode() == ImsConfig.WfcModeFeatureValueConstants.WIFI_ONLY; in isWfcModeWifiOnly()
|
D | CallFeaturesSetting.java | 520 int wfcMode = mImsMgr.getWfcMode(isRoaming && !useWfcHomeModeForRoaming); in updateVtWfc()
|
D | PhoneInterfaceManager.java | 5185 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/ |
D | WifiCallingSliceHelper.java | 231 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/ |
D | AtomsQualifiedRatListChangedInfo.java | 237 public int getWfcMode() { in getWfcMode() method in AtomsQualifiedRatListChangedInfo
|