Home
last modified time | relevance | path

Searched refs:getHitCount (Results 1 – 15 of 15) sorted by relevance

/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/
DExecDump.java74 Integer.valueOf(getHitCount(data.getProbes())), in dump()
84 private int getHitCount(final boolean[] data) { in getHitCount() method in ExecDump
/external/jacoco/org.jacoco.cli/src/org/jacoco/cli/internal/commands/
DExecInfo.java74 Integer.valueOf(getHitCount(data.getProbes())), in dump()
84 private int getHitCount(final boolean[] data) { in getHitCount() method in ExecInfo
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/
DAndroidShimResponseCache.java121 public int getHitCount() { in getHitCount() method in AndroidShimResponseCache
122 return delegate.getHitCount(); in getHitCount()
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/
DAndroidShimResponseCache.java123 public int getHitCount() { in getHitCount() method in AndroidShimResponseCache
124 return delegate.getHitCount(); in getHitCount()
/external/okhttp/android/src/main/java/com/android/okhttp/internalandroidapi/
DAndroidResponseCacheAdapter.java141 public int getHitCount() { in getHitCount() method in AndroidResponseCacheAdapter
142 return okHttpCache.getHitCount(); in getHitCount()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/
DHttpResponseCache.java152 public int getHitCount() { in getHitCount() method in HttpResponseCache
153 return shimResponseCache.getHitCount(); in getHitCount()
DHttpResponseCacheTest.java153 assertEquals(0, cache.getHitCount()); in statisticsTracking()
162 assertEquals(2, cache.getHitCount()); in statisticsTracking()
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internalandroidapi/
DAndroidResponseCacheAdapter.java143 public int getHitCount() { in getHitCount() method in AndroidResponseCacheAdapter
144 return okHttpCache.getHitCount(); in getHitCount()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java245 assertEquals(1, cache.getHitCount()); in testResponseCaching()
273 assertEquals(1, cache.getHitCount()); in secureResponseCaching()
300 assertEquals(2, cache.getHitCount()); in responseCachingAndRedirects()
350 assertEquals(2, cache.getHitCount()); in secureResponseCachingAndRedirects()
385 assertEquals(2, cache.getHitCount()); in secureResponseCachingAndProtocolRedirects()
930 assertEquals(0, cache.getHitCount()); in requestOnlyIfCachedWithNoResponseCached()
944 assertEquals(1, cache.getHitCount()); in requestOnlyIfCachedWithFullResponseCached()
958 assertEquals(0, cache.getHitCount()); in requestOnlyIfCachedWithConditionalResponseCached()
970 assertEquals(0, cache.getHitCount()); in requestOnlyIfCachedWithUnhelpfulResponseCached()
1186 assertEquals(0, cache.getHitCount()); in statisticsConditionalCacheMiss()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheTest.java243 assertEquals(1, cache.getHitCount()); in testResponseCaching()
273 assertEquals(1, cache.getHitCount()); in secureResponseCaching()
304 assertEquals(2, cache.getHitCount()); in responseCachingAndRedirects()
367 assertEquals(2, cache.getHitCount()); in secureResponseCachingAndRedirects()
405 assertEquals(2, cache.getHitCount()); in secureResponseCachingAndProtocolRedirects()
1146 assertEquals(0, cache.getHitCount()); in requestOnlyIfCachedWithNoResponseCached()
1164 assertEquals(1, cache.getHitCount()); in requestOnlyIfCachedWithFullResponseCached()
1183 assertEquals(0, cache.getHitCount()); in requestOnlyIfCachedWithConditionalResponseCached()
1200 assertEquals(0, cache.getHitCount()); in requestOnlyIfCachedWithUnhelpfulResponseCached()
1391 assertEquals(0, cache.getHitCount()); in statisticsConditionalCacheMiss()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdyTest.java332 assertEquals(0, cache.getHitCount()); in responsesAreCached()
337 assertEquals(2, cache.getHitCount()); in responsesAreCached()
349 assertEquals(0, cache.getHitCount()); in conditionalCache()
353 assertEquals(1, cache.getHitCount()); in conditionalCache()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowHttpResponseCacheTest.java39 assertThat(cache.getHitCount()).isEqualTo(0); in countsStartAtZero()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowHttpResponseCache.java74 protected int getHitCount() { in getHitCount() method in ShadowHttpResponseCache
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCache.java416 public synchronized int getHitCount() { in getHitCount() method
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCache.java418 public synchronized int getHitCount() { in getHitCount() method