Searched refs:last_delay (Results 1 - 9 of 9) sorted by relevance
/external/chromium_org/sync/engine/ |
H A D | backoff_delay_provider.cc | 39 TimeDelta BackoffDelayProvider::GetDelay(const base::TimeDelta& last_delay) { argument 40 if (last_delay.InSeconds() >= kMaxBackoffSeconds) 46 last_delay.InSeconds() * kBackoffRandomizationFactor); 53 (rand_sign * (last_delay.InSeconds() / kBackoffRandomizationFactor));
|
H A D | backoff_delay_provider.h | 36 virtual base::TimeDelta GetDelay(const base::TimeDelta& last_delay);
|
/external/webrtc/src/modules/audio_processing/utility/ |
H A D | delay_estimator.h | 37 int last_delay; member in struct:__anon33504
|
H A D | delay_estimator.c | 179 handle->last_delay = -2; 254 // whether to update |last_delay| or not. 257 // don't update |last_delay|. 258 // 2) If the situation is reliable we update |last_delay| if the value of the 285 handle->last_delay = candidate_delay; 288 handle->last_delay = candidate_delay; 294 return handle->last_delay; 299 return handle->last_delay;
|
/external/chromium_org/sync/internal_api/attachments/ |
H A D | task_queue_unittest.cc | 109 TimeDelta last_delay = mock_timer->GetCurrentDelay(); local 121 EXPECT_GT(mock_timer->GetCurrentDelay(), last_delay); 123 last_delay = mock_timer->GetCurrentDelay(); 135 EXPECT_GT(mock_timer->GetCurrentDelay(), last_delay); 136 last_delay = mock_timer->GetCurrentDelay(); 153 EXPECT_GE(last_delay, mock_timer->GetCurrentDelay()); 154 last_delay = mock_timer->GetCurrentDelay(); 171 EXPECT_LT(mock_timer->GetCurrentDelay(), last_delay); 172 last_delay = mock_timer->GetCurrentDelay();
|
/external/chromium_org/third_party/webrtc/modules/audio_processing/utility/ |
H A D | delay_estimator.c | 97 const int max_hits_for_slow_change = (candidate_delay < self->last_delay) ? 120 // 3. The histogram bins in the neighborhood of |last_delay| are decreased 123 // |last_delay| until we reach |max_hits_for_slow_change| consecutive hits 135 int is_in_last_set = (i >= self->last_delay - 2) && 136 (i <= self->last_delay + 1) && (i != candidate_delay); 153 // 1. If the |candidate_delay| < |last_delay| it can be that we are in a 174 const int delay_difference = candidate_delay - self->last_delay; 180 // |last_delay|. The |fraction| is a piecewise linear function of the 181 // |delay_difference| between the |candidate_delay| and the |last_delay| 184 // ii) keeping |last_delay| instea [all...] |
H A D | delay_estimator.h | 46 int last_delay; member in struct:__anon15916
|
H A D | delay_estimator_unittest.cc | 132 // |last_delay| may be equal to -2 before initialization if done on the fly. 133 EXPECT_EQ(-2, binary_->last_delay); 159 // |last_delay| may be equal to -2 before initialization if done on the fly. 160 EXPECT_EQ(-2, binary1->last_delay); 161 EXPECT_EQ(-2, binary2->last_delay); 427 // (|last_delay| = -2). Then we compare the Process() output with the 428 // last_delay() call. 431 int last_delay = 0; local 437 last_delay = WebRtc_DelayEstimatorProcessFloat(handle_, near_f_, 439 if (last_delay ! [all...] |
/external/chromium_org/chromeos/ |
H A D | tpm_token_loader.cc | 27 // token, if |last_delay| was the last or initial delay. 28 base::TimeDelta GetNextRequestDelayMs(base::TimeDelta last_delay) { argument 31 base::TimeDelta next_delay = last_delay * 2;
|
Completed in 296 milliseconds