Searched refs:mRateLimiter (Results 1 – 4 of 4) sorted by relevance
35 private DropboxRateLimiter mRateLimiter; field in DropboxRateLimiterTest41 mRateLimiter = new DropboxRateLimiter(mClock); in setUp()47 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testMultipleProcesses()48 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testMultipleProcesses()49 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testMultipleProcesses()50 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testMultipleProcesses()51 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testMultipleProcesses()52 assertFalse(mRateLimiter.shouldRateLimit("tag", "process").shouldRateLimit()); in testMultipleProcesses()54 assertFalse(mRateLimiter.shouldRateLimit("tag", "process2").shouldRateLimit()); in testMultipleProcesses()55 assertFalse(mRateLimiter.shouldRateLimit("tag2", "process").shouldRateLimit()); in testMultipleProcesses()[all …]
55 mRateLimiter(PoseRateLimiter::Options{73 mRateLimiter.enable(); in setWorldToScreenPose()133 mRateLimiter.enable(); in calculate()135 mRateLimiter.setTarget(mModeSelector.getHeadToStagePose()); in calculate()136 mHeadToStagePose = mRateLimiter.calculatePose(timestamp); in calculate()161 mRateLimiter.enable(); in recenter()193 ss += mRateLimiter.toString(level + 1); in toString_l()215 PoseRateLimiter mRateLimiter; member in android::media::__anon130e37b90111::HeadTrackingProcessorImpl
49 private final RateLimiter mRateLimiter; field in SelinuxAuditLogsCollector57 mRateLimiter = rateLimiter; in SelinuxAuditLogsCollector()134 mRateLimiter.acquire(); in writeAuditLogs()
142 private final RateLimiter mRateLimiter; field in AggregatedMobileDataStatsPuller152 mRateLimiter = new RateLimiter(/* window= */ Duration.ofSeconds(1)); in AggregatedMobileDataStatsPuller()212 if (mRateLimiter.tryAcquire()) { in noteUidProcessStateImpl()