Home
last modified time | relevance | path

Searched defs:rateLimitConfig (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/
DAppSearchRateLimitConfigTest.java32 AppSearchRateLimitConfig rateLimitConfig = AppSearchRateLimitConfig.create( in testDefaultRateLimitConfig() local
52 AppSearchRateLimitConfig rateLimitConfig = in testCustomRateLimitConfig() local
84 AppSearchRateLimitConfig rateLimitConfig = AppSearchRateLimitConfig.create( in testRateLimitConfigRebuild_changeTotalCapacity() local
109 AppSearchRateLimitConfig rateLimitConfig = AppSearchRateLimitConfig.create(10000, in testRateLimitConfigRebuild_changePerPackagePercentage() local
131 AppSearchRateLimitConfig rateLimitConfig = AppSearchRateLimitConfig.create( in testRateLimitConfigRebuild_changeApiCosts() local
158 AppSearchRateLimitConfig rateLimitConfig = AppSearchRateLimitConfig.create( in testRateLimitConfigRebuild_allConfigsChanged() local
180 AppSearchRateLimitConfig rateLimitConfig = in testApiCostStringCaseSensitive() local
200 AppSearchRateLimitConfig rateLimitConfig = in testInvalidApiCostsString_unspecifiedApiCosts() local
219 AppSearchRateLimitConfig rateLimitConfig = in testInvalidApiCostsString_nonIntegerApiCosts() local
253 AppSearchRateLimitConfig rateLimitConfig = in testInvalidApiCostsString_negativeApiCostNotAllowed() local
[all …]
DRateLimitedExecutorTest.java44 AppSearchRateLimitConfig rateLimitConfig = AppSearchRateLimitConfig.create(100, 0.9f, in testAddTaskToQueue_addOk() local
71 AppSearchRateLimitConfig rateLimitConfig = AppSearchRateLimitConfig.create(100, 0.9f, in testAddTaskToQueue_exceedsPerPackageCapacity_cannotAddTask() local
110 AppSearchRateLimitConfig rateLimitConfig = AppSearchRateLimitConfig.create(100, 0.9f, in testAddTaskToQueue_otherPackageExceedsPerPackageCapacity_canAddTask() local
147 AppSearchRateLimitConfig rateLimitConfig = AppSearchRateLimitConfig.create(100, 0.9f, in testAddTaskToQueue_exceedsTotalCapacity_cannotAddTask() local
190 AppSearchRateLimitConfig rateLimitConfig = AppSearchRateLimitConfig.create(100, 0.9f, in testRemoveTaskFromQueue_removeOk() local
235 AppSearchRateLimitConfig rateLimitConfig = AppSearchRateLimitConfig.create(100, 0.9f, in testCanAddMoreTasksAfterQueueClearsUp() local
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DExecutorManager.java119 @NonNull UserHandle userHandle, @NonNull AppSearchRateLimitConfig rateLimitConfig) { in getOrCreateUserRateLimitedExecutorLocked()
DRateLimitedExecutor.java66 @NonNull ExecutorService executor, @NonNull AppSearchRateLimitConfig rateLimitConfig) { in RateLimitedExecutor()
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DServiceAppSearchConfigTest.java148 AppSearchRateLimitConfig rateLimitConfig = appSearchConfig.getCachedRateLimitConfig(); in testDefaultValues_allCachedValue() local
785 AppSearchRateLimitConfig rateLimitConfig = appSearchConfig.getCachedRateLimitConfig(); in testCustomizedValueOverride_rateLimitConfig() local