Searched refs:timeRemainingMs (Results 1 – 3 of 3) sorted by relevance
360 long timeRemainingMs = mTimeLimitMs - mUsageTimeMs; in checkTimeout() local362 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()
2338 final long timeRemainingMs = mRegularJobTimer2344 + timeRemainingMs + "ms left.");2348 mHandler.sendMessageDelayed(msg, timeRemainingMs);2725 long timeRemainingMs = getRemainingExecutionTimeLocked(pkg.userId, in handleMessage() local2727 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() local2761 if (timeRemainingMs <= 0) { in handleMessage()[all …]
6291 final long timeRemainingMs = timeRemaining.getDuration().toMillis();6293 Preconditions.checkArgumentPositive(timeRemainingMs,6294 "Given time remaining is not positive: " + timeRemainingMs);6317 mEnhancedDischargeTimeElapsed = nowElapsed + timeRemainingMs;