Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.cpp41 const nsecs_t timeDiff = lastPresentTime - mLastPresentTime; in setLastPresentTime() local
44 if (timeDiff > TIME_EPSILON_NS.count()) return; in setLastPresentTime()
45 const nsecs_t refreshDuration = (timeDiff > 0) ? timeDiff : mMinRefreshDuration; in setLastPresentTime()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3622 final long timeDiff = (mHistoryBaseTime+elapsedRealtimeMs) - mHistoryLastWritten.time; in addHistoryBufferLocked() local
3627 if (DEBUG) Slog.i(TAG, "ADD: tdelta=" + timeDiff + " diff=" in addHistoryBufferLocked()
3633 && timeDiff < 1000 && (diffStates&lastDiffStates) == 0 in addHistoryBufferLocked()