未验证 提交 372d60f0 编写于 作者: D dengyutao 提交者: Gitee

update ipc/native/src/mock/source/dbinder_databus_invoker.cpp.

ipc 代码规范修改
Signed-off-by: Ndengyutao <dengyutao2@h-partners.com>
上级 bfbd9e8b
......@@ -89,7 +89,8 @@ std::shared_ptr<DBinderSessionObject> DBinderDatabusInvoker::NewSessionOfBinderP
return nullptr;
}
MessageParcel data, reply;
MessageParcel data;
MessageParcel reply;
if (!data.WriteUint32(IRemoteObject::DATABUS_TYPE) || !data.WriteString(current->GetLocalDeviceID()) ||
!data.WriteUint32(session->GetPeerPid()) || !data.WriteUint32(session->GetPeerUid()) ||
!data.WriteString(session->GetPeerDeviceId()) || !data.WriteString(sessionName) ||
......@@ -136,7 +137,8 @@ bool DBinderDatabusInvoker::AuthSession2Proxy(uint32_t handle,
return false;
}
MessageParcel data, reply;
MessageParcel data;
MessageParcel reply;
MessageOption option;
if (!data.WriteUint32(session->GetPeerPid()) || !data.WriteUint32(session->GetPeerUid()) ||
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册