Home
last modified time | relevance | path

Searched refs:probability (Results 1 – 9 of 9) 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.
/frameworks/ml/nn/tools/test_generator/include/
DTestHarness.h415 float probability = in expectMultinomialDistributionWithinTolerance() local
418 EXPECT_THAT(probability, in expectMultinomialDistributionWithinTolerance()