Home
last modified time | relevance | path

Searched refs:AddObserver (Results 1 – 25 of 37) sorted by relevance

12

/system/update_engine/update_manager/
Dvariable_unittest.cc96 var.AddObserver(&observer); in TEST_F()
98 var.AddObserver(&observer); in TEST_F()
109 var.AddObserver(&observer1); in TEST_F()
120 var.AddObserver(&observer2); in TEST_F()
161 var.AddObserver(&observer1); in TEST_F()
162 var.AddObserver(&observer2); in TEST_F()
Dvariable.h89 virtual void AddObserver(BaseVariable::ObserverInterface* observer) { in AddObserver() function
/system/update_engine/
Ddaemon_state_interface.h37 virtual void AddObserver(ServiceObserverInterface* observer) = 0;
Ddaemon_state_android.h43 void AddObserver(ServiceObserverInterface* observer) override;
Ddaemon_android.cc59 daemon_state_->AddObserver(binder_service_.get()); in OnInit()
Ddaemon_chromeos.cc55 daemon_state_->AddObserver(dbus_adaptor_.get()); in OnInit()
Dreal_system_state.cc233 void RealSystemState::AddObserver(ServiceObserverInterface* observer) { in AddObserver() function in chromeos_update_engine::RealSystemState
235 update_attempter_->AddObserver(observer); in AddObserver()
Ddaemon_state_android.cc80 void DaemonStateAndroid::AddObserver(ServiceObserverInterface* observer) { in AddObserver() function in chromeos_update_engine::DaemonStateAndroid
Dreal_system_state.h67 void AddObserver(ServiceObserverInterface* observer) override;
Dsideload_main.cc61 void AddObserver(ServiceObserverInterface* observer) override {} in AddObserver() function in chromeos_update_engine::__anon1f39b2d70111::SideloadDaemonState
/system/bt/service/hal/
Dfake_bluetooth_interface.cc149 void FakeBluetoothInterface::AddObserver(Observer* observer) { in AddObserver() function in bluetooth::hal::FakeBluetoothInterface
150 observers_.AddObserver(observer); in AddObserver()
Dfake_bluetooth_interface.h62 void AddObserver(Observer* observer) override;
Dfake_bluetooth_av_interface.cc170 a2dp_source_observers_.AddObserver(observer); in AddA2dpSourceObserver()
181 a2dp_sink_observers_.AddObserver(observer); in AddA2dpSinkObserver()
Dfake_bluetooth_gatt_interface.cc283 scanner_observers_.AddObserver(observer); in AddScannerObserver()
294 client_observers_.AddObserver(observer); in AddClientObserver()
305 server_observers_.AddObserver(observer); in AddServerObserver()
Dbluetooth_interface.h101 virtual void AddObserver(Observer* observer) = 0;
Dbluetooth_av_interface.cc203 a2dp_source_observers_.AddObserver(observer); in AddA2dpSourceObserver()
211 a2dp_sink_observers_.AddObserver(observer); in AddA2dpSinkObserver()
Dbluetooth_interface.cc228 void AddObserver(Observer* observer) override { in AddObserver() function in bluetooth::hal::BluetoothInterfaceImpl
230 observers_.AddObserver(observer); in AddObserver()
Dbluetooth_gatt_interface.cc444 scanner_observers_.AddObserver(observer); in AddScannerObserver()
452 client_observers_.AddObserver(observer); in AddClientObserver()
460 server_observers_.AddObserver(observer); in AddServerObserver()
/system/update_engine/common/
Dmock_prefs.h48 MOCK_METHOD2(AddObserver, void(const std::string& key, ObserverInterface*));
Dprefs_unittest.cc434 prefs_.AddObserver(kKey, &mock_obserser); in TEST_F()
447 prefs_.AddObserver(key1, &mock_obserser); in TEST_F()
465 prefs_.AddObserver(kUnusedKey, &mock_obserser); in TEST_F()
477 prefs_.AddObserver(kKey, &mock_obserser_a); in TEST_F()
478 prefs_.AddObserver(kKey, &mock_obserser_b); in TEST_F()
491 prefs_.AddObserver(kInvalidKey, &mock_obserser); in TEST_F()
Dprefs_interface.h94 virtual void AddObserver(const std::string& key,
Dfake_prefs.h55 void AddObserver(const std::string& key,
/system/bt/service/test/
Dmock_adapter.h31 MOCK_METHOD1(AddObserver, void(Observer*));
/system/bt/service/
Dadapter.h108 virtual void AddObserver(Observer* observer) = 0;
/system/bt/test/suite/adapter/
Dbluetooth_test.cc58 bt_hal_interface->AddObserver(this); in SetUp()

12