Home
last modified time | relevance | path

Searched refs:th (Results 1 – 25 of 48) sorted by relevance

12

/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DThresholdGroup.java44 for (Threshold th : newList) { in alignGroupId()
45 th.setGroupId(groupId); in alignGroupId()
60 for (Threshold th : mThresholds) { in satisfiedByThreshold()
61 if (th.getAccessNetwork() == AccessNetworkType.IWLAN) { in satisfiedByThreshold()
62 if (!satisfy(th, wifiMonitor, iwlanAvailable, AccessNetworkType.IWLAN)) { in satisfiedByThreshold()
66 if (th.getAccessNetwork() != AccessNetworkType.IWLAN) { in satisfiedByThreshold()
68 if (!satisfy(th, cellMonitor, cellAvailable, cellularAccessNetworkType)) { in satisfiedByThreshold()
79 private boolean satisfy(Threshold th, QualityMonitor monitor, boolean available, int an) { in satisfy() argument
81 if (th.getMeasurementType() == QnsConstants.SIGNAL_MEASUREMENT_AVAILABILITY) { in satisfy()
82 if (th.getThreshold() == QnsConstants.SIGNAL_AVAILABLE in satisfy()
[all …]
DThreshold.java148 Threshold th = (Threshold) o; in equals()
149 return this.mThresholdId == th.mThresholdId in equals()
150 && this.mGroupId == th.mGroupId in equals()
151 && this.mAccessNetwork == th.mAccessNetwork in equals()
152 && this.mMeasurementType == th.mMeasurementType in equals()
153 && this.mThreshold == th.mThreshold in equals()
154 && this.mMatchType == th.mMatchType in equals()
155 && this.mWaitTime == th.mWaitTime; in equals()
DWifiQualityMonitor.java249 for (Threshold th : entry.getValue()) { in validateForWifiBackhaul()
250 if (th.isMatching(wifiRssi)) { in validateForWifiBackhaul()
251 Log.d(mTag, "RSSI matched for threshold = " + th); in validateForWifiBackhaul()
252 handleMatchingThreshold(entry.getKey(), th, wifiRssi); in validateForWifiBackhaul() local
258 private void handleMatchingThreshold(String key, Threshold th, int wifiRssi) { in handleMatchingThreshold() argument
259 int backhaul = th.getWaitTime(); in handleMatchingThreshold()
260 if (backhaul < 0 && th.getMatchType() != QnsConstants.THRESHOLD_EQUAL_OR_SMALLER) { in handleMatchingThreshold()
292 for (Threshold th : thresholdsList) { in checkAndNotifySignalStrength()
293 if (th.isMatching(wifiRssi)) { in checkAndNotifySignalStrength()
294 threshold = th.copy(); in checkAndNotifySignalStrength()
DCellularQualityMonitor.java188 for (Threshold th : entry.getValue()) { in checkAndNotifySignalStrength()
191 th.getAccessNetwork(), th.getMeasurementType(), cellSignalStrength); in checkAndNotifySignalStrength()
192 if (signalStrength != UNAVAILABLE && th.isMatching(signalStrength)) { in checkAndNotifySignalStrength()
193 threshold = th.copy(); in checkAndNotifySignalStrength()
350 for (Threshold th : ths) { in updateThresholdsMatrix()
351 String key = th.getAccessNetwork() + "_" + th.getMeasurementType(); in updateThresholdsMatrix()
356 thresholdsList.add(th.getThreshold()); in updateThresholdsMatrix()
359 mThresholdWaitTimer.put(key, th.getWaitTime()); in updateThresholdsMatrix()
DAccessNetworkEvaluator.java1624 for (Threshold th : unmatchedThresholds) { in updateQualityMonitor()
1625 if (th.getGroupId() < 0) { in updateQualityMonitor()
1628 unmatchedGroupIdSet.add(th.getGroupId()); in updateQualityMonitor()
1629 int key = th.getAccessNetwork() << 16 | th.getMeasurementType(); in updateQualityMonitor()
1644 for (Threshold th : unmatchedThresholds) { in updateQualityMonitor()
1645 if (type == (th.getAccessNetwork() << 16 | th.getMeasurementType())) { in updateQualityMonitor()
1646 if (th.getGroupId() < 0) { in updateQualityMonitor()
1651 reducedGroupIdSet.add(th.getGroupId()); in updateQualityMonitor()
1682 for (Threshold th : thresholds) { in registerThresholdsToQualityMonitor()
1683 if (th.getAccessNetwork() == AccessNetworkType.IWLAN) { in registerThresholdsToQualityMonitor()
[all …]
DAccessNetworkSelectionPolicy.java113 for (Threshold th : thList) { in satisfiedWithWifiLowSignalStrength()
114 if (th.getMatchType() == QnsConstants.THRESHOLD_EQUAL_OR_SMALLER) { in satisfiedWithWifiLowSignalStrength()
/packages/modules/GeoTZ/validation/geonames/known_diffs/
Dknown_diffs1000.prototxt756 isoCountryCodes: "th"
771 isoCountryCodes: "th"
786 isoCountryCodes: "th"
801 isoCountryCodes: "th"
816 isoCountryCodes: "th"
831 isoCountryCodes: "th"
846 isoCountryCodes: "th"
861 isoCountryCodes: "th"
876 isoCountryCodes: "th"
891 isoCountryCodes: "th"
[all …]
Dknown_diffs15000.prototxt159 isoCountryCodes: "th"
174 isoCountryCodes: "th"
189 isoCountryCodes: "th"
204 isoCountryCodes: "th"
219 isoCountryCodes: "th"
234 isoCountryCodes: "th"
249 isoCountryCodes: "th"
264 isoCountryCodes: "th"
279 isoCountryCodes: "th"
294 isoCountryCodes: "th"
[all …]
Dknown_diffs5000.prototxt373 isoCountryCodes: "th"
388 isoCountryCodes: "th"
615 isoCountryCodes: "th"
Dknown_diffs500.prototxt420 isoCountryCodes: "th"
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DThresholdTest.java138 Threshold[] th = in testIsMultipleNetCapabilityTypeCheckCriteria() local
159 Assert.assertTrue(th[0].identicalThreshold(th[1])); in testIsMultipleNetCapabilityTypeCheckCriteria()
160 Assert.assertFalse(th[0].identicalThreshold(th[2])); in testIsMultipleNetCapabilityTypeCheckCriteria()
165 Threshold[] th = in testIsMatching() local
216 Assert.assertTrue(th[0].isMatching(-118)); in testIsMatching()
217 Assert.assertTrue(th[1].isMatching(-20)); in testIsMatching()
218 Assert.assertFalse(th[2].isMatching(-99)); // not meeting the criteria in testIsMatching()
219 Assert.assertFalse(th[3].isMatching(12)); // not meeting the criteria in testIsMatching()
220 Assert.assertTrue(th[4].isMatching(-60)); in testIsMatching()
221 Assert.assertTrue(th[5].isMatching(20)); in testIsMatching()
[all …]
/packages/modules/Connectivity/staticlibs/testutils/hostdevice/com/android/testutils/
DConcurrentUtils.kt88 quitResources(maxRetryCount, supplier) { th -> in quitThreads() method
90 th.interrupt() in quitThreads()
92 th.join(timeoutMs) in quitThreads()
93 assertFalse(th.isAlive, "Threads did not terminate within timeout.") in quitThreads()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaSource.java86 } catch (Throwable th) { in mapMediaItems()
87 Log.w(TAG, "cannot create media object: " + pid.path, th); in mapMediaItems()
/packages/apps/LegacyCamera/src/com/android/camera/
DStorage.java90 } catch (Throwable th) { in addImage()
96 Log.e(TAG, "Failed to write MediaStore" + th); in addImage()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java169 } catch (Throwable th) { in addImageToMediaStore()
175 Log.e(TAG, "Failed to write MediaStore" + th); in addImageToMediaStore()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DMenuExecutor.java431 } catch (Throwable th) { in run()
433 + " : " + th); in run()
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/
Dhfp.py60 th = threading.Timer(interval=delay, function=waitConnectionCallback, args=(self, pts_addr))
61 th.start()
/packages/modules/StatsD/statsd/src/
Dstatsd_config.proto427 // Each i'th HistogramBinConfig corresponds to the i'th HISTOGRAM entry in aggregation_types so
/packages/apps/Launcher3/protos/
Dlauncher_atom.proto374 // New value matches with 4th top suggestion even though the top suggestion was non-empty.
377 // New value matches with 4th top suggestion given that top suggestion was empty.
/packages/modules/AdServices/adservices/libraries/cobalt/proto/
Dobservation.proto138 // bucket_counts[i] is the count for the bucket_indices[i]th index in the
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java7595 } catch (Throwable th) { in queryMergedDirectories()
7599 throw th; in queryMergedDirectories()
7628 } catch (Throwable th) { in queryMergedContacts()
7632 throw th; in queryMergedContacts()
7672 } catch (Throwable th) { in queryMergedDataPhones()
7676 throw th; in queryMergedDataPhones()
7762 } catch (Throwable th) { // If something throws, close the cursor. in queryCorpLookupIfNecessary()
7764 throw th; in queryCorpLookupIfNecessary()
7777 } catch (Throwable th) { in queryCorpLookupIfNecessary()
7779 throw th; in queryCorpLookupIfNecessary()
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/geojsontz_to_tzs2polygons/data/
DLICENSE493 a. Provisionally and subject to permanent termination until the 60th
496 b. Permanently on the 60th day after cessation of breach unless
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/canonicalizetzs2polygons/data/input_polygons/
DLICENSE493 a. Provisionally and subject to permanent termination until the 60th
496 b. Permanently on the 60th day after cessation of breach unless
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2polygons_tzs2cellunions/data/
DLICENSE493 a. Provisionally and subject to permanent termination until the 60th
496 b. Permanently on the 60th day after cessation of breach unless
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2cellunions_to_tzs2ranges/data/
DLICENSE493 a. Provisionally and subject to permanent termination until the 60th
496 b. Permanently on the 60th day after cessation of breach unless

12