/aosp12/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
H A D | CbSendMessageCalculatorTest.java | 79 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 187 float threshold = 100; in testMultipleAddsWithOnceSendAlwaysSend() local 205 float threshold = 100; in testMultipleAddsWithDontSendThenSend() local 227 float threshold = 100; in testMultipleAddsWithAmbiguousToDontSend() local 249 float threshold = 100; in testMultipleAddsAndDoNewWayFalseWithAmbiguousToDontSend() local 286 float threshold = 100; in testManyGeosWithInsideAndOutside() local [all …]
|
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/test/unittest/common/ |
H A D | daily_controller_test.cpp | 91 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; variable 107 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; variable 123 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; variable 139 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; variable 155 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; variable 171 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; variable 187 uint32_t threshold = Parameter::IsBetaVersion() ? thresholdOnBeta : thresholdOnCommercial; variable 217 constexpr uint32_t threshold = 1000; variable 231 constexpr uint32_t threshold = 1000; variable 245 constexpr uint32_t threshold = 1000; variable [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/display/ |
H A D | SmallAreaDetectionController.java | 41 private static native void nativeSetSmallAreaDetectionThreshold(int uid, float threshold); in nativeSetSmallAreaDetectionThreshold() 100 final float threshold = Float.valueOf(items[1]); in putToAllowlist() local 109 private void updateUidListForAllUsers(SparseArray<Float> list, String pkg, float threshold) { in updateUidListForAllUsers() 125 final float threshold = mAllowPkgMap.get(pkg); in updateSmallAreaDetection() local 143 void setSmallAreaDetectionThreshold(int uid, float threshold) { in setSmallAreaDetectionThreshold()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/control/ |
H A D | daily_controller.cpp | 49 int32_t threshold = GetThreshold(cacheKey, event->eventType_); in CheckThreshold() local 122 int32_t threshold = config_->GetThreshold(cachekey.first, cachekey.second, type); in GetThreshold() local 147 void DailyController::UpdateCacheAndDb(const CacheKey& cachekey, int32_t threshold, int32_t count) in UpdateCacheAndDb() 161 void DailyController::UpdateCache(const CacheKey& cachekey, int32_t threshold, int32_t count, int64… in UpdateCache()
|
/aosp12/frameworks/av/media/libaaudio/src/fifo/ |
H A D | FifoControllerBase.cpp | 26 FifoControllerBase::FifoControllerBase(fifo_frames_t capacity, fifo_frames_t threshold) in FifoControllerBase() 67 void FifoControllerBase::setThreshold(fifo_frames_t threshold) { in setThreshold()
|
H A D | FifoController.h | 33 FifoController(fifo_frames_t bufferSize, fifo_frames_t threshold) in FifoController()
|
/aosp12/packages/apps/Dialer/java/com/android/incallui/ |
H A D | InCallOrientationEventListener.java | 83 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()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
H A D | ContextualCardFeatureProviderImplTest.java | 87 final long threshold = 1000L; in resetDismissedTime_durationExpired_shouldResetToNull() local 97 final long threshold = 1000L; in resetDismissedTime_durationNotExpired_shouldNotUpdate() local
|
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
H A D | ContextualCardFeatureProviderImpl.java | 46 final long threshold = System.currentTimeMillis() - DateUtils.DAY_IN_MILLIS; in getContextualCards() local 70 int resetDismissedTime(long threshold) { in resetDismissedTime()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
H A D | security_component_layout_algorithm.cpp | 472 auto threshold = currentFontSize_.ConvertToPx() * (1.0 - TEXT_OUT_OF_WIDTH_PERCENT); in IsTextAdaptOutOfRange() local 484 auto threshold = TEXT_OUT_OF_RANGE_PERCENT * RANGE_RATIO * currentFontSize_.ConvertToPx(); in IsTextOutOfRangeInCircle() local 593 …mponentLayoutAlgorithm::TopLeftCompDistance(float obtainedRadius, float maxRadius, float threshold) in TopLeftCompDistance() 609 …nentLayoutAlgorithm::BottomLeftCompDistance(float obtainedRadius, float maxRadius, float threshold) in BottomLeftCompDistance() 625 …ponentLayoutAlgorithm::TopRightCompDistance(float obtainedRadius, float maxRadius, float threshold) in TopRightCompDistance() 642 …entLayoutAlgorithm::BottomRightCompDistance(float obtainedRadius, float maxRadius, float threshold) in BottomRightCompDistance() 666 auto threshold = TEXT_OUT_OF_RANGE_PERCENT * RANGE_RATIO * currentFontSize_.ConvertToPx(); in IsTextOutOfRangeInNormal() local 694 …curityComponentLayoutAlgorithm::IsTextOutOfOneColumn(RefPtr<FrameNode>& frameNode, float threshold) in IsTextOutOfOneColumn() 739 auto threshold = currentFontSize_.ConvertToPx() * TEXT_OUT_OF_WIDTH_PERCENT; in GetTextLimitExceededFlag() local
|
/aosp12/packages/modules/StatsD/statsd/tests/e2e/ |
H A D | Anomaly_count_e2e_test.cpp | 32 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
|
H A D | ConfigTtl_e2e_test.cpp | 31 StatsdConfig CreateStatsdConfig(int num_buckets, int threshold) { in CreateStatsdConfig() 61 const int threshold = 3; in TEST() local
|
/aosp12/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
H A D | ProximityEvaluator.java | 22 float threshold = 0.1f; in evaluate() local
|
/ohos5.0/foundation/arkui/ui_lite/interfaces/innerkits/dock/ |
H A D | rotate_input_device.h | 32 void SetRotateInputThreshold(int16_t threshold) in SetRotateInputThreshold()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
H A D | InternalIoOveruseConfigurationSubject.java | 105 public static String toString(PerStateIoOveruseThreshold threshold) { in toString() 113 public static String toString(IoOveruseAlertThreshold threshold) { in toString()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
H A D | DataLimitSetThresholdFragment.java | 44 void onSave(long threshold) { in onSave()
|
H A D | DataWarningSetThresholdFragment.java | 44 void onSave(long threshold) { in onSave()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_spring_model.cpp | 205 float threshold = fmax(toFloat(minimumAmplitudeRatio_ * initialOffset_), in EstimateDurationForUnderDampedModel() local 239 float threshold = fmax(toFloat(minimumAmplitudeRatio_ * initialOffset_), SPRING_MIN_THRESHOLD); in EstimateDurationForCriticalDampedModel() local 274 float threshold = fmax(toFloat(minimumAmplitudeRatio_ * initialOffset_), SPRING_MIN_THRESHOLD); in EstimateDurationForOverDampedModel() local
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | AutoCorrectionUtils.java | 33 final String consideredWord, final float threshold) { in suggestionExceedsThreshold()
|
/aosp12/packages/services/Car/cpp/watchdog/server/tests/ |
H A D | MockIoOveruseConfigs.h | 66 PerStateBytes threshold; member
|
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/control/include/ |
H A D | daily_controller.h | 33 int32_t threshold = 0; member
|
/aosp12/frameworks/base/core/java/com/android/internal/os/ |
H A D | BinderCallHeavyHitterWatcher.java | 146 int totalBinderCalls, float threshold, long timeSpan); in onHeavyHit() 247 public void setConfig(final boolean enable, final int batchSize, final float threshold, in setConfig() 292 final int batchSize, final float threshold, final int capacity) { in resetInternalLocked()
|
/aosp14/frameworks/base/core/java/com/android/internal/os/ |
H A D | BinderCallHeavyHitterWatcher.java | 146 int totalBinderCalls, float threshold, long timeSpan); in onHeavyHit() 247 public void setConfig(final boolean enable, final int batchSize, final float threshold, in setConfig() 292 final int batchSize, final float threshold, final int capacity) { in resetInternalLocked()
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/base/ |
H A D | mock_event_report.cpp | 65 …Report::ReportPageNodeOverflow(const std::string& pageUrl, int32_t nodeCount, int32_t threshold) {} in ReportPageNodeOverflow() 67 …entReport::ReportPageDepthOverflow(const std::string& pageUrl, int32_t depth, int32_t threshold) {} in ReportPageDepthOverflow() 69 …tReport::ReportFunctionTimeout(const std::string& functionName, int64_t time, int32_t threshold) {} in ReportFunctionTimeout()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/control/config/ |
H A D | daily_config.cpp | 117 int32_t threshold = 0; in ParseThresholdOfDomain() local 127 bool DailyConfig::ParseThresholdOfName(const cJSON* config, std::string& name, int32_t& threshold) in ParseThresholdOfName()
|