/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | delay_peak_detector_unittest.cc | 20 DelayPeakDetector* detector = new DelayPeakDetector(); local 21 EXPECT_FALSE(detector->peak_found()); 22 delete detector; 26 DelayPeakDetector detector; local 27 EXPECT_EQ(-1, detector.MaxPeakHeight()); 28 EXPECT_EQ(-1, detector.MaxPeakPeriod()); 31 // Inject a series of packet arrivals into the detector. Three of the packets 35 DelayPeakDetector detector; local 37 detector.SetPacketAudioLength(kPacketSizeMs); 60 // Load into detector 86 DelayPeakDetector detector; local [all...] |
/external/chromium_org/chrome/browser/ |
H A D | upgrade_detector_impl_unittest.cc | 76 TestUpgradeDetectorImpl detector; local 77 EXPECT_FALSE(detector.notify_upgrade()); 80 detector.OnExperimentChangesDetected( 82 EXPECT_FALSE(detector.notify_upgrade()); 85 detector.NotifyOnUpgradeWithTimePassed(base::TimeDelta::FromDays(30)); 86 EXPECT_TRUE(detector.notify_upgrade()); 90 EXPECT_EQ(0, detector.trigger_critical_update_call_count()); 97 TestUpgradeDetectorImpl detector; local 98 EXPECT_FALSE(detector.notify_upgrade()); 101 detector [all...] |
H A D | intranet_redirect_detector.cc | 51 const IntranetRedirectDetector* const detector = local 53 return detector ? detector->redirect_origin_ : GURL();
|
/external/chromium_org/base/i18n/ |
H A D | icu_encoding_detection.cc | 21 UCharsetDetector* detector = ucsdet_open(&status); local 22 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()), 24 const UCharsetMatch* match = ucsdet_detect(detector, &status); 28 ucsdet_close(detector); 40 UCharsetDetector* detector = ucsdet_open(&status); local 41 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()), 44 const UCharsetMatch** matches = ucsdet_detectAll(detector, 48 ucsdet_close(detector); 86 UEnumeration* detectable_encodings = ucsdet_getAllDetectableCharsets(detector, 100 ucsdet_close(detector); [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
H A D | TextEncodingDetector.cpp | 46 UCharsetDetector* detector = ucsdet_open(&status); local 49 ucsdet_enableInputFilter(detector, true); 50 ucsdet_setText(detector, data, static_cast<int32_t>(length), &status); 55 // the ICU detector itself. 60 // encoding with a highest confidence among the detector-specific 64 const UCharsetMatch** matches = ucsdet_detectAll(detector, &matchesCount, &status); 66 ucsdet_close(detector); 109 ucsdet_close(detector); 112 ucsdet_close(detector);
|
/external/chromium_org/components/captive_portal/ |
H A D | captive_portal_testing_utils.h | 25 // Sets test time for captive portal detector. 28 // Advances test time for captive portal detector. 33 // Sets URL fetcher state and notifies portal detector. 38 void set_detector(CaptivePortalDetector* detector) { detector_ = detector; } argument 40 CaptivePortalDetector* detector() { return detector_; } function in class:captive_portal::CaptivePortalDetectorTestBase
|
H A D | captive_portal_testing_utils.cc | 34 detector()->set_time_for_testing(time); 38 detector()->advance_time_for_testing(delta); 42 return detector()->FetchingURL(); 62 detector()->OnURLFetchComplete(fetcher());
|
H A D | captive_portal_detector_unittest.cc | 78 CaptivePortalClient client(detector()); 80 detector()->DetectCaptivePortal(url, 102 CaptivePortalClient client(detector()); 104 detector()->DetectCaptivePortal(url, 111 detector()->Cancel();
|
/external/chromium_org/chrome/browser/metrics/ |
H A D | cloned_install_detector_unittest.cc | 30 scoped_ptr<ClonedInstallDetector> detector( 33 detector->SaveMachineId(&prefs, kTestRawId); 45 scoped_ptr<ClonedInstallDetector> detector( 48 detector->SaveMachineId(&prefs, kTestRawId);
|
/external/chromium_org/ash/system/chromeos/power/ |
H A D | video_activity_notifier.cc | 19 VideoActivityNotifier::VideoActivityNotifier(VideoDetector* detector) argument 20 : detector_(detector),
|
H A D | video_activity_notifier.h | 19 explicit VideoActivityNotifier(VideoDetector* detector);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/ |
H A D | detection_unittest.py | 43 detector = SCMDetector(filesystem, executive) 49 scm = OutputCapture().assert_outputs(self, detector.detect_scm_system, ["/"], expected_logs=expected_logs)
|
/external/chromium_org/content/renderer/android/ |
H A D | phone_number_detector_unittest.cc | 19 PhoneNumberDetector detector(region); 21 if (detector.FindContent(content_16.begin(), content_16.end(), 32 PhoneNumberDetector detector(region); 34 detector.FindContent(content_16.begin(), content_16.end(),
|
H A D | email_detector_unittest.cc | 19 EmailDetector detector; local 21 if (detector.FindContent(content_16.begin(), content_16.end(),
|
/external/chromium_org/chrome/browser/chromeos/net/ |
H A D | delay_network_call.cc | 36 NetworkPortalDetector* detector = NetworkPortalDetector::Get(); local 38 detector->GetCaptivePortalState(default_network->guid()).status;
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
H A D | desktop_capture_options.h | 59 scoped_refptr<FullScreenChromeWindowDetector> detector) { 60 full_screen_window_detector_ = detector; 58 set_full_screen_chrome_window_detector( scoped_refptr<FullScreenChromeWindowDetector> detector) argument
|
/external/chromium_org/ui/chromeos/ |
H A D | user_activity_power_manager_notifier.cc | 45 ::wm::UserActivityDetector* detector) 46 : detector_(detector) { 44 UserActivityPowerManagerNotifier( ::wm::UserActivityDetector* detector) argument
|
H A D | user_activity_power_manager_notifier.h | 25 ::wm::UserActivityDetector* detector);
|
/external/chromium_org/ui/events/gesture_detection/ |
H A D | scale_gesture_detector.h | 44 virtual bool OnScale(const ScaleGestureDetector& detector, 46 virtual bool OnScaleBegin(const ScaleGestureDetector& detector, 48 virtual void OnScaleEnd(const ScaleGestureDetector& detector, 80 // Returns true if the event was processed and the detector wants to receive 87 // detector should always be offered events *before* the ScaleGestureDetector.
|
H A D | gesture_provider.cc | 196 virtual bool OnScaleBegin(const ScaleGestureDetector& detector, 198 if (ignore_multitouch_zoom_events_ && !detector.InDoubleTapMode()) 203 virtual void OnScaleEnd(const ScaleGestureDetector& detector, 210 virtual bool OnScale(const ScaleGestureDetector& detector, 212 if (ignore_multitouch_zoom_events_ && !detector.InDoubleTapMode()) 218 detector.GetEventTime(), 219 detector.GetFocusX(), 220 detector.GetFocusY(), 221 detector.GetFocusX() + e.GetRawOffsetX(), 222 detector [all...] |
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/automated/ |
H A D | vie_video_verification_test.cc | 261 FrameDropDetector detector; local 263 remote_file_renderer_ = new FrameDropMonitoringRemoteFileRenderer(&detector); 281 remote_file_renderer_, &detector); 286 detector.CalculateResults(); 287 detector.PrintReport(parameter_table_[GetParam()].test_label); 289 if (detector.GetNumberOfFramesDroppedAt(FrameDropDetector::kRendered) > 290 detector.GetNumberOfFramesDroppedAt(FrameDropDetector::kDecoded)) { 291 detector.PrintDebugDump(); 294 ASSERT_GE(detector.GetNumberOfFramesDroppedAt(FrameDropDetector::kRendered), 295 detector [all...] |
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
H A D | TrackingInputHandler.java | 90 // If long-press is enabled, the gesture-detector will not emit any further onScroll 362 // gesture-detector will still generate onFling() notifications based on movement of 387 public boolean onScale(ScaleGestureDetector detector) { argument 392 if (Math.abs(detector.getScaleFactor() - 1) < MIN_ZOOM_DELTA) { 396 float scaleFactor = detector.getScaleFactor(); 399 scaleFactor, scaleFactor, detector.getFocusX(), detector.getFocusY()); 416 public boolean onScaleBegin(ScaleGestureDetector detector) { argument 422 public void onScaleEnd(ScaleGestureDetector detector) { argument 423 onScale(detector); [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
H A D | host.py | 126 detector = SCMDetector(self.filesystem, self.executive) 127 self._scm = detector.default_scm(patch_directories)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/webgl/ |
H A D | update_webgl_conformance_tests.py | 95 detector = scm.SCMDetector(FileSystem(), Executive()) 96 current_scm = detector.detect_scm_system(os.path.dirname(sys.argv[0]))
|
/external/chromium_org/chrome/browser/extensions/api/networking_private/ |
H A D | networking_private_apitest.cc | 398 NetworkPortalDetectorTestImpl* detector() { return detector_; } function in class:__anon3781::ExtensionNetworkingPrivateApiTest 609 detector()->SetDetectionResultsForTesting("stub_ethernet_guid", state); 612 detector()->SetDetectionResultsForTesting("stub_wifi1_guid", state); 615 detector()->SetDetectionResultsForTesting("stub_wifi2_guid", state); 619 detector()->SetDetectionResultsForTesting("stub_cellular1_guid", state); 626 detector()->SetDefaultNetworkForTesting("wifi_guid"); 629 detector()->SetDetectionResultsForTesting("wifi_guid", state); 634 base::Unretained(detector())));
|