Searched refs:epoll (Results 1 – 8 of 8) sorted by relevance
/aosp14/system/core/init/ |
H A D | epoll_test.cpp | 40 TEST(epoll, UnregisterHandler) { in TEST() argument 41 Epoll epoll; in TEST() local 42 ASSERT_RESULT_OK(epoll.Open()); in TEST() 50 auto result = epoll.UnregisterHandler(fds[0]); in TEST() 58 epoll.RegisterHandler(fds[0], std::move(handler)); in TEST() 63 auto epoll_result = epoll.Wait({}); in TEST()
|
H A D | init.cpp | 138 static void InstallInitNotifier(Epoll* epoll) { in InstallInitNotifier() argument 751 static void InstallSignalFdHandler(Epoll* epoll) { in InstallSignalFdHandler() argument 994 Epoll epoll; in SecondStageMain() local 995 if (auto result = epoll.Open(); !result.ok()) { in SecondStageMain() 1002 epoll.SetFirstCallback(ReapAnyOutstandingChildren); in SecondStageMain() 1004 InstallSignalFdHandler(&epoll); in SecondStageMain() 1005 InstallInitNotifier(&epoll); in SecondStageMain() 1019 MountHandler mount_handler(&epoll); in SecondStageMain() 1065 [&epoll, &keychords](const BuiltinArguments& args) -> Result<void> { in SecondStageMain() 1069 keychords.Start(&epoll, HandleKeychord); in SecondStageMain() [all …]
|
H A D | mount_handler.cpp | 167 MountHandler::MountHandler(Epoll* epoll) : epoll_(epoll), fp_(fopen("/proc/mounts", "re"), fclose) { in MountHandler() argument 169 auto result = epoll->RegisterHandler( in MountHandler()
|
H A D | mount_handler.h | 43 explicit MountHandler(Epoll* epoll);
|
H A D | keychords.h | 40 void Start(Epoll* epoll, std::function<void(const std::vector<int>&)> handler);
|
H A D | keychords.cpp | 286 void Keychords::Start(Epoll* epoll, std::function<void(const std::vector<int>&)> handler) { in Start() argument 287 epoll_ = epoll; in Start()
|
H A D | property_service.cpp | 1423 Epoll epoll; in PropertyServiceThread() local 1424 if (auto result = epoll.Open(); !result.ok()) { in PropertyServiceThread() 1428 if (auto result = epoll.RegisterHandler(property_set_fd, handle_property_set_fd); in PropertyServiceThread() 1433 if (auto result = epoll.RegisterHandler(init_socket, HandleInitSocket); !result.ok()) { in PropertyServiceThread() 1438 auto epoll_result = epoll.Wait(std::nullopt); in PropertyServiceThread()
|
H A D | Android.bp | 39 "epoll.cpp",
|