Searched refs:fdevent (Results 1 – 13 of 13) sorted by relevance
/system/core/adb/ |
D | fdevent.h | 37 typedef void (*fd_func2)(struct fdevent* fde, unsigned events, void* userdata); 39 struct fdevent { struct 56 fdevent *fdevent_create(int fd, fd_func func, void *arg); 57 fdevent* fdevent_create(int fd, fd_func2 func, void* arg); 60 void fdevent_destroy(fdevent *fde); 63 unique_fd fdevent_release(fdevent* fde); 66 void fdevent_set(fdevent *fde, unsigned events); 67 void fdevent_add(fdevent *fde, unsigned events); 68 void fdevent_del(fdevent *fde, unsigned events); 74 void fdevent_set_timeout(fdevent* fde, std::optional<std::chrono::milliseconds> timeout);
|
D | fdevent.cpp | 62 fdevent* fde; 65 explicit PollNode(fdevent* fde) : fde(fde) { in PollNode() 80 static auto& g_pending_list = *new std::list<fdevent*>(); 103 static std::string dump_fde(const fdevent* fde) { in dump_fde() 128 static fdevent* fdevent_create_impl(int fd, F func, void* arg) { in fdevent_create_impl() 132 fdevent* fde = new fdevent(); in fdevent_create_impl() 151 fdevent* fdevent_create(int fd, fd_func func, void* arg) { in fdevent_create() 155 fdevent* fdevent_create(int fd, fd_func2 func, void* arg) { in fdevent_create() 159 unique_fd fdevent_release(fdevent* fde) { in fdevent_release() 184 void fdevent_destroy(fdevent* fde) { in fdevent_destroy() [all …]
|
D | fdevent_test.cpp | 76 static void FdEventNewCallback(fdevent* fde, unsigned events, void* userdata) { in FdEventNewCallback() 102 fdevent* read_fde_; 103 fdevent* write_fde_; 176 fdevent* fde; 276 fdevent* fde; in TEST_F() 284 test.fde = fdevent_create(fds[0], [](fdevent* fde, unsigned events, void* arg) { in TEST_F()
|
D | socket.h | 62 fdevent* fde = nullptr;
|
D | adb_listeners.cpp | 45 fdevent* fde = nullptr;
|
D | sockets.cpp | 259 auto callback = [](fdevent* fde, unsigned event, void* arg) { in deferred_close() 290 fdevent* fde = fdevent_create(fd.release(), callback, socket_info); in deferred_close()
|
D | Android.bp | 123 "fdevent.cpp",
|
D | transport.cpp | 473 static fdevent* transport_registration_fde;
|
/system/core/adb/client/ |
D | transport_mdns.cpp | 38 static fdevent* service_ref_fde; 90 fdevent* fde_;
|
D | auth.cpp | 399 fdevent* event = fdevent_create(infd, adb_auth_inotify_update, nullptr); in adb_auth_inotify_init()
|
/system/core/adb/daemon/ |
D | auth.cpp | 41 static fdevent* listener_fde = nullptr; 42 static fdevent* framework_fde = nullptr;
|
D | jdwp_service.cpp | 175 fdevent* fde = nullptr; 298 fdevent* fde;
|
D | services.cpp | 138 fdevent* fde = fdevent_create( in spin_service()
|