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