/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_factoryreset_callback_test/ |
H A D | net_factoryreset_callback_stub_test.cpp | 66 MessageParcel reply; in HWTEST_F() local 68 int32_t ret = instance_->OnRemoteRequest(100, data, reply, option); in HWTEST_F() 72 ret = instance_->OnRemoteRequest(100, data, reply, option); in HWTEST_F() 84 MessageParcel reply; in HWTEST_F() local 88 data, reply, option); in HWTEST_F()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/ |
H A D | net_detection_callback_stub_test.cpp | 65 MessageParcel reply; in HWTEST_F() local 67 int32_t ret = instance_->OnRemoteRequest(100, data, reply, option); in HWTEST_F() 71 ret = instance_->OnRemoteRequest(100, data, reply, option); in HWTEST_F() 83 MessageParcel reply; in HWTEST_F() local 89 data, reply, option); in HWTEST_F()
|
/foundation/communication/nfc/interfaces/inner_api/controller/ |
H A D | ndef_msg_callback_stub.cpp | 45 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest() 63 ret = RemoteNdefMsgDiscovered(data, reply); in OnRemoteRequest() 67 ret = IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest() 87 int NdefMsgCallbackStub::RemoteNdefMsgDiscovered(MessageParcel &data, MessageParcel &reply) in RemoteNdefMsgDiscovered() argument 95 reply.WriteBool(res); // Reply for ndef parse result in RemoteNdefMsgDiscovered() 44 OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument
|
H A D | nfc_controller_callback_stub.cpp | 45 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest() 63 ret = RemoteNfcStateChanged(data, reply); in OnRemoteRequest() 67 ret = IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest() 91 int NfcControllerCallBackStub::RemoteNfcStateChanged(MessageParcel &data, MessageParcel &reply) in RemoteNfcStateChanged() argument 97 reply.WriteInt32(KITS::ERR_NONE); /* Reply 0 to indicate that no exception occurs. */ in RemoteNfcStateChanged() 44 OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument
|
H A D | on_card_emulation_notify_cb_stub.cpp | 45 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest() 65 ret = RemoteCardEmulationNotify(data, reply); in OnRemoteRequest() 70 ret = IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest() 93 int OnCardEmulationNotifyCbStub::RemoteCardEmulationNotify(MessageParcel &data, MessageParcel &reply) in RemoteCardEmulationNotify() argument 99 reply.WriteBool(ret); in RemoteCardEmulationNotify() 44 OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument
|
/foundation/communication/nfc/interfaces/inner_api/cardEmulation/ |
H A D | hce_cmd_callback_stub.cpp | 56 int HceCmdCallbackStub::OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest() argument 74 ret = RemoteOnCeApduData(data, reply); in OnRemoteRequest() 78 ret = IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest() 84 int HceCmdCallbackStub::RemoteOnCeApduData(MessageParcel &data, MessageParcel &reply) in RemoteOnCeApduData() argument 91 reply.WriteInt32(KITS::ERR_NONE); /* Reply 0 to indicate that no exception occurs. */ in RemoteOnCeApduData()
|
/foundation/communication/wifi/wifi/test/wifi_standard/native/ |
H A D | wifi_scan_callback_stub_test.cpp | 89 MessageParcel reply; in HWTEST_F() local 94 pWifiScan->OnRemoteRequest(code, data, reply, option); in HWTEST_F() 102 MessageParcel reply; in HWTEST_F() local 107 pWifiScan->OnRemoteRequest(code, data, reply, option); in HWTEST_F() 113 pWifiScan->OnRemoteRequest(code, data, reply, option); in HWTEST_F()
|
/foundation/distributeddatamgr/pasteboard/services/zidl/src/ |
H A D | pasteboard_entry_getter_proxy.cpp | 64 MessageParcel reply; in GetRecordValueByType() local 67 static_cast<int>(PasteboardEntryGetterInterfaceCode::GET_RECORD_VALUE_BY_TYPE), request, reply, option); in GetRecordValueByType() 72 res = reply.ReadInt32(); in GetRecordValueByType() 73 int32_t rawDataSize = reply.ReadInt32(); in GetRecordValueByType() 78 const uint8_t *rawData = reinterpret_cast<const uint8_t *>(reply.ReadRawData(rawDataSize)); in GetRecordValueByType()
|
/foundation/communication/dhcp/frameworks/native/src/ |
H A D | dhcp_server_callback_stub.h | 43 virtual int OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, 62 int RemoteOnServerStatusChanged(uint32_t code, MessageParcel &data, MessageParcel &reply); 63 int RemoteOnServerLeasesChanged(uint32_t code, MessageParcel &data, MessageParcel &reply); 64 int RemoteOnServerSerExitChanged(uint32_t code, MessageParcel &data, MessageParcel &reply); 65 int RemoteOnServerSuccess(uint32_t code, MessageParcel &data, MessageParcel &reply);
|
/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_client_stub.h | 41 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option); 44 int OnRegisterCallBack(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option); 45 int OnStartDhcpClient(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option); 46 int OnSetConfiguration(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option); 47 int OnStopDhcpClient(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option);
|
/foundation/communication/dsoftbus/adapter/common/bus_center/driver/ |
H A D | lnn_hdf_driver_request.c | 27 static int32_t ParseReply(struct HdfSBuf *rspData, uint8_t *reply, uint32_t replyLen) in ParseReply() argument 32 if (reply == NULL) { in ParseReply() 36 LNN_LOGE(LNN_STATE, "read cmd reply fail"); in ParseReply() 40 LNN_LOGE(LNN_STATE, "no enough space save reply"); in ParseReply() 43 if (memcpy_s(reply, replyLen, data, dataSize) != EOK) { in ParseReply() 44 LNN_LOGE(LNN_STATE, "memcpy reply fail"); in ParseReply() 51 uint8_t *reply, uint32_t replyLen) in LnnSendCmdToDriver() 90 rc = ParseReply(rspData, reply, replyLen); in LnnSendCmdToDriver() 50 LnnSendCmdToDriver(int32_t moduleId, const uint8_t *cmd, uint32_t cmdLen, uint8_t *reply, uint32_t replyLen) LnnSendCmdToDriver() argument
|
/foundation/CastEngine/castengine_wifi_display/services/impl/scene/wfd/ |
H A D | wfd_sink_scene.cpp | 299 void WfdSinkScene::OnRequest(std::shared_ptr<BaseMsg> msg, std::shared_ptr<BaseMsg> &reply) in OnRequest() argument 310 reply = std::static_pointer_cast<BaseMsg>(rsp); in OnRequest() 318 reply = std::static_pointer_cast<BaseMsg>(rsp); in OnRequest() 326 reply = std::static_pointer_cast<BaseMsg>(rsp); in OnRequest() 334 reply = std::static_pointer_cast<BaseMsg>(rsp); in OnRequest() 342 reply = std::static_pointer_cast<BaseMsg>(rsp); in OnRequest() 350 reply = std::static_pointer_cast<BaseMsg>(rsp); in OnRequest() 358 reply = std::static_pointer_cast<BaseMsg>(rsp); in OnRequest() 366 reply = std::static_pointer_cast<BaseMsg>(rsp); in OnRequest() 374 reply in OnRequest() 408 HandleStart(std::shared_ptr<WfdSinkStartReq> &msg, std::shared_ptr<WfdCommonRsp> &reply) HandleStart() argument 445 HandleStop(std::shared_ptr<WfdSinkStopReq> &msg, std::shared_ptr<WfdCommonRsp> &reply) HandleStop() argument 461 HandleAppendSurface(std::shared_ptr<WfdAppendSurfaceReq> &msg, std::shared_ptr<WfdCommonRsp> &reply) HandleAppendSurface() argument 552 HandleRemoveSurface(std::shared_ptr<WfdRemoveSurfaceReq> &msg, std::shared_ptr<WfdCommonRsp> &reply) HandleRemoveSurface() argument 585 HandleSetMediaFormat(std::shared_ptr<SetMediaFormatReq> &msg, std::shared_ptr<WfdCommonRsp> &reply) HandleSetMediaFormat() argument 609 HandleSetSceneType(std::shared_ptr<SetSceneTypeReq> &msg, std::shared_ptr<WfdCommonRsp> &reply) HandleSetSceneType() argument 680 HandlePlay(std::shared_ptr<WfdPlayReq> &msg, std::shared_ptr<WfdCommonRsp> &reply) HandlePlay() argument 748 HandlePause(std::shared_ptr<WfdPauseReq> &msg, std::shared_ptr<WfdCommonRsp> &reply) HandlePause() argument 779 HandleMute(std::shared_ptr<MuteReq> &msg, std::shared_ptr<WfdCommonRsp> &reply) HandleMute() argument 810 HandleUnMute(std::shared_ptr<UnMuteReq> &msg, std::shared_ptr<WfdCommonRsp> &reply) HandleUnMute() argument 841 HandleClose(std::shared_ptr<WfdCloseReq> &msg, std::shared_ptr<WfdCommonRsp> &reply) HandleClose() argument 903 HandleGetConfig(std::shared_ptr<GetSinkConfigReq> &msg, std::shared_ptr<GetSinkConfigRsp> &reply) HandleGetConfig() argument 1013 auto reply = std::static_pointer_cast<BaseMsg>(std::make_shared<WfdCommonRsp>()); OnP2pPeerConnected() local 1217 auto reply = std::static_pointer_cast<BaseMsg>(std::make_shared<WfdCommonRsp>()); OnInnerError() local 1234 auto reply = std::static_pointer_cast<BaseMsg>(std::make_shared<WfdCommonRsp>()); OnInnerError() local 1363 auto reply = std::static_pointer_cast<BaseMsg>(std::make_shared<WfdCommonRsp>()); OnConnectionChanged() local 1392 auto reply = std::static_pointer_cast<BaseMsg>(std::make_shared<WfdCommonRsp>()); OnDecoderAccelerationDone() local 1407 auto reply = std::static_pointer_cast<BaseMsg>(std::make_shared<WfdCommonRsp>()); OnDecoderDied() local [all...] |
/kernel/linux/linux-5.10/drivers/s390/net/ |
H A D | lcs.c | 757 lcs_get_reply(struct lcs_reply *reply) in lcs_get_reply() argument 759 refcount_inc(&reply->refcnt); in lcs_get_reply() 763 lcs_put_reply(struct lcs_reply *reply) in lcs_put_reply() argument 765 if (refcount_dec_and_test(&reply->refcnt)) in lcs_put_reply() 766 kfree(reply); in lcs_put_reply() 772 struct lcs_reply *reply; in lcs_alloc_reply() local 776 reply = kzalloc(sizeof(struct lcs_reply), GFP_ATOMIC); in lcs_alloc_reply() 777 if (!reply) in lcs_alloc_reply() 779 refcount_set(&reply->refcnt, 1); in lcs_alloc_reply() 780 reply in lcs_alloc_reply() 795 struct lcs_reply *reply; lcs_notify_lancmd_waiters() local 822 struct lcs_reply *reply = from_timer(reply, t, timer); lcs_lancmd_timeout() local 848 struct lcs_reply *reply; lcs_send_lancmd() local [all...] |
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A D | lcs.c | 753 lcs_get_reply(struct lcs_reply *reply) in lcs_get_reply() argument 755 refcount_inc(&reply->refcnt); in lcs_get_reply() 759 lcs_put_reply(struct lcs_reply *reply) in lcs_put_reply() argument 761 if (refcount_dec_and_test(&reply->refcnt)) in lcs_put_reply() 762 kfree(reply); in lcs_put_reply() 768 struct lcs_reply *reply; in lcs_alloc_reply() local 772 reply = kzalloc(sizeof(struct lcs_reply), GFP_ATOMIC); in lcs_alloc_reply() 773 if (!reply) in lcs_alloc_reply() 775 refcount_set(&reply->refcnt, 1); in lcs_alloc_reply() 776 reply in lcs_alloc_reply() 791 struct lcs_reply *reply; lcs_notify_lancmd_waiters() local 818 struct lcs_reply *reply = from_timer(reply, t, timer); lcs_lancmd_timeout() local 844 struct lcs_reply *reply; lcs_send_lancmd() local [all...] |
/foundation/communication/ipc/ipc/native/c/ipc/src/liteos_a/ |
H A D | ipc_invoker.c | 185 static void SendReply(IpcMsg *ipcMsg, IpcIo *reply) in SendReply() argument 194 ret = CheckIpcIo(reply); in SendReply() 210 .dataSz = reply->bufferCur - reply->bufferBase, in SendReply() 211 .data = (void *)reply->bufferBase, in SendReply() 212 .offsets = reply->offsetsBase, in SendReply() 213 .spObjNum = ((char *)reply->offsetsCur - (char *)reply->offsetsBase) / sizeof(size_t) in SendReply() 299 IpcIo reply; in CallIpcCallback() local 301 IpcIoInit(&reply, tempDat in CallIpcCallback() 498 IpcIo data, reply; IpcJoinThreadLoop() local 552 IpcSendRequest(SvcIdentity target, uint32_t code, IpcIo *data, IpcIo *reply, MessageOption option, uintptr_t *buffer) IpcSendRequest() argument [all...] |
/base/customization/enterprise_device_management/interfaces/inner_api/account_manager/src/ |
H A D | account_manager_proxy.cpp | 113 MessageParcel reply; in IsAddOsAccountByUserDisallowed() local 115 proxy->GetPolicy(EdmInterfaceCode::DISALLOW_ADD_OS_ACCOUNT_BY_USER, data, reply); in IsAddOsAccountByUserDisallowed() 117 bool isSuccess = reply.ReadInt32(ret) && (ret == ERR_OK); in IsAddOsAccountByUserDisallowed() 122 reply.ReadBool(result); in IsAddOsAccountByUserDisallowed() 136 MessageParcel reply; in AddOsAccount() local 147 ErrCode ret = proxy->HandleDevicePolicy(funcCode, data, reply); in AddOsAccount() 149 OHOS::AccountSA::OsAccountInfo *result = OHOS::AccountSA::OsAccountInfo::Unmarshalling(reply); in AddOsAccount()
|
/base/security/device_auth/frameworks/src/lite/ |
H A D | ipc_dev_auth_proxy.c | 104 static int32_t CliInvokeRetCallback(IOwner owner, int32_t code, IpcIo *reply) in CliInvokeRetCallback() argument 111 if ((reply == NULL) || (owner == NULL)) { in CliInvokeRetCallback() 116 eno = memcpy_s(dstReply->bufferCur, dstReply->bufferLeft, reply->bufferCur, reply->bufferLeft); in CliInvokeRetCallback() 123 dstReply->bufferLeft = reply->bufferLeft; in CliInvokeRetCallback() 124 LOGI("done, reply data length %zu", dstReply->bufferLeft); in CliInvokeRetCallback() 138 dataCtx->data, (IOwner)(dataCtx->reply), CliInvokeRetCallback); in ActCall() 141 ReadInt32(dataCtx->reply, &ret); in ActCall()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/free_install/ |
H A D | bms_ecological_rule_mgr_service_client.cpp | 149 MessageParcel reply; in QueryFreeInstallExperience() local 157 int32_t ret = remote->SendRequest(QUERY_FREE_INSTALL_EXPERIENCE_CMD, data, reply, option); in QueryFreeInstallExperience() 163 std::unique_ptr<BmsExperienceRule> sptrRule(reply.ReadParcelable<BmsExperienceRule>()); in QueryFreeInstallExperience() 175 bool BmsEcologicalRuleMgrServiceProxy::ReadParcelableVector(std::vector<T> &parcelableVector, MessageParcel &reply) in ReadParcelableVector() argument 177 int32_t infoSize = reply.ReadInt32(); in ReadParcelableVector() 178 CONTAINER_SECURITY_VERIFY(reply, infoSize, &parcelableVector); in ReadParcelableVector() 181 std::unique_ptr<T> info(reply.ReadParcelable<T>()); in ReadParcelableVector()
|
/foundation/graphic/graphic_surface/surface/include/ |
H A D | buffer_producer_listener.h | 39 MessageParcel reply; variable 45 int32_t ret = Remote()->SendRequest(IProducerListener::ON_BUFFER_RELEASED, arguments, reply, option); 56 MessageParcel reply; variable 67 int32_t ret = Remote()->SendRequest(IProducerListener::ON_BUFFER_RELEASED_WITH_FENCE, arguments, reply, option); 85 MessageParcel &reply, MessageOption &option) override 97 reply.WriteInt32(sret); 102 reply.WriteInt32(sret);
|
/foundation/multimedia/drm_framework/services/drm_service/client/src/ |
H A D | media_decrypt_module_service_proxy.cpp | 31 MessageParcel reply;
in Release() local 39 int32_t ret = Remote()->SendRequest(DECRYPT_MODULE_RELEASE, data, reply, option);
in Release() 51 MessageParcel reply;
in SetListenerObject() local 56 int ret = Remote()->SendRequest(DECRYPT_MODULE_SET_LISTENER_OBJ, data, reply, option);
in SetListenerObject() 61 return reply.ReadInt32();
in SetListenerObject() 105 MessageParcel reply;
in DecryptMediaData() local 154 ret = Remote()->SendRequest(DECRYPT_MODULE_DECRYPT_DATA, data, reply, option);
in DecryptMediaData()
|
/foundation/multimedia/player_framework/services/services/media_data_source/ipc/ |
H A D | media_data_source_proxy.cpp | 123 MessageParcel reply; in ReadAt() local 143 int error = Remote()->SendRequest(static_cast<uint32_t>(ListenerMsg::READ_AT), data, reply, option); in ReadAt() 146 return reply.ReadInt32(); in ReadAt() 152 MessageParcel reply; in GetSize() local 158 int error = Remote()->SendRequest(static_cast<uint32_t>(ListenerMsg::GET_SIZE), data, reply, option); in GetSize() 161 size = reply.ReadInt64(); in GetSize() 162 return reply.ReadInt32(); in GetSize()
|
/foundation/communication/ipc/interfaces/innerkits/ipc_core/include/ |
H A D | ipc_object_proxy.h | 52 * @param reply Indicates the object returned by the peer process. 58 int SendRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &optionoption) override; 159 * @param reply Indicates the object returned by the peer process. 164 int InvokeListenThread(MessageParcel &data, MessageParcel &reply); 176 * @param reply Indicates the object returned by the peer process. 181 int GetPidUid(MessageParcel &reply); 246 int SendLocalRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &optionoption); 247 int SendRequestInner(bool isLocal, uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option); 328 * @param reply Indicates the object returned by the peer process. 332 bool UpdateDatabusClientSession(int handle, MessageParcel &reply); [all...] |
/foundation/communication/ipc/ipc/test/ipc/client/ |
H A D | ipc_test_client.c | 38 IpcIo reply; in AddDeathCallback() local 51 static int ServerAddCallback(IOwner owner, int code, IpcIo *reply) in ServerAddCallback() argument 59 ReadInt32(reply, (int *)owner); in ServerAddCallback() 85 static int ServerMultiCallback(IOwner owner, int code, IpcIo *reply) in ServerMultiCallback() argument 92 ReadInt32(reply, (int *)owner); in ServerMultiCallback() 116 static int ServerSubCallback(IOwner owner, int code, IpcIo *reply) in ServerSubCallback() argument 123 ReadInt32(reply, (int *)owner); in ServerSubCallback()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_sane.c | 71 struct sane_reply_net_start *reply; in help() local 109 /* We're interested in the next reply */ in help() 116 /* Is it a reply to an uninteresting command? */ in help() 120 /* It's a reply to SANE_NET_START. */ in help() 124 pr_debug("NET_START reply too short\n"); in help() 130 reply = skb_header_pointer(skb, dataoff, datalen, &buf.repl); in help() 131 if (!reply) in help() 134 if (reply->status != htonl(SANE_STATUS_SUCCESS)) { in help() 137 ntohl(reply->status)); in help() 141 /* Invalid saned reply in help() [all...] |
/base/account/os_account/frameworks/ohosaccount/native/src/ |
H A D | distributed_account_event_proxy.cpp | 31 MessageParcel reply; in OnAccountsChanged() local 43 ErrCode result = SendRequest(DistributedAccountEventInterfaceCode::ON_ACCOUNT_CHANGED, data, reply); in OnAccountsChanged() 52 DistributedAccountEventInterfaceCode code, MessageParcel &data, MessageParcel &reply) in SendRequest() 61 int32_t result = remote->SendRequest(static_cast<uint32_t>(code), data, reply, option); in SendRequest() 51 SendRequest( DistributedAccountEventInterfaceCode code, MessageParcel &data, MessageParcel &reply) SendRequest() argument
|