Home
last modified time | relevance | path

Searched refs:mWindowSize (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/voip/src/jni/rtp/
DEchoSuppressor.cpp54 mWindowSize = sampleCount >> shift; in EchoSuppressor()
59 mXs = new uint16_t[mTailLength + mWindowSize]; in EchoSuppressor()
60 memset(mXs, 0, sizeof(*mXs) * (mTailLength + mWindowSize)); in EchoSuppressor()
65 mXRecords = new uint16_t[mRecordLength * mWindowSize]; in EchoSuppressor()
66 memset(mXRecords, 0, sizeof(*mXRecords) * mRecordLength * mWindowSize); in EchoSuppressor()
82 mWeight = 1.0f / (mRecordLength * mWindowSize); in EchoSuppressor()
101 mXs[i + mWindowSize] = mXs[i]; in run()
103 for (int i = mWindowSize - 1, j = 0; i >= 0; --i, j += mScale) { in run()
115 for (int i = mTailLength - mWindowSize - 1; i >= 0; --i) { in run()
116 mXSums[i + mWindowSize] = mXSums[i]; in run()
[all …]
DEchoSuppressor.h34 int mWindowSize; variable
/frameworks/base/services/core/java/com/android/server/selinux/
DQuotaLimiter.java36 private final Duration mWindowSize; field in QuotaLimiter
45 mWindowSize = windowSize; in QuotaLimiter()
65 .dividedBy(mWindowSize); in acquire()
/frameworks/base/services/core/java/com/android/server/utils/quota/
DMultiRateLimiter.java160 return addRateLimit(rateLimit.mLimit, rateLimit.mWindowSize); in addRateLimit()
183 public final Duration mWindowSize; field in MultiRateLimiter.RateLimit
191 this.mWindowSize = windowSize; in RateLimit()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java523 private long mWindowSize; field in AlarmManagerService.AppWakeupHistory
526 mWindowSize = windowSize; in AppWakeupHistory()
557 while (history.peekFirst() + mWindowSize < history.peekLast()) { in snapToWindow()