Lines Matching refs:Manager

154 void UpdateValue(Manager* manager,  in UpdateValue()
155 std::string Manager::* prop, in UpdateValue()
167 class Manager::TaskRunner : public weave::provider::TaskRunner {
176 Manager::Manager(const Options& options, in Manager() function in buffet::Manager
180 Manager::~Manager() { in ~Manager()
192 void Manager::Start(AsyncEventSequencer* sequencer) { in Start()
197 void Manager::RestartWeave(AsyncEventSequencer* sequencer) { in RestartWeave()
212 base::Bind(&Manager::CreateDevice, weak_ptr_factory_.GetWeakPtr())}); in RestartWeave()
232 void Manager::CreateDevice() { in CreateDevice()
247 base::Bind(&Manager::OnConfigChanged, weak_ptr_factory_.GetWeakPtr())); in CreateDevice()
250 base::Bind(&Manager::OnTraitDefsChanged, in CreateDevice()
253 base::Bind(&Manager::OnComponentTreeChanged, in CreateDevice()
256 base::Bind(&Manager::OnComponentTreeChanged, in CreateDevice()
260 base::Bind(&Manager::OnGcdStateChanged, weak_ptr_factory_.GetWeakPtr())); in CreateDevice()
263 base::Bind(&Manager::OnPairingStart, weak_ptr_factory_.GetWeakPtr()), in CreateDevice()
264 base::Bind(&Manager::OnPairingEnd, weak_ptr_factory_.GetWeakPtr())); in CreateDevice()
267 base::Bind(&Manager::OnRebootDevice, in CreateDevice()
273 void Manager::Stop() { in Stop()
285 void Manager::OnTraitDefsChanged() { in OnTraitDefsChanged()
289 void Manager::OnComponentTreeChanged() { in OnComponentTreeChanged()
293 void Manager::OnGcdStateChanged(weave::GcdState state) { in OnGcdStateChanged()
299 void Manager::OnConfigChanged(const weave::Settings& settings) { in OnConfigChanged()
301 UpdateValue(this, &Manager::cloud_id_, settings.cloud_id, in OnConfigChanged()
303 UpdateValue(this, &Manager::device_id_, settings.device_id, in OnConfigChanged()
305 UpdateValue(this, &Manager::device_name_, settings.name, in OnConfigChanged()
307 UpdateValue(this, &Manager::device_description_, settings.description, in OnConfigChanged()
309 UpdateValue(this, &Manager::device_location_, settings.location, in OnConfigChanged()
311 UpdateValue(this, &Manager::oem_name_, settings.oem_name, in OnConfigChanged()
313 UpdateValue(this, &Manager::model_id_, settings.model_id, in OnConfigChanged()
315 UpdateValue(this, &Manager::model_name_, settings.model_name, in OnConfigChanged()
320 void Manager::OnPairingStart(const std::string& session_id, in OnPairingStart()
326 UpdateValue(this, &Manager::pairing_session_id_, session_id, in OnPairingStart()
328 UpdateValue(this, &Manager::pairing_mode_, EnumToString(pairing_type), in OnPairingStart()
331 UpdateValue(this, &Manager::pairing_code_, pairing_code, in OnPairingStart()
336 void Manager::OnPairingEnd(const std::string& session_id) { in OnPairingEnd()
340 UpdateValue(this, &Manager::pairing_session_id_, "", in OnPairingEnd()
342 UpdateValue(this, &Manager::pairing_mode_, "", in OnPairingEnd()
344 UpdateValue(this, &Manager::pairing_code_, "", in OnPairingEnd()
349 void Manager::OnRebootDevice(const std::weak_ptr<weave::Command>& cmd) { in OnRebootDevice()
356 base::Bind(&Manager::RebootDeviceNow, weak_ptr_factory_.GetWeakPtr()), in OnRebootDevice()
360 void Manager::RebootDeviceNow() { in RebootDeviceNow()
364 android::binder::Status Manager::connect( in connect()
372 android::binder::Status Manager::registerNotificationListener( in registerNotificationListener()
377 base::Bind(&Manager::OnNotificationListenerDestroyed, in registerNotificationListener()
382 android::binder::Status Manager::getCloudId(android::String16* id) { in getCloudId()
387 android::binder::Status Manager::getDeviceId(android::String16* id) { in getDeviceId()
392 android::binder::Status Manager::getDeviceName(android::String16* name) { in getDeviceName()
397 android::binder::Status Manager::getDeviceDescription( in getDeviceDescription()
403 android::binder::Status Manager::getDeviceLocation( in getDeviceLocation()
409 android::binder::Status Manager::getOemName(android::String16* name) { in getOemName()
414 android::binder::Status Manager::getModelName(android::String16* name) { in getModelName()
419 android::binder::Status Manager::getModelId(android::String16* id) { in getModelId()
424 android::binder::Status Manager::getPairingSessionId(android::String16* id) { in getPairingSessionId()
429 android::binder::Status Manager::getPairingMode(android::String16* mode) { in getPairingMode()
434 android::binder::Status Manager::getPairingCode(android::String16* code) { in getPairingCode()
439 android::binder::Status Manager::getState(android::String16* state) { in getState()
444 android::binder::Status Manager::getTraits(android::String16* traits) { in getTraits()
449 android::binder::Status Manager::getComponents(android::String16* components) { in getComponents()
454 void Manager::CreateServicesForClients() { in CreateServicesForClients()
467 base::Bind(&Manager::OnClientDisconnected, in CreateServicesForClients()
473 void Manager::OnClientDisconnected( in OnClientDisconnected()
478 void Manager::OnNotificationListenerDestroyed( in OnNotificationListenerDestroyed()
483 void Manager::NotifyServiceManagerChange( in NotifyServiceManagerChange()