Home
last modified time | relevance | path

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

123

/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/libtextclassifier/utils/utf8/
Dunilib_test-include.cc95 EXPECT_EQ(status, UniLib::RegexMatcher::kNoError); in TEST_F()
98 EXPECT_EQ(status, UniLib::RegexMatcher::kNoError); in TEST_F()
104 EXPECT_EQ(status, UniLib::RegexMatcher::kNoError); in TEST_F()
109 EXPECT_EQ(status, UniLib::RegexMatcher::kNoError); in TEST_F()
111 EXPECT_EQ(status, UniLib::RegexMatcher::kNoError); in TEST_F()
113 EXPECT_EQ(status, UniLib::RegexMatcher::kNoError); in TEST_F()
115 EXPECT_EQ(status, UniLib::RegexMatcher::kNoError); in TEST_F()
128 EXPECT_EQ(status, UniLib::RegexMatcher::kNoError); in TEST_F()
131 EXPECT_EQ(status, UniLib::RegexMatcher::kNoError); in TEST_F()
136 EXPECT_EQ(status, UniLib::RegexMatcher::kNoError); in TEST_F()
[all …]
Dunilib-javaicu.cc391 constexpr int UniLib::RegexMatcher::kNoError; member in libtextclassifier3::UniLib::RegexMatcher
432 *status = kNoError; in Matches()
447 *status = kNoError; in ApproximatelyMatches()
456 if (!Find(status) || *status != kNoError) { in ApproximatelyMatches()
523 *status = kNoError; in Find()
537 *status = kNoError; in Start()
577 *status = kNoError; in End()
628 *status = kNoError; in Group()
653 *status = kNoError; in Group()
662 *status = kNoError; in Group()
/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()
/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 …]
/external/skia/src/utils/
DSkBase64.cpp104 return kNoError; in decode()
157 SkASSERT(err == kNoError); in decode()
158 if (err != kNoError) in decode()
162 return kNoError; in decode()
/external/skqp/src/utils/
DSkBase64.cpp104 return kNoError; in decode()
157 SkASSERT(err == kNoError); in decode()
158 if (err != kNoError) in decode()
162 return kNoError; in decode()
/external/libtextclassifier/utils/
Dregex-match.cc101 int status = UniLib::RegexMatcher::kNoError; in GetCapturingGroup()
105 if (status != UniLib::RegexMatcher::kNoError) { in GetCapturingGroup()
156 int status = UniLib::RegexMatcher::kNoError; in SetFieldFromCapturingGroup()
158 if (status != UniLib::RegexMatcher::kNoError || group_text.empty()) { in SetFieldFromCapturingGroup()
Dregex-match_test.cc67 int status = UniLib::RegexMatcher::kNoError; in TEST_F()
69 status == UniLib::RegexMatcher::kNoError); in TEST_F()
/external/libtextclassifier/annotator/datetime/
Dextractor.cc185 if (status != UniLib::RegexMatcher::kNoError) { in ExtractType()
196 if (status != UniLib::RegexMatcher::kNoError) { in GroupTextFromMatch()
206 if (status != UniLib::RegexMatcher::kNoError) { in UpdateMatchSpan()
210 if (status != UniLib::RegexMatcher::kNoError) { in UpdateMatchSpan()
285 while (matcher->Find(&status) && status == UniLib::RegexMatcher::kNoError) { in ParseWrittenNumber()
287 if (status != UniLib::RegexMatcher::kNoError) { in ParseWrittenNumber()
Dparser.cc224 int status = UniLib::RegexMatcher::kNoError; in HandleParseMatch()
226 if (status != UniLib::RegexMatcher::kNoError) { in HandleParseMatch()
231 if (status != UniLib::RegexMatcher::kNoError) { in HandleParseMatch()
268 int status = UniLib::RegexMatcher::kNoError; in ParseWithRule()
270 if (matcher->Matches(&status) && status == UniLib::RegexMatcher::kNoError) { in ParseWithRule()
278 while (matcher->Find(&status) && status == UniLib::RegexMatcher::kNoError) { in ParseWithRule()
/external/skqp/src/xml/
DSkXMLParser.cpp26 SkXMLParserError::SkXMLParserError() : fCode(kNoError), fLineNumber(-1), in SkXMLParserError()
41 if (fCode != kNoError) { in getErrorString()
51 fCode = kNoError; in reset()
DSkXMLParser.h23 kNoError, enumerator
38 bool hasError() const { return fCode != kNoError || fNativeCode != -1; } in hasError()
/external/skia/src/xml/
DSkXMLParser.cpp26 SkXMLParserError::SkXMLParserError() : fCode(kNoError), fLineNumber(-1), in SkXMLParserError()
41 if (fCode != kNoError) { in getErrorString()
51 fCode = kNoError; in reset()
DSkXMLParser.h23 kNoError, enumerator
38 bool hasError() const { return fCode != kNoError || fNativeCode != -1; } in hasError()

123