Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java360 long timeRemainingMs = mTimeLimitMs - mUsageTimeMs; in checkTimeout() local
362 if (DEBUG) Slog.d(TAG, "checkTimeout timeRemaining=" + timeRemainingMs); in checkTimeout()
365 if (timeRemainingMs <= 0) return; in checkTimeout()
377 if (timeRemainingMs <= timeUsedMs) { in checkTimeout()
386 timeRemainingMs - timeUsedMs); in checkTimeout()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java2338 final long timeRemainingMs = mRegularJobTimer
2344 + timeRemainingMs + "ms left.");
2348 mHandler.sendMessageDelayed(msg, timeRemainingMs);
2725 long timeRemainingMs = getRemainingExecutionTimeLocked(pkg.userId, in handleMessage() local
2727 if (timeRemainingMs <= 50) { in handleMessage()
2744 timeRemainingMs = getTimeUntilQuotaConsumedLocked(pkg.userId, in handleMessage()
2747 Slog.d(TAG, pkg + " has " + timeRemainingMs + "ms left."); in handleMessage()
2749 sendMessageDelayed(rescheduleMsg, timeRemainingMs); in handleMessage()
2759 long timeRemainingMs = getRemainingEJExecutionTimeLocked( in handleMessage() local
2761 if (timeRemainingMs <= 0) { in handleMessage()
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java6291 final long timeRemainingMs = timeRemaining.getDuration().toMillis();
6293 Preconditions.checkArgumentPositive(timeRemainingMs,
6294 "Given time remaining is not positive: " + timeRemainingMs);
6317 mEnhancedDischargeTimeElapsed = nowElapsed + timeRemainingMs;