/cts/tests/tests/database/src/android/database/cts/ |
ObservableTest.java | 72 Object observer1 = new Object(); local 75 observable.registerObserver(observer1); 80 observable.registerObserver(observer1); 93 observable.registerObserver(observer1);
|
/external/chromium_org/chrome/browser/chromeos/imageburner/ |
burn_manager_unittest.cc | 244 MockStateMachineObserver observer1, observer2; local 246 EXPECT_CALL(observer1, OnBurnStateChanged(_)) 250 EXPECT_CALL(observer1, OnError(_)) 258 state_machine->AddObserver(&observer1); 260 EXPECT_CALL(observer1, OnBurnStateChanged(_)) 264 EXPECT_CALL(observer1, OnError(_)) 272 state_machine->RemoveObserver(&observer1); 273 EXPECT_CALL(observer1, OnBurnStateChanged(_)) 277 EXPECT_CALL(observer1, OnError(_))
|
/external/chromium_org/chrome/browser/storage_monitor/ |
storage_monitor_unittest.cc | 40 MockRemovableStorageObserver observer1; local 43 monitor.AddObserver(&observer1); 51 EXPECT_EQ(kDeviceId1, observer1.last_attached().device_id()); 52 EXPECT_EQ(kDeviceName, observer1.last_attached().name()); 53 EXPECT_EQ(FILE_PATH_LITERAL("path"), observer1.last_attached().location()); 57 EXPECT_EQ(1, observer1.attach_calls()); 58 EXPECT_EQ(0, observer1.detach_calls()); 64 EXPECT_EQ(kDeviceId1, observer1.last_detached().device_id()); 65 EXPECT_EQ(kDeviceName, observer1.last_detached().name()); 66 EXPECT_EQ(FILE_PATH_LITERAL("path"), observer1.last_detached().location()) [all...] |
/external/chromium_org/cc/layers/ |
delegated_frame_provider_unittest.cc | 152 scoped_refptr<DelegatedRendererLayer> observer1 = local 160 frame_provider_->GetFrameDataAndRefResources(observer1, &damage); 167 frame_provider_->GetFrameDataAndRefResources(observer1, &damage); 210 scoped_refptr<DelegatedRendererLayer> observer1 = local 218 frame_provider_->GetFrameDataAndRefResources(observer1, &damage); 252 scoped_refptr<DelegatedRendererLayer> observer1 = local 260 frame_provider_->GetFrameDataAndRefResources(observer1, &damage); 273 observer1 = NULL; 296 scoped_refptr<DelegatedRendererLayer> observer1 = local 304 frame_provider_->GetFrameDataAndRefResources(observer1, &damage) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
ObservableTest.java | 170 DeleteTestObserver observer1, observer2; local 172 observable.addObserver(observer1 = new DeleteTestObserver(false)); 176 assertTrue("Failed to notify all", observer1.updateCount() == 1 180 observable.addObserver(observer1 = new DeleteTestObserver(false)); 184 assertTrue("Failed to notify all 2", observer1.updateCount() == 1
|
/libcore/luni/src/test/java/tests/api/java/util/ |
ObservableTest.java | 194 DeleteTestObserver observer1, observer2; local 196 observable.addObserver(observer1 = new DeleteTestObserver(false)); 200 assertTrue("Failed to notify all", observer1.updateCount() == 1 204 observable.addObserver(observer1 = new DeleteTestObserver(false)); 208 assertTrue("Failed to notify all 2", observer1.updateCount() == 1
|
/external/chromium_org/ash/ |
root_window_controller_unittest.cc | 526 DestroyedWindowObserver observer1; local 531 observer1.SetWindow(window1); 545 ASSERT_FALSE(observer1.destroyed());
|
/external/chromium_org/chrome/browser/component_updater/test/ |
component_updater_service_unittest.cc | 371 MockComponentObserver observer1; local 374 EXPECT_CALL(observer1, 377 EXPECT_CALL(observer1, 380 EXPECT_CALL(observer1, 383 EXPECT_CALL(observer1, 386 EXPECT_CALL(observer1, 389 EXPECT_CALL(observer1, 392 EXPECT_CALL(observer1, 429 com1.observer = &observer1; 545 MockComponentObserver observer1; local 773 MockComponentObserver observer1; local [all...] |
/external/chromium_org/webkit/browser/database/ |
database_tracker_unittest.cc | 323 TestObserver observer1; local 325 tracker->AddObserver(&observer1); 373 CheckNotificationReceived(&observer1, kOrigin1, kDB1, 1); 376 CheckNotificationReceived(&observer1, kOrigin2, kDB2, 2); 379 CheckNotificationReceived(&observer1, kOrigin1, kDB3, 4); 405 tracker->RemoveObserver(&observer1); [all...] |