/external/webrtc/webrtc/modules/audio_processing/test/ |
D | process_test.cc | 178 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 …]
|
D | audio_processing_unittest.cc | 575 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 …]
|
D | debug_dump_test.cc | 193 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/ |
D | unilib_test-include.cc | 95 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 …]
|
D | unilib-javaicu.cc | 391 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/ |
D | audio_processing_performance_unittest.cc | 511 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 …]
|
D | processing_component.cc | 35 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()
|
D | echo_control_mobile_impl.cc | 97 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 …]
|
D | gain_control_impl.cc | 72 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 …]
|
D | echo_cancellation_impl_unittest.cc | 24 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()
|
D | echo_cancellation_impl.cc | 91 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 …]
|
D | audio_processing_impl.cc | 57 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 …]
|
D | audio_processing_impl_locking_unittest.cc | 534 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 …]
|
D | voice_detection_impl.cc | 87 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/ |
D | receiver_unittest.cc | 96 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/ |
D | SkBase64.cpp | 104 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/ |
D | SkBase64.cpp | 104 return kNoError; in decode() 157 SkASSERT(err == kNoError); in decode() 158 if (err != kNoError) in decode() 162 return kNoError; in decode()
|
/external/libtextclassifier/utils/ |
D | regex-match.cc | 101 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()
|
D | regex-match_test.cc | 67 int status = UniLib::RegexMatcher::kNoError; in TEST_F() 69 status == UniLib::RegexMatcher::kNoError); in TEST_F()
|
/external/libtextclassifier/annotator/datetime/ |
D | extractor.cc | 185 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()
|
D | parser.cc | 224 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/ |
D | SkXMLParser.cpp | 26 SkXMLParserError::SkXMLParserError() : fCode(kNoError), fLineNumber(-1), in SkXMLParserError() 41 if (fCode != kNoError) { in getErrorString() 51 fCode = kNoError; in reset()
|
D | SkXMLParser.h | 23 kNoError, enumerator 38 bool hasError() const { return fCode != kNoError || fNativeCode != -1; } in hasError()
|
/external/skia/src/xml/ |
D | SkXMLParser.cpp | 26 SkXMLParserError::SkXMLParserError() : fCode(kNoError), fLineNumber(-1), in SkXMLParserError() 41 if (fCode != kNoError) { in getErrorString() 51 fCode = kNoError; in reset()
|
D | SkXMLParser.h | 23 kNoError, enumerator 38 bool hasError() const { return fCode != kNoError || fNativeCode != -1; } in hasError()
|