/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | ObservableTest.java | 26 static class TestObserver implements Observer { class in ObservableTest 91 TestObserver test = new TestObserver(); in test_addObserverLjava_util_Observer() 113 observable.addObserver(new TestObserver()); in test_countObservers() 124 observable.addObserver(observer = new TestObserver()); in test_deleteObserverLjava_util_Observer() 136 observable.addObserver(new TestObserver()); in test_deleteObservers() 137 observable.addObserver(new TestObserver()); in test_deleteObservers() 138 observable.addObserver(new TestObserver()); in test_deleteObservers() 139 observable.addObserver(new TestObserver()); in test_deleteObservers() 140 observable.addObserver(new TestObserver()); in test_deleteObservers() 141 observable.addObserver(new TestObserver()); in test_deleteObservers() [all …]
|
/external/chromium_org/ash/shelf/ |
D | scoped_observer_with_duplicated_sources_unittest.cc | 10 class TestObserver { class 12 TestObserver() {} in TestObserver() function in TestObserver 13 ~TestObserver() {} in ~TestObserver() 16 DISALLOW_COPY_AND_ASSIGN(TestObserver); 24 void AddObserver(TestObserver* observer) { in AddObserver() 27 void RemoveObserver(TestObserver* observer) { in RemoveObserver() 42 TestObserver observer; in TEST() 46 ScopedObserverWithDuplicatedSources<TestSource, TestObserver> in TEST()
|
/external/chromium_org/media/audio/sounds/ |
D | test_data.cc | 12 TestObserver::TestObserver(const base::Closure& quit) in TestObserver() function in media::TestObserver 21 TestObserver::~TestObserver() { in ~TestObserver() 24 void TestObserver::OnPlay() { in OnPlay() 28 void TestObserver::OnStop(size_t cursor) { in OnStop()
|
D | test_data.h | 25 class TestObserver : public AudioStreamHandler::TestObserver { 27 TestObserver(const base::Closure& quit); 28 virtual ~TestObserver(); 46 DISALLOW_COPY_AND_ASSIGN(TestObserver);
|
D | audio_stream_handler.h | 24 class TestObserver { 26 virtual ~TestObserver() {} in ~TestObserver() 62 static void SetObserverForTesting(TestObserver* observer);
|
D | audio_stream_handler_unittest.cc | 43 void SetObserverForTesting(AudioStreamHandler::TestObserver* observer) { in SetObserverForTesting() 61 TestObserver observer(run_loop.QuitClosure()); in TEST_F() 79 TestObserver observer(run_loop.QuitClosure()); in TEST_F()
|
D | sounds_manager_unittest.cc | 36 void SetObserverForTesting(AudioStreamHandler::TestObserver* observer) { in SetObserverForTesting() 50 TestObserver observer(run_loop.QuitClosure()); in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
D | file_write_watcher_unittest.cc | 21 class TestObserver { class 26 TestObserver(const std::set<std::string>& expected_upload, in TestObserver() function in drive::internal::__anonc5cd5af70111::TestObserver 88 TestObserver observer(expected, loop.QuitClosure()); in TEST_F() 102 base::Bind(&TestObserver::OnWrite, base::Unretained(&observer), "1")); in TEST_F() 106 base::Bind(&TestObserver::OnWrite, base::Unretained(&observer), "2")); in TEST_F() 110 base::Bind(&TestObserver::OnWrite, base::Unretained(&observer), "3")); in TEST_F()
|
/external/chromium_org/ash/system/chromeos/power/ |
D | power_status_unittest.cc | 22 class TestObserver : public PowerStatus::Observer { class 24 TestObserver() : power_changed_count_(0) {} in TestObserver() function in ash::internal::__anon3a1584820111::TestObserver 25 virtual ~TestObserver() {} in ~TestObserver() 35 DISALLOW_COPY_AND_ASSIGN(TestObserver); 49 test_observer_.reset(new TestObserver); in SetUp() 63 scoped_ptr<TestObserver> test_observer_;
|
/external/chromium_org/content/browser/ |
D | notification_service_impl_unittest.cc | 19 class TestObserver : public NotificationObserver { class 21 TestObserver() : notification_count_(0) {} in TestObserver() function in content::__anon7c97042d0111::TestObserver 56 TestObserver all_types_all_sources; in TEST_F() 57 TestObserver idle_all_sources; in TEST_F() 58 TestObserver all_types_test_source; in TEST_F() 59 TestObserver idle_test_source; in TEST_F() 142 TestObserver idle_test_source; in TEST_F()
|
/external/chromium_org/chromeos/network/ |
D | network_sms_handler_unittest.cc | 24 class TestObserver : public NetworkSmsHandler::Observer { class 26 TestObserver() {} in TestObserver() function in chromeos::__anon0111a9c90111::TestObserver 27 virtual ~TestObserver() {} in ~TestObserver() 81 test_observer_.reset(new TestObserver()); in SetUp() 95 scoped_ptr<TestObserver> test_observer_;
|
D | network_state_handler_unittest.cc | 42 class TestObserver : public chromeos::NetworkStateHandlerObserver { class 44 explicit TestObserver(NetworkStateHandler* handler) in TestObserver() function in __anon1881d8770111::TestObserver 52 virtual ~TestObserver() { in ~TestObserver() 126 DISALLOW_COPY_AND_ASSIGN(TestObserver); 155 test_observer_.reset(new TestObserver(network_state_handler_.get())); in SetupNetworkStateHandler() 196 scoped_ptr<TestObserver> test_observer_;
|
/external/chromium_org/chrome/browser/ui/webui/signin/ |
D | login_ui_service_unittest.cc | 22 class TestObserver : public LoginUIService::Observer { class 24 TestObserver() : ui_shown_count_(0), in TestObserver() function in TestObserver 43 DISALLOW_COPY_AND_ASSIGN(TestObserver); 53 TestObserver observer_;
|
/external/chromium_org/device/nfc/ |
D | nfc_chromeos_unittest.cc | 17 class TestObserver : public NfcAdapter::Observer { class 19 TestObserver(scoped_refptr<NfcAdapter> adapter) in TestObserver() function in chromeos::__anond915b9630111::TestObserver 25 virtual ~TestObserver() {} in ~TestObserver() 101 TestObserver observer(adapter_); in TEST_F() 126 TestObserver observer(adapter_); in TEST_F() 181 TestObserver observer(adapter_); in TEST_F()
|
/external/chromium_org/chrome/browser/history/android/ |
D | sqlite_cursor.h | 54 class TestObserver { 56 TestObserver(); 68 virtual ~TestObserver(); 144 void set_test_observer(TestObserver* test_observer) { in set_test_observer() 192 TestObserver* test_observer_;
|
D | sqlite_cursor.cc | 44 SQLiteCursor::TestObserver::TestObserver() { in TestObserver() function in SQLiteCursor::TestObserver 47 SQLiteCursor::TestObserver::~TestObserver() { in ~TestObserver()
|
/external/chromium_org/device/bluetooth/ |
D | bluetooth_chromeos_unittest.cc | 26 class TestObserver : public BluetoothAdapter::Observer { class 28 TestObserver(scoped_refptr<BluetoothAdapter> adapter) in TestObserver() function in chromeos::TestObserver 41 virtual ~TestObserver() {} in ~TestObserver() 274 TestObserver observer(adapter_); in DiscoverDevice() 355 TestObserver observer(adapter_); in TEST_F() 383 TestObserver observer(adapter_); in TEST_F() 411 TestObserver observer(adapter_); in TEST_F() 458 TestObserver observer(adapter_); in TEST_F() 492 TestObserver observer(adapter_); in TEST_F() 536 TestObserver observer(adapter_); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/importer/ |
D | ie_importer_browsertest_win.cc | 255 class TestObserver : public ProfileWriter, class 263 explicit TestObserver(uint16 importer_items, TestIEVersion ie_version) in TestObserver() function in __anon9f1a08190111::TestObserver 391 ~TestObserver() {} in ~TestObserver() 531 TestObserver* observer = new TestObserver( in IN_PROC_BROWSER_TEST_F() 533 TestObserver::IE6); in IN_PROC_BROWSER_TEST_F() 630 TestObserver* observer = new TestObserver(importer::PASSWORDS, in IN_PROC_BROWSER_TEST_F() 631 TestObserver::IE7); in IN_PROC_BROWSER_TEST_F() 656 TestObserver* observer = new TestObserver(importer::HOME_PAGE, in IN_PROC_BROWSER_TEST_F() 657 TestObserver::IE6); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/content/renderer/ |
D | cpp_bound_class_unittest.cc | 58 class TestObserver : public RenderViewObserver { class 60 explicit TestObserver(RenderView* render_view) in TestObserver() function in content::__anon3e17c9c70111::TestObserver 80 observer_.reset(new TestObserver(view_)); in SetUp() 119 scoped_ptr<TestObserver> observer_;
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
D | zip_file_creator_browsertest.cc | 24 class TestObserver : public ZipFileCreator::Observer { class 26 explicit TestObserver(const base::Closure& quit) in TestObserver() function in file_manager::__anon2e8033450111::TestObserver 64 TestObserver observer(content::GetQuitTaskForRunLoop(&run_loop)); in IN_PROC_BROWSER_TEST_F() 89 TestObserver observer(content::GetQuitTaskForRunLoop(&run_loop)); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
D | input_method_manager_impl_unittest.cc | 159 class TestObserver : public InputMethodManager::Observer { class 161 TestObserver() in TestObserver() function in chromeos::input_method::__anonf4e288310111::TestObserver 166 virtual ~TestObserver() {} in ~TestObserver() 183 DISALLOW_COPY_AND_ASSIGN(TestObserver); 232 TEST_F(InputMethodManagerImplTest, TestObserver) { in TEST_F() argument 235 TestObserver observer; in TEST_F() 334 TestObserver observer; in TEST_F() 361 TestObserver observer; in TEST_F() 392 TestObserver observer; in TEST_F() 418 TestObserver observer; in TEST_F() [all …]
|
/external/chromium_org/ash/desktop_background/ |
D | desktop_background_controller_unittest.cc | 56 class TestObserver : public DesktopBackgroundControllerObserver { class 58 explicit TestObserver(DesktopBackgroundController* controller) in TestObserver() function in ash::__anon38f407970111::TestObserver 64 virtual ~TestObserver() { in ~TestObserver() 523 TestObserver observer(controller_); in TEST_F() 543 TestObserver observer(controller_); in TEST_F() 557 TestObserver observer(controller_); in TEST_F() 573 TestObserver observer(controller_); in TEST_F() 588 TestObserver observer(controller_); in TEST_F()
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/signin/ |
D | OAuth2TokenServiceIntegrationTest.java | 42 private TestObserver mObserver; 61 mObserver = new TestObserver(); in setUp() 83 private void addObserver(final TestObserver observer) { in addObserver() 237 private static class TestObserver implements OAuth2TokenService.OAuth2TokenServiceObserver { class in OAuth2TokenServiceIntegrationTest
|
/external/chromium_org/ui/app_list/ |
D | app_list_model_unittest.cc | 22 class TestObserver : public AppListModelObserver, class 25 TestObserver() in TestObserver() function in app_list::__anonda9a9b4c0111::TestObserver 31 virtual ~TestObserver() { in ~TestObserver() 76 DISALLOW_COPY_AND_ASSIGN(TestObserver); 103 TestObserver observer_;
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/ |
D | ShortcutHelperTest.java | 42 private static class TestObserver implements ChromiumTestShellApplicationObserver { class in ShortcutHelperTest 62 private TestObserver mTestObserver; 70 mTestObserver = new TestObserver(); in setUp()
|