Home
last modified time | relevance | path

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

/system/core/logd/
DLogBuffer.cpp321 LogTimeEntry *oldest = NULL; in prune() local
330 && (!oldest || (oldest->mStart > entry->mStart))) { in prune()
331 oldest = entry; in prune()
342 if (oldest && (oldest->mStart <= e->getSequence())) { in prune()
403 if (oldest && (oldest->mStart <= e->getSequence())) { in prune()
522 if (oldest && (oldest->mStart <= e->getSequence())) { in prune()
529 oldest->release_Locked(); in prune()
531 oldest->triggerSkip_Locked(id, pruneRows); in prune()
557 if (oldest && (oldest->mStart <= e->getSequence())) { in prune()
560 oldest->release_Locked(); in prune()
[all …]
/system/core/liblog/
Dlog_read_kern.c419 struct log_list *oldest = NULL; in android_logger_list_flush() local
425 if (!oldest in android_logger_list_flush()
426 || (entry->entry.entry.sec < oldest->entry.entry.sec) in android_logger_list_flush()
427 || ((entry->entry.entry.sec == oldest->entry.entry.sec) in android_logger_list_flush()
428 && (entry->entry.entry.nsec < oldest->entry.entry.nsec))) { in android_logger_list_flush()
429 oldest = entry; in android_logger_list_flush()
433 if (!oldest) { in android_logger_list_flush()
441 || (oldest->entry.entry.sec < firstentry->entry.entry.sec) in android_logger_list_flush()
442 || ((oldest->entry.entry.sec == firstentry->entry.entry.sec) in android_logger_list_flush()
443 && (oldest->entry.entry.nsec < firstentry->entry.entry.nsec))) { in android_logger_list_flush()
[all …]
/system/core/debuggerd/
Dtombstone.cpp713 int oldest = -1; in find_and_open_tombstone() local
720 if (oldest < 0 || sb.st_mtime < oldest_sb.st_mtime) { in find_and_open_tombstone()
721 oldest = i; in find_and_open_tombstone()
737 if (oldest < 0) { in find_and_open_tombstone()
739 oldest = 0; in find_and_open_tombstone()
743 snprintf(path, sizeof(path), TOMBSTONE_TEMPLATE, oldest); in find_and_open_tombstone()
/system/core/include/utils/
DLruCache.h238 Entry* oldest = mOldest; in rehash() local
243 for (Entry* p = oldest; p != NULL; p = p->child) { in rehash()
/system/security/keystore/
Dkeystore.cpp2523 sp<IBinder> oldest = mOperationMap.getOldestPruneableOperation(); in begin() local
2524 ALOGD("Ran out of operation handles, trying to prune %p", oldest.get()); in begin()
2529 int abort_error = abort(oldest); in begin()
2534 oldest.get(), abort_error); in begin()