Home
last modified time | relevance | path

Searched refs:POLICY_BAD (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsCarrierAnspSupportConfig.java20 import static com.android.telephony.qns.QnsConstants.POLICY_BAD;
1031 && thresholds[POLICY_BAD] != QnsCarrierConfigManager.QnsConfigArray.INVALID in validateAndAdjustThresholdArray()
1032 && thresholds[POLICY_GOOD] - thresholds[POLICY_BAD] < MIN_THRESHOLD_GAP) { in validateAndAdjustThresholdArray()
1033 if (thresholds[POLICY_GOOD] - thresholds[POLICY_BAD] < 0) { in validateAndAdjustThresholdArray()
1036 } else if (thresholds[POLICY_GOOD] - thresholds[POLICY_BAD] < MIN_THRESHOLD_GAP) { in validateAndAdjustThresholdArray()
1037 int currentGap = thresholds[POLICY_GOOD] - thresholds[POLICY_BAD]; in validateAndAdjustThresholdArray()
1043 adjust[POLICY_BAD]--; in validateAndAdjustThresholdArray()
1057 + thresholds[POLICY_BAD] in validateAndAdjustThresholdArray()
1059 + adjust[POLICY_BAD] in validateAndAdjustThresholdArray()
DQnsConstants.java128 static final int POLICY_BAD = 1; field in QnsConstants
134 POLICY_BAD,
DAccessNetworkSelectionPolicyBuilder.java528 static final int BAD = QnsConstants.POLICY_BAD;
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsCarrierConfigManagerTest.java43 import static com.android.telephony.qns.QnsConstants.POLICY_BAD;
1422 Assert.assertEquals(threshold[POLICY_BAD], -92); in testInvalidThresholdConfig()
1429 Assert.assertEquals(threshold[POLICY_BAD], KEY_DEFAULT_THRESHOLD_SSRSRP_BAD); in testInvalidThresholdConfig()
1436 Assert.assertEquals(threshold[POLICY_BAD], -15); in testInvalidThresholdConfig()
1442 Assert.assertEquals(threshold[POLICY_BAD], -91); in testInvalidThresholdConfig()