Home
last modified time | relevance | path

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

/bionic/libc/private/
Dbionic_fdtrack.h57 android_fdtrack_event event; \
58 event.fd = __fd; \
59 event.type = ANDROID_FDTRACK_EVENT_TYPE_CREATE; \
60 event.data.create.function_name = name; \
61 __android_fdtrack_hook(&event); \
86 android_fdtrack_event event; \
87 event.fd = __fd; \
88 event.type = ANDROID_FDTRACK_EVENT_TYPE_CLOSE; \
89 __android_fdtrack_hook(&event); \
/bionic/tests/
Dfdtrack_test.cpp47 auto& event = (*events)[index]; in DumpEvent() local
48 if (event.type == ANDROID_FDTRACK_EVENT_TYPE_CREATE) { in DumpEvent()
49 fprintf(stderr, " event %zu: fd %d created by %s\n", index, event.fd, in DumpEvent()
50 event.data.create.function_name); in DumpEvent()
51 } else if (event.type == ANDROID_FDTRACK_EVENT_TYPE_CLOSE) { in DumpEvent()
52 fprintf(stderr, " event %zu: fd %d closed\n", index, event.fd); in DumpEvent()
54 errx(1, "unexpected fdtrack event type: %d", event.type); in DumpEvent()
64 android_fdtrack_hook_t hook = [](android_fdtrack_event* event) { in FdtrackRun() argument
66 events.push_back(*event); in FdtrackRun()
88 auto& event = events[i]; in FdtrackRun() local
[all …]
/bionic/libfdtrack/
Dfdtrack.cpp56 static void fd_hook(android_fdtrack_event* event);
98 static void fd_hook(android_fdtrack_event* event) { in fd_hook() argument
99 if (event->type == ANDROID_FDTRACK_EVENT_TYPE_CREATE) { in fd_hook()
100 if (FdEntry* entry = GetFdEntry(event->fd); entry) { in fd_hook()
105 } else if (event->type == ANDROID_FDTRACK_EVENT_TYPE_CLOSE) { in fd_hook()
106 if (FdEntry* entry = GetFdEntry(event->fd); entry) { in fd_hook()
/bionic/libc/kernel/uapi/sound/
Dasequencer.h133 int event; member
164 struct snd_seq_event * event; member
190 struct snd_seq_event event; member
Dasound.h736 int event; member
/bionic/libc/kernel/uapi/asm-x86/asm/
Dist.h25 __u32 event; member
/bionic/libc/kernel/uapi/linux/
Dvirtio_console.h37 __virtio16 event; member
Dvt.h66 unsigned int event; member
Diommu.h67 struct iommu_fault_unrecoverable event; member
Dvirtio_scsi.h75 __virtio32 event; member
Dsoundcard.h645 …E(dev,event,chn,note,parm) { _SEQ_NEEDBUF(8); _seqbuf[_seqbufptr] = EV_CHN_VOICE; _seqbuf[_seqbufp… argument
649 …(dev,event,chn,p1,p2,w14) { _SEQ_NEEDBUF(8); _seqbuf[_seqbufptr] = EV_CHN_COMMON; _seqbuf[_seqbufp… argument
Dtipc.h69 __u32 event; member
Duserfaultfd.h43 __u8 event; member
Dcec.h167 __u32 event; member
/bionic/libc/kernel/uapi/rdma/
Drdma_user_cm.h198 __u32 event; member
225 __u32 event; member
/bionic/libdl/
DNOTICE154 8. Limitation of Liability. In no event and under no legal theory,
/bionic/libc/
DAndroid.bp2236 "kernel/uapi/linux/input-event-codes.h",
DNOTICE2818 of any kind. I shall in no event be liable for anything that happens