Home
last modified time | relevance | path

Searched refs:interfaceInfo (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/data/
H A Dinterface_info_test.cpp183 InterfaceInfo interfaceInfo; variable
197 InterfaceInfo interfaceInfo; variable
199 interfaceInfo.SetDynamicMac("dynamicMac");
212 InterfaceInfo interfaceInfo; variable
214 interfaceInfo.SetDynamicMac("");
227 InterfaceInfo interfaceInfo; variable
228 interfaceInfo.SetIsEnable(true);
230 interfaceInfo.RefreshIsAvailable();
233 interfaceInfo.SetIsEnable(false);
234 interfaceInfo.RefreshIsAvailable();
[all …]
H A Dnegotiate_message_test.cpp326 InterfaceInfo interfaceInfo; variable
327 interfaceInfo.SetBandWidth(10);
329 interfaceInfoArray.push_back(interfaceInfo);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Dnstackx_smartgenius.c108 NetworkInterfaceInfo interfaceInfo; in IfAddrMsgHandle() local
110 (void)memset_s(&interfaceInfo, sizeof(interfaceInfo), 0, sizeof(interfaceInfo)); in IfAddrMsgHandle()
121 …if (strcpy_s(interfaceInfo.name, sizeof(interfaceInfo.name), (char *)RTA_DATA(tb[IFA_LABEL])) != E… in IfAddrMsgHandle()
125 UpdateAllNetworkInterfaceNameIfNeed(&interfaceInfo); in IfAddrMsgHandle()
135 if (memcpy_s(&interfaceInfo.ip, sizeof(interfaceInfo.ip), in IfAddrMsgHandle()
136 RTA_DATA(tb[IFA_ADDRESS]), sizeof(interfaceInfo.ip)) != EOK) { in IfAddrMsgHandle()
139 DFINDER_LOGD(TAG, "Interface %s got new address.", interfaceInfo.name); in IfAddrMsgHandle()
140 AddLocalIface(interfaceInfo.name, &interfaceInfo.ip); in IfAddrMsgHandle()
142 DFINDER_LOGD(TAG, "Interface %s delete address.", interfaceInfo.name); in IfAddrMsgHandle()
143 RemoveLocalIface(interfaceInfo.name); in IfAddrMsgHandle()
H A Dnstackx_device_remote.c194 static RxIface *FindRxIface(const RemoteDevice* device, const NSTACKX_InterfaceInfo *interfaceInfo) in FindRxIface() argument
200 if ((strcmp(interfaceInfo->networkIpAddr, rxIface->localIfInfo.networkIpAddr) == 0) && in FindRxIface()
201 (strcmp(interfaceInfo->networkName, rxIface->localIfInfo.networkName) == 0)) { in FindRxIface()
237 static RxIface *CreateRxIface(RemoteDevice *device, const NSTACKX_InterfaceInfo *interfaceInfo) in CreateRxIface() argument
244 (void)memcpy_s(&rxIface->localIfInfo, sizeof(NSTACKX_InterfaceInfo), interfaceInfo, in CreateRxIface()
623 …32_t UpdateRemoteNodeByDeviceInfo(const char *deviceId, const NSTACKX_InterfaceInfo *interfaceInfo, in UpdateRemoteNodeByDeviceInfo() argument
635 RxIface *rxIface = FindRxIface(device, interfaceInfo); in UpdateRemoteNodeByDeviceInfo()
637 rxIface = CreateRxIface(device, interfaceInfo); in UpdateRemoteNodeByDeviceInfo()
H A Dnstackx_device.c521 void UpdateAllNetworkInterfaceNameIfNeed(const NetworkInterfaceInfo *interfaceInfo) in UpdateAllNetworkInterfaceNameIfNeed() argument
523 if (interfaceInfo == NULL) { in UpdateAllNetworkInterfaceNameIfNeed()
529 … strncmp(interfaceInfo->name, g_interfaceList[i].name, strlen(g_interfaceList[i].name)) == 0) { in UpdateAllNetworkInterfaceNameIfNeed()
536 strncmp(interfaceInfo->name, g_interfacePrefixList[i].name[j], in UpdateAllNetworkInterfaceNameIfNeed()
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_payload_statistics_impl_unittest.cpp418 bool ret = instance.UpdatePayloadInfo(pid, interfaceInfo.desc, interfaceInfo.code, currentCost);
439 EXPECT_EQ(res[0].desc, interfaceInfo.desc);
440 EXPECT_EQ(res[0].code, interfaceInfo.code);
442 …EXPECT_EQ(instance.GetDescriptorCodeCount(pid, interfaceInfo.desc, interfaceInfo.code), currentCou…
444 … IPCPayloadCost cost = instance.GetDescriptorCodeCost(pid, interfaceInfo.desc, interfaceInfo.code);
468 bool ret = instance.UpdatePayloadInfo(pid, interfaceInfo.desc, interfaceInfo.code, currentCost);
491 …EXPECT_EQ(instance.GetDescriptorCodeCount(pid, interfaceInfo.desc, interfaceInfo.code), currentCou…
493 … IPCPayloadCost cost = instance.GetDescriptorCodeCost(pid, interfaceInfo.desc, interfaceInfo.code);
517 bool ret = instance.UpdatePayloadInfo(pid, interfaceInfo.desc, interfaceInfo.code, currentCost);
539 uint32_t count = instance.GetDescriptorCodeCount(pid, interfaceInfo.desc, interfaceInfo.code);
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/usb/host/src/
H A Dusb_pnp_notify.c208 …deviceInfo->info.interfaceInfo[i].interfaceClass, deviceInfo->info.interfaceInfo[i].interfaceSubCl… in UsbPnpNotifyAddInitInfo()
209 …deviceInfo->info.interfaceInfo[i].interfaceProtocol, deviceInfo->info.interfaceInfo[i].interfaceNu… in UsbPnpNotifyAddInitInfo()
246 … infoTable->interfaceInfo[j].interfaceClass = deviceInfo->info.interfaceInfo[i].interfaceClass; in UsbPnpNotifyAddInterfaceInitInfo()
247 …infoTable->interfaceInfo[j].interfaceSubClass = deviceInfo->info.interfaceInfo[i].interfaceSubClas… in UsbPnpNotifyAddInterfaceInitInfo()
248 …infoTable->interfaceInfo[j].interfaceProtocol = deviceInfo->info.interfaceInfo[i].interfaceProtoco… in UsbPnpNotifyAddInterfaceInitInfo()
249 … infoTable->interfaceInfo[j].interfaceNumber = deviceInfo->info.interfaceInfo[i].interfaceNumber; in UsbPnpNotifyAddInterfaceInitInfo()
253 … infoTable->interfaceInfo[j - 1].interfaceClass, infoTable->interfaceInfo[j - 1].interfaceSubClass, in UsbPnpNotifyAddInterfaceInitInfo()
470 … infoTable->interfaceInfo[i].interfaceClass = g_testUsbPnpInfo->interfaceInfo[i].interfaceClass; in TestPnpNotifyFillInfoTable()
471 …infoTable->interfaceInfo[i].interfaceSubClass = g_testUsbPnpInfo->interfaceInfo[i].interfaceSubCla… in TestPnpNotifyFillInfoTable()
472 …infoTable->interfaceInfo[i].interfaceProtocol = g_testUsbPnpInfo->interfaceInfo[i].interfaceProtoc… in TestPnpNotifyFillInfoTable()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/model/usb/host/src/
H A Dusb_pnp_notify.c236 …deviceInfo->info.interfaceInfo[i].interfaceClass, deviceInfo->info.interfaceInfo[i].interfaceSubCl… in UsbPnpNotifyAddInitInfo()
237 …deviceInfo->info.interfaceInfo[i].interfaceProtocol, deviceInfo->info.interfaceInfo[i].interfaceNu… in UsbPnpNotifyAddInitInfo()
274 … infoTable->interfaceInfo[j].interfaceClass = deviceInfo->info.interfaceInfo[i].interfaceClass; in UsbPnpNotifyAddInterfaceInitInfo()
275 …infoTable->interfaceInfo[j].interfaceSubClass = deviceInfo->info.interfaceInfo[i].interfaceSubClas… in UsbPnpNotifyAddInterfaceInitInfo()
276 …infoTable->interfaceInfo[j].interfaceProtocol = deviceInfo->info.interfaceInfo[i].interfaceProtoco… in UsbPnpNotifyAddInterfaceInitInfo()
277 … infoTable->interfaceInfo[j].interfaceNumber = deviceInfo->info.interfaceInfo[i].interfaceNumber; in UsbPnpNotifyAddInterfaceInitInfo()
281 … infoTable->interfaceInfo[j - 1].interfaceClass, infoTable->interfaceInfo[j - 1].interfaceSubClass, in UsbPnpNotifyAddInterfaceInitInfo()
490 … infoTable->interfaceInfo[i].interfaceClass = g_testUsbPnpInfo->interfaceInfo[i].interfaceClass; in TestPnpNotifyFillInfoTable()
491 …infoTable->interfaceInfo[i].interfaceSubClass = g_testUsbPnpInfo->interfaceInfo[i].interfaceSubCla… in TestPnpNotifyFillInfoTable()
492 …infoTable->interfaceInfo[i].interfaceProtocol = g_testUsbPnpInfo->interfaceInfo[i].interfaceProtoc… in TestPnpNotifyFillInfoTable()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dstatic_object_metadata.h37 InterfaceInfo interfaceInfo; member
57 InterfaceInfo interfaceInfo; member
76 InterfaceInfo interfaceInfo; member
/ohos5.0/drivers/peripheral/usb/sample/host/src/
H A Dusbhost_pnp_test.c86 infoTable.interfaceInfo[i].interfaceClass = 0; in TestInitPnpInfo()
87 infoTable.interfaceInfo[i].interfaceSubClass = 0; in TestInitPnpInfo()
88 infoTable.interfaceInfo[i].interfaceProtocol = 0; in TestInitPnpInfo()
89 infoTable.interfaceInfo[i].interfaceNumber = i; in TestInitPnpInfo()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/
H A Dengine.cpp283 void Engine::RegisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) in RegisterInterfaceType() argument
286 …pos = std::upper_bound(interfaceTypeInfos_.cbegin(), interfaceTypeInfos_.cend(), interfaceInfo.uid, in RegisterInterfaceType()
288 interfaceTypeInfos_.insert(pos, &interfaceInfo); in RegisterInterfaceType()
291 void Engine::UnregisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) in UnregisterInterfaceType() argument
294 …pos = std::lower_bound(interfaceTypeInfos_.cbegin(), interfaceTypeInfos_.cend(), interfaceInfo.uid, in UnregisterInterfaceType()
296 if ((pos != interfaceTypeInfos_.cend()) && (*pos)->uid == interfaceInfo.uid) { in UnregisterInterfaceType()
H A Dengine.h80 void RegisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) override;
81 void UnregisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) override;
H A Dplugin_registry.h59 void RegisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) override; in CORE_BEGIN_NAMESPACE()
60 void UnregisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) override; in CORE_BEGIN_NAMESPACE()
H A Dplugin_registry.cpp477 void PluginRegistry::RegisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) in RegisterInterfaceType() argument
480 …pos = std::upper_bound(interfaceTypeInfos_.cbegin(), interfaceTypeInfos_.cend(), interfaceInfo.uid, in RegisterInterfaceType()
482 interfaceTypeInfos_.insert(pos, &interfaceInfo); in RegisterInterfaceType()
485 void PluginRegistry::UnregisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) in UnregisterInterfaceType() argument
488 …pos = std::lower_bound(interfaceTypeInfos_.cbegin(), interfaceTypeInfos_.cend(), interfaceInfo.uid, in UnregisterInterfaceType()
490 if ((pos != interfaceTypeInfos_.cend()) && (*pos)->uid == interfaceInfo.uid) { in UnregisterInterfaceType()
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/fuzztest/softbusnegotiatemessage_fuzzer/
H A Dsoftbusnegotiatemessage_fuzzer.cpp65 SoftBus::InterfaceInfo interfaceInfo; in SoftBusNegotiateMessageUnmarshallingFuzzTest() local
66 interfaceInfo.SetBandWidth(1); in SoftBusNegotiateMessageUnmarshallingFuzzTest()
68 interfaceArray.push_back(interfaceInfo); in SoftBusNegotiateMessageUnmarshallingFuzzTest()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/plugin/
H A Dintf_class_register.h36 virtual void RegisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) = 0;
41 virtual void UnregisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) = 0;
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/
H A Dgraphics_context.cpp398 void GraphicsContext::RegisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) in RegisterInterfaceType() argument
401 …pos = std::upper_bound(interfaceTypeInfos_.cbegin(), interfaceTypeInfos_.cend(), interfaceInfo.uid, in RegisterInterfaceType()
403 interfaceTypeInfos_.insert(pos, &interfaceInfo); in RegisterInterfaceType()
406 void GraphicsContext::UnregisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) in UnregisterInterfaceType() argument
409 …pos = std::lower_bound(interfaceTypeInfos_.cbegin(), interfaceTypeInfos_.cend(), interfaceInfo.uid, in UnregisterInterfaceType()
411 if ((pos != interfaceTypeInfos_.cend()) && (*pos)->uid == interfaceInfo.uid) { in UnregisterInterfaceType()
H A Dgraphics_context.h83 void RegisterInterfaceType(const CORE_NS::InterfaceTypeInfo& interfaceInfo) override;
84 void UnregisterInterfaceType(const CORE_NS::InterfaceTypeInfo& interfaceInfo) override;
/ohos5.0/drivers/hdf_core/framework/model/usb/src/
H A Dusb_ddk_pnp_loader.c200 … id->interfaceClass[id->interfaceClassLength++] = dev->interfaceInfo[index].interfaceClass; in UsbDdkPnpLoaderMatchHandle()
203 …id->interfaceSubClass[id->interfaceSubClassLength++] = dev->interfaceInfo[index].interfaceSubClass; in UsbDdkPnpLoaderMatchHandle()
206 …id->interfaceProtocol[id->interfaceProtocolLength++] = dev->interfaceInfo[index].interfaceProtocol; in UsbDdkPnpLoaderMatchHandle()
209 id->interfaceNumber[id->interfaceLength++] = dev->interfaceInfo[index].interfaceNumber; in UsbDdkPnpLoaderMatchHandle()
300 if (id->interfaceClass[i] == dev->interfaceInfo[index].interfaceClass) { in UsbDdkPnpLoaderMatchInterface()
313 if (id->interfaceSubClass[i] == dev->interfaceInfo[index].interfaceSubClass) { in UsbDdkPnpLoaderMatchInterface()
326 if (id->interfaceProtocol[i] == dev->interfaceInfo[index].interfaceProtocol) { in UsbDdkPnpLoaderMatchInterface()
339 if (id->interfaceNumber[i] == dev->interfaceInfo[index].interfaceNumber) { in UsbDdkPnpLoaderMatchInterface()
1025 removeInfo.interfaceNum = infoTable->interfaceInfo[0].interfaceNumber; in UsbDdkPnpLoaderEventReceived()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/
H A Drender_context.cpp612 void RenderContext::RegisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) in RegisterInterfaceType() argument
615 …pos = std::upper_bound(interfaceTypeInfos_.cbegin(), interfaceTypeInfos_.cend(), interfaceInfo.uid, in RegisterInterfaceType()
617 interfaceTypeInfos_.insert(pos, &interfaceInfo); in RegisterInterfaceType()
620 void RenderContext::UnregisterInterfaceType(const InterfaceTypeInfo& interfaceInfo) in UnregisterInterfaceType() argument
623 …pos = std::lower_bound(interfaceTypeInfos_.cbegin(), interfaceTypeInfos_.cend(), interfaceInfo.uid, in UnregisterInterfaceType()
625 if ((pos != interfaceTypeInfos_.cend()) && (*pos)->uid == interfaceInfo.uid) { in UnregisterInterfaceType()
H A Drender_context.h98 void RegisterInterfaceType(const CORE_NS::InterfaceTypeInfo& interfaceInfo) override;
99 void UnregisterInterfaceType(const CORE_NS::InterfaceTypeInfo& interfaceInfo) override;
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/
H A Dnstackx_device_remote.h32 …32_t UpdateRemoteNodeByDeviceInfo(const char *deviceId, const NSTACKX_InterfaceInfo *interfaceInfo,
H A Dnstackx_device.h166 void UpdateAllNetworkInterfaceNameIfNeed(const NetworkInterfaceInfo *interfaceInfo);
/ohos5.0/drivers/hdf_core/framework/model/usb/include/
H A Dhdf_usb_pnp_manage.h100 struct UsbPnpNotifyInterfaceInfo interfaceInfo[USB_PNP_INFO_MAX_INTERFACES]; member
/ohos5.0/drivers/peripheral/usb/hdf_usb/include/
H A Dhdf_usb_pnp_manage.h100 struct UsbPnpNotifyInterfaceInfo interfaceInfo[USB_PNP_INFO_MAX_INTERFACES]; member

12