Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DDropboxRateLimiterTest.java35 private DropboxRateLimiter mRateLimiter; field in DropboxRateLimiterTest
41 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 …]
/frameworks/av/media/libheadtracking/
DHeadTrackingProcessor.cpp55 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
/frameworks/base/services/core/java/com/android/server/selinux/
DSelinuxAuditLogsCollector.java49 private final RateLimiter mRateLimiter; field in SelinuxAuditLogsCollector
57 mRateLimiter = rateLimiter; in SelinuxAuditLogsCollector()
134 mRateLimiter.acquire(); in writeAuditLogs()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DAggregatedMobileDataStatsPuller.java142 private final RateLimiter mRateLimiter; field in AggregatedMobileDataStatsPuller
152 mRateLimiter = new RateLimiter(/* window= */ Duration.ofSeconds(1)); in AggregatedMobileDataStatsPuller()
212 if (mRateLimiter.tryAcquire()) { in noteUidProcessStateImpl()