Home
last modified time | relevance | path

Searched refs:jsonPayload (Results 1 - 4 of 4) sorted by relevance

/base/useriam/user_auth_framework/services/context/src/
H A Dwidget_json.cpp78 void GetJsonPayload(nlohmann::json &jsonPayload, const WidgetCommand::Cmd &cmd) in GetJsonPayload() argument
80 jsonPayload[JSON_AUTH_TYPE] = cmd.type; in GetJsonPayload()
82 jsonPayload[JSON_LOCKOUT_DURATION] = cmd.lockoutDuration; in GetJsonPayload()
85 jsonPayload[JSON_REMAIN_ATTEMPTS] = cmd.remainAttempts; in GetJsonPayload()
88 jsonPayload[JSON_AUTH_RESULT] = cmd.result; in GetJsonPayload()
91 jsonPayload[JSON_AUTH_TIP_TYPE] = cmd.tipType; in GetJsonPayload()
92 jsonPayload[JSON_AUTH_TIP_INFO] = cmd.tipInfo; in GetJsonPayload()
95 jsonPayload[JSON_SENSOR_INFO] = cmd.sensorInfo; in GetJsonPayload()
99 jsonPayload[JSON_CMD_EXTRA_INFO] = jsonCmdExtraInfo; in GetJsonPayload()
109 nlohmann::json jsonPayload; in GetJsonCmd() local
[all...]
/base/security/access_token/services/tokensyncmanager/src/remote/
H A Dsoft_bus_channel.cpp164 std::string SoftBusChannel::ExecuteCommand(const std::string &commandName, const std::string &jsonPayload) in ExecuteCommand() argument
166 if (commandName.empty() || jsonPayload.empty()) { in ExecuteCommand()
173 int len = static_cast<int32_t>(RPC_TRANSFER_HEAD_BYTES_LENGTH + jsonPayload.length()); in ExecuteCommand()
183 int result = PrepareBytes(REQUEST_TYPE, uuid, commandName, jsonPayload, info); in ExecuteCommand()
265 const std::string &jsonPayload, BytesInfo &info) in PrepareBytes()
267 SoftBusMessage messageEntity(type, id, commandName, jsonPayload); in PrepareBytes()
377 const std::string &jsonPayload) in HandleRequest()
380 RemoteCommandFactory::GetInstance().NewRemoteCommandFromJson(commandName, jsonPayload); in HandleRequest()
385 int sendlen = static_cast<int32_t>(RPC_TRANSFER_HEAD_BYTES_LENGTH + jsonPayload.length()); in HandleRequest()
395 int sendResult = PrepareBytes(RESPONSE_TYPE, id, commandName, jsonPayload, inf in HandleRequest()
264 PrepareBytes(const std::string &type, const std::string &id, const std::string &commandName, const std::string &jsonPayload, BytesInfo &info) PrepareBytes() argument
376 HandleRequest(int socket, const std::string &id, const std::string &commandName, const std::string &jsonPayload) HandleRequest() argument
434 HandleResponse(const std::string &id, const std::string &jsonPayload) HandleResponse() argument
471 std::string jsonPayload; FromJson() local
[all...]
/base/security/access_token/services/tokensyncmanager/include/remote/
H A Dsoft_bus_channel.h63 * @param jsonPayload The json payload of command.
68 std::string ExecuteCommand(const std::string &commandName, const std::string &jsonPayload) override;
104 * @param jsonPayload command notated by json string
113 const std::string &jsonPayload, BytesInfo &info);
192 * @param jsonPayload command notated by json string
199 int socket, const std::string &id, const std::string &commandName, const std::string &jsonPayload);
205 * @param jsonPayload command notated by json string
211 void HandleResponse(const std::string &id, const std::string &jsonPayload);
308 const std::string &type, const std::string &id, const std::string &commandName, const std::string &jsonPayload) in SoftBusMessage()
309 : type_(type), id_(id), commandName_(commandName), jsonPayload_(jsonPayload) in SoftBusMessage()
307 SoftBusMessage( const std::string &type, const std::string &id, const std::string &commandName, const std::string &jsonPayload) SoftBusMessage() argument
[all...]
H A Drpc_channel.h40 * @param jsonPayload The json payload of command.
45 virtual std::string ExecuteCommand(const std::string &commandName, const std::string &jsonPayload) = 0;

Completed in 3 milliseconds