Home
last modified time | relevance | path

Searched refs:isMatching (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DThresholdTest.java216 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()
222 Assert.assertFalse(th[6].isMatching(-81)); // not meeting the criteria in testIsMatching()
223 Assert.assertFalse(th[7].isMatching(9)); // not meeting the criteria in testIsMatching()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DThresholdGroup.java102 if (th.isMatching(cq)) { in satisfy()
127 if (th.isMatching(cq)) { in findUnmatchedThresholds()
DWifiQualityMonitor.java250 if (th.isMatching(wifiRssi)) { in validateForWifiBackhaul()
293 if (th.isMatching(wifiRssi)) { in checkAndNotifySignalStrength()
DThreshold.java131 boolean isMatching(int threshold) { in isMatching() method in Threshold
DCellularQualityMonitor.java192 if (signalStrength != UNAVAILABLE && th.isMatching(signalStrength)) { in checkAndNotifySignalStrength()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
DBluetoothScanner.java468 boolean isMatching = false; in updateDeviceInClient()
471 isMatching = true; in updateDeviceInClient()
484 if (!isMatching) { in updateDeviceInClient()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java604 if (wrapper != null && wrapper.isMatching && wrapper.info != null) { in searchFromClientPolicyBlocklistsLocked()
616 if (wrapper != null && wrapper.isMatching && wrapper.info != null) { in searchFromClientPolicyAllowlistsLocked()
636 if (wrapper == null || !wrapper.isMatching) { in isActivityInMapAndMatching()
881 boolean isMatching = isInstalledPackageMatching(info); in verifyList()
882 wrappers.add(new AppBlockingPackageInfoWrapper(info, isMatching)); in verifyList()
1855 private boolean isMatching; field in CarPackageManagerService.AppBlockingPackageInfoWrapper
1857 private AppBlockingPackageInfoWrapper(AppBlockingPackageInfo info, boolean isMatching) { in AppBlockingPackageInfoWrapper() argument
1859 this.isMatching = isMatching; in AppBlockingPackageInfoWrapper()
1864 return "AppBlockingPackageInfoWrapper [info=" + info + ", isMatching=" + isMatching + in toString()