/external/chromium_org/third_party/WebKit/Source/core/page/ |
NetworkStateNotifierTest.cpp | 153 StateObserver observer1, observer2; local 156 m_notifier.addObserver(&observer2, executionContext()); 160 EXPECT_EQ(observer2.observedType(), blink::ConnectionTypeBluetooth); 165 StateObserver observer1, observer2; local 175 StateObserver observer1, observer2; local 177 addObserverOnNotification(&observer1, &observer2); 181 EXPECT_EQ(observer2.observedType(), blink::ConnectionTypeBluetooth); 199 StateObserver observer1, observer2; local 201 m_notifier.addObserver(&observer2, executionContext()); 206 EXPECT_EQ(observer2.observedType(), blink::ConnectionTypeBluetooth) 215 StateObserver observer1, observer2; local 231 StateObserver observer1, observer2, observer3; local 246 StateObserver observer1, observer2; local 257 StateObserver observer1, observer2; local 269 StateObserver observer1, observer2; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DocumentTest.cpp | 84 OwnPtrWillBeRawPtr<MockDocumentVisibilityObserver> observer2 = MockDocumentVisibilityObserver::create(document()); local 87 EXPECT_CALL(*observer2, didChangeVisibilityState(PageVisibilityStateHidden)).Times(0); 88 EXPECT_CALL(*observer2, didChangeVisibilityState(PageVisibilityStateVisible)).Times(0); 90 ::testing::Mock::VerifyAndClearExpectations(observer2.get()); 94 EXPECT_CALL(*observer2, didChangeVisibilityState(PageVisibilityStateHidden)).Times(1); 95 EXPECT_CALL(*observer2, didChangeVisibilityState(PageVisibilityStateVisible)).Times(0); 98 ::testing::Mock::VerifyAndClearExpectations(observer2.get()); 102 EXPECT_CALL(*observer2, didChangeVisibilityState(PageVisibilityStateHidden)).Times(0); 103 EXPECT_CALL(*observer2, didChangeVisibilityState(PageVisibilityStateVisible)).Times(0); 106 ::testing::Mock::VerifyAndClearExpectations(observer2.get()) [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
ObservableTest.java | 73 Object observer2 = new Object(); local 76 observable.registerObserver(observer2); 85 observable.registerObserver(observer2); 94 observable.registerObserver(observer2);
|
/external/chromium_org/chrome/browser/status_icons/ |
status_icon_unittest.cc | 34 MockStatusIconObserver observer, observer2; local 36 EXPECT_CALL(observer2, OnStatusIconClicked()); 39 icon.AddObserver(&observer2); 42 icon.RemoveObserver(&observer2);
|
/external/chromium_org/components/storage_monitor/ |
storage_monitor_unittest.cc | 42 MockRemovableStorageObserver observer2; local 45 monitor.AddObserver(&observer2); 54 EXPECT_EQ(kDeviceId1, observer2.last_attached().device_id()); 55 EXPECT_EQ(FILE_PATH_LITERAL("path"), observer2.last_attached().location()); 65 EXPECT_EQ(kDeviceId1, observer2.last_detached().device_id()); 66 EXPECT_EQ(FILE_PATH_LITERAL("path"), observer2.last_detached().location()); 69 EXPECT_EQ(1, observer2.attach_calls()); 73 EXPECT_EQ(1, observer2.detach_calls()); 76 monitor.RemoveObserver(&observer2);
|
/external/chromium_org/chrome/browser/chromeos/imageburner/ |
burn_manager_unittest.cc | 244 MockStateMachineObserver observer1, observer2; local 248 EXPECT_CALL(observer2, OnBurnStateChanged(_)) 252 EXPECT_CALL(observer2, OnError(_)) 259 state_machine->AddObserver(&observer2); 262 EXPECT_CALL(observer2, OnBurnStateChanged(_)) 266 EXPECT_CALL(observer2, OnError(_)) 275 EXPECT_CALL(observer2, OnBurnStateChanged(_)) 279 EXPECT_CALL(observer2, OnError(_))
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
ObservableTest.java | 194 DeleteTestObserver observer1, observer2; local 197 observable.addObserver(observer2 = new DeleteTestObserver(false)); 201 && observer2.updateCount() == 1); 205 observable.addObserver(observer2 = new DeleteTestObserver(false)); 209 && observer2.updateCount() == 1);
|
/external/chromium_org/cc/layers/ |
delegated_frame_provider_unittest.cc | 156 scoped_refptr<DelegatedRendererLayer> observer2 = local 164 frame_provider_->GetFrameDataAndRefResources(observer2, &damage); 171 frame_provider_->GetFrameDataAndRefResources(observer2, &damage); 214 scoped_refptr<DelegatedRendererLayer> observer2 = local 221 frame_provider_->GetFrameDataAndRefResources(observer2, &damage); 256 scoped_refptr<DelegatedRendererLayer> observer2 = local 263 frame_provider_->GetFrameDataAndRefResources(observer2, &damage); 276 observer2 = NULL; 300 scoped_refptr<DelegatedRendererLayer> observer2 = local 308 frame_provider_->GetFrameDataAndRefResources(observer2, &damage) [all...] |
/external/chromium_org/components/metrics/ |
metrics_service_unittest.cc | 278 TestMetricsServiceObserver observer2; local 282 EXPECT_EQ(0, observer2.observed()); 286 EXPECT_EQ(0, observer2.observed()); 289 service.AddObserver(&observer2); 293 EXPECT_EQ(1, observer2.observed()); 300 EXPECT_EQ(2, observer2.observed()); 303 service.RemoveObserver(&observer2);
|
/external/chromium_org/chrome/browser/tab_contents/ |
view_source_browsertest.cc | 127 content::WindowedNotificationObserver observer2( 130 observer2.Wait();
|
/external/chromium_org/ui/wm/core/ |
focus_controller_unittest.cc | 544 ScopedTargetFocusNotificationObserver observer2(root_window(), 2); 548 observer2.ExpectCounts(0, 0); 553 observer2.ExpectCounts(0, 0); 558 observer2.ExpectCounts(1, 1); 581 ScopedTargetFocusNotificationObserver observer2(root_window(), 2); 585 observer2.ExpectCounts(0, 0); 590 observer2.ExpectCounts(1, 1); 612 ScopedTargetFocusNotificationObserver observer2(root_window(), 2); 616 observer2.ExpectCounts(0, 0); 621 observer2.ExpectCounts(1, 1) [all...] |
/external/chromium_org/v8/test/mjsunit/es7/ |
object-observe.js | 91 var observer2 = createObserver(); 94 assertEquals("function", typeof observer2.callback); 589 Thingy.observe(thingy, observer2.callback); 597 Object.deliverChangeRecords(observer2.callback); 610 observer2.assertCallbackRecords([ 725 RecursiveThingy.observe(thingy, observer2.callback); 729 Object.deliverChangeRecords(observer2.callback); 735 observer2.assertCallbackRecords([ 781 DeckSuit.observe(deck, observer2.callback); 784 Object.deliverChangeRecords(observer2.callback) [all...] |
/external/chromium_org/chrome/browser/renderer_host/ |
render_process_host_chrome_browsertest.cc | 155 ui_test_utils::WindowedTabAddedNotificationObserver observer2( 158 observer2.Wait(); 239 ui_test_utils::WindowedTabAddedNotificationObserver observer2( 242 observer2.Wait();
|
/external/chromium_org/chrome/browser/component_updater/test/ |
component_updater_service_unittest.cc | 1527 MockServiceObserver observer1, observer2; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
peerconnectioninterface_unittest.cc | 794 talk_base::scoped_ptr<MockDataChannelObserver> observer2( 805 EXPECT_TRUE_WAIT(observer2->IsOpen(), kTimeout); 813 EXPECT_EQ_WAIT(data_to_send2, observer2->last_message(), kTimeout); 820 EXPECT_TRUE(observer2->IsOpen()); 825 EXPECT_EQ_WAIT(data_to_send2, observer2->last_message(), kTimeout); 841 talk_base::scoped_ptr<MockDataChannelObserver> observer2( [all...] |
/external/chromium_org/content/browser/ |
database_tracker_unittest.cc | 321 TestObserver observer2; local 323 tracker->AddObserver(&observer2); 371 CheckNotificationReceived(&observer2, kOrigin1, kDB1, 1); 374 CheckNotificationReceived(&observer2, kOrigin2, kDB2, 2); 377 CheckNotificationReceived(&observer2, kOrigin1, kDB3, 4); 391 tracker->RemoveObserver(&observer2); [all...] |
/external/chromium_org/chrome/browser/captive_portal/ |
captive_portal_service_unittest.cc | 294 CaptivePortalObserver observer2(&profile2, service2.get()); 297 EXPECT_EQ(0, observer2.num_results_received());
|
/external/chromium_org/content/browser/media/capture/ |
web_contents_video_capture_device_unittest.cc | 697 StubClientObserver observer2; local 698 device()->AllocateAndStart(capture_params, observer2.PassClient()); 701 ASSERT_NO_FATAL_FAILURE(observer2.WaitForNextColor(SK_ColorBLUE)); 704 ASSERT_NO_FATAL_FAILURE(observer2.WaitForNextColor(SK_ColorYELLOW));
|
/external/chromium_org/chrome/browser/spellchecker/ |
spellcheck_custom_dictionary_unittest.cc | 985 DictionaryObserverCounter observer2; local [all...] |
/external/chromium_org/ash/ |
root_window_controller_unittest.cc | 571 DestroyedWindowObserver observer2; local 574 observer2.SetWindow(window2); 583 ASSERT_FALSE(observer2.destroyed());
|
/external/chromium_org/chrome/browser/media_galleries/ |
media_galleries_preferences_unittest.cc | [all...] |
/external/chromium_org/sync/internal_api/ |
sync_encryption_handler_impl_unittest.cc | 348 StrictMock<SyncEncryptionHandlerObserverMock> observer2; local 353 handler2.AddObserver(&observer2); 373 Mock::VerifyAndClearExpectations(&observer2); 380 EXPECT_CALL(observer2, 403 Mock::VerifyAndClearExpectations(&observer2); [all...] |
/external/chromium_org/chrome/browser/apps/ |
web_view_browsertest.cc | 416 ui_test_utils::UrlLoadObserver observer2( 430 observer2.Wait(); 440 content::Source<content::NavigationController> source2 = observer2.source(); [all...] |
/external/chromium_org/content/browser/download/ |
download_browsertest.cc | 816 scoped_ptr<DownloadTestObserver> observer2(CreateWaiter(shell(), 1)); 818 observer2->WaitForFinished(); // Wait for the third request. 819 EXPECT_EQ(1u, observer2->NumDownloadsSeenInState(DownloadItem::COMPLETE)); [all...] |
download_item_impl_unittest.cc | 363 MockObserver observer2(system_cancel); 366 ASSERT_TRUE(observer2.CheckUpdated()); [all...] |