Searched refs:BaseRemoteCommand (Results 1 - 16 of 16) sorted by relevance
/base/security/access_token/services/tokensyncmanager/include/remote/ |
H A D | remote_command_executor.h | 58 * @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 D | remote_command_manager.h | 59 * @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 D | remote_command_factory.h | 45 std::shared_ptr<BaseRemoteCommand> NewRemoteCommandFromJson(
|
/base/security/access_token/services/tokensyncmanager/include/command/ |
H A D | base_remote_command.h | 45 class BaseRemoteCommand {
class 47 BaseRemoteCommand() = default;
48 virtual ~BaseRemoteCommand() = default;
|
H A D | sync_remote_hap_token_command.h | 32 class SyncRemoteHapTokenCommand : public BaseRemoteCommand {
|
H A D | update_remote_hap_token_command.h | 31 class UpdateRemoteHapTokenCommand : public BaseRemoteCommand {
|
H A D | delete_remote_token_command.h | 27 class DeleteRemoteTokenCommand : public BaseRemoteCommand {
|
/base/security/access_token/services/tokensyncmanager/src/command/ |
H A D | sync_remote_hap_token_command.cpp | 72 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 D | update_remote_hap_token_command.cpp | 52 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 D | base_remote_command.cpp | 24 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 D | delete_remote_token_command.cpp | 54 BaseRemoteCommand::FromRemoteProtocolJson(jsonObject);
in DeleteRemoteTokenCommand() 63 nlohmann::json j = BaseRemoteCommand::ToRemoteProtocolJson();
in ToJsonPayload()
|
/base/security/access_token/services/tokensyncmanager/src/remote/ |
H A D | remote_command_executor.cpp | 58 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 D | remote_command_factory.cpp | 57 std::shared_ptr<BaseRemoteCommand> RemoteCommandFactory::NewRemoteCommandFromJson( in NewRemoteCommandFromJson()
|
H A D | remote_command_manager.cpp | 61 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 D | soft_bus_channel.cpp | 379 std::shared_ptr<BaseRemoteCommand> command = in HandleRequest()
|
/base/security/access_token/services/tokensyncmanager/test/unittest/ |
H A D | token_sync_service_test.cpp | 237 class TestBaseRemoteCommand : public BaseRemoteCommand {
|
Completed in 10 milliseconds