Searched refs:getTimeoutPeriodBuffer (Results 1 – 2 of 2) sorted by relevance
35 import static com.android.server.healthconnect.migration.MigrationTestUtils.getTimeoutPeriodBuffer;162 IN_PROGRESS_STATE_TIMEOUT_MOCK_VALUE.toMillis() - getTimeoutPeriodBuffer(); in testExecutePauseJob_timeNotExpired()175 .plusMillis(getTimeoutPeriodBuffer()) in testExecutePauseJob_timeExpired_shouldChangeState()205 long mockElapsedTime = IDLE_STATE_TIMEOUT_MOCK_VALUE.toMillis() - getTimeoutPeriodBuffer(); in testExecuteCompleteJob_fromIdleState_timeNotExpired()217 IDLE_STATE_TIMEOUT_MOCK_VALUE.plusMillis(getTimeoutPeriodBuffer()).toMillis(); in testExecuteCompleteJob_fromIdleState()365 NON_IDLE_STATE_TIMEOUT_MOCK_VALUE.toMillis() - getTimeoutPeriodBuffer(); in setStartTime_notExpired_nonIdleState()372 NON_IDLE_STATE_TIMEOUT_MOCK_VALUE.plusMillis(getTimeoutPeriodBuffer()).toMillis(); in setStartTime_expired_nonIdleState()379 NON_IDLE_STATE_TIMEOUT_MOCK_VALUE.toMillis() - getTimeoutPeriodBuffer(); in setStartTimeAfterAllowedStateTimeout()385 long timeOutBuffer = getTimeoutPeriodBuffer(); in setStartTimeBeforeAllowedStateTimeout()
49 static long getTimeoutPeriodBuffer() { in getTimeoutPeriodBuffer() method in MigrationTestUtils