Searched refs:MAX_FOREGROUND_READ_CALL_15M (Results 1 – 2 of 2) sorted by relevance
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/ |
D | RateLimiterTest.java | 48 private static final int MAX_FOREGROUND_READ_CALL_15M = 2000; field in RateLimiterTest 101 quotaCategory, IS_IN_FOREGROUND_TRUE, MAX_FOREGROUND_READ_CALL_15M + 1); in testTryAcquireApiCallQuota_unmeteredForegroundCalls() 117 quotaCategoryRead, IS_IN_FOREGROUND_TRUE, MAX_FOREGROUND_READ_CALL_15M); in testTryAcquireApiCallQuota_meteredForegroundCallsInLimit() 134 quotaCategoryRead, IS_IN_FOREGROUND_TRUE, MAX_FOREGROUND_READ_CALL_15M); in testTryAcquireApiCallQuota_meteredForegroundCallsLimitExceeded() 137 getCeilQuotaAcquired(startTime, endTime, WINDOW_15M, MAX_FOREGROUND_READ_CALL_15M); in testTryAcquireApiCallQuota_meteredForegroundCallsLimitExceeded()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ratelimiter/ |
D | RateLimiterTest.java | 75 private static final int MAX_FOREGROUND_READ_CALL_15M = 2000; field in RateLimiterTest 114 testRecord, TestUtils.insertRecords(testRecord), MAX_FOREGROUND_READ_CALL_15M); in testTryAcquireApiCallQuota_readCallsInLimit() 224 tryAcquireCallQuotaNTimesForRead(testRecord, insertedRecords, MAX_FOREGROUND_READ_CALL_15M); in exceedReadQuota() 227 getQuotaAcquired(startTime, endTime, WINDOW_15M, MAX_FOREGROUND_READ_CALL_15M); in exceedReadQuota()
|