/external/autotest/client/bin/input/ |
D | input_device.py | 256 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()
|
D | input_event_recorder.py | 88 ev_type = int(result.group(2)) 91 return Event(ev_type, ev_code, ev_value)
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp.h | 32 void *priv, enum upnp_wps_wlanevent_type ev_type, 46 enum upnp_wps_wlanevent_type ev_type,
|
D | wps_upnp.c | 789 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()
|
D | wps_upnp_web.c | 580 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__.py | 840 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/ |
D | llcstat.py | 83 ev_type=PerfType.HARDWARE, ev_config=PerfHWConfig.CACHE_MISSES, 86 ev_type=PerfType.HARDWARE, ev_config=PerfHWConfig.CACHE_REFERENCES,
|
D | runqlen.py | 187 b.attach_perf_event(ev_type=PerfType.SOFTWARE,
|
D | cpuunclaimed.py | 168 b.attach_perf_event(ev_type=PerfType.SOFTWARE,
|
D | profile.py | 247 b.attach_perf_event(ev_type=PerfType.SOFTWARE,
|
/external/bcc/src/cc/api/ |
D | BPF.cc | 298 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()
|
D | BPF.h | 85 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/ |
D | mtb.py | 61 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/ |
D | sys.txt | 79 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/ |
D | libbpf.h | 101 int bpf_attach_perf_event(int progfd, uint32_t ev_type, uint32_t ev_config,
|
D | libbpf.c | 1371 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/ |
D | libbpf.h | 101 int bpf_attach_perf_event(int progfd, uint32_t ev_type, uint32_t ev_config,
|
/external/wpa_supplicant_8/src/ap/ |
D | wps_hostapd.c | 1508 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()
|