Home
last modified time | relevance | path

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

/foundation/communication/ipc/services/dbinder/dbinder_service/src/
H A Ddbinder_service.cpp546 std::shared_ptr<struct DHandleEntryTxRx> replyMessage = PopLoadSaItem(srcNetworkId, systemAbilityId); in LoadSystemAbilityComplete() local
547 if (replyMessage == nullptr) { in LoadSystemAbilityComplete()
551 SendReplyMessageToRemote(MESSAGE_AS_REMOTE_ERROR, SA_NOT_FOUND, replyMessage); in LoadSystemAbilityComplete()
555 binder_uintptr_t binderObject = replyMessage->binderObject; in LoadSystemAbilityComplete()
561 SendReplyMessageToRemote(MESSAGE_AS_REMOTE_ERROR, SA_NOT_FOUND, replyMessage); in LoadSystemAbilityComplete()
570 std::string deviceId = replyMessage->deviceIdInfo.fromDeviceId; in LoadSystemAbilityComplete()
571 if (replyMessage->transType != IRemoteObject::DATABUS_TYPE) { in LoadSystemAbilityComplete()
572 SendReplyMessageToRemote(MESSAGE_AS_REMOTE_ERROR, SA_INVOKE_FAILED, replyMessage); in LoadSystemAbilityComplete()
577 uint32_t tokenId = (replyMessage->head.version < RPC_TOKENID_SUPPORT_VERSION) ? in LoadSystemAbilityComplete()
578 0 : replyMessage in LoadSystemAbilityComplete()
591 SendReplyMessageToRemote(uint32_t dBinderCode, uint32_t reason, std::shared_ptr<struct DHandleEntryTxRx> replyMessage) SendReplyMessageToRemote() argument
658 std::shared_ptr<DHandleEntryTxRx> replyMessage = message; OnRemoteInvokerMessage() local
747 SetReplyMessage(std::shared_ptr<struct DHandleEntryTxRx> replyMessage, uint64_t stubIndex, const std::string &serverSessionName, uint32_t selfTokenId, IPCObjectProxy *proxy) SetReplyMessage() argument
767 OnRemoteInvokerDataBusMessage(IPCObjectProxy *proxy, std::shared_ptr<struct DHandleEntryTxRx> replyMessage, std::string &remoteDeviceId, int pid, int uid, uint32_t tokenId) OnRemoteInvokerDataBusMessage() argument
911 OnRemoteErrorMessage(std::shared_ptr<struct DHandleEntryTxRx> replyMessage) OnRemoteErrorMessage() argument
921 OnRemoteReplyMessage(std::shared_ptr<struct DHandleEntryTxRx> replyMessage) OnRemoteReplyMessage() argument
949 IsInvalidStub(std::shared_ptr<struct DHandleEntryTxRx> replyMessage) IsInvalidStub() argument
958 CopyDeviceIdInfo(std::shared_ptr<struct SessionInfo> &session, std::shared_ptr<struct DHandleEntryTxRx> replyMessage) CopyDeviceIdInfo() argument
969 InitializeSession(std::shared_ptr<struct SessionInfo> &session, std::shared_ptr<struct DHandleEntryTxRx> replyMessage) InitializeSession() argument
981 MakeSessionByReplyMessage(std::shared_ptr<struct DHandleEntryTxRx> replyMessage) MakeSessionByReplyMessage() argument
[all...]
/foundation/communication/ipc/services/dbinder/c/src/
H A Ddbinder_service.c528 static int32_t OnRemoteInvokerDataBusMessage(ProxyObject *proxy, DHandleEntryTxRx *replyMessage, in OnRemoteInvokerDataBusMessage() argument
572 replyMessage->dBinderCode = MESSAGE_AS_REPLY; in OnRemoteInvokerDataBusMessage()
573 replyMessage->stubIndex = stubIndex; in OnRemoteInvokerDataBusMessage()
574 replyMessage->serviceNameLength = (uint16_t)sessionLen; in OnRemoteInvokerDataBusMessage()
575 if (memcpy_s(replyMessage->serviceName, SERVICENAME_LENGTH, serverSessionName, sessionLen) != 0) { in OnRemoteInvokerDataBusMessage()
576 RPC_LOG_ERROR("replyMessage serviceName memcpy failed"); in OnRemoteInvokerDataBusMessage()
580 replyMessage->serviceName[replyMessage->serviceNameLength] = '\0'; in OnRemoteInvokerDataBusMessage()
595 DHandleEntryTxRx replyMessage; in OnRemoteInvokerMessage() local
596 if (memcpy_s(&replyMessage, sizeo in OnRemoteInvokerMessage()
666 MakeSessionByReplyMessage(const DHandleEntryTxRx *replyMessage) MakeSessionByReplyMessage() argument
718 OnRemoteReplyMessage(const DHandleEntryTxRx *replyMessage) OnRemoteReplyMessage() argument
[all...]
/foundation/communication/ipc/interfaces/innerkits/libdbinder/include/
H A Ddbinder_service.h310 bool CheckAndAmendSaId(std::shared_ptr<struct DHandleEntryTxRx> replyMessage);
311 bool OnRemoteReplyMessage(std::shared_ptr<struct DHandleEntryTxRx> replyMessage);
312 bool OnRemoteErrorMessage(std::shared_ptr<struct DHandleEntryTxRx> replyMessage);
313 void MakeSessionByReplyMessage(std::shared_ptr<struct DHandleEntryTxRx> replyMessage);
331 bool IsInvalidStub(std::shared_ptr<struct DHandleEntryTxRx> replyMessage);
333 std::shared_ptr<struct DHandleEntryTxRx> replyMessage);
335 std::shared_ptr<struct DHandleEntryTxRx> replyMessage);
358 bool SetReplyMessage(std::shared_ptr<struct DHandleEntryTxRx> replyMessage, uint64_t stubIndex,
360 uint32_t OnRemoteInvokerDataBusMessage(IPCObjectProxy *proxy, std::shared_ptr<struct DHandleEntryTxRx> replyMessage,
369 std::shared_ptr<struct DHandleEntryTxRx> replyMessage);
[all...]
/foundation/communication/ipc/services/dbinder/test/unittest/
H A Ddbinder_service_unittest.cpp1025 std::shared_ptr<struct DHandleEntryTxRx> replyMessage = std::make_shared<DHandleEntryTxRx>(); in HWTEST_F() local
1026 EXPECT_TRUE(replyMessage != nullptr); in HWTEST_F()
1027 (void)memset_s(replyMessage.get(), sizeof(DHandleEntryTxRx), 0, sizeof(DHandleEntryTxRx)); in HWTEST_F()
1028 dBinderService->MakeSessionByReplyMessage(replyMessage); in HWTEST_F()
1029 EXPECT_EQ(dBinderService->HasDBinderStub(replyMessage->binderObject), false); in HWTEST_F()
1036 replyMessage->stub = reinterpret_cast<binder_uintptr_t>(stub.GetRefPtr()); in HWTEST_F()
1037 dBinderService->MakeSessionByReplyMessage(replyMessage); in HWTEST_F()
1149 std::shared_ptr<struct DHandleEntryTxRx> replyMessage = std::make_shared<DHandleEntryTxRx>(); in HWTEST_F() local
1150 EXPECT_TRUE(replyMessage != nullptr); in HWTEST_F()
1151 (void)memset_s(replyMessage in HWTEST_F()
1170 std::shared_ptr<struct DHandleEntryTxRx> replyMessage = std::make_shared<DHandleEntryTxRx>(); HWTEST_F() local
1334 std::shared_ptr<DHandleEntryTxRx> replyMessage = std::make_shared<DHandleEntryTxRx>(); HWTEST_F() local
[all...]

Completed in 6 milliseconds