Home
last modified time | relevance | path

Searched refs:RateLimitingRanges (Results 1 – 2 of 2) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/logging/
DHealthConnectServiceLoggerTest.java99 eq(RateLimitingRanges.NOT_USED), in testLogs_notHoldsDataManagementPermission()
122 eq(RateLimitingRanges.FOREGROUND_15_MIN_BW_3000_TO_4000), in testRateLimiter_foreground15MinRead()
145 eq(RateLimitingRanges.BACKGROUND_15_MIN_ABOVE_3000), in testRateLimiter_background15MinRead()
168 eq(RateLimitingRanges.BACKGROUND_24_HRS_BW_3000_TO_4000), in testRateLimiter_background24hourRead()
191 eq(RateLimitingRanges.FOREGROUND_24_HRS_BW_3000_TO_4000), in testRateLimiter_foreground24hourRead()
214 eq(RateLimitingRanges.FOREGROUND_15_MIN_BW_3000_TO_4000), in testRateLimiter_foreground15MinWrite()
237 eq(RateLimitingRanges.BACKGROUND_15_MIN_ABOVE_3000), in testRateLimiter_background15MinWrite()
260 eq(RateLimitingRanges.BACKGROUND_24_HRS_BW_3000_TO_4000), in testRateLimiter_background24hourWrite()
283 eq(RateLimitingRanges.FOREGROUND_24_HRS_BW_3000_TO_4000), in testRateLimiter_foreground24hourWrite()
306 eq(RateLimitingRanges.NOT_USED), in testApiSuccessLogs()
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/logging/
DHealthConnectServiceLogger.java224 public static final class RateLimitingRanges { class in HealthConnectServiceLogger
375 mRateLimit = RateLimitingRanges.NOT_USED; in Builder()
515 return RateLimitingRanges.sForeground15min.getOrDefault( in calculateRateLimitEnum()
516 quotient, RateLimitingRanges.FOREGROUND_15_MIN_ABOVE_4000); in calculateRateLimitEnum()
519 return RateLimitingRanges.sForeground24hour.getOrDefault( in calculateRateLimitEnum()
520 quotient, RateLimitingRanges.FOREGROUND_24_HRS_ABOVE_6000); in calculateRateLimitEnum()
524 return RateLimitingRanges.BACKGROUND_15_MIN_UNDER_500; in calculateRateLimitEnum()
526 return RateLimitingRanges.sBackground15Min.getOrDefault( in calculateRateLimitEnum()
527 quotient, RateLimitingRanges.BACKGROUND_15_MIN_ABOVE_3000); in calculateRateLimitEnum()
530 return RateLimitingRanges.sBackground24Hour.getOrDefault( in calculateRateLimitEnum()
[all …]