Lines Matching refs:processor
32 std::shared_ptr<ISaCommandProcessor> processor) in RegisterSaCommandProcessor() argument
34 IF_FALSE_LOGE_AND_RETURN(processor != nullptr); in RegisterSaCommandProcessor()
38 processors_.insert(processor); in RegisterSaCommandProcessor()
45 commandId2Processors_[commandId].insert(processor); in RegisterSaCommandProcessor()
50 std::shared_ptr<ISaCommandProcessor> processor) in UnregisterSaCommandProcessor() argument
52 IF_FALSE_LOGE_AND_RETURN(processor != nullptr); in UnregisterSaCommandProcessor()
56 processors_.erase(processor); in UnregisterSaCommandProcessor()
63 commandId2Processors_[commandId].erase(processor); in UnregisterSaCommandProcessor()
75 for (const auto &processor : commandId2Processors_[command.id]) { in ProcessSaCommands() local
76 IF_FALSE_LOGE_AND_RETURN_VAL(processor != nullptr, UserAuth::GENERAL_ERROR); in ProcessSaCommands()
77 UserAuth::ResultCode result = processor->ProcessSaCommand(executor, command); in ProcessSaCommands()
89 for (const auto &processor : processors_) { in OnHdiDisconnect() local
90 IF_FALSE_LOGE_AND_RETURN(processor != nullptr); in OnHdiDisconnect()
91 processor->OnHdiDisconnect(executor); in OnHdiDisconnect()