Home
last modified time | relevance | path

Searched refs:ths (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DThresholdGroupTest.java341 List<Threshold> ths = new ArrayList<>(mThresholdList); in testIdenticalThreshold() local
342 assertTrue(mThresholdGroup.identicalThreshold(ths)); in testIdenticalThreshold()
344 ths.remove(0); in testIdenticalThreshold()
345 assertFalse(mThresholdGroup.identicalThreshold(ths)); in testIdenticalThreshold()
347 ths.clear(); in testIdenticalThreshold()
348 ths.addAll(mThresholdList); in testIdenticalThreshold()
349 ths.get(0).setGroupId(123); in testIdenticalThreshold()
350 ths.get(0).setThresholdId(123); in testIdenticalThreshold()
351 assertTrue(mThresholdGroup.identicalThreshold(ths)); in testIdenticalThreshold()
353 Threshold t = ths.remove(0).copy(); in testIdenticalThreshold()
[all …]
DAccessNetworkSelectionPolicyTest.java109 List<Threshold> ths = new ArrayList<>(); in testSatisfiedByThreshold_thresholdGroup() local
110 ths.add( in testSatisfiedByThreshold_thresholdGroup()
117 ths.add( in testSatisfiedByThreshold_thresholdGroup()
124 mThresholdGroups.add(new ThresholdGroup(ths)); in testSatisfiedByThreshold_thresholdGroup()
197 List<Threshold> ths = new ArrayList<>(); in generateTestThresholdGroups() local
198 ths.add( in generateTestThresholdGroups()
205 ths.add( in generateTestThresholdGroups()
212 ths.add( in generateTestThresholdGroups()
219 thgroups.add(new ThresholdGroup(ths)); in generateTestThresholdGroups()
221 ths = new ArrayList<>(); in generateTestThresholdGroups()
[all …]
DAccessNetworkEvaluatorTest.java1238 List<Threshold> ths = new ArrayList<>(); in generateTestThresholdGroups() local
1239 ths.add( in generateTestThresholdGroups()
1246 thgroups.add(new ThresholdGroup(ths)); in generateTestThresholdGroups()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DCellularQualityMonitor.java224 Threshold[] ths, in registerThresholdChange() argument
227 super.registerThresholdChange(thresholdCallback, netCapability, ths, slotIndex); in registerThresholdChange()
228 updateThresholdsForNetCapability(netCapability, slotIndex, ths); in registerThresholdChange()
244 int netCapability, int slotIndex, Threshold[] ths) { in updateThresholdsForNetCapability() argument
246 super.updateThresholdsForNetCapability(netCapability, slotIndex, ths); in updateThresholdsForNetCapability()
247 if (ths != null && ths.length > 0 && !validateThresholdList(ths)) { in updateThresholdsForNetCapability()
250 updateThresholdsMatrix(netCapability, ths); in updateThresholdsForNetCapability()
258 protected void notifyThresholdChange(String key, Threshold[] ths) { in notifyThresholdChange() argument
262 listener.onCellularThresholdChanged(ths); in notifyThresholdChange()
334 private void updateThresholdsMatrix(int netCapability, Threshold[] ths) { in updateThresholdsMatrix() argument
[all …]
DQualityMonitor.java58 Threshold[] ths, in registerThresholdChange() argument
82 void updateThresholdsForNetCapability(int netCapability, int slotIndex, Threshold[] ths) { in updateThresholdsForNetCapability() argument
92 if (ths == null || ths.length == 0) { in updateThresholdsForNetCapability()
96 mThresholdsList.put(key, new ArrayList<>(List.of(ths))); in updateThresholdsForNetCapability()
101 protected abstract void notifyThresholdChange(String key, Threshold[] ths); in notifyThresholdChange() argument
DThresholdGroup.java33 ThresholdGroup(List<Threshold> ths) { in ThresholdGroup() argument
35 mThresholds = alignGroupId(groupId, ths); in ThresholdGroup()
39 private List<Threshold> alignGroupId(int groupId, List<Threshold> ths) { in alignGroupId() argument
40 if (ths == null) { in alignGroupId()
43 ArrayList<Threshold> newList = new ArrayList<>(ths); in alignGroupId()
DWifiQualityMonitor.java177 Threshold[] ths, in registerThresholdChange() argument
183 super.registerThresholdChange(thresholdCallback, netCapability, ths, slotIndex); in registerThresholdChange()
184 updateThresholdsForNetCapability(netCapability, slotIndex, ths); in registerThresholdChange()
196 int netCapability, int slotIndex, Threshold[] ths) { in updateThresholdsForNetCapability() argument
197 super.updateThresholdsForNetCapability(netCapability, slotIndex, ths); in updateThresholdsForNetCapability()
202 protected void notifyThresholdChange(String key, Threshold[] ths) { in notifyThresholdChange() argument
206 listener.onWifiThresholdChanged(ths); in notifyThresholdChange()
DAccessNetworkEvaluator.java968 protected void onCellularQualityChanged(Threshold[] ths) { in onCellularQualityChanged() argument
969 if (ths == null || ths.length == 0) { in onCellularQualityChanged()
973 log("onCellularQualityChanged Threshold:" + Arrays.toString(ths)); in onCellularQualityChanged()
978 protected void onWiFiQualityChanged(Threshold[] ths) { in onWiFiQualityChanged() argument
979 if (ths == null || ths.length == 0) { in onWiFiQualityChanged()
983 log("onWiFiQualityChanged Threshold:" + Arrays.toString(ths)); in onWiFiQualityChanged()
/packages/inputmethods/LatinIME/dictionaries/
Dsv_wordlist.combined.gz