Searched refs:probability (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/cmds/interrupter/ |
D | interrupter.c | 41 static int probability = PROBABILITY * RAND_MAX; variable 44 if (rand() < probability) { in maybe_interrupt()
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | UsbDescriptorParser.java | 533 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/ |
D | DynamicLayoutPerfTest.java | 60 public DynamicLayoutPerfTest(String metricKey, float probability) { in DynamicLayoutPerfTest() argument 62 mProbability = probability; in DynamicLayoutPerfTest()
|
/frameworks/ml/nn/common/operations/ |
D | MultinomialTest.cpp | 129 float probability = in TEST() local 132 EXPECT_THAT(probability, FloatNear(probability_expected, kMaxProbabilityDelta)); in TEST()
|
/frameworks/wilhelm/tests/sandbox/ |
D | monkey.c | 199 #define _(entryState, action, probability) {entryState, action, probability, #action, 0}, argument
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | layered_filter_f32_helper.rsh | 76 // Gets the visibility probability lookup table for the target layer depth. 91 // soft way using a probability set in a heuristic way.
|
D | luts_for_speedup_f32.rsh | 10 // A lookup table that heuristically computes the probability that a layer with
|
D | layered_filter_d1new_helper.rsh | 136 // Gets the visibility probability lookup table for the target layer depth. 151 // soft way using a probability set in a heuristic way.
|
D | layered_filter_fast_f32.rscript | 259 // Gets the visibility probability lookup table for the target layer depth.
|
D | layered_filter_fast_d1new.rscript | 343 // Gets the visibility probability lookup table for the target layer depth.
|
/frameworks/ml/nn/tools/test_generator/test_harness/include_legacy/ |
D | TestHarness.h | 416 float probability = in expectMultinomialDistributionWithinTolerance() local 419 EXPECT_THAT(probability, in expectMultinomialDistributionWithinTolerance()
|
/frameworks/ml/nn/tools/test_generator/test_harness/ |
D | TestHarness.cpp | 184 float probability = in expectMultinomialDistributionWithinTolerance() local 187 EXPECT_THAT(probability, in expectMultinomialDistributionWithinTolerance()
|