Home
last modified time | relevance | path

Searched defs:interfaceName (Results 1 – 25 of 62) sorted by relevance

123

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/Mock/
H A Dmock_network_interface.cpp21 bool IsValidInterfaceName(const std::string &interfaceName) in IsValidInterfaceName()
26 bool IsInterfaceUp(const std::string &interfaceName) in IsInterfaceUp()
31 void Dump(const std::string &interfaceName) in Dump()
37const std::string &interfaceName, MacAddress &Mac, Ipv4Address &IPv4, std::vector<Ipv6Address> &ve… in FetchInterfaceConfig()
42 bool GetIpv4Address(const std::string &interfaceName, Ipv4Address &IPv4) in GetIpv4Address()
47 bool GetAllIpv6Address(const std::string &interfaceName, std::vector<Ipv6Address> &vecIPv6) in GetAllIpv6Address()
52 bool IsExistAddressForInterface(const std::string &interfaceName, const BaseAddress &address) in IsExistAddressForInterface()
57 bool AddIpAddress(const std::string &interfaceName, const BaseAddress &IpAddress) in AddIpAddress()
62 bool DelIpAddress(const std::string &interfaceName, const BaseAddress &IpAddress) in DelIpAddress()
67 bool ClearAllIpAddress(const std::string &interfaceName) in ClearAllIpAddress()
[all …]
/ohos5.0/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dphysical_network_test.cpp92 std::string interfaceName = "test"; variable
111 std::string interfaceName = "wlan0"; variable
120 std::string interfaceName = "wlan0"; variable
128 std::string interfaceName = "test"; variable
142 std::string interfaceName = "wlan0"; variable
152 std::string interfaceName = "wlan0"; variable
162 std::string interfaceName = "wlan0"; variable
H A Dinterface_manager_test.cpp53 std::string interfaceName = "IfaceNameIsExtMax16"; variable
61 std::string interfaceName; variable
69 std::string interfaceName = "eth0"; variable
76 std::string interfaceName = "eth0"; variable
102 std::string interfaceName = "eth0"; variable
124 std::string interfaceName = "eth0"; variable
138 std::string interfaceName = "eth"; variable
147 std::string interfaceName = "eth"; variable
155 std::string interfaceName = "eth0"; variable
177 std::string interfaceName = "eth0"; variable
H A Dlocal_network_test.cpp51 std::string interfaceName = "waln0"; variable
/ohos5.0/drivers/hdf_core/adapter/uhdf2/hdi/src/
H A Dobject_collector.cpp32 bool ObjectCollector::ConstructorRegister(const std::u16string &interfaceName, const Constructor &c… in ConstructorRegister()
42 void ObjectCollector::ConstructorUnRegister(const std::u16string &interfaceName) in ConstructorUnRegister()
49 const OHOS::sptr<HdiBase> &interface, const std::u16string &interfaceName) in NewObjectLocked()
63 const OHOS::sptr<HdiBase> &interface, const std::u16string &interfaceName) in NewObject()
70 const OHOS::sptr<HdiBase> &interface, const std::u16string &interfaceName) in GetOrNewObject()
H A Dhdi_support.cpp49 static std::string TransFileName(const std::string &interfaceName) in TransFileName()
70 static std::string ParseLibName(const std::string &interfaceName, const std::string &serviceName, in ParseLibName()
111 std::string interfaceName = result[INTERFACE_NAME_INDEX]; in ParseInterface() local
138 std::string interfaceName; in LoadHdiImpl() local
187 std::string interfaceName; in UnloadHdiImpl() local
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/
H A Ddata_flow_statistics.cpp52 int64_t DataFlowStatistics::GetIfaceRxBytes(const std::string &interfaceName) in GetIfaceRxBytes()
57 int64_t DataFlowStatistics::GetIfaceTxBytes(const std::string &interfaceName) in GetIfaceTxBytes()
62 int64_t DataFlowStatistics::GetIfaceRxPackets(const std::string &interfaceName) in GetIfaceRxPackets()
67 int64_t DataFlowStatistics::GetIfaceTxPackets(const std::string &interfaceName) in GetIfaceTxPackets()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
H A Dnetwork_interface.cpp37 bool NetworkInterface::IsValidInterfaceName(const std::string &interfaceName) in IsValidInterfaceName()
59 void NetworkInterface::Dump(const std::string &interfaceName) in Dump()
83const std::string &interfaceName, std::vector<Ipv4Address> &vecIPv4, std::vector<Ipv6Address> &vec… in FetchInterfaceConfig()
92 bool NetworkInterface::GetIpv4Address(const std::string &interfaceName, std::vector<Ipv4Address> &v… in GetIpv4Address()
106 bool NetworkInterface::GetAllIpv6Address(const std::string &interfaceName, std::vector<Ipv6Address>… in GetAllIpv6Address()
116 bool NetworkInterface::IsExistAddressForInterface(const std::string &interfaceName, const BaseAddre… in IsExistAddressForInterface()
140 bool NetworkInterface::AddIpAddress(const std::string &interfaceName, const BaseAddress &ipAddress) in AddIpAddress()
164 bool NetworkInterface::DelIpAddress(const std::string &interfaceName, const BaseAddress &ipAddress) in DelIpAddress()
186 bool NetworkInterface::ClearAllIpAddress(const std::string &interfaceName) in ClearAllIpAddress()
252const std::string &interfaceName, std::vector<Ipv4Address> &vecipv4, std::vector<Ipv6Address> &vec… in FetchIpAddress()
[all …]
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dlocal_network.cpp27 int32_t LocalNetwork::AddInterface(std::string &interfaceName) in AddInterface()
43 int32_t LocalNetwork::RemoveInterface(std::string &interfaceName) in RemoveInterface()
H A Dphysical_network.cpp51 int32_t PhysicalNetwork::AddInterface(std::string &interfaceName) in AddInterface()
72 int32_t PhysicalNetwork::RemoveInterface(std::string &interfaceName) in RemoveInterface()
H A Dvirtual_network.cpp69 int32_t VirtualNetwork::AddInterface(std::string &interfaceName) in AddInterface()
92 int32_t VirtualNetwork::RemoveInterface(std::string &interfaceName) in RemoveInterface()
H A Dnetsys_network.cpp34 bool NetsysNetwork::ExistInterface(std::string &interfaceName) in ExistInterface()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Droute_manager.cpp115 int32_t RouteManager::AddRoute(TableType tableType, const std::string &interfaceName, in AddRoute()
130 int32_t RouteManager::RemoveRoute(TableType tableType, const std::string &interfaceName, in RemoveRoute()
143 int32_t RouteManager::UpdateRoute(TableType tableType, const std::string &interfaceName, in UpdateRoute()
284 int32_t RouteManager::UpdateVpnOutputToLocalRule(const std::string &interfaceName, bool add) in UpdateVpnOutputToLocalRule()
321 int32_t RouteManager::AddUsersToVirtualNetwork(int32_t netId, const std::string &interfaceName, in AddUsersToVirtualNetwork()
333 int32_t RouteManager::UpdateVirtualNetwork(int32_t netId, const std::string &interfaceName, in UpdateVirtualNetwork()
538 int32_t RouteManager::RemoveClatTunInterface(const std::string &interfaceName) in RemoveClatTunInterface()
623 int32_t RouteManager::ClearRoutes(const std::string &interfaceName, int32_t netId) in ClearRoutes()
664 int32_t RouteManager::UpdatePhysicalNetwork(uint16_t netId, const std::string &interfaceName, in UpdatePhysicalNetwork()
693 int32_t RouteManager::UpdateIncomingPacketMark(uint16_t netId, const std::string &interfaceName, in UpdateIncomingPacketMark()
[all …]
H A Dconn_manager.cpp98 std::string interfaceName; in CreatePhysicalNetwork() local
205 int32_t ConnManager::GetNetworkForInterface(int32_t netId, std::string &interfaceName) in GetNetworkForInterface()
228 int32_t ConnManager::AddInterfaceToNetwork(int32_t netId, std::string &interfaceName, in AddInterfaceToNetwork()
270 int32_t ConnManager::RemoveInterfaceFromNetwork(int32_t netId, std::string &interfaceName) in RemoveInterfaceFromNetwork()
303 int32_t ConnManager::AddRoute(int32_t netId, std::string interfaceName, std::string destination, st… in AddRoute()
308 int32_t ConnManager::RemoveRoute(int32_t netId, std::string interfaceName, std::string destination,… in RemoveRoute()
313 int32_t ConnManager::UpdateRoute(int32_t netId, std::string interfaceName, std::string destination,… in UpdateRoute()
H A Dinterface_manager.cpp78 int InterfaceManager::GetMtu(const char *interfaceName) in GetMtu()
115 int InterfaceManager::SetMtu(const char *interfaceName, const char *mtuValue) in SetMtu()
178 int InterfaceManager::ModifyAddress(uint32_t action, const char *interfaceName, const char *addr, i… in ModifyAddress()
224 int InterfaceManager::AddAddress(const char *interfaceName, const char *addr, int prefixLen) in AddAddress()
229 int InterfaceManager::DelAddress(const char *interfaceName, const char *addr, int prefixLen) in DelAddress()
236 int InterfaceManager::DelAddress(const char *interfaceName, const char *addr, int prefixLen, in DelAddress()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/memory/
H A Drs_interface_code_access_verifier_base_test.cpp121 CodeUnderlyingType interfaceName = 1.0; variable
138 CodeUnderlyingType interfaceName = 1.0; variable
182 CodeUnderlyingType interfaceName = 1.0; variable
196 CodeUnderlyingType interfaceName = 1.0; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/transaction/
H A Drs_irender_service_connection_ipc_interface_code_access_verifier.cpp378 CodeEnumType interfaceName = mapping.first; in AddRSIRenderServiceConnectionInterfaceCodePermission() local
392 auto interfaceName = static_cast<CodeEnumType>(code); in IsAccessTimesVerificationPassed() local
H A Drs_irender_service_ipc_interface_code_access_verifier.cpp46 CodeEnumType interfaceName = mapping.first; in AddRSIRenderServiceInterfaceCodePermission() local
60 auto interfaceName = static_cast<CodeEnumType>(code); in IsAccessTimesVerificationPassed() local
/ohos5.0/foundation/communication/netmanager_base/services/netsyscontroller/src/
H A Dmock_netsys_native_client.cpp360 static int64_t GetUidOnIfaceBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceBytes()
367 int64_t MockNetsysNativeClient::GetUidOnIfaceRxBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceRxBytes()
374 int64_t MockNetsysNativeClient::GetUidOnIfaceTxBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceTxBytes()
381 int64_t MockNetsysNativeClient::GetIfaceBytes(const std::string &interfaceName, const std::string &… in GetIfaceBytes()
398 int64_t MockNetsysNativeClient::GetIfaceRxBytes(const std::string &interfaceName) in GetIfaceRxBytes()
407 int64_t MockNetsysNativeClient::GetIfaceTxBytes(const std::string &interfaceName) in GetIfaceTxBytes()
416 int64_t MockNetsysNativeClient::GetIfaceRxPackets(const std::string &interfaceName) in GetIfaceRxPackets()
425 int64_t MockNetsysNativeClient::GetIfaceTxPackets(const std::string &interfaceName) in GetIfaceTxPackets()
607 int32_t MockNetsysNativeClient::SetIpv6PrivacyExtensions(const std::string &interfaceName, const ui… in SetIpv6PrivacyExtensions()
612 int32_t MockNetsysNativeClient::SetEnableIpv6(const std::string &interfaceName, const uint32_t on) in SetEnableIpv6()
H A Dnetsys_controller.cpp459 int64_t NetsysController::GetUidOnIfaceRxBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceRxBytes()
469 int64_t NetsysController::GetUidOnIfaceTxBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceTxBytes()
479 int64_t NetsysController::GetIfaceRxBytes(const std::string &interfaceName) in GetIfaceRxBytes()
489 int64_t NetsysController::GetIfaceTxBytes(const std::string &interfaceName) in GetIfaceTxBytes()
519 int64_t NetsysController::GetIfaceRxPackets(const std::string &interfaceName) in GetIfaceRxPackets()
529 int64_t NetsysController::GetIfaceTxPackets(const std::string &interfaceName) in GetIfaceTxPackets()
920 …t NetsysController::GetIfaceStats(uint64_t &stats, uint32_t type, const std::string &interfaceName) in GetIfaceStats()
1184 int32_t NetsysController::SetIpv6PrivacyExtensions(const std::string &interfaceName, const uint32_t… in SetIpv6PrivacyExtensions()
1193 int32_t NetsysController::SetEnableIpv6(const std::string &interfaceName, const uint32_t on) in SetEnableIpv6()
1239 int32_t NetsysController::StartClat(const std::string &interfaceName, int32_t netId, const std::str… in StartClat()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimation_pub.cpp28 const char* GetAnimationInterfaceName(AnimationInterface interfaceName) in GetAnimationInterfaceName()
/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_report_sys_event.cpp26 void UsbReportSysEvent::ReportTransforFaultSysEvent(const std::string interfaceName, in ReportTransforFaultSysEvent()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/permissionmanager/
H A Dpermission_manager.cpp134 bool PermissionManager::CheckInterfacePermission(const std::string& interfaceName) in CheckInterfacePermission()
147 bool PermissionManager::IsCallerTrust(const std::string& interfaceName) in IsCallerTrust()
242 …ssionManager::SetPermissionMap(const cJSON* const permissionJson, const std::string& interfaceName) in SetPermissionMap()
/ohos5.0/drivers/hdf_core/framework/test/fuzztest/uhdf2_ipc_fuzzer/ipc_fuzzer/
H A Dhdfipc_fuzzer.cpp26 const char *interfaceName = parcel.ReadCString(); in HdfIpcFuzzTest() local
/ohos5.0/drivers/hdf_core/framework/test/fuzztest/servmgr_c_fuzzer/listservicebyinterfacedesc_fuzzer/
H A Dlistservicebyinterfacedesc_fuzzer.cpp29 auto interfaceName = parcel.ReadCString(); in ListServiceByInterfaceDescFuzzTest() local

123