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()
1720 final long timeRemainingMs = getTimeUntilQuotaConsumedLocked(mPkg.userId, in scheduleCutoff() local1723 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() local1874 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()