Home
last modified time | relevance | path

Searched refs:RemoteCommandExecutor (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/security/access_token/services/tokensyncmanager/src/remote/
H A Dremote_command_executor.cpp34 RemoteCommandExecutor::RemoteCommandExecutor(const std::string &targetNodeId) in RemoteCommandExecutor() function in OHOS::Security::AccessToken::RemoteCommandExecutor
40 RemoteCommandExecutor::~RemoteCommandExecutor() in ~RemoteCommandExecutor()
46 const std::shared_ptr<RpcChannel> RemoteCommandExecutor::CreateChannel(const std::string &targetNod… in CreateChannel()
58 int RemoteCommandExecutor::ProcessOneCommand(const std::shared_ptr<BaseRemoteCommand>& ptrCommand) in ProcessOneCommand()
103 int RemoteCommandExecutor::AddCommand(const std::shared_ptr<BaseRemoteCommand>& ptrCommand) in AddCommand()
134 int RemoteCommandExecutor::ProcessBufferedCommands(bool standalone) in ProcessBufferedCommands()
196 void RemoteCommandExecutor::ProcessBufferedCommandsWithThread() in ProcessBufferedCommandsWithThread()
243 int RemoteCommandExecutor::ExecuteRemoteCommand( in ExecuteRemoteCommand()
301 void RemoteCommandExecutor::CreateChannelIfNeeded() in CreateChannelIfNeeded()
313 int RemoteCommandExecutor::ClientProcessResult(const std::shared_ptr<BaseRemoteCommand>& ptrCommand) in ClientProcessResult()
H A Dremote_command_manager.cpp69 std::shared_ptr<RemoteCommandExecutor> executor = GetOrCreateRemoteCommandExecutor(udid); in AddCommand()
97 std::shared_ptr<RemoteCommandExecutor> executor = GetOrCreateRemoteCommandExecutor(udid); in ExecuteCommand()
153 std::map<std::string, std::shared_ptr<RemoteCommandExecutor>> dummy; in Clear()
179 auto channel = RemoteCommandExecutor::CreateChannel(nodeId); in NotifyDeviceOnline()
238 std::shared_ptr<RemoteCommandExecutor> RemoteCommandManager::GetOrCreateRemoteCommandExecutor(const… in GetOrCreateRemoteCommandExecutor()
248 auto executor = std::make_shared<RemoteCommandExecutor>(nodeId); in GetOrCreateRemoteCommandExecutor()
249 …executors_.insert(std::pair<std::string, std::shared_ptr<RemoteCommandExecutor>>(nodeId, executor)… in GetOrCreateRemoteCommandExecutor()
268 …std::map<std::string, std::shared_ptr<RemoteCommandExecutor>>::iterator iter = executors_.find(udi… in GetExecutorChannel()
273 std::shared_ptr<RemoteCommandExecutor> executor = iter->second; in GetExecutorChannel()
/ohos5.0/base/security/access_token/services/tokensyncmanager/include/remote/
H A Dremote_command_executor.h30 class RemoteCommandExecutor final : public std::enable_shared_from_this<RemoteCommandExecutor> {
32 explicit RemoteCommandExecutor(const std::string &targetNodeId);
33 virtual ~RemoteCommandExecutor();
H A Dremote_command_manager.h147 std::map<std::string, std::shared_ptr<RemoteCommandExecutor>> executors_;
159 …std::shared_ptr<RemoteCommandExecutor> GetOrCreateRemoteCommandExecutor(const std::string &nodeId);
/ohos5.0/base/security/access_token/services/tokensyncmanager/test/unittest/
H A Dtoken_sync_service_test.cpp277 auto executor = std::make_shared<RemoteCommandExecutor>(nodeId);
290 auto executor = std::make_shared<RemoteCommandExecutor>(nodeId);
305 auto executor = std::make_shared<RemoteCommandExecutor>(nodeId);
320 auto executor = std::make_shared<RemoteCommandExecutor>(nodeId);
333 auto executor = std::make_shared<RemoteCommandExecutor>(nodeId);
347 auto executor = std::make_shared<RemoteCommandExecutor>(nodeId);
361 auto executor = std::make_shared<RemoteCommandExecutor>(nodeId);
376 auto executor = std::make_shared<RemoteCommandExecutor>(nodeId);
392 auto executor = std::make_shared<RemoteCommandExecutor>(nodeId);
408 auto executor = std::make_shared<RemoteCommandExecutor>(nodeId);
[all …]