Home
last modified time | relevance | path

Searched refs:remainingTimeMillis (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/app/
DUiAutomation.java255 final long remainingTimeMillis = CONNECT_TIMEOUT_MILLIS - elapsedTimeMillis; in connect() local
256 if (remainingTimeMillis <= 0) { in connect()
260 mLock.wait(remainingTimeMillis); in connect()
723 final long remainingTimeMillis = timeoutMillis - elapsedTimeMillis; in executeAndWaitForEvent() local
724 if (remainingTimeMillis <= 0) { in executeAndWaitForEvent()
731 mLock.wait(remainingTimeMillis); in executeAndWaitForEvent()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java589 final long remainingTimeMillis = mNextPersistDueTimeMillis - now; in getUpdatedPendingHistoricalOpsMLocked() local
590 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()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsProviderTest.java654 final long remainingTimeMillis = WAIT_FOR_SETTING_URI_CHANGE_TIMEOUT_MILLIS in setSettingAndAssertSuccessfulChange() local
657 mLock.wait(remainingTimeMillis); in setSettingAndAssertSuccessfulChange()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2748 int64_t remainingTimeMillis = kPollUidActiveTimeoutTotalMillis - ellapsedTimeMillis; in isUidActiveLocked() local
2749 if (remainingTimeMillis <= 0) { in isUidActiveLocked()
2752 remainingTimeMillis = std::min(kPollUidActiveTimeoutMillis, remainingTimeMillis); in isUidActiveLocked()
2755 usleep(remainingTimeMillis * 1000); in isUidActiveLocked()