Home
last modified time | relevance | path

Searched refs:delay_ms (Results 1 – 25 of 155) sorted by relevance

1234567

/external/webrtc/modules/audio_coding/neteq/
Ddelay_manager.cc142 bool DelayManager::IsValidMinimumDelay(int delay_ms) const { in IsValidMinimumDelay()
143 return 0 <= delay_ms && delay_ms <= MinimumDelayUpperBound(); in IsValidMinimumDelay()
146 bool DelayManager::IsValidBaseMinimumDelay(int delay_ms) const { in IsValidBaseMinimumDelay()
147 return kMinBaseMinimumDelayMs <= delay_ms && in IsValidBaseMinimumDelay()
148 delay_ms <= kMaxBaseMinimumDelayMs; in IsValidBaseMinimumDelay()
151 bool DelayManager::SetMinimumDelay(int delay_ms) { in SetMinimumDelay() argument
152 if (!IsValidMinimumDelay(delay_ms)) { in SetMinimumDelay()
156 minimum_delay_ms_ = delay_ms; in SetMinimumDelay()
161 bool DelayManager::SetMaximumDelay(int delay_ms) { in SetMaximumDelay() argument
164 if (delay_ms != 0 && delay_ms < minimum_delay_ms_) { in SetMaximumDelay()
[all …]
Ddelay_manager.h78 virtual bool SetMinimumDelay(int delay_ms);
79 virtual bool SetMaximumDelay(int delay_ms);
80 virtual bool SetBaseMinimumDelay(int delay_ms);
101 bool IsValidMinimumDelay(int delay_ms) const;
103 bool IsValidBaseMinimumDelay(int delay_ms) const;
Ddecision_logic.h85 bool SetMaximumDelay(int delay_ms) override { in SetMaximumDelay() argument
86 return delay_manager_->SetMaximumDelay(delay_ms); in SetMaximumDelay()
88 bool SetMinimumDelay(int delay_ms) override { in SetMinimumDelay() argument
89 return delay_manager_->SetMinimumDelay(delay_ms); in SetMinimumDelay()
91 bool SetBaseMinimumDelay(int delay_ms) override { in SetBaseMinimumDelay() argument
92 return delay_manager_->SetBaseMinimumDelay(delay_ms); in SetBaseMinimumDelay()
/external/webrtc/tools_webrtc/network_emulator/
Dconfig.py16 def __init__(self, num, name, receive_bw_kbps, send_bw_kbps, delay_ms, argument
22 self.delay_ms = delay_ms
36 self.queue_slots, self.delay_ms, self.packet_loss_percent)
Dnetwork_emulator.py69 self._connection_config.delay_ms,
74 self._connection_config.send_bw_kbps, self._connection_config.delay_ms,
131 def _CreateDummynetPipe(self, bandwidth_kbps, delay_ms, packet_loss_percent, argument
147 '%sms' % delay_ms, 'plr', (packet_loss_percent / 100.0), 'queue',
Demulate.py91 default=_DEFAULT_PRESET.delay_ms,
164 if options.delay is not _DEFAULT_PRESET.delay_ms:
165 connection_config.delay_ms = options.delay
194 connection_config.send_bw_kbps / 8, connection_config.delay_ms,
/external/libbrillo/brillo/
Dbackoff_entry.cc134 double delay_ms = policy_->initial_delay_ms; in CalculateReleaseTime() local
135 delay_ms *= pow(policy_->multiply_factor, effective_failure_count - 1); in CalculateReleaseTime()
136 delay_ms -= base::RandDouble() * policy_->jitter_factor * delay_ms; in CalculateReleaseTime()
142 delay_ms + 0.5; in CalculateReleaseTime()
/external/webrtc/modules/audio_coding/acm2/
Dacm_receiver.cc66 int AcmReceiver::SetMinimumDelay(int delay_ms) { in SetMinimumDelay() argument
67 if (neteq_->SetMinimumDelay(delay_ms)) in SetMinimumDelay()
69 RTC_LOG(LS_ERROR) << "AcmReceiver::SetExtraDelay " << delay_ms; in SetMinimumDelay()
73 int AcmReceiver::SetMaximumDelay(int delay_ms) { in SetMaximumDelay() argument
74 if (neteq_->SetMaximumDelay(delay_ms)) in SetMaximumDelay()
76 RTC_LOG(LS_ERROR) << "AcmReceiver::SetExtraDelay " << delay_ms; in SetMaximumDelay()
80 bool AcmReceiver::SetBaseMinimumDelayMs(int delay_ms) { in SetBaseMinimumDelayMs() argument
81 return neteq_->SetBaseMinimumDelayMs(delay_ms); in SetBaseMinimumDelayMs()
Dacm_receiver.h97 int SetMinimumDelay(int delay_ms);
109 int SetMaximumDelay(int delay_ms);
116 bool SetBaseMinimumDelayMs(int delay_ms);
/external/cronet/net/base/
Dbackoff_entry.cc144 double delay_ms = policy_->initial_delay_ms; in CalculateReleaseTime() local
145 delay_ms *= pow(policy_->multiply_factor, effective_failure_count - 1); in CalculateReleaseTime()
146 delay_ms -= base::RandDouble() * policy_->jitter_factor * delay_ms; in CalculateReleaseTime()
149 base::internal::CheckedNumeric<int64_t> backoff_duration_us = delay_ms + 0.5; in CalculateReleaseTime()
/external/tensorflow/tensorflow/python/profiler/integration_test/
Dprofiler_api_test.py87 def test_single_worker_sampling_mode(self, delay_ms=None): argument
109 delay_ms=delay_ms,
136 self.test_single_worker_sampling_mode(delay_ms=1)
141 self.test_single_worker_sampling_mode(delay_ms=1000)
/external/webrtc/modules/audio_coding/test/
Dtarget_delay_unittest.cc122 int SetMinimumDelay(int delay_ms) { in SetMinimumDelay() argument
123 return receiver_.SetMinimumDelay(delay_ms); in SetMinimumDelay()
126 int SetMaximumDelay(int delay_ms) { in SetMaximumDelay() argument
127 return receiver_.SetMaximumDelay(delay_ms); in SetMaximumDelay()
/external/perfetto/test/
Dandroid_test_utils.cc90 uint32_t delay_ms) { in WaitForProcess() argument
98 delay_ms); in WaitForProcess()
105 uint32_t delay_ms) { in StartAppActivity() argument
109 WaitForProcess(app_name, checkpoint_name, task_runner, delay_ms); in StartAppActivity()
Dandroid_test_utils.h37 uint32_t delay_ms = 1);
43 uint32_t delay_ms = 1);
/external/webrtc/modules/audio_coding/neteq/mock/
Dmock_neteq_controller.h35 MOCK_METHOD(bool, SetMaximumDelay, (int delay_ms), (override));
36 MOCK_METHOD(bool, SetMinimumDelay, (int delay_ms), (override));
37 MOCK_METHOD(bool, SetBaseMinimumDelay, (int delay_ms), (override));
/external/libchrome/base/message_loop/
Dmessage_pump_glib_unittest.cc74 void AddEvent(int delay_ms, OnceClosure callback) { in AddEvent() argument
75 AddEventHelper(delay_ms, std::move(callback), OnceClosure()); in AddEvent()
78 void AddDummyEvent(int delay_ms) { in AddDummyEvent() argument
79 AddEventHelper(delay_ms, OnceClosure(), OnceClosure()); in AddDummyEvent()
82 void AddEventAsTask(int delay_ms, OnceClosure task) { in AddEventAsTask() argument
83 AddEventHelper(delay_ms, OnceClosure(), std::move(task)); in AddEventAsTask()
104 void AddEventHelper(int delay_ms, OnceClosure callback, OnceClosure task) { in AddEventHelper() argument
111 Time future = last_time + TimeDelta::FromMilliseconds(delay_ms); in AddEventHelper()
/external/webrtc/api/neteq/
Dneteq_controller.h137 virtual bool SetMaximumDelay(int delay_ms) = 0;
138 virtual bool SetMinimumDelay(int delay_ms) = 0;
144 virtual bool SetBaseMinimumDelay(int delay_ms) = 0;
/external/oboe/apps/fxlab/app/src/main/cpp/effects/
DEchoEffect.h26 EchoEffect(float feedback, float delay_ms): in EchoEffect() argument
28 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in EchoEffect()
DSlapbackEffect.h23 SlapbackEffect(float feedforward, float delay_ms): in SlapbackEffect() argument
25 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in SlapbackEffect()
DWhiteChorusEffect.h25 WhiteChorusEffect(float depth_ms, float delay_ms, float noise_pass): in WhiteChorusEffect() argument
27 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in WhiteChorusEffect()
DDoublingEffect.h26 DoublingEffect(float depth_ms, float delay_ms, float noise_pass): in DoublingEffect() argument
28 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in DoublingEffect()
/external/webrtc/test/time_controller/
Dsimulated_thread.cc55 int delay_ms = GetDelay(); in RunReady() local
57 if (delay_ms == kForever) { in RunReady()
60 next_run_time_ = at_time + TimeDelta::Millis(delay_ms); in RunReady()
/external/webrtc/api/audio/
Decho_control.h42 int delay_ms; member
49 virtual void SetAudioBufferDelay(int delay_ms) = 0;
/external/webrtc/modules/video_coding/
Dnack_requester.cc35 int64_t delay_ms = strtol( in GetSendNackDelay() local
37 if (delay_ms > 0 && delay_ms <= 20) { in GetSendNackDelay()
38 RTC_LOG(LS_INFO) << "SendNackDelay is set to " << delay_ms; in GetSendNackDelay()
39 return TimeDelta::Millis(delay_ms); in GetSendNackDelay()
/external/linux-kselftest/tools/testing/selftests/netfilter/
Dnf-queue.c25 uint32_t delay_ms; member
313 if (opts.delay_ms) in mainloop()
314 sleep_ms(opts.delay_ms); in mainloop()
357 opts.delay_ms = atoi(optarg); in parse_opts()
358 if (opts.delay_ms == 0) { in parse_opts()

1234567