Home
last modified time | relevance | path

Searched refs:timeDiff (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.cpp48 const nsecs_t timeDiff = lastPresentTime - mLastPresentTime; in setLastPresentTime() local
51 if (timeDiff > OBSOLETE_TIME_EPSILON_NS.count()) return; in setLastPresentTime()
52 const nsecs_t refreshDuration = std::max(timeDiff, mMinRefreshDuration); in setLastPresentTime()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3625 final long timeDiff = (mHistoryBaseTime+elapsedRealtimeMs) - mHistoryLastWritten.time; in addHistoryBufferLocked() local
3630 if (DEBUG) Slog.i(TAG, "ADD: tdelta=" + timeDiff + " diff=" in addHistoryBufferLocked()
3636 && timeDiff < 1000 && (diffStates&lastDiffStates) == 0 in addHistoryBufferLocked()