Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java296 float probability = 0.0f; in getInputHeadsetProbability() local
341 probability += 0.75f; in getInputHeadsetProbability()
345 probability += 0.25f; in getInputHeadsetProbability()
348 return probability; in getInputHeadsetProbability()
371 float probability = 0.0f; in getOutputHeadsetProbability() local
396 probability += 0.75f; in getOutputHeadsetProbability()
400 probability += 0.25f; in getOutputHeadsetProbability()
403 return probability; in getOutputHeadsetProbability()
/frameworks/base/cmds/interrupter/
Dinterrupter.c41 static int probability = PROBABILITY * RAND_MAX; variable
44 if (rand() < probability) { in maybe_interrupt()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DDynamicLayoutPerfTest.java66 public DynamicLayoutPerfTest(String metricKey, float probability) { in DynamicLayoutPerfTest() argument
68 mProbability = probability; in DynamicLayoutPerfTest()
/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.