Searched defs:oldest (Results 1 - 4 of 4) sorted by relevance

/system/core/liblog/
H A Dlogger_read.c388 struct android_log_transport_context* oldest = NULL; local
429 (!oldest || (oldest->logMsg.entry.sec > transp->logMsg.entry.sec) ||
430 ((oldest->logMsg.entry.sec == transp->logMsg.entry.sec) &&
431 (oldest->logMsg.entry.nsec > transp->logMsg.entry.nsec)))) {
432 oldest = transp;
439 if (!oldest && (logger_list_internal->mode & ANDROID_LOG_NONBLOCK)) {
444 } while (!oldest && (ret > 0));
445 if (!oldest) {
449 ret = oldest
[all...]
/system/core/debuggerd/libdebuggerd/
H A Dtombstone.cpp683 int oldest = -1; local
690 if (oldest < 0 || sb.st_mtime < oldest_sb.st_mtime) {
691 oldest = i;
708 if (oldest < 0) {
710 oldest = 0;
713 // we didn't find an available file, so we clobber the oldest one
714 snprintf(path, sizeof(path), TOMBSTONE_TEMPLATE, oldest);
/system/core/logd/
H A DLogBuffer.cpp622 // There are three major pruning loops that follow. All expire from the oldest
661 LogTimeEntry* oldest = nullptr; local
672 (!oldest || (oldest->mStart > entry->mStart) ||
673 ((oldest->mStart == entry->mStart) &&
675 oldest = entry;
680 if (oldest) watermark = oldest->mStart - pruneMargin;
702 if (oldest && (watermark <= element->getRealTime())) {
704 if (oldest
[all...]
/system/security/keystore/
H A Dkey_store_service.cpp1113 // If there are more than kMaxOperations, abort the oldest operation that was started as
1137 // If there are too many operations abort the oldest operation that was
1506 * Prune the oldest pruneable operation.
1509 sp<IBinder> oldest = mOperationMap.getOldestPruneableOperation(); local
1510 ALOGD("Trying to prune operation %p", oldest.get());
1514 int abort_error = abort(oldest);
1516 ALOGE("Failed to abort pruneable operation %p, error: %d", oldest.get(), abort_error);

Completed in 182 milliseconds