/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | AnspImsPreferModePolicyBuilderTest.java | 24 import static com.android.telephony.qns.QnsConstants.COVERAGE_ROAM; 82 CALL_TYPE_IDLE, CELL_PREF, COVERAGE_ROAM)); in testGetPolicyInMap_rove_in() 89 CALL_TYPE_VOICE, CELL_PREF, COVERAGE_ROAM)); in testGetPolicyInMap_rove_in() 96 CALL_TYPE_VIDEO, CELL_PREF, COVERAGE_ROAM)); in testGetPolicyInMap_rove_in() 154 CALL_TYPE_IDLE, CELL_PREF, COVERAGE_ROAM)); in testGetPolicyInMap_rove_out() 161 CALL_TYPE_VOICE, CELL_PREF, COVERAGE_ROAM)); in testGetPolicyInMap_rove_out() 168 CALL_TYPE_VIDEO, CELL_PREF, COVERAGE_ROAM)); in testGetPolicyInMap_rove_out()
|
D | AccessNetworkSelectionPolicyTest.java | 92 QnsConstants.COVERAGE_ROAM))); in testSatisfyPrecondition() 281 QnsConstants.COVERAGE_ROAM); in testGuardingPreconditionSatisfied() 307 QnsConstants.COVERAGE_ROAM, in testGuardingPreconditionEquals() 320 QnsConstants.COVERAGE_ROAM); in testGuardingPreconditionEquals()
|
D | QnsCarrierConfigManagerTest.java | 208 guardTimerEnabled = mConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_ROAM); in testIsHysteresisTimerEnabled() 219 guardTimerEnabled = mConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_ROAM); in testIsHysteresisTimerEnabled() 225 QnsConstants.COVERAGE_ROAM); in testIsHysteresisTimerEnabled() 233 QnsConstants.COVERAGE_ROAM); in testIsHysteresisTimerEnabled() 235 guardTimerEnabled = mConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_ROAM); in testIsHysteresisTimerEnabled() 1653 QnsConstants.COVERAGE_ROAM)); in testIsHandoverAllowedByPolicyWithTestBundle() 1730 assertTrue(mConfigManager.isMmtelCapabilityRequired(QnsConstants.COVERAGE_ROAM)); in testIsMmtelCapabilityRequiredWithDefaultValues() 1736 assertTrue(mConfigManager.isMmtelCapabilityRequired(QnsConstants.COVERAGE_ROAM)); in testIsMmtelCapabilityRequiredWithTestBundle() 1745 assertFalse(mConfigManager.isMmtelCapabilityRequired(QnsConstants.COVERAGE_ROAM)); in testIsMmtelCapabilityRequiredWithTestBundle() 1754 assertTrue(mConfigManager.isMmtelCapabilityRequired(QnsConstants.COVERAGE_ROAM)); in testIsMmtelCapabilityRequiredWithTestBundle() [all …]
|
D | AccessNetworkSelectionPolicyBuilderTest.java | 68 static final int ROAM = QnsConstants.COVERAGE_ROAM; 523 QnsConstants.COVERAGE_ROAM, in testAddThresholdGroup_RoveIn() 711 QnsConstants.COVERAGE_ROAM, in testAddThresholdGroup_RoveOut()
|
D | AccessNetworkEvaluatorTest.java | 286 QnsConstants.COVERAGE_ROAM)) in testMoveTransportTypeAllowed() 417 when(mMockQnsConfigManager.isMmtelCapabilityRequired(QnsConstants.COVERAGE_ROAM)) in testVopsCheckRequired() 429 QnsConstants.COVERAGE_ROAM, in testVopsCheckRequired() 453 QnsConstants.COVERAGE_ROAM, in testVopsCheckRequired() 776 assertEquals(QnsConstants.COVERAGE_ROAM, mAne.getCoverage(infoIms)); in testGetCoverage() 1427 setObject(AccessNetworkEvaluator.class, "mCoverage", mAne, QnsConstants.COVERAGE_ROAM); in testIsAllowed_WWAN()
|
D | RestrictManagerTest.java | 2430 mRestrictManager.setCellularCoverage(QnsConstants.COVERAGE_ROAM); in testRestrictNonPreferredTransportOnBootUpWithWfcModeChangedEvents() 2518 setupGuardTimerHysteresisOnPrefSupportedWithCoverage(16, QnsConstants.COVERAGE_ROAM); in testGuardTimerHysteresisOnPrefWithWifiPrefInRoam() 2525 setupGuardTimerHysteresisOnPrefSupportedWithCoverage(15, QnsConstants.COVERAGE_ROAM); in testGuardTimerHysteresisOnPrefWithCellPrefInRoam() 2794 when(mMockQnsConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_ROAM)) in testRestrictMinimumHysteresisTimer() 2828 when(mMockQnsConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_ROAM)) in testRestrictMinimumHysteresisTimer() 2862 when(mMockQnsConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_ROAM)) in testRestrictMinimumHysteresisTimer() 2867 mRestrictManager.setCellularCoverage(QnsConstants.COVERAGE_ROAM); in testRestrictMinimumHysteresisTimer()
|
D | QnsConstantsTest.java | 53 coverage_str = QnsConstants.coverageToString(QnsConstants.COVERAGE_ROAM); in testCoverageToString()
|
D | QnsMetricsTest.java | 337 QnsConstants.COVERAGE_ROAM, in testAtomsQualifiedRatListChangedInfo()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsConstants.java | 70 static final int COVERAGE_ROAM = 1; field in QnsConstants 73 @IntDef(value = {COVERAGE_HOME, COVERAGE_ROAM, COVERAGE_BOTH}) 232 case COVERAGE_ROAM: in coverageToString()
|
D | AccessNetworkEvaluator.java | 535 return QnsConstants.COVERAGE_ROAM; in getCoverage() 562 roaming ? QnsConstants.COVERAGE_ROAM : QnsConstants.COVERAGE_HOME)); in onWfcEnabledChanged() 572 if (mCoverage == QnsConstants.COVERAGE_ROAM) { in onWfcEnabledChanged() 598 roaming ? QnsConstants.COVERAGE_ROAM : QnsConstants.COVERAGE_HOME)); in onWfcModeChanged() 608 if (mCoverage == QnsConstants.COVERAGE_ROAM) { in onWfcModeChanged() 1012 if ((mCoverage == QnsConstants.COVERAGE_ROAM in isWfcEnabled() 1037 boolean roaming = (mCoverage == QnsConstants.COVERAGE_ROAM); in validateWfcSettingsAndUpdate() 1713 if (mCoverage == QnsConstants.COVERAGE_ROAM) { in getPreferredMode()
|
D | RestrictManager.java | 288 onWfcModeChanged(QnsConstants.WIFI_ONLY, QnsConstants.COVERAGE_ROAM); in handleMessage() 292 onWfcModeChanged(QnsConstants.CELL_PREF, QnsConstants.COVERAGE_ROAM); in handleMessage() 296 onWfcModeChanged(QnsConstants.WIFI_PREF, QnsConstants.COVERAGE_ROAM); in handleMessage() 558 } else if (coverage == QnsConstants.COVERAGE_ROAM) { in onWfcModeChanged() 612 if (mCellularCoverage == QnsConstants.COVERAGE_ROAM) { in getPreferredTransportType() 1533 if (mCellularCoverage == QnsConstants.COVERAGE_ROAM) { in getGuardingTimeMillis()
|
D | AccessNetworkSelectionPolicyBuilder.java | 50 static final int ROAM = QnsConstants.COVERAGE_ROAM; 88 && preCondition.getCoverage() == QnsConstants.COVERAGE_ROAM) { in getPolicy()
|
D | QnsTelephonyListener.java | 546 mCoverage = QnsConstants.COVERAGE_ROAM; in onServiceStateChanged() 549 newInfo.setCoverage(mCoverage == QnsConstants.COVERAGE_ROAM); in onServiceStateChanged()
|
D | QnsCarrierConfigManager.java | 1728 && coverage == QnsConstants.COVERAGE_ROAM)) { in isMmtelCapabilityRequired() 1741 if (coverage == QnsConstants.COVERAGE_ROAM) { in isVolteRoamingSupported() 1776 if (rule.mIsOnlyForRoaming && coverage != QnsConstants.COVERAGE_ROAM) continue; in isHandoverAllowedByPolicy()
|