Searched refs:QnsConfigArray (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | AccessNetworkSelectionPolicyBuilderTest.java | 40 import com.android.telephony.qns.QnsCarrierConfigManager.QnsConfigArray; 75 private HashMap<String, QnsConfigArray> mTestConfigsMap = 86 new QnsConfigArray(-100, -115, -120)); 95 new QnsConfigArray(-10, -15, -20)); 104 new QnsConfigArray(-75, -85)); 113 new QnsConfigArray(-102, -117, -122)); 122 new QnsConfigArray(-95, -110, -115)); 131 new QnsConfigArray(-76, -86)); 140 new QnsConfigArray(-92, -102, -112)); 149 new QnsConfigArray(-103, -118, -123)); [all …]
|
D | QnsUtilsTest.java | 920 QnsCarrierConfigManager.QnsConfigArray.INVALID in testGetDefaultValueForKey() 930 QnsCarrierConfigManager.QnsConfigArray.INVALID in testGetDefaultValueForKey() 940 QnsCarrierConfigManager.QnsConfigArray.INVALID in testGetDefaultValueForKey() 950 QnsCarrierConfigManager.QnsConfigArray.INVALID in testGetDefaultValueForKey() 960 QnsCarrierConfigManager.QnsConfigArray.INVALID in testGetDefaultValueForKey() 970 QnsCarrierConfigManager.QnsConfigArray.INVALID in testGetDefaultValueForKey() 980 QnsCarrierConfigManager.QnsConfigArray.INVALID in testGetDefaultValueForKey() 990 QnsCarrierConfigManager.QnsConfigArray.INVALID in testGetDefaultValueForKey() 1000 QnsCarrierConfigManager.QnsConfigArray.INVALID in testGetDefaultValueForKey() 1010 QnsCarrierConfigManager.QnsConfigArray.INVALID in testGetDefaultValueForKey() [all …]
|
D | QnsCarrierConfigManagerTest.java | 1171 QnsCarrierConfigManager.QnsConfigArray threshold = in loadAndValidateArrayForNull() 1181 QnsCarrierConfigManager.QnsConfigArray threshold = in loadAndValidateForThresholds() 1232 QnsCarrierConfigManager.QnsConfigArray thresholdByPref = in loadAndValidateArrayForNullWithPref() 1242 QnsCarrierConfigManager.QnsConfigArray threshold = in loadAndValidateArrayForInvalidValueWithPref() 1405 new int[] {-90, -92, QnsCarrierConfigManager.QnsConfigArray.INVALID}); in testInvalidThresholdConfig() 1408 new int[] {-97, -90, QnsCarrierConfigManager.QnsConfigArray.INVALID}); in testInvalidThresholdConfig() 1424 threshold[POLICY_TOLERABLE], QnsCarrierConfigManager.QnsConfigArray.INVALID); in testInvalidThresholdConfig() 1431 threshold[POLICY_TOLERABLE], QnsCarrierConfigManager.QnsConfigArray.INVALID); in testInvalidThresholdConfig() 1452 QnsCarrierConfigManager.QnsConfigArray threshold = in loadAndValidateForThresholdsByPref() 1461 QnsCarrierConfigManager.QnsConfigArray threshold, in validateForThreshold() [all …]
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsCarrierConfigManager.java | 794 private QnsConfigArray applyProvisioningInfo( in applyProvisioningInfo() 795 QnsConfigArray thresholds, int accessNetwork, int measurementType, int callType) { in applyProvisioningInfo() 798 && thresholds.mBad != QnsConfigArray.INVALID in applyProvisioningInfo() 806 && thresholds.mWorst != QnsConfigArray.INVALID in applyProvisioningInfo() 815 && thresholds.mGood != QnsConfigArray.INVALID in applyProvisioningInfo() 823 && thresholds.mGood != QnsConfigArray.INVALID in applyProvisioningInfo() 832 && thresholds.mBad != QnsConfigArray.INVALID in applyProvisioningInfo() 2165 QnsConfigArray getThreshold( in getThreshold() 2195 return new QnsConfigArray(thresholdList[0], thresholdList[1]); in getThreshold() 2197 return new QnsConfigArray(thresholdList[0], thresholdList[1], thresholdList[2]); in getThreshold() [all …]
|
D | AccessNetworkSelectionPolicyBuilder.java | 25 import com.android.telephony.qns.QnsCarrierConfigManager.QnsConfigArray; 418 return getThreshold(anspItem, preCondition) != QnsConfigArray.INVALID; in hasThreshold() 426 return QnsConfigArray.INVALID; in getThreshold() 428 QnsConfigArray thresholds = in getThreshold() 435 return QnsConfigArray.INVALID; in getThreshold() 443 if (thresholds.mWorst != QnsConfigArray.INVALID) { in getThreshold() 448 return QnsConfigArray.INVALID; in getThreshold() 467 QnsConfigArray threshold = in makeThresholdsWifiWithoutCellular() 472 if (threshold.mGood != QnsConfigArray.INVALID && direction == QnsConstants.ROVE_IN) { in makeThresholdsWifiWithoutCellular() 481 if (threshold.mBad != QnsConfigArray.INVALID && direction == QnsConstants.ROVE_OUT) { in makeThresholdsWifiWithoutCellular()
|
D | QnsUtils.java | 688 QnsCarrierConfigManager.QnsConfigArray.INVALID in getDefaultValueForKey() 697 QnsCarrierConfigManager.QnsConfigArray.INVALID in getDefaultValueForKey() 706 QnsCarrierConfigManager.QnsConfigArray.INVALID in getDefaultValueForKey() 715 QnsCarrierConfigManager.QnsConfigArray.INVALID in getDefaultValueForKey()
|
D | QnsCarrierAnspSupportConfig.java | 1030 if (thresholds[POLICY_GOOD] != QnsCarrierConfigManager.QnsConfigArray.INVALID in validateAndAdjustThresholdArray() 1031 && thresholds[POLICY_BAD] != QnsCarrierConfigManager.QnsConfigArray.INVALID in validateAndAdjustThresholdArray()
|