Home
last modified time | relevance | path

Searched refs:periodMs (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audioflinger/afutils/
DAudioWatchdog.h42 explicit AudioWatchdog(unsigned periodMs = 50) : Thread(false /*canCallJava*/), in Thread()
43 mPeriodNs(periodMs * 1000000), mMaxCycleNs(mPeriodNs * 2) in Thread()
/frameworks/base/services/core/java/com/android/server/powerstats/
DTimerTrigger.java45 PeriodicTimer(String name, long periodMs, int msgType) { in PeriodicTimer() argument
47 mPeriodMs = periodMs; in PeriodicTimer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DFlow.kt216 fun <T> Flow<T>.throttle(periodMs: Long, clock: SystemClock = SystemClockImpl()): Flow<T> = in throttle()
229 val timeUntilNextEmit = max(0L, periodMs - timeSinceLastEmit) in throttle()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java605 long periodMs) { in setPowerStatsThrottlePeriodMillis() argument
606 mPowerStatsThrottlePeriods.put(powerComponentName, periodMs); in setPowerStatsThrottlePeriodMillis()
614 public Builder setDefaultPowerStatsThrottlePeriodMillis(long periodMs) { in setDefaultPowerStatsThrottlePeriodMillis() argument
615 mDefaultPowerStatsThrottlePeriod = periodMs; in setDefaultPowerStatsThrottlePeriodMillis()