Home
last modified time | relevance | path

Searched refs:isExpired (Results 1 – 20 of 20) 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/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/volley/src/test/java/com/android/volley/utils/
DCacheTestUtils.java37 byte[] data, boolean isExpired, boolean needsRefresh) { in makeRandomCacheEntry() argument
47 entry.ttl = isExpired ? 0 : Long.MAX_VALUE; in makeRandomCacheEntry()
/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
287 } else if (!isExpired(value)) { in getIfPresent()
570 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/
DCache.java104 public boolean isExpired() { in isExpired() method in Cache.Entry
DCacheDispatcher.java142 if (entry.isExpired()) { in processRequest()
DWaitingRequestManager.java85 if (response.cacheEntry == null || response.cacheEntry.isExpired()) { in onResponseReceived()
DAsyncRequestQueue.java234 if (entry.isExpired()) { in handleEntry()
/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/cache/
DLocalCache.java1753 if (isExpired(entry, now)) { in getLiveValue()
1762 boolean isExpired(ReferenceEntry<K, V> entry, long now) { in isExpired() method in LocalCache
2112 } else if (map.isExpired(e, now)) { in lockedGetOrLoad()
2211 if (map.isExpired(e, now)) { in compute()
2589 while ((e = writeQueue.peek()) != null && map.isExpired(e, now)) { in expireEntries()
2594 while ((e = accessQueue.peek()) != null && map.isExpired(e, now)) { in expireEntries()
2693 } else if (map.isExpired(e, now)) { in getLiveEntry()
2715 if (map.isExpired(entry, now)) { in getLiveValue()
/external/guava/android/guava/src/com/google/common/cache/
DLocalCache.java1751 if (isExpired(entry, now)) { in getLiveValue()
1760 boolean isExpired(ReferenceEntry<K, V> entry, long now) { in isExpired() method in LocalCache
2110 } else if (map.isExpired(e, now)) { in lockedGetOrLoad()
2505 while ((e = writeQueue.peek()) != null && map.isExpired(e, now)) { in expireEntries()
2510 while ((e = accessQueue.peek()) != null && map.isExpired(e, now)) { in expireEntries()
2609 } else if (map.isExpired(e, now)) { in getLiveEntry()
2631 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.txt1977 method @Deprecated public boolean isExpired(java.util.Date);
3023 method @Deprecated public boolean isExpired(java.util.Date);