Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/test/
Dunit_test.cc95 ASSERT_EQ(apm_->kNoError, apm_->set_sample_rate_hz(32000)); in SetUp()
96 ASSERT_EQ(apm_->kNoError, apm_->set_num_channels(2, 2)); in SetUp()
97 ASSERT_EQ(apm_->kNoError, apm_->set_num_reverse_channels(2)); in SetUp()
263 int err = ap->kNoError; in DeadlockProc()
283 if (err != ap->kNoError) { in DeadlockProc()
298 } else if (err != ap->kNoError) { in DeadlockProc()
352 EXPECT_EQ(apm_->kNoError, in TEST_F()
356 EXPECT_EQ(apm_->kNoError, apm_->Initialize()); in TEST_F()
357 EXPECT_EQ(apm_->kNoError, apm_->gain_control()->Enable(true)); in TEST_F()
361 EXPECT_EQ(apm_->kNoError, in TEST_F()
[all …]
Dprocess_test.cc171 ASSERT_EQ(apm->kNoError, apm->level_estimator()->Enable(true)); in void_main()
201 ASSERT_EQ(apm->kNoError, in void_main()
211 ASSERT_EQ(apm->kNoError, in void_main()
220 ASSERT_EQ(apm->kNoError, in void_main()
224 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in void_main()
225 ASSERT_EQ(apm->kNoError, in void_main()
227 ASSERT_EQ(apm->kNoError, in void_main()
231 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in void_main()
234 ASSERT_EQ(apm->kNoError, in void_main()
237 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in void_main()
[all …]
/external/webrtc/src/modules/audio_processing/
Daudio_processing_impl.cc46 if (apm->Initialize() != kNoError) { in Create()
168 if (err != kNoError) { in InitializeLocked()
176 if (err != kNoError) { in InitializeLocked()
182 return kNoError; in InitializeLocked()
258 int err = kNoError; in ProcessStream()
311 if (err != kNoError) { in ProcessStream()
316 if (err != kNoError) { in ProcessStream()
321 if (err != kNoError) { in ProcessStream()
331 if (err != kNoError) { in ProcessStream()
336 if (err != kNoError) { in ProcessStream()
[all …]
Decho_cancellation_impl.cc76 return apm_->kNoError; in ProcessRenderAudio()
82 int err = apm_->kNoError; in ProcessRenderAudio()
94 if (err != apm_->kNoError) { in ProcessRenderAudio()
102 return apm_->kNoError; in ProcessRenderAudio()
107 return apm_->kNoError; in ProcessCaptureAudio()
121 int err = apm_->kNoError; in ProcessCaptureAudio()
139 if (err != apm_->kNoError) { in ProcessCaptureAudio()
149 if (err != apm_->kNoError) { in ProcessCaptureAudio()
162 return apm_->kNoError; in ProcessCaptureAudio()
221 return apm_->kNoError; in set_stream_drift_samples()
[all …]
Dprocessing_component.cc36 return apm_->kNoError; in Destroy()
44 if (err != apm_->kNoError) { in EnableComponent()
52 return apm_->kNoError; in EnableComponent()
70 return apm_->kNoError; in Initialize()
88 if (err != apm_->kNoError) { in Initialize()
99 return apm_->kNoError; in Configure()
105 if (err != apm_->kNoError) { in Configure()
110 return apm_->kNoError; in Configure()
Dgain_control_impl.cc73 return apm_->kNoError; in ProcessRenderAudio()
91 if (err != apm_->kNoError) { in ProcessRenderAudio()
96 return apm_->kNoError; in ProcessRenderAudio()
101 return apm_->kNoError; in AnalyzeCaptureAudio()
107 int err = apm_->kNoError; in AnalyzeCaptureAudio()
118 if (err != apm_->kNoError) { in AnalyzeCaptureAudio()
139 if (err != apm_->kNoError) { in AnalyzeCaptureAudio()
146 return apm_->kNoError; in AnalyzeCaptureAudio()
151 return apm_->kNoError; in ProcessCaptureAudio()
179 if (err != apm_->kNoError) { in ProcessCaptureAudio()
[all …]
Decho_control_mobile_impl.cc82 return apm_->kNoError; in ProcessRenderAudio()
88 int err = apm_->kNoError; in ProcessRenderAudio()
100 if (err != apm_->kNoError) { in ProcessRenderAudio()
108 return apm_->kNoError; in ProcessRenderAudio()
113 return apm_->kNoError; in ProcessCaptureAudio()
123 int err = apm_->kNoError; in ProcessCaptureAudio()
146 if (err != apm_->kNoError) { in ProcessCaptureAudio()
154 return apm_->kNoError; in ProcessCaptureAudio()
235 return apm_->kNoError; in GetEchoPath()
240 return apm_->kNoError; in Initialize()
[all …]
Dhigh_pass_filter_impl.cc48 return AudioProcessing::kNoError; in InitializeFilter()
102 return AudioProcessing::kNoError; in Filter()
115 int err = apm_->kNoError; in ProcessCaptureAudio()
118 return apm_->kNoError; in ProcessCaptureAudio()
129 if (err != apm_->kNoError) { in ProcessCaptureAudio()
134 return apm_->kNoError; in ProcessCaptureAudio()
150 return apm_->kNoError; in get_version()
159 return apm_->kNoError; in DestroyHandle()
168 return apm_->kNoError; // Not configurable. in ConfigureHandle()
Dvoice_detection_impl.cc60 return apm_->kNoError; in ProcessCaptureAudio()
65 return apm_->kNoError; in ProcessCaptureAudio()
91 return apm_->kNoError; in ProcessCaptureAudio()
106 return apm_->kNoError; in set_stream_has_voice()
149 if (err != apm_->kNoError || !is_component_enabled()) { in Initialize()
157 return apm_->kNoError; in Initialize()
166 return apm_->kNoError; in get_version()
171 if (WebRtcVad_Create(&handle) != apm_->kNoError) { in CreateHandle()
Dlevel_estimator_impl.cc95 return apm_->kNoError; in ProcessStream()
101 return apm_->kNoError; in ProcessStream()
112 return apm_->kNoError; in ProcessStream()
137 return apm_->kNoError; in get_version()
148 return apm_->kNoError; in DestroyHandle()
156 return apm_->kNoError; in InitializeHandle()
160 return apm_->kNoError; in ConfigureHandle()
Dnoise_suppression_impl.cc58 int err = apm_->kNoError; in ProcessCaptureAudio()
61 return apm_->kNoError; in ProcessCaptureAudio()
82 if (err != apm_->kNoError) { in ProcessCaptureAudio()
87 return apm_->kNoError; in ProcessCaptureAudio()
124 return apm_->kNoError; in get_version()
130 if (WebRtcNs_Create(&handle) != apm_->kNoError) in CreateHandle()
132 if (WebRtcNsx_Create(&handle) != apm_->kNoError) in CreateHandle()
/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/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.h18 kNoError, enumerator
/external/skia/include/xml/
DSkXMLParser.h23 kNoError, enumerator
38 bool hasError() const { return fCode != kNoError || fNativeCode != -1; } in hasError()
/external/skia/src/animator/
DSkScriptRuntime.h23 kNoError, enumerator
DSkDisplayInclude.cpp50 if (maker.getErrorCode() != SkXMLParserError::kNoError || maker.getNativeCode() != -1) { in onEndElement()
DSkDisplayMovie.cpp43 …if (movieMaker->getErrorCode() != SkXMLParserError::kNoError || movieMaker->getNativeCode() != -1)… in buildMovie()
DSkScript2.h26 kNoError, enumerator
DSkAnimateBase.cpp222 if (engine.getError() != SkScriptEngine::kNoError) in setTarget()
DSkScript.h23 kNoError, enumerator
DSkScript.cpp181 fTokenLength(0), fReturnType(returnType), fError(kNoError) in SkScriptEngine()
813 if ((fError = opError()) != kNoError) in innerScript()
1242 return kNoError; in opError()
1250 return kNoError; in opError()
DSkScriptTokenizer.cpp123 fTokenLength(0), fReturnType(returnType), fError(kNoError), in SkScriptEngine2()
/external/webrtc/src/modules/audio_processing/interface/
Daudio_processing.h221 kNoError = 0, enumerator