/ohos5.0/foundation/communication/dsoftbus/core/bus_center/ipc/mini/ |
H A D | lnn_bus_center_ipc.c | 66 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 D | softbus_client_stub.cpp | 456 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 D | if_softbus_client.cpp | 91 …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 D | softbus_server_proxy_standard.cpp | 167 …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 D | lnn_bus_center_ipc.h | 33 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 D | lnn_bus_center_ipc.c | 279 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 D | bus_center_client_proxy.c | 129 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 D | bus_center_client_proxy.cpp | 65 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 D | lnn_bus_center_ipc.cpp | 225 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 D | bus_center_client_proxy_standard.cpp | 213 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 D | bus_center_client_proxy.h | 39 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 D | bus_center_client_proxy_standard.h | 42 …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 D | bus_center_ipc_mock.cpp | 137 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 D | client_bus_center_manager_mock.cpp | 58 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 D | bus_center_server_proxy.c | 37 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 D | bus_center_client_proxy.h | 32 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 D | softbus_server_stub_test_mock.cpp | 68 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 D | softbus_server_stub_test_mock.h | 45 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 D | trans_client_proxy_standard.h | 43 …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 D | if_softbus_client.h | 57 …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 D | softbus_client_stub.h | 49 …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 D | bus_center_server_stub.c | 132 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 D | bus_center_server_proxy_standard.cpp | 241 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 D | bus_center_server_proxy.cpp | 97 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 D | trans_client_proxy_standard.cpp | 448 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()
|