/frameworks/av/media/libaaudio/src/fifo/ |
H A D | FifoController.h | 33 FifoController(fifo_counter_t bufferSize, fifo_counter_t threshold) argument 34 : FifoControllerBase(bufferSize, threshold)
|
H A D | FifoControllerBase.cpp | 26 FifoControllerBase::FifoControllerBase(fifo_frames_t capacity, fifo_frames_t threshold) argument 28 , mThreshold(threshold) 61 void FifoControllerBase::setThreshold(fifo_frames_t threshold) { argument 62 mThreshold = threshold;
|
H A D | FifoControllerIndirect.h | 37 fifo_frames_t threshold, 40 : FifoControllerBase(capacity, threshold) 36 FifoControllerIndirect(fifo_frames_t capacity, fifo_frames_t threshold, fifo_counter_t * readCounterAddress, fifo_counter_t * writeCounterAddress) argument
|
H A D | FifoBuffer.cpp | 207 void FifoBuffer::setThreshold(fifo_frames_t threshold) { argument 208 mFifo->setThreshold(threshold);
|
/frameworks/base/cmds/statsd/tests/e2e/ |
H A D | ConfigTtl_e2e_test.cpp | 31 StatsdConfig CreateStatsdConfig(int num_buckets, int threshold) { argument 50 alert->set_trigger_if_sum_gt(threshold); 61 const int threshold = 3; local 62 auto config = CreateStatsdConfig(num_buckets, threshold);
|
H A D | Anomaly_count_e2e_test.cpp | 31 StatsdConfig CreateStatsdConfig(int num_buckets, int threshold) { argument 50 alert->set_trigger_if_sum_gt(threshold); 58 const int threshold = 3; local 59 auto config = CreateStatsdConfig(num_buckets, threshold); 161 const int threshold = 3; local 162 auto config = CreateStatsdConfig(num_buckets, threshold);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
H A D | PowerUtil.java | 173 * Rounds a time to the nearest multiple of the provided threshold. Note: This function takes 179 * @param threshold The value to round to a multiple of 182 public static long roundTimeToNearestThreshold(long drainTime, long threshold) { argument 184 long multiple = Math.abs(threshold);
|
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
H A D | ComputeThresholdAction.java | 38 * appears in at least the number of threshold given packages. An optional blacklist can be 42 protected int threshold; field in class:ComputeThresholdAction 50 public ComputeThresholdAction(String name, DumpTableModel dataTableModel, int threshold, argument 54 this.threshold = threshold; 88 Set<String> result = fromThreshold(uses, blacklist, threshold); 102 int threshold) { 106 if (e.getValue().size() >= threshold) { 101 fromThreshold(Map<String, Set<String>> classUses, Pattern blacklist, int threshold) argument
|
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/ |
H A D | SpringAnimation.java | 266 void setValueThreshold(float threshold) { argument
|
H A D | FlingAnimation.java | 24 * the animation is below the threshold derived from {@link #setMinimumVisibleChange(float)}, 190 void setValueThreshold(float threshold) { argument 191 mFlingForce.setValueThreshold(threshold); 198 // This multiplier is used to calculate the velocity threshold given a certain value 199 // threshold. The idea is that if it takes >= 1 frame to move the value threshold amount, 200 // then the velocity is a reasonable threshold. 236 void setValueThreshold(float threshold) { argument 237 mVelocityThreshold = threshold * VELOCITY_THRESHOLD_MULTIPLIER;
|
H A D | SpringForce.java | 77 // This multiplier is used to calculate the velocity threshold given a certain value threshold. 78 // The idea is that if it takes >= 1 frame to move the value threshold amount, then the velocity 79 // is a reasonable threshold. 319 * This threshold defines how close the animation value needs to be before the animation can 325 * @param threshold the difference between the animation value and final spring position that 328 void setValueThreshold(double threshold) { argument 329 mValueThreshold = Math.abs(threshold);
|
H A D | DynamicAnimation.java | 285 // Multiplier to the min visible change value for value threshold 498 * determine a reasonable threshold for the animation's termination condition. It is critical 520 * @throws IllegalArgumentException if the given threshold is not positive 700 * Returns the default threshold. 725 * Updates the default value threshold for the animation based on the property to be animated. 727 abstract void setValueThreshold(float threshold); argument
|
/frameworks/av/media/libaaudio/tests/ |
H A D | test_atomic_fifo.cpp | 34 constexpr int threshold = 47; local 35 FifoController fifoController(capacity, threshold); 37 ASSERT_EQ(threshold, fifoController.getThreshold()); 42 ASSERT_EQ(threshold, fifoController.getEmptyFramesAvailable()); 53 ASSERT_EQ(threshold - advanced, fifoController.getEmptyFramesAvailable()); 62 ASSERT_EQ(threshold, fifoController.getEmptyFramesAvailable()); 73 ASSERT_EQ(threshold - advance2, fifoController.getEmptyFramesAvailable()); 79 explicit TestFifoBuffer(fifo_frames_t capacity, fifo_frames_t threshold = 0) 83 if (threshold <= 0) { 84 threshold 226 constexpr int threshold = 37; // arbitrary local [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | VelocityTest.java | 273 private void assertEqualFuzzy(float expected, float actual, float threshold) { argument 274 boolean fuzzyEqual = actual >= expected - threshold && actual <= expected + threshold; 276 "> while accepting a variation of: <"+threshold+">", fuzzyEqual);
|
/frameworks/base/libs/common_time/ |
H A D | common_time_config_service.cpp | 92 status_t CommonTimeConfigService::getPanicThreshold(int *threshold) { argument 93 return mTimeServer.getPanicThreshold(threshold); 96 status_t CommonTimeConfigService::setPanicThreshold(int threshold) { argument 97 return mTimeServer.setPanicThreshold(threshold);
|
H A D | common_time_server_api.cpp | 225 status_t CommonTimeServer::getPanicThreshold(int *threshold) { argument 227 *threshold = mPanicThresholdUsec; 231 status_t CommonTimeServer::setPanicThreshold(int threshold) { argument 234 if (threshold < 1000) // Min threshold is 1mSec 237 mPanicThresholdUsec = threshold;
|
/frameworks/base/libs/hwui/utils/ |
H A D | MathUtils.h | 68 * approximation of an arc, with a given threshold value. 71 float threshold) { 72 const float errConst = (-threshold / radius + 1); 70 divisionsNeededToApproximateArc(float radius, float angleInRads, float threshold) argument
|
/frameworks/av/media/common_time/ |
H A D | ICommonTimeConfig.cpp | 246 virtual status_t getPanicThreshold(int *threshold) { argument 255 *threshold = reply.readInt32(); 262 virtual status_t setPanicThreshold(int threshold) { argument 265 data.writeInt32(threshold); 462 int threshold; local 463 status_t status = getPanicThreshold(&threshold); 466 reply->writeInt32(threshold); 473 int threshold = data.readInt32(); local 474 status_t status = setPanicThreshold(threshold);
|
/frameworks/av/media/libaaudio/src/client/ |
H A D | AudioEndpoint.cpp | 183 uint32_t threshold = descriptor->capacityInFrames / 2; local 184 mDataQueue->setThreshold(threshold);
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
H A D | DPBase.cpp | 91 float ratio, float threshold, float kneeWidth, float noiseGateThreshold, 97 setThreshold(threshold); 166 float ratio, float threshold, float postGain) { 172 setThreshold(threshold); 90 init(bool enabled, float cutoffFrequency, float attackTime, float releaseTime, float ratio, float threshold, float kneeWidth, float noiseGateThreshold, float expanderRatio, float preGain, float postGain) argument 165 init(bool inUse, bool enabled, uint32_t linkGroup, float attackTime, float releaseTime, float ratio, float threshold, float postGain) argument
|
H A D | DPBase.h | 116 float ratio, float threshold, float kneeWidth, float noiseGateThreshold, 139 void setThreshold(float threshold) { argument 140 mThresholdDb = threshold; 211 float ratio, float threshold, float postGain); 239 void setThreshold(float threshold) { argument 240 mThresholdDb = threshold;
|
/frameworks/base/core/java/android/os/ |
H A D | Looper.java | 149 // Allow overriding a threshold with a system prop. e.g. 237 private static boolean showSlowLog(long threshold, long measureStart, long measureEnd, argument 240 if (actualTime < threshold) {
|
H A D | CommonTimeConfig.java | 284 * Gets the panic threshold for the estimated error level of the common time service. When the 288 * @return The threshold (in microseconds) past which the common time service will panic. 298 * Sets the panic threshold for the estimated error level of the common time service. When the 302 * @param threshold The threshold (in microseconds) past which the common time service will 307 public int setPanicThreshold(int threshold) { argument 310 return mUtils.transactSetInt(METHOD_SET_PANIC_THRESHOLD, threshold);
|
/frameworks/native/cmds/flatland/ |
H A D | Main.cpp | 610 const double threshold = .0025; local 669 } while (fabs(result - prevResult) > threshold * result);
|
/frameworks/base/core/java/android/widget/ |
H A D | AutoCompleteTextView.java | 59 * {@link #getThreshold() the threshold}.</p> 612 * <p>When <code>threshold</code> is less than or equals 0, a threshold of 615 * @param threshold the number of characters to type before the drop down 622 public void setThreshold(int threshold) { argument 623 if (threshold <= 0) { 624 threshold = 1; 627 mThreshold = threshold; 849 + " threshold=" + mThreshold);
|