Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DUiAutomation.java343 final long remainingTimeMillis = timeoutMillis - elapsedTimeMillis; in connectWithTimeout() local
344 if (remainingTimeMillis <= 0) { in connectWithTimeout()
349 mLock.wait(remainingTimeMillis); in connectWithTimeout()
915 final long remainingTimeMillis = timeoutMillis - elapsedTimeMillis; in executeAndWaitForEvent() local
916 if (remainingTimeMillis <= 0) { in executeAndWaitForEvent()
923 mLock.wait(remainingTimeMillis); in executeAndWaitForEvent()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsProviderTest.java657 final long remainingTimeMillis = WAIT_FOR_SETTING_URI_CHANGE_TIMEOUT_MILLIS in setSettingAndAssertSuccessfulChange() local
660 mLock.wait(remainingTimeMillis); in setSettingAndAssertSuccessfulChange()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java700 final long remainingTimeMillis = mNextPersistDueTimeMillis - now; in getUpdatedPendingHistoricalOpsMLocked() local
701 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()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp3543 int64_t remainingTimeMillis = kPollUidActiveTimeoutTotalMillis - ellapsedTimeMillis; in isUidActiveLocked() local
3544 if (remainingTimeMillis <= 0) { in isUidActiveLocked()
3547 remainingTimeMillis = std::min(kPollUidActiveTimeoutMillis, remainingTimeMillis); in isUidActiveLocked()
3550 usleep(remainingTimeMillis * 1000); in isUidActiveLocked()