Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 25 of 32) sorted by relevance

12

/device/google/cuttlefish/tests/hal/
Dhal_implementation_test.cpp142 for (const auto& iface : HidlInterfaceMetadata::all()) { in allTreeHidlInterfaces() local
144 CHECK(f.setTo(iface.name)) << iface.name; in allTreeHidlInterfaces()
254 for (const auto& iface : AidlInterfaceMetadata::all()) { in TEST() local
255 ASSERT_FALSE(iface.types.empty()) << iface.name; // sanity in TEST()
256 if (std::none_of(iface.types.begin(), iface.types.end(), isAospAidlInterface)) continue; in TEST()
257 if (iface.stability != "vintf") continue; in TEST()
261 for (const std::string& type : iface.types) { in TEST()
268 ADD_FAILURE() << "Interface in missing list, but available: " << iface.name in TEST()
270 << base::Join(iface.types, "\n "); in TEST()
276 EXPECT_TRUE(hasRegistration) << iface.name << " which declares the following types:\n " in TEST()
[all …]
/device/google/cuttlefish/common/libs/net/
Dnetwork_interface_manager.cpp79 std::unique_ptr<NetworkInterface> iface; in Open() local
92 return iface; in Open()
96 iface.reset(new NetworkInterface(index)); in Open()
97 return iface; in Open()
100 bool NetworkInterfaceManager::ApplyChanges(const NetworkInterface& iface) { in ApplyChanges() argument
101 if (!nl_client_->Send(BuildLinkRequest(iface))) return false; in ApplyChanges()
103 if (!iface.IsOperational()) return true; in ApplyChanges()
104 return nl_client_->Send(BuildAddrRequest(iface)); in ApplyChanges()
/device/linaro/poplar/wifi/wifi_hal/
Dwifi_logger.cpp127 DebugCommand(wifi_interface_handle iface, char *buffer, int *buffer_size, in DebugCommand() argument
129 : WifiCommand("DebugCommand", iface, 0), mBuff(buffer), mBuffSize(buffer_size), mType in DebugCommand()
136 DebugCommand(wifi_interface_handle iface, char *ring_name, GetCmdType cmdType) in DebugCommand() argument
137 : WifiCommand("DebugCommand", iface, 0), mRingName(ring_name), mType(cmdType) in DebugCommand()
141 DebugCommand(wifi_interface_handle iface, u32 *num_rings, in DebugCommand() argument
143 … : WifiCommand("DebugCommand", iface, 0), mNumRings(num_rings), mStatus(status), mType(cmdType) in DebugCommand()
149 DebugCommand(wifi_interface_handle iface, unsigned int *support, GetCmdType cmdType) in DebugCommand() argument
150 : WifiCommand("DebugCommand", iface, 0), mSupport(support), mType(cmdType) in DebugCommand()
154 DebugCommand(wifi_interface_handle iface, u32 verbose_level, u32 flags, in DebugCommand() argument
156 : WifiCommand("DebugCommand", iface, 0), mVerboseLevel(verbose_level), mFlags(flags), in DebugCommand()
[all …]
Drtt.cpp139 GetRttCapabilitiesCommand(wifi_interface_handle iface, wifi_rtt_capabilities *capabitlites) in GetRttCapabilitiesCommand() argument
140 : WifiCommand("GetRttCapabilitiesCommand", iface, 0), mCapabilities(capabitlites) in GetRttCapabilitiesCommand()
186 GetRttResponderInfoCommand(wifi_interface_handle iface, wifi_rtt_responder *responderInfo) in GetRttResponderInfoCommand() argument
187 : WifiCommand("GetRttResponderInfoCommand", iface, 0), mResponderInfo(responderInfo) in GetRttResponderInfoCommand()
236 EnableResponderCommand(wifi_interface_handle iface, int id, wifi_channel_info channel_hint, in EnableResponderCommand() argument
238 : WifiCommand("EnableResponderCommand", iface, 0), mChannelInfo(channel_hint), in EnableResponderCommand()
285 CancelResponderCommand(wifi_interface_handle iface, int id) in CancelResponderCommand() argument
286 : WifiCommand("CancelResponderCommand", iface, 0)/*, mChannelInfo(channel)*/ in CancelResponderCommand()
322 RttCommand(wifi_interface_handle iface, int id, unsigned num_rtt_config, in RttCommand() argument
324 : WifiCommand("RttCommand", iface, id), numRttParams(num_rtt_config), rttParams(rtt_config), in RttCommand()
[all …]
Dgscan.cpp168 wifi_error wifi_enable_full_scan_results(wifi_request_id id, wifi_interface_handle iface,
170 wifi_error wifi_disable_full_scan_results(wifi_request_id id, wifi_interface_handle iface);
195 GetCapabilitiesCommand(wifi_interface_handle iface, wifi_gscan_capabilities *capabitlites) in GetCapabilitiesCommand() argument
196 : WifiCommand("GetGscanCapabilitiesCommand", iface, 0), mCapabilities(capabitlites) in GetCapabilitiesCommand()
252 GetChannelListCommand(wifi_interface_handle iface, wifi_channel *channel_buf, int *ch_num, in GetChannelListCommand() argument
254 : WifiCommand("GetChannelListCommand", iface, 0), channels(channel_buf), in GetChannelListCommand()
394 FullScanResultsCommand(wifi_interface_handle iface, int id, int *params, in FullScanResultsCommand() argument
396 : WifiCommand("FullScanResultsCommand", iface, id), mParams(params), mHandler(handler) in FullScanResultsCommand()
474 ScanCommand(wifi_interface_handle iface, int id, wifi_scan_cmd_params *params, in ScanCommand() argument
476 : WifiCommand("ScanCommand", iface, id), mParams(params), mHandler(handler) in ScanCommand()
[all …]
Dwifi_offload.cpp82 MKeepAliveCommand(wifi_interface_handle iface, u8 index, u8 *ip_packet, u16 ip_packet_len, in MKeepAliveCommand() argument
84 : WifiCommand("MKeepAliveCommand", iface, 0), mIndex(index), mIpPkt(ip_packet), in MKeepAliveCommand()
90 MKeepAliveCommand(wifi_interface_handle iface, u8 index, GetCmdType cmdType) in MKeepAliveCommand() argument
91 : WifiCommand("MKeepAliveCommand", iface, 0), mIndex(index), mType(cmdType) in MKeepAliveCommand()
218 wifi_error wifi_start_sending_offloaded_packet(wifi_request_id index, wifi_interface_handle iface, in wifi_start_sending_offloaded_packet() argument
225 MKeepAliveCommand *cmd = new MKeepAliveCommand(iface, index, ip_packet, ip_packet_len, in wifi_start_sending_offloaded_packet()
238 wifi_error wifi_stop_sending_offloaded_packet(wifi_request_id index, wifi_interface_handle iface) in wifi_stop_sending_offloaded_packet() argument
241 MKeepAliveCommand *cmd = new MKeepAliveCommand(iface, index, STOP_MKEEP_ALIVE); in wifi_stop_sending_offloaded_packet()
Dlink_layer_stats.cpp54 GetLinkStatsCommand(wifi_interface_handle iface, wifi_stats_result_handler handler) in GetLinkStatsCommand() argument
55 : WifiCommand("GetLinkStatsCommand", iface, 0), mHandler(handler) in GetLinkStatsCommand()
120 wifi_interface_handle iface, wifi_stats_result_handler handler) in wifi_get_link_stats() argument
122 GetLinkStatsCommand command(iface, handler); in wifi_get_link_stats()
Dcpp_bindings.h164 WifiRequest(int family, int iface) { in WifiRequest() argument
167 mIface = iface; in WifiRequest()
249 WifiCommand(const char *type, wifi_interface_handle iface, wifi_request_id id) in WifiCommand() argument
250 : mType(type), mMsg(getHalInfo(iface)->nl80211_family_id, getIfaceInfo(iface)->id), in WifiCommand()
253 mIfaceInfo = getIfaceInfo(iface); in WifiCommand()
254 mInfo = getHalInfo(iface); in WifiCommand()
Dwifi_hal.cpp80 iface, s8 max_rssi, s8 min_rssi, wifi_rssi_event_handler eh);
81 static wifi_error wifi_stop_rssi_monitoring(wifi_request_id id, wifi_interface_handle iface);
86 static wifi_error wifi_configure_nd_offload(wifi_interface_handle iface, u8 enable);
1290 iface, s8 max_rssi, s8 min_rssi, wifi_rssi_event_handler eh) in wifi_start_rssi_monitoring() argument
1293 wifi_handle handle = getWifiHandle(iface); in wifi_start_rssi_monitoring()
1294 SetRSSIMonitorCommand *cmd = new SetRSSIMonitorCommand(id, iface, max_rssi, min_rssi, eh); in wifi_start_rssi_monitoring()
1310 static wifi_error wifi_stop_rssi_monitoring(wifi_request_id id, wifi_interface_handle iface) in wifi_stop_rssi_monitoring() argument
1317 wifi_handle handle = getWifiHandle(iface); in wifi_stop_rssi_monitoring()
1319 SetRSSIMonitorCommand *cmd = new SetRSSIMonitorCommand(id, iface, in wifi_stop_rssi_monitoring()
1326 return wifi_cancel_cmd(id, iface); in wifi_stop_rssi_monitoring()
Dcommon.cpp249 wifi_error wifi_cancel_cmd(wifi_request_id id, wifi_interface_handle iface) in wifi_cancel_cmd() argument
251 wifi_handle handle = getWifiHandle(iface); in wifi_cancel_cmd()
Dcommon.h258 wifi_error wifi_cancel_cmd(wifi_request_id id, wifi_interface_handle iface);
/device/generic/goldfish/wifi/wifi_hal/
Dinfo.cpp31 for (auto& iface : mInterfaces) { in init() local
32 if (!iface.init()) { in init()
Dinterface.cpp279 ifStats.iface = reinterpret_cast<wifi_interface_handle>(this); in onLinkStatsReply()
/device/generic/goldfish-opengl/system/egl/
DClientAPIExts.cpp65 void initClientFuncs(const EGLClient_glesInterface *iface, int idx) in initClientFuncs() argument
69 (FUNC_TYPE(fname))iface->getProcAddress(#fname); in initClientFuncs()
DClientAPIExts.h24 void initClientFuncs(const EGLClient_glesInterface *iface, int idx);
/device/google/cuttlefish/host/frontend/gcastv2/https/
DServerSocket.cpp36 const char *iface, in ServerSocket() argument
72 addr.sin_addr.s_addr = inet_addr(iface); in ServerSocket()
DHTTPServer.cpp40 const char *iface, in HTTPServer() argument
51 iface ? iface : "0.0.0.0", in HTTPServer()
/device/google/cuttlefish/host/frontend/gcastv2/https/include/https/
DServerSocket.h38 const char *iface,
DHTTPServer.h35 const char *iface = nullptr, // defaults to 0.0.0.0, i.e. INADDR_ANY
/device/google/cuttlefish/tools/
Dnetwork-setup.sh185 iface ${ROCKNET} inet static
/device/google/coral-kernel/sm8150/kernel-headers/sound/
Dasound.h86 int iface; member
703 snd_ctl_elem_iface_t iface; member
/device/google/bonito/sdm710/kernel-headers/sound/
Dasound.h82 int iface; member
697 snd_ctl_elem_iface_t iface; member
/device/google/crosshatch/sdm845/kernel-headers/sound/
Dasound.h82 int iface; member
697 snd_ctl_elem_iface_t iface; member
/device/google/bonito/sdm710/original-kernel-headers/sound/
Dasound.h120 int iface; /* hwdep interface */ member
871 snd_ctl_elem_iface_t iface; /* interface identifier */ member
/device/google/coral-kernel/sm8150/original-kernel-headers/sound/
Dasound.h127 int iface; /* hwdep interface */ member
880 snd_ctl_elem_iface_t iface; /* interface identifier */ member

12