Lines Matching refs:component
179 bool AddComponent(const std::string& component,
182 void AddCommandHandler(const std::string& component,
186 bool SetStateProperties(const std::string& component,
189 bool SetStateProperty(const std::string& component,
242 std::string component; member
309 bool ServiceImpl::AddComponent(const std::string& component, in AddComponent() argument
319 return StatusToError(weave_service_->addComponent(to_string16(component), in AddComponent()
324 void ServiceImpl::AddCommandHandler(const std::string& component, in AddCommandHandler() argument
328 CHECK(!component.empty() && !command_name.empty()); in AddCommandHandler()
335 entry.component = component; in AddCommandHandler()
341 android::String16{component.c_str()}, in AddCommandHandler()
346 bool ServiceImpl::SetStateProperties(const std::string& component, in SetStateProperties() argument
349 CHECK(!component.empty()); in SetStateProperties()
351 return StatusToError(weave_service_->updateState(ToString16(component), in SetStateProperties()
356 bool ServiceImpl::SetStateProperty(const std::string& component, in SetStateProperty() argument
365 return SetStateProperties(component, dict, error); in SetStateProperty()
397 if (entry.component == component_name && in OnCommand()