Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java354 long timeRemainingMs = mTimeLimitMs - mUsageTimeMs; in checkTimeout() local
356 if (DEBUG) Slog.d(TAG, "checkTimeout timeRemaining=" + timeRemainingMs); in checkTimeout()
359 if (timeRemainingMs <= 0) return; in checkTimeout()
371 if (timeRemainingMs <= timeUsedMs) { in checkTimeout()
380 timeRemainingMs - timeUsedMs); in checkTimeout()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java1720 final long timeRemainingMs = getTimeUntilQuotaConsumedLocked(mPkg.userId, in scheduleCutoff() local
1723 Slog.i(TAG, "Job for " + mPkg + " has " + timeRemainingMs + "ms left."); in scheduleCutoff()
1727 mHandler.sendMessageDelayed(msg, timeRemainingMs); in scheduleCutoff()
1872 long timeRemainingMs = getRemainingExecutionTimeLocked(pkg.userId, in handleMessage() local
1874 if (timeRemainingMs <= 50) { in handleMessage()
1885 timeRemainingMs = getTimeUntilQuotaConsumedLocked(pkg.userId, in handleMessage()
1888 Slog.d(TAG, pkg + " has " + timeRemainingMs + "ms left."); in handleMessage()
1890 sendMessageDelayed(rescheduleMsg, timeRemainingMs); in handleMessage()