Home
last modified time | relevance | path

Searched refs:isExpired (Results 1 – 19 of 19) sorted by relevance

/external/grpc-grpc-java/context/src/test/java/io/grpc/
DDeadlineTest.java77 assertFalse(d.isExpired()); in timeCanOverflow()
80 assertTrue(d.isExpired()); in timeCanOverflow()
89 assertTrue(d.isExpired()); in timeCanUnderflow()
107 assertTrue(deadline.isExpired()); in immediateDeadlineIsExpired()
114 assertFalse(d.isExpired()); in shortDeadlineEventuallyExpires()
117 assertTrue(d.isExpired()); in shortDeadlineEventuallyExpires()
129 assertTrue(d.isExpired()); in pastDeadlineIsExpired()
136 assertFalse(after.isExpired()); in deadlineDoesNotOverflowOrUnderflow()
139 assertTrue(before.isExpired()); in deadlineDoesNotOverflowOrUnderflow()
147 assertTrue(base.isExpired()); in beforeExpiredDeadlineIsExpired()
[all …]
DContextTest.java604 assertTrue(sooner.isExpired()); in earlierParentDeadlineTakesPrecedenceOverLaterChildDeadline()
605 assertFalse(later.isExpired()); in earlierParentDeadlineTakesPrecedenceOverLaterChildDeadline()
641 assertFalse(deadline.isExpired()); in cancellationDoesNotExpireDeadline()
756 assertTrue(deadline.isExpired()); in expiredDeadlineShouldCancelContextImmediately()
/external/volley/src/test/java/com/android/volley/utils/
DCacheTestUtils.java32 byte[] data, boolean isExpired, boolean needsRefresh) { in makeRandomCacheEntry() argument
42 entry.ttl = isExpired ? 0 : Long.MAX_VALUE; in makeRandomCacheEntry()
/external/apache-http/src/org/apache/http/impl/cookie/
DBasicClientCookie2.java94 public boolean isExpired(final Date date) { in isExpired() method in BasicClientCookie2
95 return this.discard || super.isExpired(date); in isExpired()
DBasicClientCookie.java300 public boolean isExpired(final Date date) { in isExpired() method in BasicClientCookie
/external/apache-http/src/org/apache/http/impl/client/
DBasicCookieStore.java99 if (!cookie.isExpired(new Date())) { in addCookie()
147 if (it.next().isExpired(date)) { in clearExpired()
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DLocalCache.java102 } else if (!isExpired(value)) { in get()
133 if (!isExpired(stamped)) { in remove()
201 return cachingHashMap.containsKey(key) && !isExpired(cachingHashMap.get(key)); in containsKey()
208 if (!isExpired(val)) { in containsValue()
216 private boolean isExpired(Timestamped<V> stamped) { in isExpired() method in LocalCache
285 } else if (!isExpired(value)) { in getIfPresent()
569 if (!isExpired(next.getValue())) { in hasNext()
/external/grpc-grpc-java/context/src/main/java/io/grpc/
DDeadline.java77 public boolean isExpired() { in isExpired() method in Deadline
114 return new Deadline(ticker, deadlineNanos, units.toNanos(offset), isExpired()); in offset()
DContext.java725 if (!deadline.isExpired()) {
/external/apache-http/src/org/apache/http/cookie/
DCookie.java141 boolean isExpired(final Date date); in isExpired() method
/external/volley/src/main/java/com/android/volley/
DCacheDispatcher.java146 if (entry.isExpired()) { in processRequest()
225 if (response.cacheEntry == null || response.cacheEntry.isExpired()) { in onResponseReceived()
DCache.java102 public boolean isExpired() { in isExpired() method in Cache.Entry
/external/grpc-grpc-java/examples/android/clientcache/app/src/main/java/io/grpc/clientcacheexample/
DSafeMethodCachingInterceptor.java229 if (cacheResponse && !deadline.isExpired()) {
271 if (cachedResponse.maxAgeDeadline.isExpired()) {
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DClientCallImpl.java234 boolean deadlineExceeded = effectiveDeadline != null && effectiveDeadline.isExpired(); in start()
565 if (deadline.isExpired()) { in closed()
/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java1904 if (expires() && isExpired(entry)) { in getLiveValue()
1915 boolean isExpired(ReferenceEntry<K, V> entry) { in isExpired() method in MapMakerInternalMap
1916 return isExpired(entry, ticker.read()); in isExpired()
1922 boolean isExpired(ReferenceEntry<K, V> entry, long now) { in isExpired() method in MapMakerInternalMap
2349 while ((e = expirationQueue.peek()) != null && map.isExpired(e, now)) { in expireEntries()
2426 } else if (map.expires() && map.isExpired(e)) { in getLiveEntry()
3036 if (map.expires() && map.isExpired(entry)) { in getLiveValue()
DComputingConcurrentHashMap.java115 } else if (map.expires() && map.isExpired(e)) { in getOrCompute()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java1895 if (isExpired(entry, now)) { in getLiveValue()
1906 boolean isExpired(ReferenceEntry<K, V> entry, long now) { in isExpired() method in LocalCache
2240 } else if (map.isExpired(e, now)) { in lockedGetOrLoad()
2623 while ((e = writeQueue.peek()) != null && map.isExpired(e, now)) { in expireEntries()
2628 while ((e = accessQueue.peek()) != null && map.isExpired(e, now)) { in expireEntries()
2724 } else if (map.isExpired(e, now)) { in getLiveEntry()
2746 if (map.isExpired(entry, now)) { in getLiveValue()
/external/apache-http/
Dart-profile212 HPLorg/apache/http/cookie/Cookie;->isExpired(Ljava/util/Date;)Z
456 HPLorg/apache/http/impl/cookie/BasicClientCookie;->isExpired(Ljava/util/Date;)Z
/external/apache-http/api/
Dcurrent.txt1971 method @Deprecated public boolean isExpired(java.util.Date);
3017 method @Deprecated public boolean isExpired(java.util.Date);