Home
last modified time | relevance | path

Searched refs:isExpired (Results 1 – 23 of 23) 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/core/src/main/java/com/android/volley/
DCache.java104 public boolean isExpired() { in isExpired() method in Cache.Entry
105 return isExpired(System.currentTimeMillis()); in isExpired()
108 boolean isExpired(long currentTimeMillis) { in isExpired() method in Cache.Entry
DCacheDispatcher.java148 if (entry.isExpired(currentTimeMillis)) { in processRequest()
DWaitingRequestManager.java85 if (response.cacheEntry == null || response.cacheEntry.isExpired()) { in onResponseReceived()
DAsyncRequestQueue.java283 if (entry.isExpired(currentTimeMillis)) { in handleEntry()
/external/openthread/examples/platforms/simulation/
Dalarm.c89 static bool isExpired(uint32_t aTime, uint32_t aNow) in isExpired() function
103 return isExpired(aTime, aNow) ? 0 : aTime - aNow; in calculateDuration()
280 if (sIsMsRunning && isExpired(sMsAlarm, otPlatAlarmMilliGetNow())) in platformAlarmProcess()
297 if (sIsUsRunning && isExpired(sUsAlarm, otPlatAlarmMicroGetNow())) in platformAlarmProcess()
/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
287 } else if (!isExpired(value)) { in getIfPresent()
570 if (!isExpired(next.getValue())) { in hasNext()
/external/volley/core/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/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/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/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/util/
DFileGroupUtil.java66 return isExpired(getExpirationDateMillis(fileGroup), timeSource); in isActiveGroupExpired()
73 public static boolean isExpired(long expirationDateMillis, TimeSource timeSource) { in isExpired() method in FileGroupUtil
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/
DExpirationHandler.java126 if (FileGroupUtil.isExpired(groupExpirationDateMillis, timeSource)) { in removeExpiredFreshGroups()
174 if (FileGroupUtil.isExpired(actualExpirationDateMillis, timeSource)) {
/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.java1757 if (isExpired(entry, now)) { in getLiveValue()
1766 boolean isExpired(ReferenceEntry<K, V> entry, long now) { in isExpired() method in LocalCache
2116 } else if (map.isExpired(e, now)) { in lockedGetOrLoad()
2215 if (map.isExpired(e, now)) { in compute()
2593 while ((e = writeQueue.peek()) != null && map.isExpired(e, now)) { in expireEntries()
2598 while ((e = accessQueue.peek()) != null && map.isExpired(e, now)) { in expireEntries()
2697 } else if (map.isExpired(e, now)) { in getLiveEntry()
2719 if (map.isExpired(entry, now)) { in getLiveValue()
/external/guava/android/guava/src/com/google/common/cache/
DLocalCache.java1757 if (isExpired(entry, now)) { in getLiveValue()
1766 boolean isExpired(ReferenceEntry<K, V> entry, long now) { in isExpired() method in LocalCache
2116 } else if (map.isExpired(e, now)) { in lockedGetOrLoad()
2511 while ((e = writeQueue.peek()) != null && map.isExpired(e, now)) { in expireEntries()
2516 while ((e = accessQueue.peek()) != null && map.isExpired(e, now)) { in expireEntries()
2615 } else if (map.isExpired(e, now)) { in getLiveEntry()
2637 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);