Home
last modified time | relevance | path

Searched refs:BaseRemoteCommand (Results 1 - 16 of 16) sorted by relevance

/base/security/access_token/services/tokensyncmanager/include/remote/
H A Dremote_command_executor.h58 * @param ptrCommand BaseRemoteCommand to execute.
64 int ProcessOneCommand(const std::shared_ptr<BaseRemoteCommand>& ptrCommand);
69 * @param ptrCommand BaseRemoteCommand to execute.
75 int AddCommand(const std::shared_ptr<BaseRemoteCommand>& ptrCommand);
92 * @param ptrCommand BaseRemoteCommand to execute.
107 * @param ptrCommand BaseRemoteCommand to execute.
114 int ExecuteRemoteCommand(const std::shared_ptr<BaseRemoteCommand>& ptrCommand, bool isRemote);
119 * @param ptrCommand BaseRemoteCommand to execute.
131 * @param ptrCommand BaseRemoteCommand to execute.
137 int ClientProcessResult(const std::shared_ptr<BaseRemoteCommand>
[all...]
H A Dremote_command_manager.h59 * @param command A command extend BaseRemoteCommand. if command is nullptr, return -1.
65 int ExecuteCommand(const std::string &udid, const std::shared_ptr<BaseRemoteCommand>& command);
71 * @param command A command extend BaseRemoteCommand.
77 int AddCommand(const std::string &udid, const std::shared_ptr<BaseRemoteCommand>& command);
H A Dremote_command_factory.h45 std::shared_ptr<BaseRemoteCommand> NewRemoteCommandFromJson(
/base/security/access_token/services/tokensyncmanager/include/command/
H A Dbase_remote_command.h45 class BaseRemoteCommand { class
47 BaseRemoteCommand() = default;
48 virtual ~BaseRemoteCommand() = default;
H A Dsync_remote_hap_token_command.h32 class SyncRemoteHapTokenCommand : public BaseRemoteCommand {
H A Dupdate_remote_hap_token_command.h31 class UpdateRemoteHapTokenCommand : public BaseRemoteCommand {
H A Ddelete_remote_token_command.h27 class DeleteRemoteTokenCommand : public BaseRemoteCommand {
/base/security/access_token/services/tokensyncmanager/src/command/
H A Dsync_remote_hap_token_command.cpp72 BaseRemoteCommand::FromRemoteProtocolJson(jsonObject); in SyncRemoteHapTokenCommand()
79 BaseRemoteCommand::FromHapTokenInfoJson(hapTokenJson, hapTokenInfo_); in SyncRemoteHapTokenCommand()
85 nlohmann::json j = BaseRemoteCommand::ToRemoteProtocolJson(); in ToJsonPayload()
87 j["HapTokenInfo"] = BaseRemoteCommand::ToHapTokenInfosJson(hapTokenInfo_); in ToJsonPayload()
H A Dupdate_remote_hap_token_command.cpp52 BaseRemoteCommand::FromRemoteProtocolJson(jsonObject); in UpdateRemoteHapTokenCommand()
56 BaseRemoteCommand::FromHapTokenInfoJson(hapTokenJson, updateTokenInfo_); in UpdateRemoteHapTokenCommand()
62 nlohmann::json j = BaseRemoteCommand::ToRemoteProtocolJson(); in ToJsonPayload()
63 j["HapTokenInfos"] = BaseRemoteCommand::ToHapTokenInfosJson(updateTokenInfo_); in ToJsonPayload()
H A Dbase_remote_command.cpp24 static constexpr OHOS::HiviewDFX::HiLogLabel LABEL = {LOG_CORE, SECURITY_DOMAIN_ACCESSTOKEN, "BaseRemoteCommand"};
69 void BaseRemoteCommand::FromRemoteProtocolJson(const nlohmann::json& jsonObject) in FromRemoteProtocolJson()
84 nlohmann::json BaseRemoteCommand::ToRemoteProtocolJson() in ToRemoteProtocolJson()
101 nlohmann::json BaseRemoteCommand::ToNativeTokenInfoJson(const NativeTokenInfoForSync& tokenInfo) in ToNativeTokenInfoJson()
125 void BaseRemoteCommand::ToPermStateJson(nlohmann::json& permStateJson, const PermissionStateFull& state) in ToPermStateJson()
147 nlohmann::json BaseRemoteCommand::ToHapTokenInfosJson(const HapTokenInfoForSync& tokenInfo) in ToHapTokenInfosJson()
172 void BaseRemoteCommand::FromHapTokenBasicInfoJson(const nlohmann::json& hapTokenJson, in FromHapTokenBasicInfoJson()
196 void BaseRemoteCommand::FromPermStateListJson(const nlohmann::json& hapTokenJson, in FromPermStateListJson()
241 void BaseRemoteCommand::FromHapTokenInfoJson(const nlohmann::json& hapTokenJson, in FromHapTokenInfoJson()
252 void BaseRemoteCommand
[all...]
H A Ddelete_remote_token_command.cpp54 BaseRemoteCommand::FromRemoteProtocolJson(jsonObject); in DeleteRemoteTokenCommand()
63 nlohmann::json j = BaseRemoteCommand::ToRemoteProtocolJson(); in ToJsonPayload()
/base/security/access_token/services/tokensyncmanager/src/remote/
H A Dremote_command_executor.cpp58 int RemoteCommandExecutor::ProcessOneCommand(const std::shared_ptr<BaseRemoteCommand>& ptrCommand) in ProcessOneCommand()
103 int RemoteCommandExecutor::AddCommand(const std::shared_ptr<BaseRemoteCommand>& ptrCommand) in AddCommand()
165 const std::shared_ptr<BaseRemoteCommand> bufferedCommand = commands_.front(); in ProcessBufferedCommands()
244 const std::shared_ptr<BaseRemoteCommand>& ptrCommand, const bool isRemote) in ExecuteRemoteCommand()
284 std::shared_ptr<BaseRemoteCommand> ptrResponseCommand = in ExecuteRemoteCommand()
313 int RemoteCommandExecutor::ClientProcessResult(const std::shared_ptr<BaseRemoteCommand>& ptrCommand) in ClientProcessResult()
H A Dremote_command_factory.cpp57 std::shared_ptr<BaseRemoteCommand> RemoteCommandFactory::NewRemoteCommandFromJson( in NewRemoteCommandFromJson()
H A Dremote_command_manager.cpp61 int RemoteCommandManager::AddCommand(const std::string &udid, const std::shared_ptr<BaseRemoteCommand>& command) in AddCommand()
86 int RemoteCommandManager::ExecuteCommand(const std::string &udid, const std::shared_ptr<BaseRemoteCommand>& command) in ExecuteCommand()
H A Dsoft_bus_channel.cpp379 std::shared_ptr<BaseRemoteCommand> command = in HandleRequest()
/base/security/access_token/services/tokensyncmanager/test/unittest/
H A Dtoken_sync_service_test.cpp237 class TestBaseRemoteCommand : public BaseRemoteCommand {

Completed in 10 milliseconds