Searched refs:appSearchConfig (Results 1 – 5 of 5) sorted by relevance
94 ServiceAppSearchConfig appSearchConfig = in testDefaultValues_allCachedValue() local97 assertThat(appSearchConfig.getCachedMinTimeIntervalBetweenSamplesMillis()).isEqualTo( in testDefaultValues_allCachedValue()99 assertThat(appSearchConfig.getCachedSamplingIntervalDefault()).isEqualTo( in testDefaultValues_allCachedValue()101 assertThat(appSearchConfig.getCachedSamplingIntervalForBatchCallStats()).isEqualTo( in testDefaultValues_allCachedValue()103 assertThat(appSearchConfig.getCachedSamplingIntervalForPutDocumentStats()).isEqualTo( in testDefaultValues_allCachedValue()105 assertThat(appSearchConfig.getCachedSamplingIntervalForInitializeStats()).isEqualTo( in testDefaultValues_allCachedValue()107 assertThat(appSearchConfig.getCachedSamplingIntervalForSearchStats()).isEqualTo( in testDefaultValues_allCachedValue()109 assertThat(appSearchConfig.getCachedSamplingIntervalForGlobalSearchStats()).isEqualTo( in testDefaultValues_allCachedValue()111 assertThat(appSearchConfig.getCachedSamplingIntervalForOptimizeStats()).isEqualTo( in testDefaultValues_allCachedValue()113 assertThat(appSearchConfig.getMaxDocumentSizeBytes()).isEqualTo( in testDefaultValues_allCachedValue()[all …]
63 ServiceAppSearchConfig appSearchConfig = in testShouldNotOptimize_overOtherThresholds_underMinTimeThreshold() local66 new ServiceOptimizeStrategy(appSearchConfig); in testShouldNotOptimize_overOtherThresholds_underMinTimeThreshold()71 appSearchConfig.getCachedTimeOptimizeThresholdMs() + 1) in testShouldNotOptimize_overOtherThresholds_underMinTimeThreshold()73 appSearchConfig.getCachedBytesOptimizeThreshold() + 1) in testShouldNotOptimize_overOtherThresholds_underMinTimeThreshold()75 appSearchConfig.getCachedDocCountOptimizeThreshold() + 1) in testShouldNotOptimize_overOtherThresholds_underMinTimeThreshold()
260 ServiceAppSearchConfig appSearchConfig = in setUp() local262 AppSearchComponentFactory.setConfigInstanceForTest(appSearchConfig); in setUp()269 mUserHandle, appSearchConfig); in setUp()
49 static void setConfigInstanceForTest(@NonNull ServiceAppSearchConfig appSearchConfig) { in setConfigInstanceForTest() argument51 sConfigInstance = appSearchConfig; in setConfigInstanceForTest()
76 public ExecutorManager(@NonNull ServiceAppSearchConfig appSearchConfig) { in ExecutorManager() argument77 mAppSearchConfig = Objects.requireNonNull(appSearchConfig); in ExecutorManager()