Home
last modified time | relevance | path

Searched refs:getMeasurementType (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DThresholdGroup.java81 if (th.getMeasurementType() == QnsConstants.SIGNAL_MEASUREMENT_AVAILABILITY) { in satisfy()
101 int cq = monitor.getCurrentQuality(th.getAccessNetwork(), th.getMeasurementType()); in satisfy()
119 if (th.getMeasurementType() == QnsConstants.SIGNAL_MEASUREMENT_AVAILABILITY) { in findUnmatchedThresholds()
125 int cq = monitor.getCurrentQuality(th.getAccessNetwork(), th.getMeasurementType()); in findUnmatchedThresholds()
144 if (th.getMeasurementType() == SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_RSSI in hasWifiThresholdWithoutCellularCondition()
148 if (th.getMeasurementType() == QnsConstants.SIGNAL_MEASUREMENT_AVAILABILITY in hasWifiThresholdWithoutCellularCondition()
DAccessNetworkSelectionPolicyBuilder.java406 anspItem.getAccessNetwork(), anspItem.getMeasurementType()); in makeThreshold()
411 anspItem.getMeasurementType(), in makeThreshold()
422 if (anspItem.getMeasurementType() == AVAILABILITY) { in getThreshold()
432 anspItem.getMeasurementType(), in getThreshold()
721 int getMeasurementType() { in getMeasurementType() method in AccessNetworkSelectionPolicyBuilder.AnspItem
DCellularQualityMonitor.java191 th.getAccessNetwork(), th.getMeasurementType(), cellSignalStrength); in checkAndNotifySignalStrength()
351 String key = th.getAccessNetwork() + "_" + th.getMeasurementType(); in updateThresholdsMatrix()
469 if (!isValidThreshold(threshold.getMeasurementType(), threshold.getThreshold())) { in validateThresholdList()
DThreshold.java98 int getMeasurementType() { in getMeasurementType() method in Threshold
DWifiQualityMonitor.java216 if (t.getMeasurementType() == SignalThresholdInfo.SIGNAL_MEASUREMENT_TYPE_RSSI) { in checkForThresholdRegistration()
DAccessNetworkEvaluator.java1629 int key = th.getAccessNetwork() << 16 | th.getMeasurementType(); in updateQualityMonitor()
1645 if (type == (th.getAccessNetwork() << 16 | th.getMeasurementType())) { in updateQualityMonitor()
1663 | threshold.getMeasurementType())); in updateQualityMonitor()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DThresholdTest.java90 Assert.assertEquals(mMeasurementType, mThreshold.getMeasurementType()); in testGetMeasurementType()
97 Assert.assertEquals(set_measurement, mThreshold.getMeasurementType()); in testSetMeasurementType()
DAccessNetworkSelectionPolicyBuilderTest.java743 assertEquals(QnsConstants.SIGNAL_MEASUREMENT_AVAILABILITY, threshold.getMeasurementType()); in verifyUnavailableThreshold()