Searched refs:remainingTimeMillis (Results 1 – 4 of 4) sorted by relevance
343 final long remainingTimeMillis = timeoutMillis - elapsedTimeMillis; in connectWithTimeout() local344 if (remainingTimeMillis <= 0) { in connectWithTimeout()349 mLock.wait(remainingTimeMillis); in connectWithTimeout()915 final long remainingTimeMillis = timeoutMillis - elapsedTimeMillis; in executeAndWaitForEvent() local916 if (remainingTimeMillis <= 0) { in executeAndWaitForEvent()923 mLock.wait(remainingTimeMillis); in executeAndWaitForEvent()
657 final long remainingTimeMillis = WAIT_FOR_SETTING_URI_CHANGE_TIMEOUT_MILLIS in setSettingAndAssertSuccessfulChange() local660 mLock.wait(remainingTimeMillis); in setSettingAndAssertSuccessfulChange()
700 final long remainingTimeMillis = mNextPersistDueTimeMillis - now; in getUpdatedPendingHistoricalOpsMLocked() local701 if (remainingTimeMillis > mBaseSnapshotInterval) { in getUpdatedPendingHistoricalOpsMLocked()705 mPendingHistoryOffsetMillis = remainingTimeMillis - mBaseSnapshotInterval; in getUpdatedPendingHistoricalOpsMLocked()707 final long elapsedTimeMillis = mBaseSnapshotInterval - remainingTimeMillis; in getUpdatedPendingHistoricalOpsMLocked()709 if (remainingTimeMillis > 0) { in getUpdatedPendingHistoricalOpsMLocked()724 final long overdueTimeMillis = Math.abs(remainingTimeMillis); in getUpdatedPendingHistoricalOpsMLocked()
3543 int64_t remainingTimeMillis = kPollUidActiveTimeoutTotalMillis - ellapsedTimeMillis; in isUidActiveLocked() local3544 if (remainingTimeMillis <= 0) { in isUidActiveLocked()3547 remainingTimeMillis = std::min(kPollUidActiveTimeoutMillis, remainingTimeMillis); in isUidActiveLocked()3550 usleep(remainingTimeMillis * 1000); in isUidActiveLocked()