/foundation/communication/netmanager_base/services/netsyscontroller/src/ |
H A D | mock_netsys_native_client.cpp | 127 int32_t MockNetsysNativeClient::NetworkAddInterface(int32_t netId, const std::string &iface, NetBearType netBearerType) in NetworkAddInterface() argument 129 NETMGR_LOG_I("Add network interface: netId[%{public}d], iface[%{public}s]", netId, iface.c_str()); in NetworkAddInterface() 133 int32_t MockNetsysNativeClient::NetworkRemoveInterface(int32_t netId, const std::string &iface) in NetworkRemoveInterface() argument 135 NETMGR_LOG_I("Remove network interface: netId[%{public}d], iface[%{public}s]", netId, iface.c_str()); in NetworkRemoveInterface() 156 int32_t MockNetsysNativeClient::SetInterfaceDown(const std::string &iface) in SetInterfaceDown() argument 158 NETMGR_LOG_I("Set interface down: iface[%{public}s]", iface.c_str()); in SetInterfaceDown() 162 int32_t MockNetsysNativeClient::SetInterfaceUp(const std::string &iface) in SetInterfaceUp() argument 577 StartDhcpClient(const std::string &iface, bool bIpv6) StartDhcpClient() argument 584 StopDhcpClient(const std::string &iface, bool bIpv6) StopDhcpClient() argument 597 StartDhcpService(const std::string &iface, const std::string &ipv4addr) StartDhcpService() argument 602 StopDhcpService(const std::string &iface) StopDhcpService() argument [all...] |
H A D | netsys_controller.cpp | 199 int32_t NetsysController::NetworkAddInterface(int32_t netId, const std::string &iface, NetBearType netBearerType) in NetworkAddInterface() argument 201 NETMGR_LOG_I("Add network interface: netId[%{public}d], iface[%{public}s, bearerType[%{public}u]]", netId, in NetworkAddInterface() 202 iface.c_str(), netBearerType); in NetworkAddInterface() 209 return netsysService_->NetworkAddInterface(netId, iface, netBearerType); in NetworkAddInterface() 212 int32_t NetsysController::NetworkRemoveInterface(int32_t netId, const std::string &iface) in NetworkRemoveInterface() argument 214 NETMGR_LOG_I("Remove network interface: netId[%{public}d], iface[%{public}s]", netId, iface.c_str()); in NetworkRemoveInterface() 221 return netsysService_->NetworkRemoveInterface(netId, iface); in NetworkRemoveInterface() 276 int32_t NetsysController::SetInterfaceDown(const std::string &iface) in SetInterfaceDown() argument 278 NETMGR_LOG_I("Set interface down: iface[ in SetInterfaceDown() 288 SetInterfaceUp(const std::string &iface) SetInterfaceUp() argument 883 StartDhcpClient(const std::string &iface, bool bIpv6) StartDhcpClient() argument 895 StopDhcpClient(const std::string &iface, bool bIpv6) StopDhcpClient() argument 919 StartDhcpService(const std::string &iface, const std::string &ipv4addr) StartDhcpService() argument 932 StopDhcpService(const std::string &iface) StopDhcpService() argument [all...] |
/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/ |
H A D | net_stats_database_helper_test.cpp | 115 NETMGR_LOG_I("uid:%{public}d, iface:%{public}s, date:%{public}s", info.uid_, info.iface_.c_str(), in HWTEST_F() 145 std::string iface = "wlan0"; in HWTEST_F() local 146 int32_t ret = helper->SelectData(iface, 0, LONG_MAX, infos); in HWTEST_F() 150 ret = helper->SelectData(iface, date, LONG_MAX, infos); in HWTEST_F() 159 std::string iface = "wlan0"; in HWTEST_F() local 161 int32_t ret = helper->SelectData(iface, uid, 0, LONG_MAX, infos); in HWTEST_F() 165 ret = helper->SelectData(iface, uid, date, LONG_MAX, infos); in HWTEST_F() 226 std::string iface = "wlan0"; in HWTEST_F() local 228 int32_t ret = helper->SelectData(iface, uid, 0, LONG_MAX, infos); in HWTEST_F()
|
/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_configuration.cpp | 72 bool NetworkShareConfiguration::IsUsbIface(const std::string &iface) in IsUsbIface() argument 74 return MatchesDownstreamRegexs(iface, usbRegexs_); in IsUsbIface() 77 bool NetworkShareConfiguration::IsWifiIface(const std::string &iface) in IsWifiIface() argument 79 return MatchesDownstreamRegexs(iface, wifiRegexs_); in IsWifiIface() 82 bool NetworkShareConfiguration::IsBluetoothIface(const std::string &iface) in IsBluetoothIface() argument 84 return MatchesDownstreamRegexs(iface, blueToothRegexs_); in IsBluetoothIface() 157 bool NetworkShareConfiguration::MatchesDownstreamRegexs(const std::string &iface, std::vector<std::string> ®exs) in MatchesDownstreamRegexs() argument 161 if (std::regex_match(iface.c_str(), str_regex)) { in MatchesDownstreamRegexs()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | arrayBestCommonTypes.js | 3 interface iface { } 4 class base implements iface { } 5 class base2 implements iface { } 43 var ifaceObj: iface = null; 56 interface iface { x: string; } 57 class base implements iface { x: string; y: string; } 58 class base2 implements iface { x: string; z: string; } 96 var ifaceObj: iface = null;
|
/kernel/linux/linux-5.10/sound/pci/oxygen/ |
H A D | oxygen_mixer.c | 730 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, \ 739 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, \ 756 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 764 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 771 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 781 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 788 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 796 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 804 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 817 .iface [all...] |
/kernel/linux/linux-6.6/sound/pci/oxygen/ |
H A D | oxygen_mixer.c | 730 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, \ 739 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, \ 756 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 764 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 771 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 781 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 788 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 796 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 804 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 817 .iface [all...] |
/third_party/vk-gl-cts/scripts/opengl/ |
H A D | gen_null_render_context.py | 75 def genNullRenderContext (iface): 76 genCommandList(iface, commandInitStatement, 80 genCommandList(iface, commandDummyImpl,
|
H A D | gen_str_util.py | 961 def genStrUtil (iface): 967 writeInlFile(prototypeFile, indentLines(genStrUtilProtos(iface, enumGroups, bitfieldGroups))) 968 writeInlFile(implFile, genStrUtilImpls(iface, enumGroups, bitfieldGroups))
|
/kernel/linux/linux-5.10/sound/usb/ |
H A D | card.c | 100 MODULE_PARM_DESC(delayed_register, "Quirk for delayed registration, given by id:iface, e.g. 0123abcd:4."); 139 struct usb_interface *iface = usb_ifnum_to_if(dev, interface); in snd_usb_create_stream() local 141 if (!iface) { in snd_usb_create_stream() 147 alts = &iface->altsetting[0]; in snd_usb_create_stream() 160 iface = usb_ifnum_to_if(dev, interface); in snd_usb_create_stream() 161 if (!iface) in snd_usb_create_stream() 163 alts = &iface->altsetting[0]; in snd_usb_create_stream() 167 if (usb_interface_claimed(iface)) { in snd_usb_create_stream() 176 int err = __snd_usbmidi_create(chip->card, iface, in snd_usb_create_stream() 185 return usb_driver_claim_interface(&usb_audio_driver, iface, in snd_usb_create_stream() 293 struct usb_interface *iface = snd_usb_create_streams() local 661 check_delayed_register_option(struct snd_usb_audio *chip, int iface) check_delayed_register_option() argument [all...] |
H A D | quirks.h | 10 struct usb_interface *iface, 15 int iface, 54 bool snd_usb_registration_quirk(struct snd_usb_audio *chip, int iface);
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_debug.c | 55 usb_dump_iface(struct usb_interface *iface) in usb_dump_iface() argument 57 if (iface == NULL) { in usb_dump_iface() 60 PRINTK(" iface=%p idesc=%p altindex=%d\n", in usb_dump_iface() 61 iface, iface->idesc, iface->alt_index); in usb_dump_iface()
|
/kernel/linux/linux-5.10/drivers/crypto/qce/ |
H A D | core.c | 196 qce->iface = devm_clk_get(qce->dev, "iface"); in qce_crypto_probe() 197 if (IS_ERR(qce->iface)) in qce_crypto_probe() 198 return PTR_ERR(qce->iface); in qce_crypto_probe() 208 ret = clk_prepare_enable(qce->iface); in qce_crypto_probe() 243 clk_disable_unprepare(qce->iface); in qce_crypto_probe() 257 clk_disable_unprepare(qce->iface); in qce_crypto_remove()
|
/foundation/communication/netmanager_ext/services/ethernetmanager/src/ |
H A D | ethernet_configuration.cpp | 41 const std::string CONFIG_KEY_ETH_IFACE = "iface"; 91 std::string iface; in ReadEthernetInterfaces() local 96 iface = cJSON_GetStringValue(ethIface); in ReadEthernetInterfaces() 99 iface = cJSON_GetStringValue(lanIface); in ReadEthernetInterfaces() 114 devCaps[iface] = caps; in ReadEthernetInterfaces() 116 const auto &fit = devCfgs.find(iface); in ReadEthernetInterfaces() 118 NETMGR_EXT_LOG_E("The iface=%{public}s device have set!", fit->first.c_str()); in ReadEthernetInterfaces() 127 if (cJSON_GetObjectItem(item, CONFIG_KEY_ETH_IP.c_str()) && std::regex_search(iface, re)) { in ReadEthernetInterfaces() 128 devCfgs[iface] = config; in ReadEthernetInterfaces() 194 std::string iface; in ReadUserConfiguration() local 223 WriteUserConfiguration(const std::string &iface, sptr<InterfaceConfiguration> &cfg) WriteUserConfiguration() argument 473 ParserFileConfig(const std::string &fileContent, std::string &iface, sptr<InterfaceConfiguration> cfg) ParserFileConfig() argument 482 ParseDevice(const std::string &fileContent, std::string &iface) ParseDevice() argument 637 GenCfgContent(const std::string &iface, sptr<InterfaceConfiguration> cfg, std::string &fileContent) GenCfgContent() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | message.c | 1526 struct usb_interface *iface; in usb_set_interface() local 1536 iface = usb_ifnum_to_if(dev, interface); in usb_set_interface() 1537 if (!iface) { in usb_set_interface() 1542 if (iface->unregistering) in usb_set_interface() 1545 alt = usb_altnum_to_altsetting(iface, alternate); in usb_set_interface() 1556 usb_disable_interface(dev, iface, false); in usb_set_interface() 1566 dev_err(&iface->dev, "%s Failed to disable LPM\n", __func__); in usb_set_interface() 1571 for (i = 0; i < iface->cur_altsetting->desc.bNumEndpoints; i++) in usb_set_interface() 1572 iface->cur_altsetting->endpoint[i].streams = 0; in usb_set_interface() 1574 ret = usb_hcd_alloc_bandwidth(dev, NULL, iface in usb_set_interface() 1895 struct usb_interface *iface = __usb_queue_reset_device() local 1913 struct usb_interface *iface = __usb_wireless_status_intf() local 1933 usb_set_wireless_status(struct usb_interface *iface, enum usb_wireless_status status) usb_set_wireless_status() argument [all...] |
/kernel/linux/linux-5.10/sound/i2c/other/ |
H A D | ak4113.c | 354 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 363 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 372 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 381 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 390 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 398 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 405 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 413 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 421 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 429 .iface [all...] |
H A D | ak4117.c | 310 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 318 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 326 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 334 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 342 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 349 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 356 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 363 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 370 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 377 .iface [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | wm8974.c | 452 u16 iface = 0; in wm8974_set_dai_fmt() local 469 iface |= 0x0010; in wm8974_set_dai_fmt() 474 iface |= 0x0008; in wm8974_set_dai_fmt() 481 iface |= 0x00018; in wm8974_set_dai_fmt() 492 iface |= 0x0180; in wm8974_set_dai_fmt() 495 iface |= 0x0100; in wm8974_set_dai_fmt() 498 iface |= 0x0080; in wm8974_set_dai_fmt() 504 snd_soc_component_write(component, WM8974_IFACE, iface); in wm8974_set_dai_fmt() 515 u16 iface = snd_soc_component_read(component, WM8974_IFACE) & 0x19f; in wm8974_pcm_hw_params() local 529 iface | in wm8974_pcm_hw_params() [all...] |
/kernel/linux/linux-6.6/sound/i2c/other/ |
H A D | ak4113.c | 354 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 363 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 372 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 381 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 390 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 398 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 405 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 413 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 421 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 429 .iface [all...] |
H A D | ak4117.c | 311 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 319 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 327 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 335 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 343 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 350 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 357 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 364 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 371 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 378 .iface [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | wm8974.c | 452 u16 iface = 0; in wm8974_set_dai_fmt() local 469 iface |= 0x0010; in wm8974_set_dai_fmt() 474 iface |= 0x0008; in wm8974_set_dai_fmt() 481 iface |= 0x00018; in wm8974_set_dai_fmt() 492 iface |= 0x0180; in wm8974_set_dai_fmt() 495 iface |= 0x0100; in wm8974_set_dai_fmt() 498 iface |= 0x0080; in wm8974_set_dai_fmt() 504 snd_soc_component_write(component, WM8974_IFACE, iface); in wm8974_set_dai_fmt() 515 u16 iface = snd_soc_component_read(component, WM8974_IFACE) & 0x19f; in wm8974_pcm_hw_params() local 529 iface | in wm8974_pcm_hw_params() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | ieee802_11.c | 112 if (hapd->iface->current_rates == NULL) in hostapd_eid_supp_rates() 116 num = hapd->iface->num_rates; in hostapd_eid_supp_rates() 134 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num; in hostapd_eid_supp_rates() 137 *pos = hapd->iface->current_rates[i].rate / 5; in hostapd_eid_supp_rates() 138 if (hapd->iface->current_rates[i].flags & HOSTAPD_RATE_BASIC) in hostapd_eid_supp_rates() 168 if (hapd->iface->current_rates == NULL) in hostapd_eid_ext_supp_rates() 171 num = hapd->iface->num_rates; in hostapd_eid_ext_supp_rates() 188 for (i = 0, count = 0; i < hapd->iface->num_rates && count < num + 8; in hostapd_eid_ext_supp_rates() 193 *pos = hapd->iface->current_rates[i].rate / 5; in hostapd_eid_ext_supp_rates() 194 if (hapd->iface in hostapd_eid_ext_supp_rates() 6790 struct hostapd_iface *iface = hapd->iface; hostapd_tx_status() local 6820 struct hostapd_iface *iface = hapd->iface; hostapd_eapol_tx_status() local 6846 struct hostapd_iface *iface = hapd->iface; hostapd_client_poll_ok() local 6940 struct hostapd_iface *iface = hapd->iface; hostapd_eid_txpower_envelope() local 7201 struct hostapd_iface *iface; get_colocation_mode() local 7225 struct hostapd_iface *iface; hostapd_eid_rnr_colocation_len() local 7342 struct hostapd_iface *iface = hapd->iface; hostapd_eid_rnr_iface() local 7426 struct hostapd_iface *iface; hostapd_eid_rnr_colocation() local [all...] |
/foundation/communication/netmanager_ext/services/ethernetmanager/include/ |
H A D | ethernet_dhcp_controller.h | 51 void StartClient(const std::string &iface, bool bIpv6); 52 void StopClient(const std::string &iface, bool bIpv6); 54 void OnDhcpSuccess(const std::string &iface, DhcpResult *result);
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ |
H A D | ap_monitor.h | 63 * @param iface - use interface 67 virtual void RegisterHandler(const std::string &iface, const std::function<HandlerApMethod> &handler); 71 * @param iface - use interface 74 virtual void UnregisterHandler(const std::string &iface); 78 * @param iface - use interface 85 virtual void SendMessage(const std::string &iface, ApStatemachineEvent msgName, int param1, int param2,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
H A D | ap_ctrl_iface.c | 763 ret = hostapd_drv_send_action(hapd, hapd->iface->freq, 0, addr, in hostapd_ctrl_iface_send_qos_map_conf() 1510 ieee802_11_update_beacons(hapd->iface); in hostapd_ctrl_iface_set() 1546 if (ieee802_11_update_beacons(hapd->iface)) in hostapd_ctrl_iface_set() 1609 int hostapd_ctrl_iface_enable(struct hostapd_iface *iface) in hostapd_ctrl_iface_enable() argument 1611 if (hostapd_enable_iface(iface) < 0) { in hostapd_ctrl_iface_enable() 1619 static int hostapd_ctrl_iface_reload(struct hostapd_iface *iface) in hostapd_ctrl_iface_reload() argument 1621 if (hostapd_reload_iface(iface) < 0) { in hostapd_ctrl_iface_reload() 1629 int hostapd_ctrl_iface_disable(struct hostapd_iface *iface) in hostapd_ctrl_iface_disable() argument 1631 if (hostapd_disable_iface(iface) < 0) { in hostapd_ctrl_iface_disable() 2090 ifname = hapd->conf->iface; in hostapd_ctrl_iface_data_test_config() 2761 hostapd_ctrl_iface_chan_switch(struct hostapd_iface *iface, char *pos) hostapd_ctrl_iface_chan_switch() argument 3031 struct hostapd_iface *iface = hapd->iface; hostapd_ctrl_iface_track_sta_list() local 3329 hostapd_ctrl_driver_flags(struct hostapd_iface *iface, char *buf, size_t buflen) hostapd_ctrl_driver_flags() argument 3357 hostapd_ctrl_driver_flags2(struct hostapd_iface *iface, char *buf, size_t buflen) hostapd_ctrl_driver_flags2() argument 4580 struct hostapd_iface *iface = interfaces->iface[i]; hostapd_interfaces_get_hapd() local 4666 struct hostapd_iface *iface; hostapd_global_ctrl_iface_interfaces() local [all...] |