Home
last modified time | relevance | path

Searched refs:if_name (Results 1 – 25 of 34) sorted by relevance

12

/hardware/interfaces/wifi/1.4/default/tests/
Dmock_interface_tool.h30 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,
37 std::array<uint8_t, ETH_ALEN>(const char* if_name));
/hardware/interfaces/audio/core/all-versions/default/
DDevicesFactory.cpp83 int DevicesFactory::loadAudioInterface(const char* if_name, audio_hw_device_t** dev) { in loadAudioInterface() argument
87 rc = hw_get_module_by_class(AUDIO_HARDWARE_MODULE_ID, if_name, &mod); in loadAudioInterface()
90 if_name, strerror(-rc)); in loadAudioInterface()
96 if_name, strerror(-rc)); in loadAudioInterface()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_OffloadManager.cpp692 int IPACM_OffloadManager::ipa_get_if_index(const char * if_name, int * if_index) in ipa_get_if_index() argument
703 if(strnlen(if_name, sizeof(if_name)) >= sizeof(ifr.ifr_name)) { in ipa_get_if_index()
704 IPACMERR("interface name overflows: len %zu\n", strnlen(if_name, sizeof(if_name))); in ipa_get_if_index()
710 (void)strlcpy(ifr.ifr_name, if_name, sizeof(ifr.ifr_name)); in ipa_get_if_index()
711 IPACMDBG_H("interface name (%s)\n", if_name); in ipa_get_if_index()
794 int IPACM_OffloadManager::push_iface_up(const char * if_name, bool upstream) in push_iface_up() argument
802 if_name, upstream); in push_iface_up()
804 if(ipa_get_if_index(if_name, &index)) in push_iface_up()
806 IPACMERR("netdev(%s) not registered ignored\n", if_name); in push_iface_up()
810 if(strncmp(if_name, "rmnet_data", 10) == 0 && upstream) in push_iface_up()
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_OffloadManager.h97 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);
DIPACM_Iface.h136 virtual int ipa_get_if_index(char * if_name, int * if_index);
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_OffloadManager.h97 bool push_framework_event(const char * if_name, _ipacm_offload_prefix prefix);
111 int ipa_get_if_index(const char *if_name, int *if_index);
115 int push_iface_up(const char *if_name, bool upstream);
DIPACM_Iface.h136 virtual int ipa_get_if_index(char * if_name, int * if_index);
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_OffloadManager.cpp709 int IPACM_OffloadManager::ipa_get_if_index(const char * if_name, int * if_index) in ipa_get_if_index() argument
720 if(strnlen(if_name, sizeof(if_name)) >= sizeof(ifr.ifr_name)) { in ipa_get_if_index()
721 IPACMERR("interface name overflows: len %zu\n", strnlen(if_name, sizeof(if_name))); in ipa_get_if_index()
727 (void)strlcpy(ifr.ifr_name, if_name, sizeof(ifr.ifr_name)); in ipa_get_if_index()
728 IPACMDBG_H("interface name (%s)\n", if_name); in ipa_get_if_index()
840 int IPACM_OffloadManager::push_iface_up(const char * if_name, bool upstream) in push_iface_up() argument
848 if_name, upstream); in push_iface_up()
850 if(ipa_get_if_index(if_name, &index)) in push_iface_up()
852 IPACMERR("netdev(%s) not registered ignored\n", if_name); in push_iface_up()
856 if(strncmp(if_name, "rmnet_data", 10) == 0 && upstream) in push_iface_up()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_OffloadManager.cpp631 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()
/hardware/libhardware/modules/audio_remote_submix/tests/
Dremote_submix_tests.cpp33 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/interfaces/audio/core/all-versions/default/include/core/default/
DDevicesFactory.h53 static int loadAudioInterface(const char* if_name, audio_hw_device_t** dev);
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Iface.h136 virtual int ipa_get_if_index(char * if_name, int * if_index);
DIPACM_OffloadManager.h109 int ipa_get_if_index(const char *if_name, int *if_index);
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_rmnet.h110 int8_t if_name[IFNAMSIZ]; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_rmnet.h99 int8_t if_name[IFNAMSIZ]; member
/hardware/qcom/msm8994/kernel-headers/linux/
Dmsm_rmnet.h112 int8_t if_name[IFNAMSIZ]; member
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dmsm_rmnet.h101 int8_t if_name[IFNAMSIZ]; member
/hardware/qcom/msm8x09/original-kernel-headers/linux/
Dmsm_rmnet.h104 int8_t if_name[IFNAMSIZ]; member
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dmsm_rmnet.h104 int8_t if_name[IFNAMSIZ]; member
/hardware/qcom/msm8x09/kernel-headers/linux/
Dmsm_rmnet.h116 int8_t if_name[IFNAMSIZ]; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_rmnet.h116 int8_t if_name[IFNAMSIZ]; member
/hardware/qcom/msm8x26/original-kernel-headers/linux/
Dmsm_rmnet.h104 int8_t if_name[IFNAMSIZ]; member
/hardware/qcom/msm8998/kernel-headers/linux/
Dmsm_rmnet.h116 int8_t if_name[IFNAMSIZ]; member
/hardware/qcom/msm8x26/kernel-headers/linux/
Dmsm_rmnet.h116 int8_t if_name[IFNAMSIZ]; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_rmnet.h104 int8_t if_name[IFNAMSIZ]; member

12