/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | AnspImsPreferModePolicyBuilderTest.java | 23 import static com.android.telephony.qns.QnsConstants.COVERAGE_HOME; 61 CALL_TYPE_IDLE, WIFI_PREF, COVERAGE_HOME)); in testGetPolicyInMap_rove_in() 68 CALL_TYPE_VOICE, WIFI_PREF, COVERAGE_HOME)); in testGetPolicyInMap_rove_in() 75 CALL_TYPE_VIDEO, WIFI_PREF, COVERAGE_HOME)); in testGetPolicyInMap_rove_in() 103 CALL_TYPE_IDLE, CELL_PREF, COVERAGE_HOME)); in testGetPolicyInMap_rove_in() 112 CALL_TYPE_VOICE, CELL_PREF, COVERAGE_HOME)); in testGetPolicyInMap_rove_in() 121 CALL_TYPE_VIDEO, CELL_PREF, COVERAGE_HOME)); in testGetPolicyInMap_rove_in() 133 CALL_TYPE_IDLE, WIFI_PREF, COVERAGE_HOME)); in testGetPolicyInMap_rove_out() 140 CALL_TYPE_VOICE, WIFI_PREF, COVERAGE_HOME)); in testGetPolicyInMap_rove_out() 147 CALL_TYPE_VIDEO, WIFI_PREF, COVERAGE_HOME)); in testGetPolicyInMap_rove_out() [all …]
|
D | AccessNetworkSelectionPolicyTest.java | 51 QnsConstants.COVERAGE_HOME); 80 QnsConstants.COVERAGE_HOME))); in testSatisfyPrecondition() 86 QnsConstants.COVERAGE_HOME))); in testSatisfyPrecondition() 98 QnsConstants.COVERAGE_HOME))); in testSatisfyPrecondition() 104 QnsConstants.COVERAGE_HOME))); in testSatisfyPrecondition() 253 QnsConstants.COVERAGE_HOME, in testGuardingPreconditionSatisfied() 260 QnsConstants.COVERAGE_HOME); in testGuardingPreconditionSatisfied() 267 QnsConstants.COVERAGE_HOME); in testGuardingPreconditionSatisfied() 274 QnsConstants.COVERAGE_HOME); in testGuardingPreconditionSatisfied() 288 QnsConstants.COVERAGE_HOME, in testGuardingPreconditionSatisfied() [all …]
|
D | QnsCarrierConfigManagerTest.java | 206 guardTimerEnabled = mConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_HOME); in testIsHysteresisTimerEnabled() 217 QnsConstants.COVERAGE_HOME); in testIsHysteresisTimerEnabled() 227 guardTimerEnabled = mConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_HOME); in testIsHysteresisTimerEnabled() 241 QnsConstants.COVERAGE_HOME); in testIsHysteresisTimerEnabled() 243 guardTimerEnabled = mConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_HOME); in testIsHysteresisTimerEnabled() 871 QnsConstants.COVERAGE_HOME, in testGetPolicyInternalApi() 1587 QnsConstants.COVERAGE_HOME)); in testIsHandoverAllowedByPolicyWithTestBundle() 1593 QnsConstants.COVERAGE_HOME)); in testIsHandoverAllowedByPolicyWithTestBundle() 1599 QnsConstants.COVERAGE_HOME)); in testIsHandoverAllowedByPolicyWithTestBundle() 1605 QnsConstants.COVERAGE_HOME)); in testIsHandoverAllowedByPolicyWithTestBundle() [all …]
|
D | RestrictManagerTest.java | 406 when(mMockQnsConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_HOME)) in testGuardingWithHandoverComplete() 411 mRestrictManager.setCellularCoverage(QnsConstants.COVERAGE_HOME); in testGuardingWithHandoverComplete() 562 when(mMockQnsConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_HOME)) in testWlanOnLowRtpQualityEvent() 576 mRestrictManager.setCellularCoverage(QnsConstants.COVERAGE_HOME); in testWlanOnLowRtpQualityEvent() 619 when(mMockQnsConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_HOME)) in testWwanOnLowRtpQualityEvent() 630 mRestrictManager.setCellularCoverage(QnsConstants.COVERAGE_HOME); in testWwanOnLowRtpQualityEvent() 665 when(mMockQnsConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_HOME)) in testHandoverToTransportTypeRestrictedByLowRtpQualityEvent() 676 mRestrictManager.setCellularCoverage(QnsConstants.COVERAGE_HOME); in testHandoverToTransportTypeRestrictedByLowRtpQualityEvent() 720 when(mMockQnsConfigManager.isHysteresisTimerEnabled(QnsConstants.COVERAGE_HOME)) in testLowRtpQualityEventOnBothTransport() 737 mRestrictManager.setCellularCoverage(QnsConstants.COVERAGE_HOME); in testLowRtpQualityEventOnBothTransport() [all …]
|
D | AccessNetworkSelectionPolicyBuilderTest.java | 67 static final int HOME = QnsConstants.COVERAGE_HOME; 448 QnsConstants.COVERAGE_HOME)); in testAddThresholdGroup_RoveIn() 479 QnsConstants.COVERAGE_HOME)); in testAddThresholdGroup_RoveIn() 555 QnsConstants.COVERAGE_HOME, in testAddThresholdGroup_RoveIn() 599 QnsConstants.COVERAGE_HOME)); in testAddThresholdGroup_RoveIn() 618 QnsConstants.COVERAGE_HOME)); in testAddThresholdGroup_RoveIn() 642 QnsConstants.COVERAGE_HOME)); in testAddThresholdGroup_RoveOut() 673 QnsConstants.COVERAGE_HOME)); in testAddThresholdGroup_RoveOut() 759 QnsConstants.COVERAGE_HOME)); in testMakeThresholdsWifiWithoutCellular() 768 QnsConstants.COVERAGE_HOME)); in testMakeThresholdsWifiWithoutCellular() [all …]
|
D | AccessNetworkEvaluatorTest.java | 280 QnsConstants.COVERAGE_HOME)) in testMoveTransportTypeAllowed() 342 QnsConstants.COVERAGE_HOME)) in testMoveTransportTypeAllowedEmergencyOverIms() 348 QnsConstants.COVERAGE_HOME)) in testMoveTransportTypeAllowedEmergencyOverIms() 377 QnsConstants.COVERAGE_HOME)) in testMoveTransportTypeAllowedEmergencyOverIms() 415 when(mMockQnsConfigManager.isMmtelCapabilityRequired(QnsConstants.COVERAGE_HOME)) in testVopsCheckRequired() 424 QnsConstants.COVERAGE_HOME, in testVopsCheckRequired() 436 QnsConstants.COVERAGE_HOME, in testVopsCheckRequired() 443 QnsConstants.COVERAGE_HOME, in testVopsCheckRequired() 448 QnsConstants.COVERAGE_HOME, in testVopsCheckRequired() 779 assertEquals(QnsConstants.COVERAGE_HOME, mAne.getCoverage(infoIms)); in testGetCoverage() [all …]
|
D | QnsMetricsTest.java | 112 QnsConstants.COVERAGE_HOME, in sendQualifiedNetworksMessage() 319 QnsConstants.COVERAGE_HOME, in testAtomsQualifiedRatListChangedInfo()
|
D | QnsConstantsTest.java | 51 coverage_str = QnsConstants.coverageToString(QnsConstants.COVERAGE_HOME); in testCoverageToString()
|
D | QnsUtilsTest.java | 418 QnsConstants.COVERAGE_HOME, in testGetConfig() 610 QnsConstants.COVERAGE_HOME); in createTestBundle()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsConstants.java | 69 static final int COVERAGE_HOME = 0; field in QnsConstants 73 @IntDef(value = {COVERAGE_HOME, COVERAGE_ROAM, COVERAGE_BOTH}) 230 case COVERAGE_HOME: in coverageToString()
|
D | AccessNetworkEvaluator.java | 537 return QnsConstants.COVERAGE_HOME; in getCoverage() 562 roaming ? QnsConstants.COVERAGE_ROAM : QnsConstants.COVERAGE_HOME)); in onWfcEnabledChanged() 566 if (mCoverage == QnsConstants.COVERAGE_HOME) { in onWfcEnabledChanged() 598 roaming ? QnsConstants.COVERAGE_ROAM : QnsConstants.COVERAGE_HOME)); in onWfcModeChanged() 602 if (mCoverage == QnsConstants.COVERAGE_HOME) { in onWfcModeChanged() 1009 if (mCoverage == QnsConstants.COVERAGE_HOME && mSettingWfcEnabled) { in isWfcEnabled() 1164 && (!mCellularAvailable || mCoverage != QnsConstants.COVERAGE_HOME)) { in isAllowed()
|
D | RestrictManager.java | 277 onWfcModeChanged(QnsConstants.WIFI_ONLY, QnsConstants.COVERAGE_HOME); in handleMessage() 280 onWfcModeChanged(QnsConstants.CELL_PREF, QnsConstants.COVERAGE_HOME); in handleMessage() 284 onWfcModeChanged(QnsConstants.WIFI_PREF, QnsConstants.COVERAGE_HOME); in handleMessage() 556 if (coverage == QnsConstants.COVERAGE_HOME) { in onWfcModeChanged() 997 mCellularCoverage == QnsConstants.COVERAGE_HOME in onImsRegistrationStateChanged()
|
D | QnsMetrics.java | 920 return coverage == QnsConstants.COVERAGE_HOME ? wfcEnabled : wfcRoamingEnabled; in getWfcEnabled() 924 return coverage == QnsConstants.COVERAGE_HOME ? wfcMode : wfcRoamingMode; in getWfcMode()
|
D | AccessNetworkSelectionPolicyBuilder.java | 49 static final int HOME = QnsConstants.COVERAGE_HOME;
|
D | QnsTelephonyListener.java | 544 mCoverage = QnsConstants.COVERAGE_HOME; in onServiceStateChanged()
|
D | QnsCarrierConfigManager.java | 1726 && coverage == QnsConstants.COVERAGE_HOME) in isMmtelCapabilityRequired()
|