Searched defs:delay_ms (Results 1 - 25 of 69) sorted by relevance

123

/external/chromium_org/chrome/browser/metrics/
H A Dplugin_metrics_provider_unittest.cc126 int delay_ms = 10; local
127 EXPECT_TRUE(provider.RecordCurrentStateWithDelay(delay_ms));
128 EXPECT_FALSE(provider.RecordCurrentStateWithDelay(delay_ms));
130 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(delay_ms));
133 EXPECT_TRUE(provider.RecordCurrentStateWithDelay(delay_ms));
146 int delay_ms = 100000; local
147 EXPECT_TRUE(provider.RecordCurrentStateWithDelay(delay_ms));
152 EXPECT_TRUE(provider.RecordCurrentStateWithDelay(delay_ms));
/external/chromium_org/ppapi/cpp/
H A Dmessage_loop.cc71 int64_t delay_ms) {
77 delay_ms);
70 PostWork(const CompletionCallback& callback, int64_t delay_ms) argument
/external/valgrind/main/drd/tests/
H A Dhold_lock.c14 static void delay_ms(const int ms) function
52 delay_ms(interval);
62 delay_ms(interval);
70 delay_ms(interval);
/external/chromium_org/ash/frame/caption_buttons/
H A Dframe_size_button.h46 void set_delay_to_set_buttons_to_snap_mode(int delay_ms) { argument
47 set_buttons_to_snap_mode_delay_ms_ = delay_ms;
/external/chromium_org/cc/scheduler/
H A Ddelay_based_time_source_unittest.cc432 int64 delay_ms = task_runner->NextPendingTaskDelay().InMilliseconds(); local
435 total_frame_time += delay_ms / 1000.0;
438 timer->SetNow(timer->Now() + base::TimeDelta::FromMilliseconds(delay_ms));
/external/chromium_org/components/translate/core/browser/
H A Dtranslate_download_manager.cc128 void TranslateDownloadManager::SetTranslateScriptExpirationDelay(int delay_ms) { argument
133 script_->set_expiration_delay(delay_ms);
H A Dtranslate_script.h37 void set_expiration_delay(int delay_ms) { argument
38 expiration_delay_ = base::TimeDelta::FromMilliseconds(delay_ms);
/external/chromium_org/gin/modules/
H A Dtimer.cc26 Handle<Timer> Timer::Create(TimerType type, v8::Isolate* isolate, int delay_ms, argument
29 delay_ms, function));
42 Timer::Timer(v8::Isolate* isolate, bool repeating, int delay_ms, argument
50 timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(delay_ms),
/external/srec/audio/test/AudioHardwareRecordLoop/src/
H A DAudioHardwareRecordLoop.c54 const unsigned short delay_ms = 2000; //1800 //340; local
56 printf("For debugging, this is configured to sleep for %u milliseconds before AudioSetInputFormat(%u)\n\n", delay_ms, SAMPLING_RATE);
77 sleep_time_struct.tv_usec = delay_ms*1000; // microseconds
/external/chromium_org/chrome/browser/web_resource/
H A Dweb_resource_service.cc96 void WebResourceService::ScheduleFetch(int64 delay_ms) { argument
101 base::TimeDelta::FromMilliseconds(delay_ms));
H A Dpromo_resource_service.cc143 void PromoResourceService::PostNotification(int64 delay_ms) { argument
148 // TODO(achuith): This crashes if we post delay_ms = 0 to the message loop.
150 if (delay_ms > 0) {
155 base::TimeDelta::FromMilliseconds(delay_ms));
156 } else if (delay_ms == 0) {
/external/chromium_org/content/child/
H A Dwebthread_impl.cc68 void WebThreadImpl::postDelayedTask(Task* task, long long delay_ms) { argument
72 base::TimeDelta::FromMilliseconds(delay_ms));
110 long long delay_ms) {
114 base::TimeDelta::FromMilliseconds(delay_ms));
109 postDelayedTask(Task* task, long long delay_ms) argument
/external/chromium_org/content/renderer/media/
H A Dwebrtc_audio_capturer_unittest.cc116 int delay_ms = 65; local
133 OnDataCallback(_, _, delay_ms, expected_volume_value,
136 callback->Capture(audio_bus.get(), delay_ms, volume, key_pressed);
144 EXPECT_EQ(cached_delay.InMilliseconds(), delay_ms);
/external/chromium_org/mojo/services/html_viewer/
H A Dwebthread_impl.cc68 void WebThreadImpl::postDelayedTask(Task* task, long long delay_ms) { argument
72 base::TimeDelta::FromMilliseconds(delay_ms));
109 long long delay_ms) {
113 base::TimeDelta::FromMilliseconds(delay_ms));
108 postDelayedTask(Task* task, long long delay_ms) argument
/external/chromium_org/net/base/
H A Dbackoff_entry.cc137 // Note: if the failure count is too high, |delay_ms| will become infinity
141 double delay_ms = policy_->initial_delay_ms; local
142 delay_ms *= pow(policy_->multiply_factor, effective_failure_count - 1);
143 delay_ms -= base::RandDouble() * policy_->jitter_factor * delay_ms;
149 delay_ms + 0.5;
/external/chromium_org/ppapi/proxy/
H A Dppb_message_loop_proxy.h38 int64_t delay_ms) OVERRIDE;
59 int64 delay_ms; member in struct:ppapi::proxy::MessageLoopResource::TaskInfo
74 int64 delay_ms) OVERRIDE;
/external/chromium_org/remoting/protocol/
H A Dconnection_tester.cc134 int delay_ms)
140 delay_ms_(delay_ms),
130 DatagramConnectionTester(net::Socket* client_socket, net::Socket* host_socket, int message_size, int message_count, int delay_ms) argument
/external/chromium_org/ash/autoclick/
H A Dautoclick_controller.cc54 virtual void SetAutoclickDelay(int delay_ms) OVERRIDE;
108 void AutoclickControllerImpl::SetAutoclickDelay(int delay_ms) { argument
109 delay_ms_ = delay_ms;
/external/chromium_org/components/policy/core/common/cloud/
H A Dcloud_policy_refresh_scheduler_unittest.cc361 const int delay_ms = 12 * 60 * 60 * 1000; local
362 refresh_scheduler_->SetRefreshDelay(delay_ms);
363 CheckTiming(delay_ms);
/external/chromium_org/content/browser/appcache/
H A Dappcache_group.cc227 void AppCacheGroup::ScheduleUpdateRestart(int delay_ms) { argument
234 base::TimeDelta::FromMilliseconds(delay_ms));
/external/chromium_org/media/cast/logging/
H A Dencoding_event_subscriber_unittest.cc193 int delay_ms = 100; local
196 /*frame_id*/ 0, base::TimeDelta::FromMilliseconds(delay_ms));
/external/chromium_org/storage/browser/quota/
H A Dquota_temporary_storage_evictor.cc148 void QuotaTemporaryStorageEvictor::StartEvictionTimerWithDelay(int delay_ms) { argument
151 eviction_timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(delay_ms),
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
H A Dfakeaudiocapturemodule_unittest.cc166 uint16_t delay_ms = 10; local
167 EXPECT_EQ(0, fake_audio_capture_module_->PlayoutDelay(&delay_ms));
168 EXPECT_EQ(0, delay_ms);
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
H A Dtarget_delay_unittest.cc179 int SetMinimumDelay(int delay_ms) { argument
180 return acm_->SetMinimumPlayoutDelay(delay_ms);
183 int SetMaximumDelay(int delay_ms) { argument
184 return acm_->SetMaximumPlayoutDelay(delay_ms);
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
H A Dremote_bitrate_estimators_test.cc251 Stats<double> delay_ms) {
270 delay_ms.AsString(),
250 PrintResults(double max_throughput_kbps, Stats<double> throughput_kbps, Stats<double> delay_ms) argument

Completed in 849 milliseconds

123