/external/webrtc/modules/audio_coding/neteq/ |
D | delay_manager.cc | 142 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 …]
|
D | delay_manager.h | 78 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;
|
D | decision_logic.h | 85 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/ |
D | config.py | 16 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)
|
D | network_emulator.py | 69 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',
|
D | emulate.py | 91 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/ |
D | backoff_entry.cc | 134 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/ |
D | acm_receiver.cc | 66 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()
|
D | acm_receiver.h | 97 int SetMinimumDelay(int delay_ms); 109 int SetMaximumDelay(int delay_ms); 116 bool SetBaseMinimumDelayMs(int delay_ms);
|
/external/cronet/net/base/ |
D | backoff_entry.cc | 144 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/ |
D | profiler_api_test.py | 87 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/ |
D | target_delay_unittest.cc | 122 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/ |
D | android_test_utils.cc | 90 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()
|
D | android_test_utils.h | 37 uint32_t delay_ms = 1); 43 uint32_t delay_ms = 1);
|
/external/webrtc/modules/audio_coding/neteq/mock/ |
D | mock_neteq_controller.h | 35 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/ |
D | message_pump_glib_unittest.cc | 74 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/ |
D | neteq_controller.h | 137 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/ |
D | EchoEffect.h | 26 EchoEffect(float feedback, float delay_ms): in EchoEffect() argument 28 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in EchoEffect()
|
D | SlapbackEffect.h | 23 SlapbackEffect(float feedforward, float delay_ms): in SlapbackEffect() argument 25 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in SlapbackEffect()
|
D | WhiteChorusEffect.h | 25 WhiteChorusEffect(float depth_ms, float delay_ms, float noise_pass): in WhiteChorusEffect() argument 27 static_cast<int>(delay_ms * SAMPLE_RATE / 1000), in WhiteChorusEffect()
|
D | DoublingEffect.h | 26 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/ |
D | simulated_thread.cc | 55 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/ |
D | echo_control.h | 42 int delay_ms; member 49 virtual void SetAudioBufferDelay(int delay_ms) = 0;
|
/external/webrtc/modules/video_coding/ |
D | nack_requester.cc | 35 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/ |
D | nf-queue.c | 25 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()
|