Home
last modified time | relevance | path

Searched refs:infoTypeLen (Results 1 – 25 of 41) sorted by relevance

12

/ohos5.0/foundation/communication/dsoftbus/core/bus_center/ipc/mini/
H A Dlnn_bus_center_ipc.c66 if (infoTypeLen != sizeof(NodeBasicInfo)) { in LnnIpcGetAllOnlineNodeInfo()
73 int32_t LnnIpcGetLocalDeviceInfo(const char *pkgName, void *info, uint32_t infoTypeLen) in LnnIpcGetLocalDeviceInfo() argument
76 (void)infoTypeLen; in LnnIpcGetLocalDeviceInfo()
167 int32_t LnnIpcNotifyOnlineState(bool isOnline, void *info, uint32_t infoTypeLen) in LnnIpcNotifyOnlineState() argument
169 (void)infoTypeLen; in LnnIpcNotifyOnlineState()
173 int32_t LnnIpcNotifyBasicInfoChanged(void *info, uint32_t infoTypeLen, int32_t type) in LnnIpcNotifyBasicInfoChanged() argument
175 (void)infoTypeLen; in LnnIpcNotifyBasicInfoChanged()
179 int32_t LnnIpcNotifyNodeStatusChanged(void *info, uint32_t infoTypeLen, int32_t type) in LnnIpcNotifyNodeStatusChanged() argument
182 (void)infoTypeLen; in LnnIpcNotifyNodeStatusChanged()
212 uint32_t infoTypeLen, int32_t retCode) in LnnIpcNotifyTimeSyncResult() argument
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/frame/standard/src/
H A Dsoftbus_client_stub.cpp456 uint32_t infoTypeLen; in OnNodeOnlineStateChangedInner() local
457 if (!data.ReadUint32(infoTypeLen) || infoTypeLen != sizeof(NodeBasicInfo)) { in OnNodeOnlineStateChangedInner()
488 uint32_t infoTypeLen; in OnNodeBasicInfoChangedInner() local
489 if (!data.ReadUint32(infoTypeLen) || infoTypeLen != sizeof(NodeBasicInfo)) { in OnNodeBasicInfoChangedInner()
519 uint32_t infoTypeLen; in OnNodeStatusChangedInner() local
520 if (!data.ReadUint32(infoTypeLen) || infoTypeLen != sizeof(NodeStatus)) { in OnNodeStatusChangedInner()
612 uint32_t infoTypeLen; in OnTimeSyncResultInner() local
738 (void)infoTypeLen; in OnNodeOnlineStateChanged()
744 (void)infoTypeLen; in OnNodeBasicInfoChanged()
750 (void)infoTypeLen; in OnNodeStatusChanged()
[all …]
H A Dif_softbus_client.cpp91 …ent::OnNodeOnlineStateChanged(const char *pkgName, bool isOnline, void *info, uint32_t infoTypeLen) in OnNodeOnlineStateChanged() argument
97 …Client::OnNodeBasicInfoChanged(const char *pkgName, void *info, uint32_t infoTypeLen, int32_t type) in OnNodeBasicInfoChanged() argument
103 int32_t ISoftBusClient::OnNodeStatusChanged(const char *pkgName, void *info, uint32_t infoTypeLen, … in OnNodeStatusChanged() argument
107 (void)infoTypeLen; in OnNodeStatusChanged()
137 int32_t ISoftBusClient::OnTimeSyncResult(const void *info, uint32_t infoTypeLen, int32_t retCode) in OnTimeSyncResult() argument
H A Dsoftbus_server_proxy_standard.cpp167 …ftBusServerProxyFrame::GetAllOnlineNodeInfo(const char *pkgName, void **info, uint32_t infoTypeLen, in GetAllOnlineNodeInfo() argument
172 (void)infoTypeLen; in GetAllOnlineNodeInfo()
177 … SoftBusServerProxyFrame::GetLocalDeviceInfo(const char *pkgName, void *info, uint32_t infoTypeLen) in GetLocalDeviceInfo() argument
181 (void)infoTypeLen; in GetLocalDeviceInfo()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/ipc/include/
H A Dlnn_bus_center_ipc.h33 int32_t LnnIpcGetAllOnlineNodeInfo(const char *pkgName, void **info, uint32_t infoTypeLen, int32_t …
34 int32_t LnnIpcGetLocalDeviceInfo(const char *pkgName, void *info, uint32_t infoTypeLen);
54 int32_t LnnIpcNotifyOnlineState(bool isOnline, void *info, uint32_t infoTypeLen);
55 int32_t LnnIpcNotifyBasicInfoChanged(void *info, uint32_t infoTypeLen, int32_t type);
56 int32_t LnnIpcNotifyNodeStatusChanged(void *info, uint32_t infoTypeLen, int32_t type);
62 const char *pkgName, int32_t pid, const void *info, uint32_t infoTypeLen, int32_t retCode);
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/ipc/small/src/
H A Dlnn_bus_center_ipc.c279 if (infoTypeLen != sizeof(NodeBasicInfo)) { in LnnIpcGetAllOnlineNodeInfo()
286 int32_t LnnIpcGetLocalDeviceInfo(const char *pkgName, void *info, uint32_t infoTypeLen) in LnnIpcGetLocalDeviceInfo() argument
289 (void)infoTypeLen; in LnnIpcGetLocalDeviceInfo()
428 int32_t LnnIpcNotifyOnlineState(bool isOnline, void *info, uint32_t infoTypeLen) in LnnIpcNotifyOnlineState() argument
430 return ClinetOnNodeOnlineStateChanged(isOnline, info, infoTypeLen); in LnnIpcNotifyOnlineState()
433 int32_t LnnIpcNotifyBasicInfoChanged(void *info, uint32_t infoTypeLen, int32_t type) in LnnIpcNotifyBasicInfoChanged() argument
435 return ClinetOnNodeBasicInfoChanged(info, infoTypeLen, type); in LnnIpcNotifyBasicInfoChanged()
438 int32_t LnnIpcNotifyNodeStatusChanged(void *info, uint32_t infoTypeLen, int32_t type) in LnnIpcNotifyNodeStatusChanged() argument
441 (void)infoTypeLen; in LnnIpcNotifyNodeStatusChanged()
471 uint32_t infoTypeLen, int32_t retCode) in LnnIpcNotifyTimeSyncResult() argument
[all …]
H A Dbus_center_client_proxy.c129 int32_t ClinetOnNodeOnlineStateChanged(bool isOnline, void *info, uint32_t infoTypeLen) in ClinetOnNodeOnlineStateChanged() argument
140 WriteUint32(&io, infoTypeLen); in ClinetOnNodeOnlineStateChanged()
141 WriteBuffer(&io, info, infoTypeLen); in ClinetOnNodeOnlineStateChanged()
177 int32_t ClinetOnNodeBasicInfoChanged(void *info, uint32_t infoTypeLen, int32_t type) in ClinetOnNodeBasicInfoChanged() argument
188 WriteUint32(&io, infoTypeLen); in ClinetOnNodeBasicInfoChanged()
189 WriteBuffer(&io, info, infoTypeLen); in ClinetOnNodeBasicInfoChanged()
226 uint32_t infoTypeLen, int32_t retCode) in ClientOnTimeSyncResult() argument
237 WriteUint32(&io, infoTypeLen); in ClientOnTimeSyncResult()
238 WriteBuffer(&io, info, infoTypeLen); in ClientOnTimeSyncResult()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/ipc/standard/src/
H A Dbus_center_client_proxy.cpp65 int32_t ClinetOnNodeOnlineStateChanged(bool isOnline, void *info, uint32_t infoTypeLen) in ClinetOnNodeOnlineStateChanged() argument
71 clientProxy->OnNodeOnlineStateChanged(proxy.first.c_str(), isOnline, info, infoTypeLen); in ClinetOnNodeOnlineStateChanged()
76 int32_t ClinetOnNodeBasicInfoChanged(void *info, uint32_t infoTypeLen, int32_t type) in ClinetOnNodeBasicInfoChanged() argument
82 clientProxy->OnNodeBasicInfoChanged(proxy.first.c_str(), info, infoTypeLen, type); in ClinetOnNodeBasicInfoChanged()
87 int32_t ClientOnNodeStatusChanged(void *info, uint32_t infoTypeLen, int32_t type) in ClientOnNodeStatusChanged() argument
97 clientProxy->OnNodeStatusChanged(proxy.first.c_str(), info, infoTypeLen, type); in ClientOnNodeStatusChanged()
149 uint32_t infoTypeLen, int32_t retCode) in ClientOnTimeSyncResult() argument
160 return clientProxy->OnTimeSyncResult(info, infoTypeLen, retCode); in ClientOnTimeSyncResult()
H A Dlnn_bus_center_ipc.cpp225 if (infoTypeLen != sizeof(NodeBasicInfo)) { in LnnIpcGetAllOnlineNodeInfo()
232 int32_t LnnIpcGetLocalDeviceInfo(const char *pkgName, void *info, uint32_t infoTypeLen) in LnnIpcGetLocalDeviceInfo() argument
234 (void)infoTypeLen; in LnnIpcGetLocalDeviceInfo()
479 int32_t LnnIpcNotifyOnlineState(bool isOnline, void *info, uint32_t infoTypeLen) in LnnIpcNotifyOnlineState() argument
481 return ClinetOnNodeOnlineStateChanged(isOnline, info, infoTypeLen); in LnnIpcNotifyOnlineState()
484 int32_t LnnIpcNotifyBasicInfoChanged(void *info, uint32_t infoTypeLen, int32_t type) in LnnIpcNotifyBasicInfoChanged() argument
486 return ClinetOnNodeBasicInfoChanged(info, infoTypeLen, type); in LnnIpcNotifyBasicInfoChanged()
489 int32_t LnnIpcNotifyNodeStatusChanged(void *info, uint32_t infoTypeLen, int32_t type) in LnnIpcNotifyNodeStatusChanged() argument
491 return ClientOnNodeStatusChanged(info, infoTypeLen, type); in LnnIpcNotifyNodeStatusChanged()
511 uint32_t infoTypeLen, int32_t retCode) in LnnIpcNotifyTimeSyncResult() argument
[all …]
H A Dbus_center_client_proxy_standard.cpp213 void *info, uint32_t infoTypeLen) in OnNodeOnlineStateChanged() argument
241 if (!data.WriteUint32(infoTypeLen)) { in OnNodeOnlineStateChanged()
245 if (!data.WriteRawData(info, infoTypeLen)) { in OnNodeOnlineStateChanged()
265 uint32_t infoTypeLen, int32_t type) in OnNodeBasicInfoChanged() argument
293 if (!data.WriteUint32(infoTypeLen)) { in OnNodeBasicInfoChanged()
297 if (!data.WriteRawData(info, infoTypeLen)) { in OnNodeBasicInfoChanged()
317 uint32_t infoTypeLen, int32_t type) in OnNodeStatusChanged() argument
341 if (!data.WriteUint32(infoTypeLen)) { in OnNodeStatusChanged()
345 if (!data.WriteRawData(info, infoTypeLen)) { in OnNodeStatusChanged()
494 if (!data.WriteUint32(infoTypeLen)) { in OnTimeSyncResult()
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/ipc/standard/include/
H A Dbus_center_client_proxy.h39 int32_t ClinetOnNodeOnlineStateChanged(bool isOnline, void *info, uint32_t infoTypeLen);
40 int32_t ClinetOnNodeBasicInfoChanged(void *info, uint32_t infoTypeLen, int32_t type);
41 int32_t ClientOnNodeStatusChanged(void *info, uint32_t infoTypeLen, int32_t type);
47 const char *pkgName, int32_t pid, const void *info, uint32_t infoTypeLen, int32_t retCode);
H A Dbus_center_client_proxy_standard.h42 …eOnlineStateChanged(const char *pkgName, bool isOnline, void *info, uint32_t infoTypeLen) override;
43 …int32_t OnNodeBasicInfoChanged(const char *pkgName, void *info, uint32_t infoTypeLen, int32_t type…
44 …int32_t OnNodeStatusChanged(const char *pkgName, void *info, uint32_t infoTypeLen, int32_t type) o…
49 int32_t OnTimeSyncResult(const void *info, uint32_t infoTypeLen, int32_t retCode) override;
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/src/
H A Dbus_center_ipc_mock.cpp137 int32_t ClinetOnNodeOnlineStateChanged(bool isOnline, void *info, uint32_t infoTypeLen) in ClinetOnNodeOnlineStateChanged() argument
139 …eturn BusCenterIpcInterfaceInstance()->ClinetOnNodeOnlineStateChanged(isOnline, info, infoTypeLen); in ClinetOnNodeOnlineStateChanged()
142 int32_t ClinetOnNodeBasicInfoChanged(void *info, uint32_t infoTypeLen, int32_t type) in ClinetOnNodeBasicInfoChanged() argument
144 return BusCenterIpcInterfaceInstance()->ClinetOnNodeBasicInfoChanged(info, infoTypeLen, type); in ClinetOnNodeBasicInfoChanged()
148 const char *pkgName, int32_t pid, const void *info, uint32_t infoTypeLen, int32_t retCode) in ClientOnTimeSyncResult() argument
150 …return BusCenterIpcInterfaceInstance()->ClientOnTimeSyncResult(pkgName, pid, info, infoTypeLen, re… in ClientOnTimeSyncResult()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/
H A Dclient_bus_center_manager_mock.cpp58 int32_t ServerIpcGetAllOnlineNodeInfo(const char *pkgName, void **info, uint32_t infoTypeLen, int32… in ServerIpcGetAllOnlineNodeInfo() argument
60 …return GetBusCenterManagerInterface()->ServerIpcGetAllOnlineNodeInfo(pkgName, info, infoTypeLen, i… in ServerIpcGetAllOnlineNodeInfo()
63 int32_t ServerIpcGetLocalDeviceInfo(const char *pkgName, void *info, uint32_t infoTypeLen) in ServerIpcGetLocalDeviceInfo() argument
65 return GetBusCenterManagerInterface()->ServerIpcGetLocalDeviceInfo(pkgName, info, infoTypeLen); in ServerIpcGetLocalDeviceInfo()
/ohos5.0/foundation/communication/dsoftbus/sdk/bus_center/ipc/mini/
H A Dbus_center_server_proxy.c37 int32_t ServerIpcGetAllOnlineNodeInfo(const char *pkgName, void **info, uint32_t infoTypeLen, int32… in ServerIpcGetAllOnlineNodeInfo() argument
39 return LnnIpcGetAllOnlineNodeInfo(pkgName, info, infoTypeLen, infoNum); in ServerIpcGetAllOnlineNodeInfo()
42 int32_t ServerIpcGetLocalDeviceInfo(const char *pkgName, void *info, uint32_t infoTypeLen) in ServerIpcGetLocalDeviceInfo() argument
44 return LnnIpcGetLocalDeviceInfo(pkgName, info, infoTypeLen); in ServerIpcGetLocalDeviceInfo()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/ipc/small/include/
H A Dbus_center_client_proxy.h32 int32_t ClinetOnNodeOnlineStateChanged(bool isOnline, void *info, uint32_t infoTypeLen);
33 int32_t ClinetOnNodeBasicInfoChanged(void *info, uint32_t infoTypeLen, int32_t type);
35 const char *pkgName, int32_t pid, const void *info, uint32_t infoTypeLen, int32_t retCode);
/ohos5.0/foundation/communication/dsoftbus/tests/core/frame/unittest/mock/
H A Dsoftbus_server_stub_test_mock.cpp68 int32_t LnnIpcGetAllOnlineNodeInfo(const char *pkgName, void **info, uint32_t infoTypeLen, int32_t … in LnnIpcGetAllOnlineNodeInfo() argument
70 …tSoftbusServerStubTestInterface()->LnnIpcGetAllOnlineNodeInfo(pkgName, info, infoTypeLen, infoNum); in LnnIpcGetAllOnlineNodeInfo()
72 int32_t LnnIpcGetLocalDeviceInfo(const char *pkgName, void *info, uint32_t infoTypeLen) in LnnIpcGetLocalDeviceInfo() argument
74 … return GetSoftbusServerStubTestInterface()->LnnIpcGetLocalDeviceInfo(pkgName, info, infoTypeLen); in LnnIpcGetLocalDeviceInfo()
H A Dsoftbus_server_stub_test_mock.h45 uint32_t infoTypeLen, int32_t *infoNum) = 0;
46 …virtual int32_t LnnIpcGetLocalDeviceInfo(const char *pkgName, void *info, uint32_t infoTypeLen) = …
69 uint32_t infoTypeLen, int32_t *infoNum));
70 …METHOD3(LnnIpcGetLocalDeviceInfo, int32_t (const char *pkgName, void *info, uint32_t infoTypeLen));
/ohos5.0/foundation/communication/dsoftbus/core/transmission/ipc/standard/include/
H A Dtrans_client_proxy_standard.h43 …eOnlineStateChanged(const char *pkgName, bool isOnline, void *info, uint32_t infoTypeLen) override;
44 …int32_t OnNodeBasicInfoChanged(const char *pkgName, void *info, uint32_t infoTypeLen, int32_t type…
45 …int32_t OnNodeStatusChanged(const char *pkgName, void *info, uint32_t infoTypeLen, int32_t type) o…
46 int32_t OnTimeSyncResult(const void *info, uint32_t infoTypeLen, int32_t retCode) override;
/ohos5.0/foundation/communication/dsoftbus/sdk/frame/standard/include/
H A Dif_softbus_client.h57 …2_t OnNodeOnlineStateChanged(const char *pkgName, bool isOnline, void *info, uint32_t infoTypeLen);
59 …virtual int32_t OnNodeBasicInfoChanged(const char *pkgName, void *info, uint32_t infoTypeLen, int3…
61 …virtual int32_t OnNodeStatusChanged(const char *pkgName, void *info, uint32_t infoTypeLen, int32_t…
70 virtual int32_t OnTimeSyncResult(const void *info, uint32_t infoTypeLen, int32_t retCode);
H A Dsoftbus_client_stub.h49 …eOnlineStateChanged(const char *pkgName, bool isOnline, void *info, uint32_t infoTypeLen) override;
50 …int32_t OnNodeBasicInfoChanged(const char *pkgName, void *info, uint32_t infoTypeLen, int32_t type…
51 …int32_t OnNodeStatusChanged(const char *pkgName, void *info, uint32_t infoTypeLen, int32_t type) o…
56 int32_t OnTimeSyncResult(const void *info, uint32_t infoTypeLen, int32_t retCode) override;
/ohos5.0/foundation/communication/dsoftbus/core/frame/small/init/src/
H A Dbus_center_server_stub.c132 uint32_t infoTypeLen; in ServerGetAllOnlineNodeInfo() local
133 ReadUint32(req, &infoTypeLen); in ServerGetAllOnlineNodeInfo()
160 WriteUint32(reply, infoTypeLen * infoNum); in ServerGetAllOnlineNodeInfo()
161 WriteBuffer(reply, nodeInfo, infoTypeLen * infoNum); in ServerGetAllOnlineNodeInfo()
182 uint32_t infoTypeLen; in ServerGetLocalDeviceInfo() local
183 ReadUint32(req, &infoTypeLen); in ServerGetLocalDeviceInfo()
184 if (infoTypeLen != sizeof(NodeBasicInfo)) { in ServerGetLocalDeviceInfo()
188 nodeInfo = SoftBusCalloc(infoTypeLen); in ServerGetLocalDeviceInfo()
193 int32_t ret = LnnIpcGetLocalDeviceInfo(pkgName, nodeInfo, infoTypeLen); in ServerGetLocalDeviceInfo()
199 if (!(WriteUint32(reply, infoTypeLen))) { in ServerGetLocalDeviceInfo()
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/src/
H A Dbus_center_server_proxy_standard.cpp241 static bool WriteSendRequestMessage(const char *pkgName, MessageParcel *data, uint32_t infoTypeLen) in WriteSendRequestMessage() argument
252 if (!data->WriteUint32(infoTypeLen)) { in WriteSendRequestMessage()
259 static int32_t ReadIPCReceiveOnlineNodeInfo(void **info, uint32_t infoTypeLen, int32_t *infoNum, Me… in ReadIPCReceiveOnlineNodeInfo() argument
274 uint32_t infoSize = (uint32_t)(*infoNum) * infoTypeLen; in ReadIPCReceiveOnlineNodeInfo()
295 … BusCenterServerProxy::GetAllOnlineNodeInfo(const char *pkgName, void **info, uint32_t infoTypeLen, in GetAllOnlineNodeInfo() argument
307 if (!WriteSendRequestMessage(pkgName, &data, infoTypeLen)) { in GetAllOnlineNodeInfo()
316 return ReadIPCReceiveOnlineNodeInfo(info, infoTypeLen, infoNum, &reply); in GetAllOnlineNodeInfo()
319 …2_t BusCenterServerProxy::GetLocalDeviceInfo(const char *pkgName, void *info, uint32_t infoTypeLen) in GetLocalDeviceInfo() argument
337 if (!data.WriteUint32(infoTypeLen)) { in GetLocalDeviceInfo()
347 void *nodeInfo = const_cast<void *>(reply.ReadRawData(infoTypeLen)); in GetLocalDeviceInfo()
[all …]
H A Dbus_center_server_proxy.cpp97 int32_t ServerIpcGetAllOnlineNodeInfo(const char *pkgName, void **info, uint32_t infoTypeLen, int32… in ServerIpcGetAllOnlineNodeInfo() argument
103 int32_t ret = g_serverProxy->GetAllOnlineNodeInfo(pkgName, info, infoTypeLen, infoNum); in ServerIpcGetAllOnlineNodeInfo()
110 int32_t ServerIpcGetLocalDeviceInfo(const char *pkgName, void *info, uint32_t infoTypeLen) in ServerIpcGetLocalDeviceInfo() argument
116 int32_t ret = g_serverProxy->GetLocalDeviceInfo(pkgName, info, infoTypeLen); in ServerIpcGetLocalDeviceInfo()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/ipc/standard/src/
H A Dtrans_client_proxy_standard.cpp448 void *info, uint32_t infoTypeLen) in OnNodeOnlineStateChanged() argument
453 (void)infoTypeLen; in OnNodeOnlineStateChanged()
458 uint32_t infoTypeLen, int32_t type) in OnNodeBasicInfoChanged() argument
462 (void)infoTypeLen; in OnNodeBasicInfoChanged()
468 uint32_t infoTypeLen, int32_t type) in OnNodeStatusChanged() argument
472 (void)infoTypeLen; in OnNodeStatusChanged()
477 int32_t TransClientProxy::OnTimeSyncResult(const void *info, uint32_t infoTypeLen, int32_t retCode) in OnTimeSyncResult() argument
480 (void)infoTypeLen; in OnTimeSyncResult()

12