Home
last modified time | relevance | path

Searched refs:remoteProtocol_ (Results 1 – 9 of 9) sorted by relevance

/base/security/access_token/services/tokensyncmanager/src/command/
Dsync_remote_native_token_command.cpp34 remoteProtocol_.commandName = COMMAND_NAME; in SyncRemoteNativeTokenCommand()
35 remoteProtocol_.uniqueId = COMMAND_NAME; in SyncRemoteNativeTokenCommand()
36 remoteProtocol_.srcDeviceId = srcDeviceId; in SyncRemoteNativeTokenCommand()
37 remoteProtocol_.dstDeviceId = dstDeviceId; in SyncRemoteNativeTokenCommand()
38 remoteProtocol_.responseVersion = Constant::DISTRIBUTED_ACCESS_TOKEN_SERVICE_VERSION; in SyncRemoteNativeTokenCommand()
39 remoteProtocol_.requestVersion = Constant::DISTRIBUTED_ACCESS_TOKEN_SERVICE_VERSION; in SyncRemoteNativeTokenCommand()
71 remoteProtocol_.statusCode = Constant::SUCCESS; in Prepare()
72 remoteProtocol_.message = Constant::COMMAND_RESULT_SUCCESS; in Prepare()
79 remoteProtocol_.responseDeviceId = Constant::GetLocalDeviceId(); in Execute()
80 remoteProtocol_.responseVersion = Constant::DISTRIBUTED_ACCESS_TOKEN_SERVICE_VERSION; in Execute()
[all …]
Ddelete_remote_token_command.cpp36 remoteProtocol_.commandName = COMMAND_NAME; in DeleteRemoteTokenCommand()
37 remoteProtocol_.uniqueId = COMMAND_NAME; in DeleteRemoteTokenCommand()
38 remoteProtocol_.srcDeviceId = srcDeviceId; in DeleteRemoteTokenCommand()
39 remoteProtocol_.dstDeviceId = dstDeviceId; in DeleteRemoteTokenCommand()
40 remoteProtocol_.responseVersion = Constant::DISTRIBUTED_ACCESS_TOKEN_SERVICE_VERSION; in DeleteRemoteTokenCommand()
41 remoteProtocol_.requestVersion = Constant::DISTRIBUTED_ACCESS_TOKEN_SERVICE_VERSION; in DeleteRemoteTokenCommand()
68 remoteProtocol_.statusCode = Constant::SUCCESS; in Prepare()
69 remoteProtocol_.message = Constant::COMMAND_RESULT_SUCCESS; in Prepare()
76 remoteProtocol_.responseDeviceId = Constant::GetLocalDeviceId(); in Execute()
77 remoteProtocol_.responseVersion = Constant::DISTRIBUTED_ACCESS_TOKEN_SERVICE_VERSION; in Execute()
[all …]
Dupdate_remote_hap_token_command.cpp35 remoteProtocol_.commandName = COMMAND_NAME; in UpdateRemoteHapTokenCommand()
36 remoteProtocol_.uniqueId = COMMAND_NAME; in UpdateRemoteHapTokenCommand()
37 remoteProtocol_.srcDeviceId = srcDeviceId; in UpdateRemoteHapTokenCommand()
38 remoteProtocol_.dstDeviceId = dstDeviceId; in UpdateRemoteHapTokenCommand()
39 remoteProtocol_.responseVersion = Constant::DISTRIBUTED_ACCESS_TOKEN_SERVICE_VERSION; in UpdateRemoteHapTokenCommand()
40 remoteProtocol_.requestVersion = Constant::DISTRIBUTED_ACCESS_TOKEN_SERVICE_VERSION; in UpdateRemoteHapTokenCommand()
63 remoteProtocol_.statusCode = Constant::SUCCESS; in Prepare()
64 remoteProtocol_.message = Constant::COMMAND_RESULT_SUCCESS; in Prepare()
72 remoteProtocol_.responseDeviceId = Constant::GetLocalDeviceId(); in Execute()
73 remoteProtocol_.responseVersion = Constant::DISTRIBUTED_ACCESS_TOKEN_SERVICE_VERSION; in Execute()
[all …]
Dsync_remote_hap_token_command.cpp33 remoteProtocol_.commandName = COMMAND_NAME; in SyncRemoteHapTokenCommand()
34 remoteProtocol_.uniqueId = COMMAND_NAME; in SyncRemoteHapTokenCommand()
35 remoteProtocol_.srcDeviceId = srcDeviceId; in SyncRemoteHapTokenCommand()
36 remoteProtocol_.dstDeviceId = dstDeviceId; in SyncRemoteHapTokenCommand()
37 remoteProtocol_.responseVersion = Constant::DISTRIBUTED_ACCESS_TOKEN_SERVICE_VERSION; in SyncRemoteHapTokenCommand()
38 remoteProtocol_.requestVersion = Constant::DISTRIBUTED_ACCESS_TOKEN_SERVICE_VERSION; in SyncRemoteHapTokenCommand()
75 remoteProtocol_.statusCode = Constant::SUCCESS; in Prepare()
76 remoteProtocol_.message = Constant::COMMAND_RESULT_SUCCESS; in Prepare()
83 remoteProtocol_.responseDeviceId = Constant::GetLocalDeviceId(); in Execute()
84 remoteProtocol_.responseVersion = Constant::DISTRIBUTED_ACCESS_TOKEN_SERVICE_VERSION; in Execute()
[all …]
Dbase_remote_command.cpp30 remoteProtocol_.commandName = jsonObject.at("commandName").get<std::string>(); in FromRemoteProtocolJson()
33 remoteProtocol_.uniqueId = jsonObject.at("uniqueId").get<std::string>(); in FromRemoteProtocolJson()
36 remoteProtocol_.requestVersion = jsonObject.at("requestVersion").get<int32_t>(); in FromRemoteProtocolJson()
39 remoteProtocol_.srcDeviceId = jsonObject.at("srcDeviceId").get<std::string>(); in FromRemoteProtocolJson()
42 remoteProtocol_.srcDeviceLevel = jsonObject.at("srcDeviceLevel").get<std::string>(); in FromRemoteProtocolJson()
45 remoteProtocol_.dstDeviceId = jsonObject.at("dstDeviceId").get<std::string>(); in FromRemoteProtocolJson()
48 remoteProtocol_.dstDeviceLevel = jsonObject.at("dstDeviceLevel").get<std::string>(); in FromRemoteProtocolJson()
51 remoteProtocol_.statusCode = jsonObject.at("statusCode").get<int32_t>(); in FromRemoteProtocolJson()
54 remoteProtocol_.message = jsonObject.at("message").get<std::string>(); in FromRemoteProtocolJson()
57 remoteProtocol_.responseVersion = jsonObject.at("responseVersion").get<int32_t>(); in FromRemoteProtocolJson()
[all …]
/base/security/access_token/services/tokensyncmanager/src/remote/
Dremote_command_executor.cpp66 const std::string uniqueId = ptrCommand->remoteProtocol_.uniqueId; in ProcessOneCommand()
73 int status = ptrCommand->remoteProtocol_.statusCode; in ProcessOneCommand()
115 const std::string uniqueId = ptrCommand->remoteProtocol_.uniqueId; in AddCommand()
123 if (bufferedCommand->remoteProtocol_.uniqueId == uniqueId) { in AddCommand()
177 bufferedCommand->remoteProtocol_.message.c_str()); in ProcessBufferedCommands()
190 bufferedCommand->remoteProtocol_.commandName.c_str(), in ProcessBufferedCommands()
191 bufferedCommand->remoteProtocol_.message.c_str()); in ProcessBufferedCommands()
237 std::string uniqueId = ptrCommand->remoteProtocol_.uniqueId; in ExecuteRemoteCommand()
244 ptrCommand->remoteProtocol_.statusCode = Constant::STATUS_CODE_BEFORE_RPC; in ExecuteRemoteCommand()
252 ptrCommand->remoteProtocol_.statusCode, in ExecuteRemoteCommand()
[all …]
Dremote_command_manager.cpp60 std::string uniqueId = command->remoteProtocol_.uniqueId; in AddCommand()
86 std::string uniqueId = command->remoteProtocol_.uniqueId; in ExecuteCommand()
Dsoft_bus_channel.cpp373 command->remoteProtocol_.uniqueId.c_str(), command->remoteProtocol_.statusCode, in HandleRequest()
374 command->remoteProtocol_.message.c_str()); in HandleRequest()
/base/security/access_token/services/tokensyncmanager/include/command/
Dbase_remote_command.h62 RemoteProtocol remoteProtocol_; variable