Searched refs:remainingTimeMillis (Results 1 – 4 of 4) sorted by relevance
255 final long remainingTimeMillis = CONNECT_TIMEOUT_MILLIS - elapsedTimeMillis; in connect() local256 if (remainingTimeMillis <= 0) { in connect()260 mLock.wait(remainingTimeMillis); in connect()723 final long remainingTimeMillis = timeoutMillis - elapsedTimeMillis; in executeAndWaitForEvent() local724 if (remainingTimeMillis <= 0) { in executeAndWaitForEvent()731 mLock.wait(remainingTimeMillis); in executeAndWaitForEvent()
589 final long remainingTimeMillis = mNextPersistDueTimeMillis - now; in getUpdatedPendingHistoricalOpsMLocked() local590 if (remainingTimeMillis > mBaseSnapshotInterval) { in getUpdatedPendingHistoricalOpsMLocked()594 mPendingHistoryOffsetMillis = remainingTimeMillis - mBaseSnapshotInterval; in getUpdatedPendingHistoricalOpsMLocked()596 final long elapsedTimeMillis = mBaseSnapshotInterval - remainingTimeMillis; in getUpdatedPendingHistoricalOpsMLocked()598 if (remainingTimeMillis > 0) { in getUpdatedPendingHistoricalOpsMLocked()613 final long overdueTimeMillis = Math.abs(remainingTimeMillis); in getUpdatedPendingHistoricalOpsMLocked()
654 final long remainingTimeMillis = WAIT_FOR_SETTING_URI_CHANGE_TIMEOUT_MILLIS in setSettingAndAssertSuccessfulChange() local657 mLock.wait(remainingTimeMillis); in setSettingAndAssertSuccessfulChange()
2748 int64_t remainingTimeMillis = kPollUidActiveTimeoutTotalMillis - ellapsedTimeMillis; in isUidActiveLocked() local2749 if (remainingTimeMillis <= 0) { in isUidActiveLocked()2752 remainingTimeMillis = std::min(kPollUidActiveTimeoutMillis, remainingTimeMillis); in isUidActiveLocked()2755 usleep(remainingTimeMillis * 1000); in isUidActiveLocked()