Home
last modified time | relevance | path

Searched refs:fdevent (Results 1 – 13 of 13) sorted by relevance

/system/core/adb/
Dfdevent.h37 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);
Dfdevent.cpp62 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 …]
Dfdevent_test.cpp76 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()
Dsocket.h62 fdevent* fde = nullptr;
Dadb_listeners.cpp45 fdevent* fde = nullptr;
Dsockets.cpp259 auto callback = [](fdevent* fde, unsigned event, void* arg) { in deferred_close()
290 fdevent* fde = fdevent_create(fd.release(), callback, socket_info); in deferred_close()
DAndroid.bp123 "fdevent.cpp",
Dtransport.cpp473 static fdevent* transport_registration_fde;
/system/core/adb/client/
Dtransport_mdns.cpp38 static fdevent* service_ref_fde;
90 fdevent* fde_;
Dauth.cpp399 fdevent* event = fdevent_create(infd, adb_auth_inotify_update, nullptr); in adb_auth_inotify_init()
/system/core/adb/daemon/
Dauth.cpp41 static fdevent* listener_fde = nullptr;
42 static fdevent* framework_fde = nullptr;
Djdwp_service.cpp175 fdevent* fde = nullptr;
298 fdevent* fde;
Dservices.cpp138 fdevent* fde = fdevent_create( in spin_service()