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.java340 final int maxDurationMs = getMaximumTemporaryServiceDurationMs(); in setTemporaryService() local
341 if (durationMs > maxDurationMs) { in setTemporaryService()
343 "Max duration is " + maxDurationMs + " (called with " + durationMs + ")"); in setTemporaryService()
/frameworks/base/core/java/android/os/
DBatteryStats.java3189 final long maxDurationMs = timer.getMaxDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLock() local
3190 if (maxDurationMs >= 0) { in printWakeLock()
3192 sb.append(maxDurationMs); in printWakeLock()
3246 final long maxDurationMs = timer.getMaxDurationMsLocked(rawRealtimeUs/1000); in printTimer() local
3247 if (maxDurationMs >= 0) { in printTimer()
3249 sb.append(maxDurationMs); in printTimer()
3382 final long maxDurationMs = timer.getMaxDurationMsLocked(rawRealtimeUs / 1000); in dumpTimer() local
3385 if (timeMs != 0 || count != 0 || maxDurationMs != -1 || curDurationMs != -1 in dumpTimer()
3391 if (maxDurationMs != -1) { in dumpTimer()
3392 proto.write(TimerProto.MAX_DURATION_MS, maxDurationMs); in dumpTimer()