Home
last modified time | relevance | path

Searched refs:kNoError (Results 1 – 25 of 47) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_processing/test/
Dprocess_test.cc178 ASSERT_EQ(apm->kNoError, apm->level_estimator()->Enable(true)); in void_main()
221 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in void_main()
222 ASSERT_EQ(apm->kNoError, in void_main()
224 ASSERT_EQ(apm->kNoError, in void_main()
228 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in void_main()
231 ASSERT_EQ(apm->kNoError, in void_main()
234 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in void_main()
235 ASSERT_EQ(apm->kNoError, in void_main()
239 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in void_main()
240 ASSERT_EQ(apm->kNoError, in void_main()
[all …]
Daudio_processing_unittest.cc575 EXPECT_EQ(apm_->kNoError, apm_->set_stream_delay_ms(0)); in ProcessWithDefaultStreamParameters()
577 EXPECT_EQ(apm_->kNoError, in ProcessWithDefaultStreamParameters()
579 EXPECT_EQ(apm_->kNoError, apm_->ProcessStream(frame)); in ProcessWithDefaultStreamParameters()
617 EXPECT_EQ(apm_->kNoError, apm_->Initialize()); in ProcessDelayVerificationTest()
653 EXPECT_EQ(apm_->kNoError, apm_->AnalyzeReverseStream(reverse_frame)); in ProcessDelayVerificationTest()
654 EXPECT_EQ(apm_->kNoError, apm_->set_stream_delay_ms(system_delay_ms)); in ProcessDelayVerificationTest()
655 EXPECT_EQ(apm_->kNoError, apm_->ProcessStream(process_frame)); in ProcessDelayVerificationTest()
665 EXPECT_EQ(apm_->kNoError, in ProcessDelayVerificationTest()
695 EXPECT_EQ(apm_->kNoError, in ProcessDelayVerificationTest()
704 EXPECT_EQ(apm_->kNoError, ProcessStreamChooser(format)); in StreamParametersTest()
[all …]
Ddebug_dump_test.cc193 RTC_CHECK_EQ(AudioProcessing::kNoError, apm_->set_stream_delay_ms(100)); in Process()
195 RTC_CHECK_EQ(AudioProcessing::kNoError, in Process()
199 RTC_CHECK_EQ(AudioProcessing::kNoError, in Process()
340 ASSERT_EQ(AudioProcessing::kNoError, in OnStreamEvent()
370 ASSERT_EQ(AudioProcessing::kNoError, in OnReverseStreamEvent()
411 EXPECT_EQ(AudioProcessing::kNoError, in ConfigureApm()
415 EXPECT_EQ(AudioProcessing::kNoError, in ConfigureApm()
420 EXPECT_EQ(AudioProcessing::kNoError, in ConfigureApm()
427 EXPECT_EQ(AudioProcessing::kNoError, in ConfigureApm()
431 EXPECT_EQ(AudioProcessing::kNoError, in ConfigureApm()
[all …]
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_performance_unittest.cc511 ASSERT_EQ(apm->kNoError, apm->level_estimator()->Enable(true)); in SetUp()
512 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in SetUp()
513 ASSERT_EQ(apm->kNoError, in SetUp()
515 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in SetUp()
516 ASSERT_EQ(apm->kNoError, apm->noise_suppression()->Enable(true)); in SetUp()
517 ASSERT_EQ(apm->kNoError, apm->voice_detection()->Enable(true)); in SetUp()
518 ASSERT_EQ(apm->kNoError, apm->echo_control_mobile()->Enable(false)); in SetUp()
519 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in SetUp()
520 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->enable_metrics(true)); in SetUp()
521 ASSERT_EQ(apm->kNoError, in SetUp()
[all …]
Dprocessing_component.cc35 return AudioProcessing::kNoError; in Destroy()
43 if (err != AudioProcessing::kNoError) { in EnableComponent()
51 return AudioProcessing::kNoError; in EnableComponent()
69 return AudioProcessing::kNoError; in Initialize()
87 if (err != AudioProcessing::kNoError) { in Initialize()
98 return AudioProcessing::kNoError; in Configure()
104 if (err != AudioProcessing::kNoError) { in Configure()
109 return AudioProcessing::kNoError; in Configure()
Decho_control_mobile_impl.cc97 return AudioProcessing::kNoError; in ProcessRenderAudio()
103 int err = AudioProcessing::kNoError; in ProcessRenderAudio()
114 if (err != AudioProcessing::kNoError) in ProcessRenderAudio()
136 return AudioProcessing::kNoError; in ProcessRenderAudio()
171 return AudioProcessing::kNoError; in ProcessCaptureAudio()
181 int err = AudioProcessing::kNoError; in ProcessCaptureAudio()
204 if (err != AudioProcessing::kNoError) in ProcessCaptureAudio()
211 return AudioProcessing::kNoError; in ProcessCaptureAudio()
305 return AudioProcessing::kNoError; in GetEchoPath()
312 return AudioProcessing::kNoError; in Initialize()
[all …]
Dgain_control_impl.cc72 return AudioProcessing::kNoError; in ProcessRenderAudio()
83 if (err != AudioProcessing::kNoError) in ProcessRenderAudio()
101 return AudioProcessing::kNoError; in ProcessRenderAudio()
131 return AudioProcessing::kNoError; in AnalyzeCaptureAudio()
137 int err = AudioProcessing::kNoError; in AnalyzeCaptureAudio()
149 if (err != AudioProcessing::kNoError) { in AnalyzeCaptureAudio()
169 if (err != AudioProcessing::kNoError) { in AnalyzeCaptureAudio()
176 return AudioProcessing::kNoError; in AnalyzeCaptureAudio()
183 return AudioProcessing::kNoError; in ProcessCaptureAudio()
212 if (err != AudioProcessing::kNoError) { in ProcessCaptureAudio()
[all …]
Decho_cancellation_impl_unittest.cc24 EXPECT_EQ(ap->kNoError, ap->echo_cancellation()->Enable(true)); in TEST()
38 EXPECT_EQ(ap->kNoError, ap->Initialize()); in TEST()
46 EXPECT_EQ(ap->kNoError, ap->Initialize()); in TEST()
54 EXPECT_EQ(ap->kNoError, ap->echo_cancellation()->Enable(true)); in TEST()
68 EXPECT_EQ(ap->kNoError, ap->Initialize()); in TEST()
76 EXPECT_EQ(ap->kNoError, ap->Initialize()); in TEST()
Decho_cancellation_impl.cc91 return AudioProcessing::kNoError; in ProcessRenderAudio()
97 int err = AudioProcessing::kNoError; in ProcessRenderAudio()
111 if (err != AudioProcessing::kNoError) { in ProcessRenderAudio()
132 return AudioProcessing::kNoError; in ProcessRenderAudio()
165 return AudioProcessing::kNoError; in ProcessCaptureAudio()
179 int err = AudioProcessing::kNoError; in ProcessCaptureAudio()
192 if (err != AudioProcessing::kNoError) { in ProcessCaptureAudio()
202 if (err != AudioProcessing::kNoError) { in ProcessCaptureAudio()
215 return AudioProcessing::kNoError; in ProcessCaptureAudio()
309 if (err != AudioProcessing::kNoError) { in GetMetrics()
[all …]
Daudio_processing_impl.cc57 if (err != kNoError) { \
81 static_assert(AudioProcessing::kNoError == 0, "kNoError must be zero");
106 return AudioProcessing::kNoError; in set_stream_analog_level()
109 int set_mode(Mode mode) override { return AudioProcessing::kNoError; } in set_mode()
112 return AudioProcessing::kNoError; in set_target_level_dbfs()
118 return AudioProcessing::kNoError; in set_compression_gain_db()
123 int enable_limiter(bool enable) override { return AudioProcessing::kNoError; } in enable_limiter()
128 return AudioProcessing::kNoError; in set_analog_level_limits()
201 if (apm->Initialize() != kNoError) { in Create()
339 return kNoError; in MaybeInitialize()
[all …]
Daudio_processing_impl_locking_unittest.cc534 ASSERT_EQ(apm_->kNoError, apm_->level_estimator()->Enable(true)); in SetUp()
535 ASSERT_EQ(apm_->kNoError, apm_->gain_control()->Enable(true)); in SetUp()
537 ASSERT_EQ(apm_->kNoError, in SetUp()
539 ASSERT_EQ(apm_->kNoError, apm_->gain_control()->Enable(true)); in SetUp()
541 ASSERT_EQ(apm_->kNoError, apm_->noise_suppression()->Enable(true)); in SetUp()
542 ASSERT_EQ(apm_->kNoError, apm_->voice_detection()->Enable(true)); in SetUp()
546 ASSERT_EQ(apm_->kNoError, apm_->echo_control_mobile()->Enable(false)); in SetUp()
547 ASSERT_EQ(apm_->kNoError, apm_->echo_cancellation()->Enable(false)); in SetUp()
550 ASSERT_EQ(apm_->kNoError, apm_->echo_control_mobile()->Enable(true)); in SetUp()
551 ASSERT_EQ(apm_->kNoError, apm_->echo_cancellation()->Enable(false)); in SetUp()
[all …]
Dvoice_detection_impl.cc87 return AudioProcessing::kNoError; in Enable()
99 return AudioProcessing::kNoError; in set_stream_has_voice()
134 return AudioProcessing::kNoError; in set_likelihood()
147 return AudioProcessing::kNoError; in set_frame_size_ms()
Dnoise_suppression_impl.cc117 return AudioProcessing::kNoError; in Enable()
149 return AudioProcessing::kNoError; in set_level()
/external/webrtc/webrtc/modules/video_coding/
Dreceiver_unittest.cc96 EXPECT_GE(InsertFrame(kVideoFrameKey, true), kNoError); in TEST_F()
99 EXPECT_GE(InsertFrame(kVideoFrameDelta, true), kNoError); in TEST_F()
109 EXPECT_GE(InsertFrame(kVideoFrameDelta, true), kNoError); in TEST_F()
112 EXPECT_GE(InsertFrame(kVideoFrameKey, true), kNoError); in TEST_F()
114 EXPECT_GE(InsertFrame(kVideoFrameDelta, true), kNoError); in TEST_F()
122 EXPECT_GE(InsertFrame(kVideoFrameKey, true), kNoError); in TEST_F()
125 EXPECT_GE(InsertFrame(kVideoFrameDelta, true), kNoError); in TEST_F()
128 EXPECT_GE(InsertFrame(kVideoFrameDelta, false), kNoError); in TEST_F()
130 EXPECT_GE(InsertFrame(kVideoFrameDelta, true), kNoError); in TEST_F()
140 EXPECT_GE(InsertFrame(kVideoFrameDelta, true), kNoError); in TEST_F()
[all …]
Djitter_buffer_unittest.cc338 VCMFrameBufferEnum ret_for_all = kNoError; in InsertFrames()
341 if (ret < kNoError) { in InsertFrames()
343 } else if (ret_for_all >= kNoError) { in InsertFrames()
1891 EXPECT_EQ(kNoError, jitter_buffer_->InsertPacket(*packet_, &retransmitted)); in TEST_F()
2129 EXPECT_GE(InsertFrame(kVideoFrameKey), kNoError); in TEST_F()
2133 EXPECT_GE(InsertFrames(kMaxNumberOfFrames, kVideoFrameDelta), kNoError); in TEST_F()
2149 EXPECT_EQ(kNoError, InsertPacketAndPop(4)); in TEST_F()
2211 EXPECT_GE(InsertFrames(5, kVideoFrameDelta), kNoError); in TEST_F()
2223 EXPECT_GE(InsertFrames(kNumDeltaFrames, kVideoFrameDelta), kNoError); in TEST_F()
2234 EXPECT_GE(InsertFrames(kNumDeltaFrames, kVideoFrameDelta), kNoError); in TEST_F()
[all …]
Djitter_buffer_common.h46 kNoError = 0, enumerator
/external/skia/src/utils/
DSkBase64.cpp105 return kNoError; in decode()
158 SkASSERT(err == kNoError); in decode()
159 if (err != kNoError) in decode()
163 return kNoError; in decode()
DSkBase64.h16 kNoError, enumerator
/external/skia/src/xml/
DSkXMLParser.cpp21 SkXMLParserError::SkXMLParserError() : fCode(kNoError), fLineNumber(-1), in SkXMLParserError()
36 if (fCode != kNoError) { in getErrorString()
46 fCode = kNoError; in reset()
/external/v8/test/unittests/wasm/
Dencoder-unittest.cc126 CheckReadValue(leb_value, 0, 1, kNoError); in TEST_F()
129 CheckReadValue(leb_value, 23, 1, kNoError); in TEST_F()
133 CheckReadValue(leb_value, 128, 2, kNoError); in TEST_F()
140 CheckReadValue(leb_value, 0x10000000, 5, kNoError); in TEST_F()
/external/google-breakpad/src/processor/
Dstack_frame_symbolizer.cc78 kWarningCorruptSymbols : kNoError; in FillSourceLineInfo()
106 kWarningCorruptSymbols : kNoError; in FillSourceLineInfo()
Dstackwalker.cc152 case StackFrameSymbolizer::kNoError: in Walk()
285 if (symbolizer_result != StackFrameSymbolizer::kNoError && in InstructionAddressSeemsValid()
/external/skia/include/xml/
DSkXMLParser.h23 kNoError, enumerator
38 bool hasError() const { return fCode != kNoError || fNativeCode != -1; } in hasError()
/external/webrtc/webrtc/modules/audio_conference_mixer/source/
Daudio_conference_mixer_impl.cc151 _limiter->kNoError) in Init()
157 if(_limiter->gain_control()->set_target_level_dbfs(7) != _limiter->kNoError) in Init()
161 != _limiter->kNoError) in Init()
164 if(_limiter->gain_control()->enable_limiter(true) != _limiter->kNoError) in Init()
167 if(_limiter->gain_control()->Enable(true) != _limiter->kNoError) in Init()
920 if(error != _limiter->kNoError) { in LimitMixedAudio()
/external/webrtc/webrtc/modules/audio_processing/vad/
Dpitch_based_vad.h46 static const int kNoError = 0; variable

12