Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/ipc/services/dbinder/dbinder_service/src/
H A Ddbinder_service.cpp547 if (replyMessage == nullptr) { in LoadSystemAbilityComplete()
580 replyMessage->pid, replyMessage->uid, tokenId); in LoadSystemAbilityComplete()
600 replyMessage->dBinderCode = dBinderCode; in SendReplyMessageToRemote()
604 … if (!remoteListener->SendDataReply(replyMessage->deviceIdInfo.fromDeviceId, replyMessage.get())) { in SendReplyMessageToRemote()
669 …PopLoadSaItem(replyMessage->deviceIdInfo.fromDeviceId, static_cast<int32_t>(replyMessage->stubInde… in OnRemoteInvokerMessage()
755 replyMessage->stubIndex = stubIndex; in SetReplyMessage()
763 replyMessage->serviceName[replyMessage->serviceNameLength] = '\0'; in SetReplyMessage()
915 … static_cast<int32_t>(replyMessage->stubIndex), replyMessage->transType, replyMessage->seqNumber); in OnRemoteErrorMessage()
925replyMessage->seqNumber, (replyMessage->stub & BINDER_MASK), replyMessage->deviceIdInfo.tokenId, in OnRemoteReplyMessage()
926 replyMessage->dBinderCode); in OnRemoteReplyMessage()
[all …]
/ohos5.0/foundation/communication/ipc/services/dbinder/c/src/
H A Ddbinder_service.c573 replyMessage->stubIndex = stubIndex; in OnRemoteInvokerDataBusMessage()
580 replyMessage->serviceName[replyMessage->serviceNameLength] = '\0'; in OnRemoteInvokerDataBusMessage()
595 DHandleEntryTxRx replyMessage; in OnRemoteInvokerMessage() local
602 switch (replyMessage.transType) { in OnRemoteInvokerMessage()
668 if (replyMessage == NULL) { in MakeSessionByReplyMessage()
701 session->toPort = replyMessage->toPort; in MakeSessionByReplyMessage()
702 session->fromPort = replyMessage->fromPort; in MakeSessionByReplyMessage()
703 session->type = replyMessage->transType; in MakeSessionByReplyMessage()
704 session->stub = replyMessage->stub; in MakeSessionByReplyMessage()
720 MakeSessionByReplyMessage(replyMessage); in OnRemoteReplyMessage()
[all …]
/ohos5.0/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 …InvokerDataBusMessage(IPCObjectProxy *proxy, std::shared_ptr<struct DHandleEntryTxRx> replyMessage,
369 std::shared_ptr<struct DHandleEntryTxRx> replyMessage);
[all …]
/ohos5.0/foundation/communication/ipc/services/dbinder/test/unittest/
H A Ddbinder_service_unittest.cpp1026 EXPECT_TRUE(replyMessage != nullptr);
1027 memset_s(replyMessage.get(), sizeof(DHandleEntryTxRx), 0, sizeof(DHandleEntryTxRx));
1028 dBinderService->MakeSessionByReplyMessage(replyMessage);
1029 EXPECT_EQ(dBinderService->HasDBinderStub(replyMessage->binderObject), false);
1036 replyMessage->stub = reinterpret_cast<binder_uintptr_t>(stub.GetRefPtr());
1037 dBinderService->MakeSessionByReplyMessage(replyMessage);
1150 EXPECT_TRUE(replyMessage != nullptr);
1171 EXPECT_TRUE(replyMessage != nullptr);
1335 EXPECT_TRUE(replyMessage != nullptr);
1340 dBinderService->SendReplyMessageToRemote(dBinderCode, reason, replyMessage);
[all …]