Home
last modified time | relevance | path

Searched refs:probability (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/cmds/interrupter/
Dinterrupter.c41 static int probability = PROBABILITY * RAND_MAX; variable
44 if (rand() < probability) { in maybe_interrupt()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java533 float probability = 0.0f; in getInputHeadsetProbability() local
542 probability += 0.75f; in getInputHeadsetProbability()
546 probability += 0.25f; in getInputHeadsetProbability()
549 return probability; in getInputHeadsetProbability()
570 float probability = 0.0f; in getOutputHeadsetProbability() local
595 probability += 0.75f; in getOutputHeadsetProbability()
599 probability += 0.25f; in getOutputHeadsetProbability()
602 return probability; in getOutputHeadsetProbability()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DDynamicLayoutPerfTest.java60 public DynamicLayoutPerfTest(String metricKey, float probability) { in DynamicLayoutPerfTest() argument
62 mProbability = probability; in DynamicLayoutPerfTest()
/frameworks/ml/nn/common/operations/
DMultinomialTest.cpp129 float probability = in TEST() local
132 EXPECT_THAT(probability, FloatNear(probability_expected, kMaxProbabilityDelta)); in TEST()
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c199 #define _(entryState, action, probability) {entryState, action, probability, #action, 0}, argument
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dlayered_filter_f32_helper.rsh76 // Gets the visibility probability lookup table for the target layer depth.
91 // soft way using a probability set in a heuristic way.
Dluts_for_speedup_f32.rsh10 // A lookup table that heuristically computes the probability that a layer with
Dlayered_filter_d1new_helper.rsh136 // Gets the visibility probability lookup table for the target layer depth.
151 // soft way using a probability set in a heuristic way.
Dlayered_filter_fast_f32.rscript259 // Gets the visibility probability lookup table for the target layer depth.
Dlayered_filter_fast_d1new.rscript343 // Gets the visibility probability lookup table for the target layer depth.
/frameworks/ml/nn/tools/test_generator/test_harness/include_legacy/
DTestHarness.h416 float probability = in expectMultinomialDistributionWithinTolerance() local
419 EXPECT_THAT(probability, in expectMultinomialDistributionWithinTolerance()
/frameworks/ml/nn/tools/test_generator/test_harness/
DTestHarness.cpp184 float probability = in expectMultinomialDistributionWithinTolerance() local
187 EXPECT_THAT(probability, in expectMultinomialDistributionWithinTolerance()