Home
last modified time | relevance | path

Searched defs:threshold (Results 1 – 25 of 52) sorted by relevance

123

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCbSendMessageCalculatorTest.java79 float threshold = 100; in testSingleSquareOutside() local
86 void testSquareOutside(LatLng coor, float accuracy, float threshold) { in testSquareOutside()
95 float threshold = 100; in testSingleSquareInside() local
100 void testSquareInside(LatLng coor, float accuracy, float threshold) { in testSquareInside()
109 float threshold = 100; in testSingleSquareInsideAndOutsideThreshold() local
160 private void testSquareAmbiguous(LatLng coor, float accuracy, float threshold) { in testSquareAmbiguous()
167 void testSquareInsideThreshold(LatLng coor, float accuracy, float threshold) { in testSquareInsideThreshold()
187 float threshold = 100; in testMultipleAddsWithOnceSendAlwaysSend() local
195 calculator.addCoordinate(addSouth(addEast(mGooglePlex, -2000), -500), threshold + 10); in testMultipleAddsWithOnceSendAlwaysSend() local
199 calculator.addCoordinate(addSouth(addEast(mGooglePlex, 1040), 1040), threshold + 50); in testMultipleAddsWithOnceSendAlwaysSend() local
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DInCallOrientationEventListener.java83 private static boolean isWithinThreshold(int value, int center, int threshold) { in isWithinThreshold()
87 private static boolean isInLeftRange(int value, int center, int threshold) { in isInLeftRange()
91 private static boolean isInRightRange(int value, int center, int threshold) { in isInRightRange()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardFeatureProviderImplTest.java90 final long threshold = 1000L; in resetDismissedTime_durationExpired_shouldResetToNull() local
101 final long threshold = 1000L; in resetDismissedTime_durationNotExpired_shouldNotUpdate() local
/packages/modules/StatsD/statsd/tests/e2e/
DAnomaly_count_e2e_test.cpp32 StatsdConfig CreateStatsdConfig(int num_buckets, int threshold, int refractory_period_sec) { in CreateStatsdConfig()
59 const int threshold = 3; in TEST() local
176 const int threshold = 3; in TEST() local
246 const int threshold = 0; in TEST() local
271 const int threshold = 0; in TEST() local
334 const int threshold = 0; in TEST() local
DConfigTtl_e2e_test.cpp31 StatsdConfig CreateStatsdConfig(int num_buckets, int threshold) { in CreateStatsdConfig()
61 const int threshold = 3; in TEST() local
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardFeatureProviderImpl.java46 final long threshold = System.currentTimeMillis() - DateUtils.DAY_IN_MILLIS; in getContextualCards() local
70 int resetDismissedTime(long threshold) { in resetDismissedTime()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DInternalIoOveruseConfigurationSubject.java105 public static String toString(PerStateIoOveruseThreshold threshold) { in toString()
113 public static String toString(IoOveruseAlertThreshold threshold) { in toString()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DProximityEvaluator.java22 float threshold = 0.1f; in evaluate() local
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DUsageBytesThresholdPickerDialog.java148 void setThresholdEditor(long threshold) { in setThresholdEditor()
152 private void updateCurrentView(long threshold) { in updateCurrentView()
DDataLimitSetThresholdFragment.java44 void onSave(long threshold) { in onSave()
DDataWarningSetThresholdFragment.java44 void onSave(long threshold) { in onSave()
DDataUsageSetThresholdBaseFragment.java158 abstract void onSave(long threshold); in onSave()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DAutoCorrectionUtils.java33 final String consideredWord, final float threshold) { in suggestionExceedsThreshold()
/packages/services/Car/cpp/watchdog/server/tests/
DMockIoOveruseConfigs.h66 PerStateBytes threshold; member
DOveruseConfigurationTestUtils.cpp117 PerStateIoOveruseThreshold threshold; in toPerStateIoOveruseThreshold() local
151 IoOveruseAlertThreshold threshold; in toIoOveruseAlertThreshold() local
/packages/services/Car/service/src/com/android/car/watchdog/
DOveruseConfigurationCache.java168 PerStateBytes threshold = null; in fetchThreshold() local
275 PerStateIoOveruseThreshold threshold = thresholds.get(i); in setIoThresholdsByAppCategoryTypeLocked() local
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverSchedulePreferenceController.java67 final int threshold = in getSummary() local
DBatterySaverScheduleRadioButtonsController.java62 final int threshold = in getDefaultKey() local
DBatterySaverScheduleSeekBarController.java89 final int threshold = in updateSeekBar() local
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DContactMatcher.java232 float threshold = emailBased in matchName() local
284 public List<Long> prepareSecondaryMatchCandidates(int threshold) { in prepareSecondaryMatchCandidates()
311 public long pickBestMatch(int threshold, boolean allowMultipleMatches) { in pickBestMatch()
347 public List<MatchScore> pickBestMatches(int threshold) { in pickBestMatches()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageTextStats.java63 final int threshold = mmsConfig.getSmsToMmsTextThreshold(); in updateMessageTextStats() local
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DHighUsageDataParser.java42 public HighUsageDataParser(long timePeriodMs, int threshold) { in HighUsageDataParser()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBlocklistMonitorTest.java320 int threshold = BLOCK_REASON_TO_DISABLE_THRESHOLD_MAP.get(failureReason); in testIgnoreIfOnlyBssid() local
342 int threshold = BLOCK_REASON_TO_DISABLE_THRESHOLD_MAP.get(failureReason); in testIgnoreIfOnlyBssidNotApplicableForSomeFailures() local
366 int threshold = BLOCK_REASON_TO_DISABLE_THRESHOLD_MAP.get(failureReason); in testFailuresOnDisabledConfigsGetBlocked() local
702 int threshold = entry.getValue(); in testIncrementingBlocklistStreakCount() local
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/
DAnswerHintFactory.java97 long threshold = in shouldShowAnswerHint() local
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseMonitor.cpp127 PerStateBytes threshold) { in calculateOveruseAndForgivenBytes()
280 const auto threshold = mIoOveruseConfigs->fetchThreshold(dailyIoUsage->packageInfo); in onPeriodicCollection() local
303 const auto exceedsWarnThreshold = [&](double remaining, double threshold) { in onPeriodicCollection()
396 for (const auto& threshold : mIoOveruseConfigs->systemWideAlertThresholds()) { in onPeriodicMonitor() local

123