/hardware/interfaces/wifi/aidl/default/tests/ |
D | mock_interface_tool.h | 30 MOCK_METHOD1(GetUpState, bool(const char* if_name)); 31 MOCK_METHOD2(SetUpState, bool(const char* if_name, bool request_up)); 34 bool(const char* if_name, const std::array<uint8_t, ETH_ALEN>& address)); 35 MOCK_METHOD1(GetFactoryMacAddress, std::array<uint8_t, ETH_ALEN>(const char* if_name));
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_OffloadManager.h | 97 bool push_framework_event(const char * if_name, _ipacm_offload_prefix prefix); 113 int ipa_get_if_index(const char *if_name, int *if_index); 118 int push_iface_up(const char *if_name, bool upstream);
|
D | IPACM_Iface.h | 136 virtual int ipa_get_if_index(char * if_name, int * if_index);
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_OffloadManager.cpp | 736 int IPACM_OffloadManager::ipa_get_if_index(const char * if_name, int * if_index) in ipa_get_if_index() argument 747 if(strnlen(if_name, sizeof(if_name)) >= sizeof(ifr.ifr_name)) { in ipa_get_if_index() 748 IPACMERR("interface name overflows: len %zu\n", strnlen(if_name, sizeof(if_name))); in ipa_get_if_index() 754 (void)strlcpy(ifr.ifr_name, if_name, sizeof(ifr.ifr_name)); in ipa_get_if_index() 755 IPACMDBG_H("interface name (%s)\n", if_name); in ipa_get_if_index() 867 int IPACM_OffloadManager::push_iface_up(const char * if_name, bool upstream) in push_iface_up() argument 875 if_name, upstream); in push_iface_up() 877 if(ipa_get_if_index(if_name, &index)) in push_iface_up() 879 IPACMERR("netdev(%s) not registered ignored\n", if_name); in push_iface_up() 883 if(strncmp(if_name, "rmnet_data", 10) == 0 && upstream) in push_iface_up() [all …]
|
D | IPACM_Main.cpp | 105 int ipa_get_if_index(char *if_name, int *if_index); 892 mtu_info->if_name, mtu_info->ip_type, mtu_info->mtu_v4, mtu_info->mtu_v6); in ipa_driver_msg_notifier() 900 ipa_get_if_index(mtu_info->if_name, &(mtu_event->if_index)); in ipa_driver_msg_notifier() 1162 char *if_name, in ipa_get_if_index() argument 1177 (void)strlcpy(ifr.ifr_name, if_name, sizeof(ifr.ifr_name)); in ipa_get_if_index() 1181 IPACMERR("call_ioctl_on_dev: ioctl failed: can't find device %s",if_name); in ipa_get_if_index()
|
D | IPACM_Iface.cpp | 1015 char * if_name, in ipa_get_if_index() argument 1028 if(strlen(if_name) >= sizeof(ifr.ifr_name)) in ipa_get_if_index() 1030 IPACMERR("interface name overflows: len %zu\n", strlen(if_name)); in ipa_get_if_index() 1036 (void)strlcpy(ifr.ifr_name, if_name, sizeof(ifr.ifr_name)); in ipa_get_if_index() 1037 IPACMDBG_H("interface name (%s)\n", if_name); in ipa_get_if_index()
|
D | IPACM_Netlink.cpp | 50 int ipa_get_if_name(char *if_name, int if_index); 1608 char *if_name, in ipa_get_if_name() argument 1632 (void)strlcpy(if_name, ifr.ifr_name, sizeof(ifr.ifr_name)); in ipa_get_if_name()
|
D | IPACM_Wan.cpp | 167 memcpy(mtu_info->if_name, dev_name, IPA_IFACE_NAME_LEN); in IPACM_Wan() 175 IPACMDBG_H("send WAN_IOC_GET_WAN_MTU for %s\n", mtu_info->if_name); in IPACM_Wan() 188 mtu_v4, mtu_info->if_name); in IPACM_Wan() 195 mtu_v6, mtu_info->if_name); in IPACM_Wan() 1870 mtu_v4, mtu_info->if_name, mtu_default_wan_v4); in event_callback() 1883 mtu_v6, mtu_info->if_name, mtu_default_wan_v6); in event_callback()
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | DevicesFactory.cpp | 118 int DevicesFactory::loadAudioInterface(const char* if_name, audio_hw_device_t** dev) { in loadAudioInterface() argument 122 rc = hw_get_module_by_class(AUDIO_HARDWARE_MODULE_ID, if_name, &mod); in loadAudioInterface() 125 if_name, strerror(-rc)); in loadAudioInterface() 131 if_name, strerror(-rc)); in loadAudioInterface()
|
/hardware/interfaces/wifi/aidl/default/ |
D | wifi_iface_util.cpp | 162 bool WifiIfaceUtil::addIfaceToBridge(const std::string& br_name, const std::string& if_name) { in addIfaceToBridge() argument 163 return iface_tool_.lock()->addIfaceToBridge(br_name, if_name); in addIfaceToBridge() 166 bool WifiIfaceUtil::removeIfaceFromBridge(const std::string& br_name, const std::string& if_name) { in removeIfaceFromBridge() argument 167 return iface_tool_.lock()->removeIfaceFromBridge(br_name, if_name); in removeIfaceFromBridge()
|
D | wifi_iface_util.h | 65 virtual bool addIfaceToBridge(const std::string& br_name, const std::string& if_name); 67 virtual bool removeIfaceFromBridge(const std::string& br_name, const std::string& if_name);
|
D | wifi_chip.cpp | 1862 void WifiChip::deleteApIface(const std::string& if_name) { in deleteApIface() argument 1863 if (if_name.empty()) return; in deleteApIface() 1866 if (it.first == if_name) { in deleteApIface() 1868 iface_util_->removeIfaceFromBridge(if_name, iface); in deleteApIface() 1871 iface_util_->deleteBridge(if_name); in deleteApIface() 1872 br_ifaces_ap_instances_.erase(if_name); in deleteApIface() 1879 legacy_hal::wifi_error legacy_status = legacy_hal_.lock()->deleteVirtualInterface(if_name); in deleteApIface() 1881 LOG(ERROR) << "Failed to remove interface: " << if_name << " " in deleteApIface()
|
D | wifi_chip.h | 266 void deleteApIface(const std::string& if_name);
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_OffloadManager.cpp | 631 int IPACM_OffloadManager::ipa_get_if_index(const char * if_name, int * if_index) in ipa_get_if_index() argument 642 if(strnlen(if_name, sizeof(if_name)) >= sizeof(ifr.ifr_name)) { in ipa_get_if_index() 643 IPACMERR("interface name overflows: len %zu\n", strnlen(if_name, sizeof(if_name))); in ipa_get_if_index() 649 (void)strncpy(ifr.ifr_name, if_name, sizeof(ifr.ifr_name)); in ipa_get_if_index() 650 IPACMDBG_H("interface name (%s)\n", if_name); in ipa_get_if_index()
|
D | IPACM_Iface.cpp | 929 char * if_name, in ipa_get_if_index() argument 942 if(strlen(if_name) >= sizeof(ifr.ifr_name)) in ipa_get_if_index() 944 IPACMERR("interface name overflows: len %zu\n", strlen(if_name)); in ipa_get_if_index() 950 (void)strlcpy(ifr.ifr_name, if_name, sizeof(ifr.ifr_name)); in ipa_get_if_index() 951 IPACMDBG_H("interface name (%s)\n", if_name); in ipa_get_if_index()
|
D | IPACM_Main.cpp | 107 int ipa_get_if_index(char *if_name, int *if_index); 964 char *if_name, in ipa_get_if_index() argument 979 (void)strlcpy(ifr.ifr_name, if_name, sizeof(ifr.ifr_name)); in ipa_get_if_index() 983 IPACMERR("call_ioctl_on_dev: ioctl failed: can't find device %s",if_name); in ipa_get_if_index()
|
D | IPACM_Netlink.cpp | 50 int ipa_get_if_name(char *if_name, int if_index); 1598 char *if_name, in ipa_get_if_name() argument 1622 (void)strncpy(if_name, ifr.ifr_name, sizeof(ifr.ifr_name)); in ipa_get_if_name()
|
/hardware/libhardware/modules/audio_remote_submix/tests/ |
D | remote_submix_tests.cpp | 33 static status_t load_audio_interface(const char* if_name, audio_hw_device_t **dev) in load_audio_interface() argument 38 rc = hw_get_module_by_class(AUDIO_HARDWARE_MODULE_ID, if_name, &mod); in load_audio_interface() 41 AUDIO_HARDWARE_MODULE_ID, if_name, strerror(-rc)); in load_audio_interface() 47 AUDIO_HARDWARE_MODULE_ID, if_name, strerror(-rc)); in load_audio_interface()
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
D | IPACM_Iface.h | 136 virtual int ipa_get_if_index(char * if_name, int * if_index);
|
D | IPACM_OffloadManager.h | 109 int ipa_get_if_index(const char *if_name, int *if_index);
|
/hardware/interfaces/audio/core/all-versions/default/include/core/default/ |
D | DevicesFactory.h | 59 static int loadAudioInterface(const char* if_name, audio_hw_device_t** dev);
|