Lines Matching refs:device_
233 if (device_) in CreateDevice()
236 device_ = weave::Device::Create(config_.get(), task_runner_.get(), in CreateDevice()
241 LoadTraitDefinitions(options_.config_options, device_.get()); in CreateDevice()
242 LoadCommandDefinitions(options_.config_options, device_.get()); in CreateDevice()
243 LoadStateDefinitions(options_.config_options, device_.get()); in CreateDevice()
244 LoadStateDefaults(options_.config_options, device_.get()); in CreateDevice()
246 device_->AddSettingsChangedCallback( in CreateDevice()
249 device_->AddTraitDefsChangedCallback( in CreateDevice()
252 device_->AddStateChangedCallback( in CreateDevice()
255 device_->AddComponentTreeChangedCallback( in CreateDevice()
259 device_->AddGcdStateChangedCallback( in CreateDevice()
262 device_->AddPairingChangedCallbacks( in CreateDevice()
266 device_->AddCommandHandler(kBaseComponent, kRebootCommand, in CreateDevice()
274 device_.reset(); in Stop()
367 if (device_) in connect()
445 *traits = weaved::binder_utils::ToString16(device_->GetTraits()); in getTraits()
450 *components = weaved::binder_utils::ToString16(device_->GetComponents()); in getComponents()
455 CHECK(device_); in CreateServicesForClients()
462 new BinderWeaveService{device_.get(), client}; in CreateServicesForClients()