Home
last modified time | relevance | path

Searched refs:detector (Results 1 – 25 of 55) sorted by relevance

123

/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Ddelay_peak_detector_unittest.cc20 DelayPeakDetector* detector = new DelayPeakDetector(); in TEST() local
21 EXPECT_FALSE(detector->peak_found()); in TEST()
22 delete detector; in TEST()
26 DelayPeakDetector detector; in TEST() local
27 EXPECT_EQ(-1, detector.MaxPeakHeight()); in TEST()
28 EXPECT_EQ(-1, detector.MaxPeakPeriod()); in TEST()
35 DelayPeakDetector detector; in TEST() local
37 detector.SetPacketAudioLength(kPacketSizeMs); in TEST()
69 EXPECT_FALSE(detector.Update(iat_packets, kTargetBufferLevel)); in TEST()
71 EXPECT_TRUE(detector.Update(iat_packets, kTargetBufferLevel)); in TEST()
[all …]
/external/chromium_org/base/i18n/
Dicu_encoding_detection.cc21 UCharsetDetector* detector = ucsdet_open(&status); in DetectEncoding() local
22 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()), in DetectEncoding()
24 const UCharsetMatch* match = ucsdet_detect(detector, &status); in DetectEncoding()
28 ucsdet_close(detector); in DetectEncoding()
40 UCharsetDetector* detector = ucsdet_open(&status); in DetectAllEncodings() local
41 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()), in DetectAllEncodings()
44 const UCharsetMatch** matches = ucsdet_detectAll(detector, in DetectAllEncodings()
48 ucsdet_close(detector); in DetectAllEncodings()
86 UEnumeration* detectable_encodings = ucsdet_getAllDetectableCharsets(detector, in DetectAllEncodings()
100 ucsdet_close(detector); in DetectAllEncodings()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DTextEncodingDetector.cpp46 UCharsetDetector* detector = ucsdet_open(&status); in detectTextEncoding() local
49 ucsdet_enableInputFilter(detector, true); in detectTextEncoding()
50 ucsdet_setText(detector, data, static_cast<int32_t>(length), &status); in detectTextEncoding()
64 const UCharsetMatch** matches = ucsdet_detectAll(detector, &matchesCount, &status); in detectTextEncoding()
66 ucsdet_close(detector); in detectTextEncoding()
109 ucsdet_close(detector); in detectTextEncoding()
112 ucsdet_close(detector); in detectTextEncoding()
/external/chromium_org/ui/events/gesture_detection/
Dgesture_provider.cc148 virtual bool OnScaleBegin(const ScaleGestureDetector& detector, in OnScaleBegin() argument
150 if (ignore_multitouch_events_ && !detector.InDoubleTapMode()) in OnScaleBegin()
156 virtual void OnScaleEnd(const ScaleGestureDetector& detector, in OnScaleEnd() argument
164 virtual bool OnScale(const ScaleGestureDetector& detector, in OnScale() argument
166 if (ignore_multitouch_events_ && !detector.InDoubleTapMode()) in OnScale()
172 detector.GetEventTime(), in OnScale()
173 detector.GetFocusX(), in OnScale()
174 detector.GetFocusY(), in OnScale()
175 detector.GetFocusX() + e.GetRawOffsetX(), in OnScale()
176 detector.GetFocusY() + e.GetRawOffsetY(), in OnScale()
[all …]
Dscale_gesture_detector.h45 virtual bool OnScale(const ScaleGestureDetector& detector,
47 virtual bool OnScaleBegin(const ScaleGestureDetector& detector,
49 virtual void OnScaleEnd(const ScaleGestureDetector& detector,
/external/chromium_org/chrome/browser/metrics/
Dcloned_install_detector_unittest.cc30 scoped_ptr<ClonedInstallDetector> detector( in TEST() local
33 detector->SaveMachineId(&prefs, kTestRawId); in TEST()
45 scoped_ptr<ClonedInstallDetector> detector( in TEST() local
48 detector->SaveMachineId(&prefs, kTestRawId); in TEST()
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/automated/
Dvie_video_verification_test.cc261 FrameDropDetector detector; in TEST_P() local
263 remote_file_renderer_ = new FrameDropMonitoringRemoteFileRenderer(&detector); in TEST_P()
281 remote_file_renderer_, &detector); in TEST_P()
286 detector.CalculateResults(); in TEST_P()
287 detector.PrintReport(parameter_table_[GetParam()].test_label); in TEST_P()
289 if (detector.GetNumberOfFramesDroppedAt(FrameDropDetector::kRendered) > in TEST_P()
290 detector.GetNumberOfFramesDroppedAt(FrameDropDetector::kDecoded)) { in TEST_P()
291 detector.PrintDebugDump(); in TEST_P()
294 ASSERT_GE(detector.GetNumberOfFramesDroppedAt(FrameDropDetector::kRendered), in TEST_P()
295 detector.GetNumberOfFramesDroppedAt(FrameDropDetector::kDecoded)) in TEST_P()
[all …]
/external/chromium_org/components/captive_portal/
Dcaptive_portal_testing_utils.cc34 detector()->set_time_for_testing(time); in SetTime()
38 detector()->advance_time_for_testing(delta); in AdvanceTime()
42 return detector()->FetchingURL(); in FetchingURL()
62 detector()->OnURLFetchComplete(fetcher()); in CompleteURLFetch()
Dcaptive_portal_testing_utils.h38 void set_detector(CaptivePortalDetector* detector) { detector_ = detector; } in set_detector() argument
40 CaptivePortalDetector* detector() { return detector_; } in detector() function
Dcaptive_portal_detector_unittest.cc78 CaptivePortalClient client(detector()); in RunTest()
80 detector()->DetectCaptivePortal(url, in RunTest()
102 CaptivePortalClient client(detector()); in RunCancelTest()
104 detector()->DetectCaptivePortal(url, in RunCancelTest()
111 detector()->Cancel(); in RunCancelTest()
/external/chromium_org/content/renderer/android/
Dphone_number_detector_unittest.cc19 PhoneNumberDetector detector(region); in FindNumber() local
21 if (detector.FindContent(content_16.begin(), content_16.end(), in FindNumber()
32 PhoneNumberDetector detector(region); in FindAndFormatNumber() local
34 detector.FindContent(content_16.begin(), content_16.end(), in FindAndFormatNumber()
Demail_detector_unittest.cc19 EmailDetector detector; in FindAndCheckEmail() local
21 if (detector.FindContent(content_16.begin(), content_16.end(), in FindAndCheckEmail()
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
DTrackingInputHandler.java387 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument
392 if (Math.abs(detector.getScaleFactor() - 1) < MIN_ZOOM_DELTA) { in onScale()
396 float scaleFactor = detector.getScaleFactor(); in onScale()
399 scaleFactor, scaleFactor, detector.getFocusX(), detector.getFocusY()); in onScale()
416 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument
422 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
423 onScale(detector); in onScaleEnd()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/
Ddetection_unittest.py43 detector = SCMDetector(filesystem, executive)
49 …scm = OutputCapture().assert_outputs(self, detector.detect_scm_system, ["/"], expected_logs=expect…
/external/chromium_org/ash/system/chromeos/power/
Dvideo_activity_notifier.cc19 VideoActivityNotifier::VideoActivityNotifier(VideoDetector* detector) in VideoActivityNotifier() argument
20 : detector_(detector), in VideoActivityNotifier()
Dvideo_activity_notifier.h19 explicit VideoActivityNotifier(VideoDetector* detector);
/external/chromium_org/chrome/browser/extensions/api/networking_private/
Dnetworking_private_apitest.cc383 NetworkPortalDetectorTestImpl* detector() { return detector_; } in detector() function in __anon00f2aff70111::ExtensionNetworkingPrivateApiTest
594 detector()->SetDetectionResultsForTesting("stub_ethernet", state); in IN_PROC_BROWSER_TEST_F()
597 detector()->SetDetectionResultsForTesting("stub_wifi1", state); in IN_PROC_BROWSER_TEST_F()
600 detector()->SetDetectionResultsForTesting("stub_wifi2", state); in IN_PROC_BROWSER_TEST_F()
604 detector()->SetDetectionResultsForTesting("stub_cellular1", state); in IN_PROC_BROWSER_TEST_F()
611 detector()->SetDefaultNetworkPathForTesting("wifi", "wifi_GUID"); in IN_PROC_BROWSER_TEST_F()
614 detector()->SetDetectionResultsForTesting("wifi", state); in IN_PROC_BROWSER_TEST_F()
619 base::Unretained(detector()))); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ui/chromeos/
Duser_activity_power_manager_notifier.cc45 ::wm::UserActivityDetector* detector) in UserActivityPowerManagerNotifier() argument
46 : detector_(detector) { in UserActivityPowerManagerNotifier()
Duser_activity_power_manager_notifier.h25 ::wm::UserActivityDetector* detector);
/external/chromium_org/chrome/browser/chromeos/net/
Ddelay_network_call.cc36 NetworkPortalDetector* detector = NetworkPortalDetector::Get(); in DelayNetworkCall() local
38 detector->GetCaptivePortalState(default_network->path()).status; in DelayNetworkCall()
/external/chromium_org/chrome/browser/
Dintranet_redirect_detector.cc51 const IntranetRedirectDetector* const detector = in RedirectOrigin() local
53 return detector ? detector->redirect_origin_ : GURL(); in RedirectOrigin()
/external/compiler-rt/lib/tsan/dd/
DCMakeLists.txt1 # Build for the experimental deadlock detector runtime library.
26 # Deadlock detector is currently supported on 64-bit Linux only.
/external/owasp/sanitizer/tools/findbugs/doc/
DAddingDetectors.txt3 Updated June 6, 2003 (detector meta-information, cleanups)
16 as particular "bug patterns" that the detector reports.
19 required for each FindBugs detector plugin.
75 that by default, the detector will be disabled at runtime.
115 <p> This detector looks for JSR-166 locks that are not released on all paths
184 the detector for this bug pattern. You may also use constructs
206 7. Using 3rd party libraries in the detector
221 extension point how to update the plugin.xml. Existing FindBugs detector plugins can
222 be easily "extended" to be full featured FindBugs & Eclipse detector plugins.
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
Dhost.py126 detector = SCMDetector(self.filesystem, self.executive)
127 self._scm = detector.default_scm(patch_directories)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/webgl/
Dupdate_webgl_conformance_tests.py95 detector = scm.SCMDetector(FileSystem(), Executive())
96 current_scm = detector.detect_scm_system(os.path.dirname(sys.argv[0]))

123