Home
last modified time | relevance | path

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

/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/
DAppSearchRateLimitConfigTest.java37 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo( in testDefaultRateLimitConfig()
56 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo(1000); in testCustomRateLimitConfig()
92 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo(1000); in testRateLimitConfigRebuild_changeTotalCapacity()
115 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo(10000); in testRateLimitConfigRebuild_changePerPackagePercentage()
140 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo( in testRateLimitConfigRebuild_changeApiCosts()
165 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo(1000); in testRateLimitConfigRebuild_allConfigsChanged()
184 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo(1000); in testApiCostStringCaseSensitive()
204 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo(1000); in testInvalidApiCostsString_unspecifiedApiCosts()
223 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo(1000); in testInvalidApiCostsString_nonIntegerApiCosts()
238 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo(1000); in testInvalidApiCostsString_nonIntegerApiCosts()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchRateLimitConfig.java123 public int getTaskQueueTotalCapacity() { in getTaskQueueTotalCapacity() method in AppSearchRateLimitConfig
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DServiceAppSearchConfigTest.java149 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo( in testDefaultValues_allCachedValue()
786 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo( in testCustomizedValueOverride_rateLimitConfig()
809 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo( in testCustomizedValueOverride_rateLimitConfig()
821 assertThat(rateLimitConfig.getTaskQueueTotalCapacity()).isEqualTo(12345); in testCustomizedValueOverride_rateLimitConfig()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DRateLimitedExecutor.java143 > mRateLimitConfigLocked.getTaskQueueTotalCapacity()) { in addTaskToQueue()