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.cpp150 std::string SoftBusChannel::ExecuteCommand(const std::string &commandName, const std::string &jsonP… in ExecuteCommand() argument
152 if (commandName.empty() || jsonPayload.empty()) { in ExecuteCommand()
153 … ACCESSTOKEN_LOG_ERROR(LABEL, "invalid params, commandName: %{public}s", commandName.c_str()); in ExecuteCommand()
169 int result = PrepareBytes(REQUEST_TYPE, uuid, commandName, jsonPayload, info); in ExecuteCommand()
243 …annel::PrepareBytes(const std::string &type, const std::string &id, const std::string &commandName, in PrepareBytes() argument
246 SoftBusMessage messageEntity(type, id, commandName, jsonPayload); in PrepareBytes()
355 …d SoftBusChannel::HandleRequest(int session, const std::string &id, const std::string &commandName, in HandleRequest() argument
359 RemoteCommandFactory::GetInstance().NewRemoteCommandFromJson(commandName, jsonPayload); in HandleRequest()
362 ACCESSTOKEN_LOG_WARN(LABEL, "command %{public}s cannot get from json", commandName.c_str()); in HandleRequest()
374 int sendResult = PrepareBytes(RESPONSE_TYPE, id, commandName, jsonPayload, info); in HandleRequest()
[all …]
Dremote_command_executor.cpp184 bufferedCommand->remoteProtocol_.commandName.c_str(), in ProcessBufferedCommands()
255 … ptrChannel_->ExecuteCommand(ptrCommand->remoteProtocol_.commandName, ptrCommand->ToJsonPayload()); in ExecuteRemoteCommand()
271 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 session, 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/
Dupdate_remote_hap_token_command.cpp36 remoteProtocol_.commandName = COMMAND_NAME; in UpdateRemoteHapTokenCommand()
Ddelete_remote_token_command.cpp37 remoteProtocol_.commandName = COMMAND_NAME; in DeleteRemoteTokenCommand()
Dsync_remote_native_token_command.cpp35 remoteProtocol_.commandName = COMMAND_NAME; in SyncRemoteNativeTokenCommand()
Dsync_remote_hap_token_command.cpp34 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.cpp1024 ASSERT_EQ(deleteRemoteTokenCommand->remoteProtocol_.commandName, "DeleteRemoteTokenCommand");