/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoControllerBase.cpp | 26 FifoControllerBase::FifoControllerBase(fifo_frames_t capacity, fifo_frames_t threshold) in FifoControllerBase() argument 28 , mThreshold(threshold) in FifoControllerBase() 61 void FifoControllerBase::setThreshold(fifo_frames_t threshold) { in setThreshold() argument 62 if (threshold > mCapacity) { in setThreshold() 63 threshold = mCapacity; in setThreshold() 64 } else if (threshold < 0) { in setThreshold() 65 threshold = 0; in setThreshold() 67 mThreshold = threshold; in setThreshold()
|
D | FifoControllerBase.h | 44 FifoControllerBase(fifo_frames_t capacity, fifo_frames_t threshold); 110 void setThreshold(fifo_frames_t threshold);
|
D | FifoController.h | 33 FifoController(fifo_frames_t bufferSize, fifo_frames_t threshold) in FifoController() argument 34 : FifoControllerBase(bufferSize, threshold) in FifoController()
|
D | FifoControllerIndirect.h | 37 fifo_frames_t threshold, in FifoControllerIndirect() argument 40 : FifoControllerBase(capacity, threshold) in FifoControllerIndirect()
|
D | FifoBuffer.cpp | 183 void FifoBuffer::setThreshold(fifo_frames_t threshold) { in setThreshold() argument 184 mFifo->setThreshold(threshold); in setThreshold()
|
D | FifoBuffer.h | 59 void setThreshold(fifo_frames_t threshold);
|
/frameworks/av/media/libaaudio/tests/ |
D | test_atomic_fifo.cpp | 34 constexpr int threshold = 47; in TEST() local 35 FifoController fifoController(capacity, threshold); in TEST() 37 ASSERT_EQ(threshold, fifoController.getThreshold()); in TEST() 42 ASSERT_EQ(threshold, fifoController.getEmptyFramesAvailable()); in TEST() 53 ASSERT_EQ(threshold - advanced, fifoController.getEmptyFramesAvailable()); in TEST() 62 ASSERT_EQ(threshold, fifoController.getEmptyFramesAvailable()); in TEST() 73 ASSERT_EQ(threshold - advance2, fifoController.getEmptyFramesAvailable()); in TEST() 78 constexpr int threshold = capacity; in TEST() local 79 FifoController fifoController(capacity, threshold); in TEST() 81 ASSERT_EQ(threshold, fifoController.getThreshold()); in TEST() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | DisplayWhiteBalanceThrottler.java | 196 final float threshold; 199 threshold = mIncreaseThreshold; 200 tooClose = value < threshold; 202 threshold = mDecreaseThreshold; 203 tooClose = value > threshold; 207 + (value > threshold ? " > " : " < ") + threshold);
|
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
D | ComputeThresholdAction.java | 42 protected int threshold; field in ComputeThresholdAction 50 public ComputeThresholdAction(String name, DumpTableModel dataTableModel, int threshold, in ComputeThresholdAction() argument 54 this.threshold = threshold; in ComputeThresholdAction() 88 Set<String> result = fromThreshold(uses, blacklist, threshold); in run() 102 int threshold) { in fromThreshold() argument 106 if (e.getValue().size() >= threshold) { in fromThreshold()
|
D | ComputeThresholdXAction.java | 35 threshold = Integer.parseInt(value); in run()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | ProximityEvaluator.java | 22 float threshold = 0.1f; in evaluate() local 24 threshold = 1.0f; in evaluate() 26 if (value >= threshold) evaluation += 2.0; in evaluate()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | ConfigTtl_e2e_test.cpp | 31 StatsdConfig CreateStatsdConfig(int num_buckets, int threshold) { in CreateStatsdConfig() argument 50 alert->set_trigger_if_sum_gt(threshold); in CreateStatsdConfig() 61 const int threshold = 3; in TEST() local 62 auto config = CreateStatsdConfig(num_buckets, threshold); in TEST()
|
D | Anomaly_count_e2e_test.cpp | 31 StatsdConfig CreateStatsdConfig(int num_buckets, int threshold) { in CreateStatsdConfig() argument 50 alert->set_trigger_if_sum_gt(threshold); in CreateStatsdConfig() 58 const int threshold = 3; in TEST() local 59 auto config = CreateStatsdConfig(num_buckets, threshold); in TEST() 161 const int threshold = 3; in TEST() local 162 auto config = CreateStatsdConfig(num_buckets, threshold); in TEST()
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
D | DPBase.h | 116 float ratio, float threshold, float kneeWidth, float noiseGateThreshold, 139 void setThreshold(float threshold) { in setThreshold() argument 140 mThresholdDb = threshold; in setThreshold() 211 float ratio, float threshold, float postGain); 239 void setThreshold(float threshold) { in setThreshold() argument 240 mThresholdDb = threshold; in setThreshold()
|
D | DPBase.cpp | 91 float ratio, float threshold, float kneeWidth, float noiseGateThreshold, in init() argument 97 setThreshold(threshold); in init() 166 float ratio, float threshold, float postGain) { in init() argument 172 setThreshold(threshold); in init()
|
/frameworks/base/libs/hwui/utils/ |
D | MathUtils.h | 75 float threshold) { in divisionsNeededToApproximateArc() argument 76 const float errConst = (-threshold / radius + 1); in divisionsNeededToApproximateArc()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 274 private void assertEqualFuzzy(float expected, float actual, float threshold) { in assertEqualFuzzy() argument 275 boolean fuzzyEqual = actual >= expected - threshold && actual <= expected + threshold; in assertEqualFuzzy() 277 "> while accepting a variation of: <"+threshold+">", fuzzyEqual); in assertEqualFuzzy()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifierImpl.java | 513 final float threshold = getLangIdThreshold(); in detectLanguageTagsFromText() local 514 if (threshold < 0 || threshold > 1) { in detectLanguageTagsFromText() 516 "[detectLanguageTagsFromText] unexpected threshold is found: " + threshold); in detectLanguageTagsFromText() 525 if (textLanguage.getConfidenceScore(locale) < threshold) { in detectLanguageTagsFromText() 721 final float threshold = getLangIdThreshold(); in generateLanguageBundles() local 722 if (threshold < 0 || threshold > 1) { in generateLanguageBundles() 724 "[detectForeignLanguage] unexpected threshold is found: " + threshold); in generateLanguageBundles() 738 if (score < threshold) { in generateLanguageBundles()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/ |
D | ImageProcessHelper.java | 198 float threshold = DEFAULT_OTSU_THRESHOLD; in compute() local 230 threshold = (tonalValue + 1f) / histogram.length; in compute() 234 return threshold; in compute()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DrawableHolder.java | 128 final float threshold = 1.0f / 256.0f; // contribution less than 1 LSB of RGB byte in draw() local 129 if (mAlpha <= threshold) // don't bother if it won't show up in draw()
|
/frameworks/ml/nn/tools/test_generator/ |
D | slicing.py | 88 def __init__(self, threshold): argument 90 self.__threshold = threshold
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 483 final int threshold = width * height / 4; in scanImage() local 484 if (bluePixels > threshold) { in scanImage() 488 if (greenPixels > threshold) { in scanImage() 492 if (blackPixels > threshold) { in scanImage()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioEndpoint.cpp | 183 uint32_t threshold = descriptor->capacityInFrames / 2; in configure() local 184 mDataQueue->setThreshold(threshold); in configure()
|
/frameworks/av/media/libeffects/loudness/common/core/ |
D | basic_types.h | 106 bool Equals(const WaveData &wave_data, int threshold = 0) const;
|
/frameworks/base/core/java/android/os/ |
D | Looper.java | 267 private static boolean showSlowLog(long threshold, long measureStart, long measureEnd, in showSlowLog() argument 270 if (actualTime < threshold) { in showSlowLog()
|