Searched refs:timeRemainingMs (Results 1 – 2 of 2) sorted by relevance
354 long timeRemainingMs = mTimeLimitMs - mUsageTimeMs; in checkTimeout() local356 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()
1614 final long timeRemainingMs = getTimeUntilQuotaConsumedLocked(mPkg.userId, in scheduleCutoff() local1617 Slog.i(TAG, "Job for " + mPkg + " has " + timeRemainingMs + "ms left."); in scheduleCutoff()1621 mHandler.sendMessageDelayed(msg, timeRemainingMs); in scheduleCutoff()1762 long timeRemainingMs = getRemainingExecutionTimeLocked(pkg.userId, in handleMessage() local1764 if (timeRemainingMs <= 50) { in handleMessage()1775 timeRemainingMs = getTimeUntilQuotaConsumedLocked(pkg.userId, in handleMessage()1778 Slog.d(TAG, pkg + " has " + timeRemainingMs + "ms left."); in handleMessage()1780 sendMessageDelayed(rescheduleMsg, timeRemainingMs); in handleMessage()