Home
last modified time | relevance | path

Searched refs:nTimes (Results 1 – 3 of 3) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ratelimiter/
DRateLimiterTest.java189 int nTimes = 1000 / mLimitsAdjustmentForTesting; in exceedRecordMemoryRollingQuotaBackgroundLimit() local
190 for (int i = 0; i < nTimes; i++) { in exceedRecordMemoryRollingQuotaBackgroundLimit()
250 List<Record> testRecord, List<Record> insertedRecords, int nTimes) in tryAcquireCallQuotaNTimesForRead() argument
252 nTimes = nTimes / mLimitsAdjustmentForTesting; in tryAcquireCallQuotaNTimesForRead()
256 int changelogCalls = nTimes / 4; in tryAcquireCallQuotaNTimesForRead()
261 int aggregateCalls = nTimes / 4; in tryAcquireCallQuotaNTimesForRead()
274 for (int i = 0; i < nTimes - aggregateCalls - 2 * changelogCalls; i++) { in tryAcquireCallQuotaNTimesForRead()
303 private void tryAcquireCallQuotaNTimesForWrite(int nTimes) throws InterruptedException { in tryAcquireCallQuotaNTimesForWrite() argument
304 nTimes = nTimes / mLimitsAdjustmentForTesting; in tryAcquireCallQuotaNTimesForWrite()
308 for (int i = 0; i < nTimes; i++) { in tryAcquireCallQuotaNTimesForWrite()
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DRateLimiterTest.java208 @QuotaCategory.Type int quotaCategory, boolean isInForeground, int nTimes) { in tryAcquireCallQuotaNTimes() argument
211 for (int i = 0; i < nTimes; i++) { in tryAcquireCallQuotaNTimes()
215 for (int i = 0; i < nTimes; i++) { in tryAcquireCallQuotaNTimes()
224 int nTimes, in tryAcquireCallQuotaNTimes() argument
226 for (int i = 0; i < nTimes; i++) { in tryAcquireCallQuotaNTimes()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java351 private void verifyFailedResponse(int nTimes, in verifyFailedResponse() argument
354 order.verify(listener, times(nTimes)).onFailure(expectedErrorReason, in verifyFailedResponse()