Home
last modified time | relevance | path

Searched refs:epoll (Results 1 – 8 of 8) sorted by relevance

/system/core/init/
Dinit.cpp121 static void InstallInitNotifier(Epoll* epoll) { in InstallInitNotifier() argument
131 if (auto result = epoll->RegisterHandler(wake_main_thread_fd, clear_eventfd); !result.ok()) { in InstallInitNotifier()
602 static void InstallSignalFdHandler(Epoll* epoll) { in InstallSignalFdHandler() argument
633 if (auto result = epoll->RegisterHandler(signal_fd, HandleSignalFd); !result.ok()) { in InstallSignalFdHandler()
792 Epoll epoll; in SecondStageMain() local
793 if (auto result = epoll.Open(); !result.ok()) { in SecondStageMain()
797 InstallSignalFdHandler(&epoll); in SecondStageMain()
798 InstallInitNotifier(&epoll); in SecondStageMain()
812 MountHandler mount_handler(&epoll); in SecondStageMain()
851 [&epoll, &keychords](const BuiltinArguments& args) -> Result<void> { in SecondStageMain()
[all …]
Dmount_handler.cpp115 MountHandler::MountHandler(Epoll* epoll) : epoll_(epoll), fp_(fopen("/proc/mounts", "re"), fclose) { in MountHandler() argument
117 auto result = epoll->RegisterHandler( in MountHandler()
Dmount_handler.h43 explicit MountHandler(Epoll* epoll);
Dkeychords.h40 void Start(Epoll* epoll, std::function<void(const std::vector<int>&)> handler);
Dkeychords.cpp286 void Keychords::Start(Epoll* epoll, std::function<void(const std::vector<int>&)> handler) { in Start() argument
287 epoll_ = epoll; in Start()
Dproperty_service.cpp1168 Epoll epoll; in PropertyServiceThread() local
1169 if (auto result = epoll.Open(); !result.ok()) { in PropertyServiceThread()
1173 if (auto result = epoll.RegisterHandler(property_set_fd, handle_property_set_fd); in PropertyServiceThread()
1178 if (auto result = epoll.RegisterHandler(init_socket, HandleInitSocket); !result.ok()) { in PropertyServiceThread()
1183 auto pending_functions = epoll.Wait(std::nullopt); in PropertyServiceThread()
DAndroid.bp22 "epoll.cpp",
/system/core/adb/
Dprotocol.txt225 will be a select/epoll loop to handle io between various inbound and
230 channel between the main select/epoll thread and the remote connection