Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java371 final int maxDurationMs = getMaximumTemporaryServiceDurationMs(); in setTemporaryService() local
372 if (durationMs > maxDurationMs) { in setTemporaryService()
374 "Max duration is " + maxDurationMs + " (called with " + durationMs + ")"); in setTemporaryService()
/frameworks/base/core/java/android/os/
DBatteryStats.java3241 final long maxDurationMs = timer.getMaxDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLock() local
3242 if (maxDurationMs >= 0) { in printWakeLock()
3244 sb.append(maxDurationMs); in printWakeLock()
3298 final long maxDurationMs = timer.getMaxDurationMsLocked(rawRealtimeUs/1000); in printTimer() local
3299 if (maxDurationMs >= 0) { in printTimer()
3301 sb.append(maxDurationMs); in printTimer()
3434 final long maxDurationMs = timer.getMaxDurationMsLocked(rawRealtimeUs / 1000); in dumpTimer() local
3437 if (timeMs != 0 || count != 0 || maxDurationMs != -1 || curDurationMs != -1 in dumpTimer()
3443 if (maxDurationMs != -1) { in dumpTimer()
3444 proto.write(TimerProto.MAX_DURATION_MS, maxDurationMs); in dumpTimer()