Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DAppBatteryExemptionTracker.java322 long recentActTs = 0, overlappingDuration = 0; in add() local
332 overlappingDuration += overlapping && (actl || actr) in add()
341 overlappingDuration += overlapping && actl ? (lts - recentActTs) : 0; in add()
347 overlappingDuration += overlapping && actr ? (rts - recentActTs) : 0; in add()
363 final long durationWithOverlapping = duration + overlappingDuration; in add()
372 overlappingDuration = 0; in add()