Home
last modified time | relevance | path

Searched refs:oldest (Results 1 – 7 of 7) sorted by relevance

/system/core/liblog/
Dlogger_read.cpp359 struct android_log_transport_context* oldest = NULL; in android_logger_list_read() local
397 (!oldest || (oldest->logMsg.entry.sec > transp->logMsg.entry.sec) || in android_logger_list_read()
398 ((oldest->logMsg.entry.sec == transp->logMsg.entry.sec) && in android_logger_list_read()
399 (oldest->logMsg.entry.nsec > transp->logMsg.entry.nsec)))) { in android_logger_list_read()
400 oldest = transp; in android_logger_list_read()
405 if (!oldest && (logger_list_internal->mode & ANDROID_LOG_NONBLOCK)) { in android_logger_list_read()
410 } while (!oldest && (ret > 0)); in android_logger_list_read()
411 if (!oldest) { in android_logger_list_read()
415 ret = oldest->ret; in android_logger_list_read()
416 if (ret < oldest->logMsg.entry.hdr_size) { in android_logger_list_read()
[all …]
/system/core/logd/
DLogBuffer.cpp700 LogTimeEntry* oldest = nullptr; in prune() local
711 (!oldest || (oldest->mStart > entry->mStart) || in prune()
712 ((oldest->mStart == entry->mStart) && in prune()
714 oldest = entry; in prune()
719 if (oldest) watermark = oldest->mStart - pruneMargin; in prune()
741 if (oldest && (watermark <= element->getRealTime())) { in prune()
743 if (busy) kickMe(oldest, id, pruneRows); in prune()
829 if (oldest && (watermark <= element->getRealTime())) { in prune()
981 if (oldest && (watermark <= element->getRealTime())) { in prune()
983 if (!whitelist && busy) kickMe(oldest, id, pruneRows); in prune()
[all …]
DLogStatistics.cpp698 uint64_t oldest = mOldest[id].msec(); in format() local
700 if (newest <= oldest) { in format()
705 uint64_t span = newest - oldest; in format()
712 if (minTime > oldest) minTime = oldest; in format()
718 if (dropped < oldest) dropped = oldest; in format()
DREADME.property41 oldest entries of chattiest UID, and
/system/security/keystore/
Dkeymaster_worker.cpp318 sp<IBinder> oldest = operationMap_.getOldestPruneableOperation(); in pruneOperation() local
319 ALOGD("Trying to prune operation %p", oldest.get()); in pruneOperation()
323 auto rc = abort(oldest); in pruneOperation()
325 ALOGE("Failed to abort pruneable operation %p, error: %d", oldest.get(), rc.getErrorCode()); in pruneOperation()
/system/netd/resolv/
Dres_cache.cpp1374 Entry* oldest = cache->mru_list.mru_prev; in _cache_remove_oldest() local
1375 Entry** lookup = _cache_lookup_p(cache, oldest); in _cache_remove_oldest()
1382 dump_query(oldest->query, oldest->querylen); in _cache_remove_oldest()
DREADME.md101 `DnsTlsSessionCache` sets a limit of 5 sessions in each cache, expiring the oldest one