Home
last modified time | relevance | path

Searched refs:commandName (Results 1 – 13 of 13) sorted by relevance

/base/security/access_token/services/tokensyncmanager/src/remote/
Dremote_command_factory.cpp54 const std::string &commandName, const std::string &commandJsonString) in NewRemoteCommandFromJson() argument
61 if (commandName == SYNC_HAP_COMMAND_NAME) { in NewRemoteCommandFromJson()
64 if (commandName == DELETE_TOKEN_COMMAND_NAME) { in NewRemoteCommandFromJson()
67 if (commandName == UPDATE_HAP_COMMAND_NAME) { in NewRemoteCommandFromJson()
70 if (commandName == SYNC_NATIVE_COMMAND_NAME) { in NewRemoteCommandFromJson()
Dsoft_bus_channel.cpp159 std::string SoftBusChannel::ExecuteCommand(const std::string &commandName, const std::string &jsonP… in ExecuteCommand() argument
161 if (commandName.empty() || jsonPayload.empty()) { in ExecuteCommand()
162 … ACCESSTOKEN_LOG_ERROR(LABEL, "invalid params, commandName: %{public}s", commandName.c_str()); in ExecuteCommand()
178 int result = PrepareBytes(REQUEST_TYPE, uuid, commandName, jsonPayload, info); in ExecuteCommand()
254 …annel::PrepareBytes(const std::string &type, const std::string &id, const std::string &commandName, in PrepareBytes() argument
257 SoftBusMessage messageEntity(type, id, commandName, jsonPayload); in PrepareBytes()
366 …id SoftBusChannel::HandleRequest(int socket, const std::string &id, const std::string &commandName, in HandleRequest() argument
370 RemoteCommandFactory::GetInstance().NewRemoteCommandFromJson(commandName, jsonPayload); in HandleRequest()
373 ACCESSTOKEN_LOG_WARN(LABEL, "command %{public}s cannot get from json", commandName.c_str()); in HandleRequest()
385 int sendResult = PrepareBytes(RESPONSE_TYPE, id, commandName, jsonPayload, info); in HandleRequest()
[all …]
Dremote_command_executor.cpp186 bufferedCommand->remoteProtocol_.commandName.c_str(), in ProcessBufferedCommands()
259 … ptrChannel_->ExecuteCommand(ptrCommand->remoteProtocol_.commandName, ptrCommand->ToJsonPayload()); in ExecuteRemoteCommand()
275 ptrCommand->remoteProtocol_.commandName, responseString); in ExecuteRemoteCommand()
/base/security/access_token/services/tokensyncmanager/include/remote/
Dsoft_bus_channel.h68 …std::string ExecuteCommand(const std::string &commandName, const std::string &jsonPayload) overrid…
112 int PrepareBytes(const std::string &type, const std::string &id, const std::string &commandName,
199 …int socket, const std::string &id, const std::string &commandName, const std::string &jsonPayload);
308 …const std::string &type, const std::string &id, const std::string &commandName, const std::string … in SoftBusMessage() argument
309 : type_(type), id_(id), commandName_(commandName), jsonPayload_(jsonPayload) in SoftBusMessage()
Drpc_channel.h45 …virtual std::string ExecuteCommand(const std::string &commandName, const std::string &jsonPayload)…
Dremote_command_factory.h50 const std::string &commandName, const std::string &commandJsonString);
/base/security/access_token/services/tokensyncmanager/include/protocol/
Dremote_protocol.h23 std::string commandName; member
/base/security/access_token/services/tokensyncmanager/src/command/
Ddelete_remote_token_command.cpp38 remoteProtocol_.commandName = COMMAND_NAME; in DeleteRemoteTokenCommand()
Dupdate_remote_hap_token_command.cpp37 remoteProtocol_.commandName = COMMAND_NAME; in UpdateRemoteHapTokenCommand()
Dsync_remote_native_token_command.cpp36 remoteProtocol_.commandName = COMMAND_NAME; in SyncRemoteNativeTokenCommand()
Dsync_remote_hap_token_command.cpp35 remoteProtocol_.commandName = COMMAND_NAME; in SyncRemoteHapTokenCommand()
Dbase_remote_command.cpp71 GetStringFromJson(jsonObject, JSON_COMMAND_NAME, remoteProtocol_.commandName); in FromRemoteProtocolJson()
87 j["commandName"] = remoteProtocol_.commandName; in ToRemoteProtocolJson()
/base/security/access_token/services/tokensyncmanager/test/unittest/token_sync_service/
Dtoken_sync_service_test.cpp1031 ASSERT_EQ(deleteRemoteTokenCommand->remoteProtocol_.commandName, "DeleteRemoteTokenCommand");
1059 ASSERT_EQ(nativeTokenCommand->remoteProtocol_.commandName, "SyncRemoteNativeTokenCommand");
1088 ASSERT_EQ(command->remoteProtocol_.commandName, "UpdateRemoteHapTokenCommand");