Home
last modified time | relevance | path

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

/external/autotest/client/bin/input/
Dinput_device.py256 def _ioctl_codes(self, ev_type): argument
260 self.events[ev_type] = {}
261 if ev_type not in EV_SIZES:
264 size = EV_SIZES[ev_type] / 8 # Convert bits to bytes
267 count = fcntl.ioctl(self.f, EVIOCGBIT(ev_type, size), ev_code, 1)
270 if ev_type == EV_ABS:
271 self.events[ev_type][c] = self._ioctl_absinfo(c)
272 elif ev_type == EV_SW:
273 self.events[ev_type][c] = self._ioctl_get_switch(c)
275 self.events[ev_type][c] = Valuator()
Dinput_event_recorder.py88 ev_type = int(result.group(2))
91 return Event(ev_type, ev_code, ev_value)
/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/bcc/src/python/bcc/
D__init__.py840 def _attach_perf_event(self, progfd, ev_type, ev_config, argument
842 res = lib.bpf_attach_perf_event(progfd, ev_type, ev_config,
848 def attach_perf_event(self, ev_type=-1, ev_config=-1, fn_name=b"", argument
854 res[cpu] = self._attach_perf_event(fn.fd, ev_type, ev_config,
858 res[i] = self._attach_perf_event(fn.fd, ev_type, ev_config,
860 self.open_perf_events[(ev_type, ev_config)] = res
862 def detach_perf_event(self, ev_type=-1, ev_config=-1): argument
864 fds = self.open_perf_events[(ev_type, ev_config)]
867 ev_type, ev_config))
874 del self.open_perf_events[(ev_type, ev_config)]
[all …]
/external/bcc/tools/
Dllcstat.py83 ev_type=PerfType.HARDWARE, ev_config=PerfHWConfig.CACHE_MISSES,
86 ev_type=PerfType.HARDWARE, ev_config=PerfHWConfig.CACHE_REFERENCES,
Drunqlen.py187 b.attach_perf_event(ev_type=PerfType.SOFTWARE,
Dcpuunclaimed.py168 b.attach_perf_event(ev_type=PerfType.SOFTWARE,
Dprofile.py247 b.attach_perf_event(ev_type=PerfType.SOFTWARE,
/external/bcc/src/cc/api/
DBPF.cc298 StatusTuple BPF::attach_perf_event(uint32_t ev_type, uint32_t ev_config, in attach_perf_event() argument
302 auto ev_pair = std::make_pair(ev_type, ev_config); in attach_perf_event()
305 ev_type, ev_config); in attach_perf_event()
318 int fd = bpf_attach_perf_event(probe_fd, ev_type, ev_config, sample_period, in attach_perf_event()
326 ev_type, ev_config); in attach_perf_event()
455 StatusTuple BPF::detach_perf_event(uint32_t ev_type, uint32_t ev_config) { in detach_perf_event() argument
456 auto it = perf_events_.find(std::make_pair(ev_type, ev_config)); in detach_perf_event()
458 return StatusTuple(-1, "Perf Event type %d config %d not attached", ev_type, in detach_perf_event()
DBPF.h85 StatusTuple attach_perf_event(uint32_t ev_type, uint32_t ev_config,
95 StatusTuple detach_perf_event(uint32_t ev_type, uint32_t ev_config);
/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/syzkaller/sys/akaros/
Dsys.txt79 notify(target_pid pid[opt], ev_type flags[event_type], u_msg ptr[in, event_msg])
80 self_notify(vcoreid int32, ev_type flags[event_type], u_msg ptr[in, event_msg], priv bool32)
117 ev_type flags[event_type, int16]
/external/bcc/src/cc/
Dlibbpf.h101 int bpf_attach_perf_event(int progfd, uint32_t ev_type, uint32_t ev_config,
Dlibbpf.c1371 int bpf_attach_perf_event(int progfd, uint32_t ev_type, uint32_t ev_config, in bpf_attach_perf_event() argument
1374 if (invalid_perf_config(ev_type, ev_config)) { in bpf_attach_perf_event()
1385 attr.type = ev_type; in bpf_attach_perf_event()
/external/bcc/src/cc/includes/
Dlibbpf.h101 int bpf_attach_perf_event(int progfd, uint32_t ev_type, uint32_t ev_config,
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c1508 void *priv, enum upnp_wps_wlanevent_type ev_type, in hostapd_rx_req_put_wlan_response() argument
1517 MACSTR, ev_type, MAC2STR(mac_addr)); in hostapd_rx_req_put_wlan_response()
1520 if (ev_type != UPNP_WPS_WLANEVENT_TYPE_EAP) { in hostapd_rx_req_put_wlan_response()
1522 "PutWLANResponse WLANEventType %d", ev_type); in hostapd_rx_req_put_wlan_response()