Home
last modified time | relevance | path

Searched refs:ev_type (Results 1 – 6 of 6) sorted by relevance

/external/autotest/client/bin/input/
Dinput_device.py249 def _ioctl_codes(self, ev_type): argument
253 self.events[ev_type] = {}
254 if ev_type not in EV_SIZES:
257 size = EV_SIZES[ev_type] / 8 # Convert bits to bytes
260 count = fcntl.ioctl(self.f, EVIOCGBIT(ev_type, size), ev_code, 1)
263 if ev_type == EV_ABS:
264 self.events[ev_type][c] = self._ioctl_absinfo(c)
265 elif ev_type == EV_SW:
266 self.events[ev_type][c] = self._ioctl_get_switch(c)
268 self.events[ev_type][c] = Valuator()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp.h32 void *priv, enum upnp_wps_wlanevent_type ev_type,
46 enum upnp_wps_wlanevent_type ev_type,
Dwps_upnp.c789 enum upnp_wps_wlanevent_type ev_type, in upnp_wps_device_send_wlan_event() argument
805 os_snprintf(type, sizeof(type), "%1u", ev_type); in upnp_wps_device_send_wlan_event()
812 *(raw + pos) = (u8) ev_type; in upnp_wps_device_send_wlan_event()
831 sm->wlanevent_type = ev_type; in upnp_wps_device_send_wlan_event()
Dwps_upnp_web.c580 int ev_type; in web_process_put_wlan_response() local
605 ev_type = atol(val); in web_process_put_wlan_response()
643 if (ev_type == UPNP_WPS_WLANEVENT_TYPE_EAP) { in web_process_put_wlan_response()
656 iface->ctx->rx_req_put_wlan_response(iface->priv, ev_type, in web_process_put_wlan_response()
/external/autotest/client/site_tests/firmware_TouchMTB/
Dmtb.py61 ev_type = event[MTB.EV_TYPE]
62 pretty_event.append('type %d (%s),' % (ev_type, EV_TYPES[ev_type]))
65 (ev_code, EV_STRINGS[ev_type][ev_code]))
298 (tv_sec, tv_usec, ev_type, ev_code, ev_value) = event
300 return MtbParser.make_ev_dict((ev_time, ev_type, ev_code, ev_value))
1431 (ev_time, ev_type, ev_code, ev_value) = event
1433 MTB.EV_TYPE: ev_type,
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c1446 void *priv, enum upnp_wps_wlanevent_type ev_type, in hostapd_rx_req_put_wlan_response() argument
1455 MACSTR, ev_type, MAC2STR(mac_addr)); in hostapd_rx_req_put_wlan_response()
1458 if (ev_type != UPNP_WPS_WLANEVENT_TYPE_EAP) { in hostapd_rx_req_put_wlan_response()
1460 "PutWLANResponse WLANEventType %d", ev_type); in hostapd_rx_req_put_wlan_response()