/base/security/device_auth/services/session_manager/src/session/ |
H A D | dev_session_fwk.c | 40 static int32_t StartV1Session(SessionImpl *impl, CJson **sendMsg) in StartV1Session() argument 58 res = ProcessCompatibleSubSession(impl->compatibleSubSession, impl->context, sendMsg, &status); in StartV1Session() 115 static int32_t PackSendMsg(SessionImpl *impl, CJson *sessionMsg, CJson *sendMsg) in PackSendMsg() argument 117 if (AddInt64StringToJson(sendMsg, FIELD_REQUEST_ID, impl->base.id) != HC_SUCCESS) { in PackSendMsg() 121 if (AddStringToJson(sendMsg, FIELD_APP_ID, impl->base.appId) != HC_SUCCESS) { in PackSendMsg() 125 if (AddObjToJson(sendMsg, FIELD_MSG, sessionMsg) != HC_SUCCESS) { in PackSendMsg() 132 static int32_t SendJsonMsg(const SessionImpl *impl, const CJson *sendMsg) in SendJsonMsg() argument 134 char *sendMsgStr = PackJsonToString(sendMsg); in SendJsonMsg() 136 LOGE("convert sendMsg to sendMsgStr fail."); in SendJsonMsg() 150 CJson *sendMsg in SendSessionMsg() local 192 AddSessionInfo(SessionImpl *impl, CJson *sendMsg) AddSessionInfo() argument 201 StartV2Session(SessionImpl *impl, CJson *sendMsg) StartV2Session() argument 243 CJson *sendMsg = NULL; StartSession() local [all...] |
/base/hiviewdfx/hicollie/frameworks/native/ |
H A D | watchdog_task.cpp | 168 std::string sendMsg = name + " occured " + std::to_string(countLimit) + " times in " + in TimerCountTask() local 172 "PID", getprocpid(), "PROCESS_NAME", GetSelfProcName(), "MSG", sendMsg); in TimerCountTask() 214 std::string sendMsg = std::string((ctime(&curTime) == nullptr) ? "" : ctime(&curTime)) + in SendEvent() local 216 sendMsg += checker->GetDumpInfo(); in SendEvent() 221 std::size_t frontPos = sendMsg.find(tidFrontStr); in SendEvent() 222 std::size_t rearPos = sendMsg.find(tidRearStr); in SendEvent() 227 std::string tidStr = sendMsg.substr(startPos, tidLength); in SendEvent() 239 "PROCESS_NAME", GetSelfProcName(), "MSG", sendMsg, "STACK", GetProcessStacktrace()); in SendEvent() 245 "PROCESS_NAME", GetSelfProcName(), "MSG", sendMsg, "STACK", stack); in SendEvent() 266 std::string sendMsg in SendXCollieEvent() local [all...] |
H A D | watchdog_inner.cpp | 898 std::string sendMsg = std::string((ctime(&curTime) == nullptr) ? "" : ctime(&curTime)) + in SendFfrtEvent() local 903 sendMsg += buffer; in SendFfrtEvent() 906 GetFfrtTaskTid(tid, sendMsg); in SendFfrtEvent() 910 "MSG", sendMsg, "STACK", GetProcessStacktrace()); in SendFfrtEvent() 916 "PROCESS_NAME", GetSelfProcName(), "MSG", sendMsg, "STACK", stack); in SendFfrtEvent()
|
/base/security/device_auth/test/fuzztest/protocol/ecspeke_fuzzer/ |
H A D | ecspeke_fuzzer.cpp | 317 CJson *sendMsg = nullptr; in ECSpekeTest17() local 318 res = self->process(nullptr, &recvMsg, &sendMsg); in ECSpekeTest17() 329 CJson *sendMsg = nullptr; in ECSpekeTest18() local 330 res = self->process(self, nullptr, &sendMsg); in ECSpekeTest18() 356 CJson *sendMsg = nullptr; in ECSpekeTest20() local 357 res = self->process(self, &recvMsg, &sendMsg); in ECSpekeTest20() 371 CJson *sendMsg = nullptr; in ECSpekeTest21() local 372 res = self->process(self, &recvMsg, &sendMsg); in ECSpekeTest21()
|
/base/security/device_auth/test/fuzztest/protocol/dlspeke_fuzzer/ |
H A D | dlspeke_fuzzer.cpp | 311 CJson *sendMsg = nullptr; in DlSpekeTest16() local 312 res = self->process(nullptr, &recvMsg, &sendMsg); in DlSpekeTest16() 323 CJson *sendMsg = nullptr; in DlSpekeTest17() local 324 res = self->process(self, nullptr, &sendMsg); in DlSpekeTest17() 350 CJson *sendMsg = nullptr; in DlSpekeTest19() local 351 res = self->process(self, &recvMsg, &sendMsg); in DlSpekeTest19() 365 CJson *sendMsg = nullptr; in DlSpekeTest20() local 366 res = self->process(self, &recvMsg, &sendMsg); in DlSpekeTest20()
|
/base/security/device_auth/test/fuzztest/protocol/iso_fuzzer/ |
H A D | iso_fuzzer.cpp | 253 CJson *sendMsg = nullptr; in IsoTest16() local 254 res = self->process(nullptr, &recvMsg, &sendMsg); in IsoTest16() 263 CJson *sendMsg = nullptr; in IsoTest17() local 264 res = self->process(self, nullptr, &sendMsg); in IsoTest17() 285 CJson *sendMsg = nullptr; in IsoTest19() local 286 res = self->process(self, &recvMsg, &sendMsg); in IsoTest19() 297 CJson *sendMsg = nullptr; in IsoTest20() local 298 res = self->process(self, &recvMsg, &sendMsg); in IsoTest20()
|
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/ |
H A D | expand_sub_session.c | 326 static int32_t BuildEncData(ExpandSubSessionImpl *impl, CJson *sendCmdList, CJson *sendMsg) in BuildEncData() argument 357 if (AddStringToJson(sendMsg, FIELD_ENC_DATA, base64Str) != HC_SUCCESS) { in BuildEncData() 368 CJson *sendMsg = CreateJson(); in PackSendMsg() local 369 if (sendMsg == NULL) { in PackSendMsg() 370 LOGE("allocate sendMsg memory fail."); in PackSendMsg() 373 int32_t res = BuildEncData(impl, sendCmdList, sendMsg); in PackSendMsg() 375 FreeJson(sendMsg); in PackSendMsg() 378 *returnSendMsg = sendMsg; in PackSendMsg()
|
/base/security/device_auth/services/legacy/group_manager/inc/channel_manager/soft_bus_channel/ |
H A D | soft_bus_channel.h | 29 int32_t (*sendMsg)(int64_t channelId, const uint8_t *data, uint32_t dataLen); member
|
/base/startup/init/services/begetctl/ |
H A D | dump_service.c | 69 static void DumpAppspawnClientInit(const char *cmd, CallbackSendMsgProcess sendMsg) in DumpAppspawnClientInit() argument 77 int ret = InitPtyInterface(&agent, ACTION_DUMP, cmd, sendMsg); in DumpAppspawnClientInit()
|
H A D | sandbox.cpp | 151 static void CmdAppspawnClientInit(const char *cmd, CallbackSendMsgProcess sendMsg) in CmdAppspawnClientInit() argument 159 int ret = InitPtyInterface(&agent, ACTION_APP_SANDBOX, cmd, sendMsg); in CmdAppspawnClientInit()
|
/base/startup/appspawn/test/moduletest/ |
H A D | appspawn_test_cmder.cpp | 96 int sendMsg = 0; in ProcessArgs() local 105 sendMsg = 1; in ProcessArgs() 112 sendMsg = 1; in ProcessArgs() 122 sendMsg = 1; in ProcessArgs() 126 sendMsg = 1; in ProcessArgs() 131 sendMsg = 1; in ProcessArgs() 136 sendMsg = 1; in ProcessArgs() 139 if (sendMsg == 0) { in ProcessArgs()
|
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/protocol_lib/ |
H A D | ec_speke_protocol_test.cpp | 420 CJson *sendMsg = nullptr; in HWTEST_F() local 421 res = self->process(nullptr, &recvMsg, &sendMsg); in HWTEST_F() 434 CJson *sendMsg = nullptr; in HWTEST_F() local 435 res = self->process(self, nullptr, &sendMsg); in HWTEST_F() 465 CJson *sendMsg = nullptr; in HWTEST_F() local 466 res = self->process(self, &recvMsg, &sendMsg); in HWTEST_F() 482 CJson *sendMsg = nullptr; in HWTEST_F() local 483 res = self->process(self, &recvMsg, &sendMsg); in HWTEST_F()
|
H A D | dl_speke_protocol_test.cpp | 412 CJson *sendMsg = nullptr; in HWTEST_F() local 413 res = self->process(nullptr, &recvMsg, &sendMsg); in HWTEST_F() 426 CJson *sendMsg = nullptr; in HWTEST_F() local 427 res = self->process(self, nullptr, &sendMsg); in HWTEST_F() 457 CJson *sendMsg = nullptr; in HWTEST_F() local 458 res = self->process(self, &recvMsg, &sendMsg); in HWTEST_F() 474 CJson *sendMsg = nullptr; in HWTEST_F() local 475 res = self->process(self, &recvMsg, &sendMsg); in HWTEST_F()
|
H A D | iso_protocol_test.cpp | 359 CJson *sendMsg = nullptr; in HWTEST_F() local 360 res = self->process(nullptr, &recvMsg, &sendMsg); in HWTEST_F() 373 CJson *sendMsg = nullptr; in HWTEST_F() local 374 res = self->process(self, nullptr, &sendMsg); in HWTEST_F() 404 CJson *sendMsg = nullptr; in HWTEST_F() local 405 res = self->process(self, &recvMsg, &sendMsg); in HWTEST_F() 421 CJson *sendMsg = nullptr; in HWTEST_F() local 422 res = self->process(self, &recvMsg, &sendMsg); in HWTEST_F()
|
/base/security/device_auth/services/legacy/group_manager/src/channel_manager/ |
H A D | channel_manager.c | 103 return GetSoftBusInstance()->sendMsg(channelId, (uint8_t *)data, HcStrlen(data) + 1); in HcSendMsg()
|
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
H A D | app_spawn_service_test.cpp | 227 auto sendMsg = [this](AppSpawnClientHandle clientHandle) { in HWTEST_F() local 244 std::thread thread1(sendMsg, clientHandle); in HWTEST_F() 245 std::thread thread2(sendMsg, clientHandle); in HWTEST_F() 246 std::thread thread3(sendMsg, clientHandle); in HWTEST_F() 247 std::thread thread4(sendMsg, clientHandle); in HWTEST_F() 248 std::thread thread5(sendMsg, clientHandle); in HWTEST_F()
|
/base/security/device_auth/test/fuzztest/session_manager/session/v2/auth_sub_session/authsubsession_fuzzer/ |
H A D | authsubsession_fuzzer.cpp | 449 CJson *sendMsg = nullptr; in AuthSubSessionTest23() local 450 res = self->process(nullptr, &recvMsg, &sendMsg); in AuthSubSessionTest23() 460 CJson *sendMsg = nullptr; in AuthSubSessionTest24() local 461 res = self->process(self, nullptr, &sendMsg); in AuthSubSessionTest24()
|
/base/security/device_auth/services/legacy/group_manager/src/channel_manager/soft_bus_channel/ |
H A D | soft_bus_channel.c | 229 .sendMsg = SendSoftBusMsg,
|
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/ |
H A D | auth_sub_session_test.cpp | 602 CJson *sendMsg = nullptr; in HWTEST_F() local 603 res = self->process(nullptr, &recvMsg, &sendMsg); in HWTEST_F() 616 CJson *sendMsg = nullptr; in HWTEST_F() local 617 res = self->process(self, nullptr, &sendMsg); in HWTEST_F()
|
/base/startup/appspawn/test/unittest/app_spawn_client_test/ |
H A D | app_spawn_client_test.cpp | 118 auto sendMsg = [&clientHandle]() { in HWTEST_F() local 133 std::thread thread1(sendMsg); in HWTEST_F() 134 std::thread thread2(sendMsg); in HWTEST_F() 135 std::thread thread3(sendMsg); in HWTEST_F()
|