Searched refs:periodMs (Results 1 – 4 of 4) sorted by relevance
42 explicit AudioWatchdog(unsigned periodMs = 50) : Thread(false /*canCallJava*/), in Thread()43 mPeriodNs(periodMs * 1000000), mMaxCycleNs(mPeriodNs * 2) in Thread()
45 PeriodicTimer(String name, long periodMs, int msgType) { in PeriodicTimer() argument47 mPeriodMs = periodMs; in PeriodicTimer()
216 fun <T> Flow<T>.throttle(periodMs: Long, clock: SystemClock = SystemClockImpl()): Flow<T> = in throttle()229 val timeUntilNextEmit = max(0L, periodMs - timeSinceLastEmit) in throttle()
605 long periodMs) { in setPowerStatsThrottlePeriodMillis() argument606 mPowerStatsThrottlePeriods.put(powerComponentName, periodMs); in setPowerStatsThrottlePeriodMillis()614 public Builder setDefaultPowerStatsThrottlePeriodMillis(long periodMs) { in setDefaultPowerStatsThrottlePeriodMillis() argument615 mDefaultPowerStatsThrottlePeriod = periodMs; in setDefaultPowerStatsThrottlePeriodMillis()