Home
last modified time | relevance | path

Searched refs:Threshold (Results 1 – 22 of 22) sorted by relevance

/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DCellularQualityMonitorTest.java74 Threshold[] mTh1;
75 Threshold[] mTh2;
76 Threshold[] mTh3 = new Threshold[1];
77 Threshold[] mOutputThs;
89 public void onCellularThresholdChanged(Threshold[] thresholds) { in onCellularThresholdChanged()
110 new Threshold[] { in setUp()
111 new Threshold( in setUp()
117 new Threshold( in setUp()
125 new Threshold[] { in setUp()
126 new Threshold( in setUp()
[all …]
DThresholdTest.java31 private Threshold mThreshold;
42 new Threshold( in setUp()
53 Threshold t2 = mThreshold.copy(); in testCopy()
138 Threshold[] th = in testIsMultipleNetCapabilityTypeCheckCriteria()
139 new Threshold[] { in testIsMultipleNetCapabilityTypeCheckCriteria()
140 new Threshold( in testIsMultipleNetCapabilityTypeCheckCriteria()
146 new Threshold( in testIsMultipleNetCapabilityTypeCheckCriteria()
152 new Threshold( in testIsMultipleNetCapabilityTypeCheckCriteria()
165 Threshold[] th = in testIsMatching()
166 new Threshold[] { in testIsMatching()
[all …]
DWifiQualityMonitorTest.java65 private Threshold[] mRetThresholds;
66 Threshold[] mThs1 = new Threshold[1];
67 Threshold[] mThs2 = new Threshold[1];
68 Threshold[] mThs3 = new Threshold[1];
82 public void onWifiThresholdChanged(Threshold[] thresholds) { in onWifiThresholdChanged()
119 new Threshold( in testRegisterThresholdChange_RoveIn()
126 new Threshold( in testRegisterThresholdChange_RoveIn()
153 new Threshold( in testRegisterThresholdChange_RoveOut()
160 new Threshold( in testRegisterThresholdChange_RoveOut()
191 new Threshold( in testUpdateThresholdsForNetCapability_RoveIn_Add()
[all …]
DThresholdGroupTest.java43 private List<Threshold> mThresholdList;
51 new Threshold( in setUp()
58 new Threshold( in setUp()
65 new Threshold( in setUp()
105 new Threshold( in testSatisfiedByThreshold_WithThresholds()
112 new Threshold( in testSatisfiedByThreshold_WithThresholds()
119 new Threshold( in testSatisfiedByThreshold_WithThresholds()
159 new Threshold( in testSatisfiedByThreshold_WithSignalAvailability()
197 new Threshold( in testSatisfiedByThreshold_WithEutranAvailability()
204 new Threshold( in testSatisfiedByThreshold_WithEutranAvailability()
[all …]
DAccessNetworkSelectionPolicyTest.java52 List<Threshold> mThresholds = new ArrayList<>();
109 List<Threshold> ths = new ArrayList<>(); in testSatisfiedByThreshold_thresholdGroup()
111 new Threshold( in testSatisfiedByThreshold_thresholdGroup()
118 new Threshold( in testSatisfiedByThreshold_thresholdGroup()
191 List<Threshold> unmatched = ansp.findUnmatchedThresholds(mMockWifiQm, mMockCellularQm); in testFindUnmatchedThresholds()
197 List<Threshold> ths = new ArrayList<>(); in generateTestThresholdGroups()
199 new Threshold( in generateTestThresholdGroups()
206 new Threshold( in generateTestThresholdGroups()
213 new Threshold( in generateTestThresholdGroups()
223 new Threshold( in generateTestThresholdGroups()
[all …]
DAccessNetworkSelectionPolicyBuilderTest.java742 private void verifyUnavailableThreshold(Threshold threshold, int waitTime) { in verifyUnavailableThreshold()
753 List<Threshold> thsList = in testMakeThresholdsWifiWithoutCellular()
DAccessNetworkEvaluatorTest.java1238 List<Threshold> ths = new ArrayList<>(); in generateTestThresholdGroups()
1240 new Threshold( in generateTestThresholdGroups()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DThresholdGroup.java30 private final List<Threshold> mThresholds;
33 ThresholdGroup(List<Threshold> ths) { in ThresholdGroup()
39 private List<Threshold> alignGroupId(int groupId, List<Threshold> ths) { in alignGroupId()
43 ArrayList<Threshold> newList = new ArrayList<>(ths); in alignGroupId()
44 for (Threshold th : newList) { in alignGroupId()
60 for (Threshold th : mThresholds) { in satisfiedByThreshold()
79 private boolean satisfy(Threshold th, QualityMonitor monitor, boolean available, int an) { in satisfy()
111 List<Threshold> findUnmatchedThresholds( in findUnmatchedThresholds()
113 List<Threshold> tl = new ArrayList<>(); in findUnmatchedThresholds()
118 for (Threshold th : mThresholds) { in findUnmatchedThresholds()
[all …]
DThreshold.java29 class Threshold { class
40 Threshold(int accessNetwork, int measurementType, int threshold, int matchType, int waitTime) { in Threshold() method in Threshold
50 Threshold(Threshold t) { in Threshold() method in Threshold
60 private Threshold(int tid, int gid, Threshold t) { in Threshold() method in Threshold
70 Threshold copy() { in copy()
71 return new Threshold(mThresholdId, mGroupId, this); in copy()
147 if (!(o instanceof Threshold)) return false; in equals()
148 Threshold th = (Threshold) o; in equals()
238 boolean identicalThreshold(Threshold o) { in identicalThreshold()
DWifiQualityMonitor.java177 Threshold[] ths, in registerThresholdChange()
196 int netCapability, int slotIndex, Threshold[] ths) { in updateThresholdsForNetCapability()
202 protected void notifyThresholdChange(String key, Threshold[] ths) { in notifyThresholdChange()
214 for (Map.Entry<String, List<Threshold>> entry : mThresholdsList.entrySet()) { in checkForThresholdRegistration()
215 for (Threshold t : entry.getValue()) { in checkForThresholdRegistration()
245 for (Map.Entry<String, List<Threshold>> entry : mThresholdsList.entrySet()) { in validateForWifiBackhaul()
249 for (Threshold th : entry.getValue()) { in validateForWifiBackhaul()
258 private void handleMatchingThreshold(String key, Threshold th, int wifiRssi) { in handleMatchingThreshold()
281 for (Map.Entry<String, List<Threshold>> entry : mThresholdsList.entrySet()) { in validateThresholdsAfterBackHaul()
287 List<Threshold> thresholdsList = mThresholdsList.get(key); in checkAndNotifySignalStrength()
[all …]
DThresholdCallback.java34 void onWifiThresholdChanged(Threshold[] thresholds); in onWifiThresholdChanged()
38 void onCellularThresholdChanged(Threshold[] thresholds); in onCellularThresholdChanged()
51 public void onWifiThresholdChanged(Threshold[] thresholds) { in onWifiThresholdChanged()
62 public void onCellularThresholdChanged(Threshold[] thresholds) { in onCellularThresholdChanged()
DAccessNetworkSelectionPolicyBuilder.java260 List<Threshold> wifiWithoutThs = makeThresholdsWifiWithoutCellular(direction, preCondition); in makeThresholdGroups()
317 List<ThresholdGroup> thresholdGroups, List<Threshold> thresholds) { in addThresholdGroup()
350 Threshold wifiTh = makeThreshold(wifi, direction, preCondition); in addThresholdGroup()
351 Threshold cellTh = makeThreshold(cell, direction, preCondition); in addThresholdGroup()
357 Threshold cellTh = makeThreshold(cell, direction, preCondition); in addThresholdGroup()
361 Threshold wifiTh = makeThreshold(wifi, direction, preCondition); in addThresholdGroup()
370 List<Threshold> thresholdList = new ArrayList<>(); in addThresholdGroup()
372 Threshold wifiTh = makeThreshold(wifi, direction, preCondition); in addThresholdGroup()
379 Threshold cellTh = makeThreshold(cell, direction, preCondition); in addThresholdGroup()
395 private Threshold makeThreshold( in makeThreshold()
[all …]
DCellularQualityMonitor.java180 for (Map.Entry<String, List<Threshold>> entry : mThresholdsList.entrySet()) { in checkAndNotifySignalStrength()
186 List<Threshold> matchedThresholds = new ArrayList<>(); in checkAndNotifySignalStrength()
187 Threshold threshold; in checkAndNotifySignalStrength()
188 for (Threshold th : entry.getValue()) { in checkAndNotifySignalStrength()
199 notifyThresholdChange(entry.getKey(), matchedThresholds.toArray(new Threshold[0])); in checkAndNotifySignalStrength()
224 Threshold[] ths, in registerThresholdChange()
244 int netCapability, int slotIndex, Threshold[] ths) { in updateThresholdsForNetCapability()
258 protected void notifyThresholdChange(String key, Threshold[] ths) { in notifyThresholdChange()
334 private void updateThresholdsMatrix(int netCapability, Threshold[] ths) { in updateThresholdsMatrix()
350 for (Threshold th : ths) { in updateThresholdsMatrix()
[all …]
DQualityMonitor.java42 protected final ConcurrentHashMap<String, List<Threshold>> mThresholdsList =
58 Threshold[] ths, in registerThresholdChange()
82 void updateThresholdsForNetCapability(int netCapability, int slotIndex, Threshold[] ths) { in updateThresholdsForNetCapability()
101 protected abstract void notifyThresholdChange(String key, Threshold[] ths); in notifyThresholdChange()
DAccessNetworkSelectionPolicy.java92 List<Threshold> findUnmatchedThresholds( in findUnmatchedThresholds()
109 List<Threshold> thList = in satisfiedWithWifiLowSignalStrength()
113 for (Threshold th : thList) { in satisfiedWithWifiLowSignalStrength()
259 protected List<Threshold> findUnmatchedThresholds( in findUnmatchedThresholds()
261 List<Threshold> unmatchedThresholds = new ArrayList<>(); in findUnmatchedThresholds()
DIThresholdListener.java27 void onWifiThresholdChanged(Threshold[] thresholds); in onWifiThresholdChanged()
33 void onCellularThresholdChanged(Threshold[] thresholds); in onCellularThresholdChanged()
DAccessNetworkEvaluator.java968 protected void onCellularQualityChanged(Threshold[] ths) { in onCellularQualityChanged()
978 protected void onWiFiQualityChanged(Threshold[] ths) { in onWiFiQualityChanged()
1572 private List<Threshold> findUnmatchedThresholds() { in findUnmatchedThresholds()
1573 List<Threshold> unmatchedThresholds = new ArrayList<>(); in findUnmatchedThresholds()
1583 List<Threshold> policyUnmatchedThresholds = in findUnmatchedThresholds()
1588 for (Threshold threshold : policyUnmatchedThresholds) { in findUnmatchedThresholds()
1612 List<Threshold> unmatchedThresholds = findUnmatchedThresholds(); in updateQualityMonitor()
1624 for (Threshold th : unmatchedThresholds) { in updateQualityMonitor()
1644 for (Threshold th : unmatchedThresholds) { in updateQualityMonitor()
1675 private void registerThresholdsToQualityMonitor(List<Threshold> thresholds) { in registerThresholdsToQualityMonitor()
[all …]
/packages/services/Car/service/proto/android/car/watchdog/
Datoms.proto95 // Threshold and usage stats period.
98 // Threshold in-terms of write bytes defined for the package.
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto2333 // Threshold of Tx throughput below which to trigger a data stall
2337 // Threshold of Rx throughput below which to trigger a data stall
2341 // Threshold of Tx packet error rate above which to trigger a data stall
2345 // Threshold of CCA level above which to trigger a data stall in percentage
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz