Home
last modified time | relevance | path

Searched refs:AddObserver (Results 1 – 25 of 35) 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.h93 virtual void AddObserver(BaseVariable::ObserverInterface* observer) { in AddObserver() function
Dgeneric_variables_unittest.cc188 var.AddObserver(&observer); in TEST_F()
/system/update_engine/aosp/
Ddaemon_android.cc59 daemon_state_->AddObserver(binder_service_.get()); in OnInit()
68 daemon_state_->AddObserver(stable_binder_service_.get()); in OnInit()
Ddaemon_state_android.h43 void AddObserver(ServiceObserverInterface* observer) override;
Ddaemon_state_android.cc84 void DaemonStateAndroid::AddObserver(ServiceObserverInterface* observer) { in AddObserver() function in chromeos_update_engine::DaemonStateAndroid
Dsideload_main.cc61 void AddObserver(ServiceObserverInterface* observer) override {} in AddObserver() function in chromeos_update_engine::__anon576c97800111::SideloadDaemonState
/system/update_engine/common/
Ddaemon_state_interface.h36 virtual void AddObserver(ServiceObserverInterface* observer) = 0;
Dmock_prefs.h50 MOCK_METHOD2(AddObserver, void(const std::string& key, ObserverInterface*));
Dprefs_interface.h100 virtual void AddObserver(const std::string& key,
Dprefs_unittest.cc516 prefs_.AddObserver(kKey, &mock_obserser); in TEST_F()
529 prefs_.AddObserver(key1, &mock_obserser); in TEST_F()
547 prefs_.AddObserver(kUnusedKey, &mock_obserser); in TEST_F()
559 prefs_.AddObserver(kKey, &mock_obserser_a); in TEST_F()
560 prefs_.AddObserver(kKey, &mock_obserser_b); in TEST_F()
573 prefs_.AddObserver(kInvalidKey, &mock_obserser); in TEST_F()
Dfake_prefs.h58 void AddObserver(const std::string& key,
/system/bt/service/hal/
Dfake_bluetooth_interface.cc152 void FakeBluetoothInterface::AddObserver(Observer* observer) { in AddObserver() function in bluetooth::hal::FakeBluetoothInterface
153 observers_.AddObserver(observer); in AddObserver()
Dfake_bluetooth_interface.h64 void AddObserver(Observer* observer) override;
Dfake_bluetooth_av_interface.cc171 a2dp_source_observers_.AddObserver(observer); in AddA2dpSourceObserver()
182 a2dp_sink_observers_.AddObserver(observer); in AddA2dpSinkObserver()
Dfake_bluetooth_gatt_interface.cc287 scanner_observers_.AddObserver(observer); in AddScannerObserver()
298 client_observers_.AddObserver(observer); in AddClientObserver()
309 server_observers_.AddObserver(observer); in AddServerObserver()
Dbluetooth_interface.h106 virtual void AddObserver(Observer* observer) = 0;
Dbluetooth_av_interface.cc209 a2dp_source_observers_.AddObserver(observer); in AddA2dpSourceObserver()
217 a2dp_sink_observers_.AddObserver(observer); in AddA2dpSinkObserver()
Dbluetooth_interface.cc249 void AddObserver(Observer* observer) override { in AddObserver() function in bluetooth::hal::BluetoothInterfaceImpl
251 observers_.AddObserver(observer); in AddObserver()
Dbluetooth_gatt_interface.cc446 scanner_observers_.AddObserver(observer); in AddScannerObserver()
454 client_observers_.AddObserver(observer); in AddClientObserver()
462 server_observers_.AddObserver(observer); in AddServerObserver()
/system/update_engine/cros/
Ddaemon_chromeos.cc52 SystemState::Get()->update_attempter()->AddObserver(dbus_adaptor_.get()); in OnInit()
/system/bt/service/test/
Dmock_adapter.h31 MOCK_METHOD1(AddObserver, void(Observer*));
/system/bt/test/suite/adapter/
Dbluetooth_test.cc58 bt_hal_interface->AddObserver(this); in SetUp()
/system/bt/service/
Dadapter.h108 virtual void AddObserver(Observer* observer) = 0;
Dadapter.cc203 hal::BluetoothInterface::Get()->AddObserver(this); in AdapterImpl()
220 void AddObserver(Adapter::Observer* observer) override { in AddObserver() function in bluetooth::AdapterImpl
222 observers_.AddObserver(observer); in AddObserver()

12