Home
last modified time | relevance | path

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

/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsCarrierAnspSupportConfig.java21 import static com.android.telephony.qns.QnsConstants.POLICY_GOOD;
1030 if (thresholds[POLICY_GOOD] != 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()
1041 adjust[POLICY_GOOD]++; in validateAndAdjustThresholdArray()
1052 + thresholds[POLICY_GOOD] in validateAndAdjustThresholdArray()
1054 + adjust[POLICY_GOOD] in validateAndAdjustThresholdArray()
DQnsConstants.java127 static final int POLICY_GOOD = 0; field in QnsConstants
133 POLICY_GOOD,
DAccessNetworkSelectionPolicyBuilder.java527 static final int GOOD = QnsConstants.POLICY_GOOD;
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsCarrierConfigManagerTest.java44 import static com.android.telephony.qns.QnsConstants.POLICY_GOOD;
1421 Assert.assertEquals(threshold[POLICY_GOOD], -89); in testInvalidThresholdConfig()
1428 Assert.assertEquals(threshold[POLICY_GOOD], KEY_DEFAULT_THRESHOLD_SSRSRP_GOOD); in testInvalidThresholdConfig()
1435 Assert.assertEquals(threshold[POLICY_GOOD], -11); in testInvalidThresholdConfig()
1441 Assert.assertEquals(threshold[POLICY_GOOD], -88); in testInvalidThresholdConfig()