Home
last modified time | relevance | path

Searched defs:fileDescriptor (Results 1 – 25 of 37) sorted by relevance

12

/base/notification/eventhandler/frameworks/eventhandler/src/
Dffrt_descriptor_listener.cpp24 void FfrtDescriptorListener::OnReadable(int32_t fileDescriptor) in OnReadable()
33 void FfrtDescriptorListener::OnWritable(int32_t fileDescriptor) in OnWritable()
42 void FfrtDescriptorListener::OnShutdown(int32_t fileDescriptor) in OnShutdown()
52 void FfrtDescriptorListener::OnException(int32_t fileDescriptor) in OnException()
Depoll_io_waiter.cpp35 inline int32_t EpollCtrl(int32_t epollFd, int32_t operation, int32_t fileDescriptor, uint32_t epoll… in EpollCtrl()
212 bool EpollIoWaiter::AddFileDescriptor(int32_t fileDescriptor, uint32_t events, const std::string &t… in AddFileDescriptor()
246 void EpollIoWaiter::RemoveFileDescriptor(int32_t fileDescriptor) in RemoveFileDescriptor()
283 void EpollIoWaiter::InsertFileDescriptorMap(int32_t fileDescriptor, const std::string& taskName, in InsertFileDescriptorMap()
292 void EpollIoWaiter::EraseFileDescriptorMap(int32_t fileDescriptor) in EraseFileDescriptorMap()
298 std::shared_ptr<FileDescriptorInfo> EpollIoWaiter::GetFileDescriptorMap(int32_t fileDescriptor) in GetFileDescriptorMap()
Ddeamon_io_waiter.cpp39 inline int32_t EpollCtrl(int32_t epollFd, int32_t operation, int32_t fileDescriptor, uint32_t epoll… in EpollCtrl()
165 void DeamonIoWaiter::HandleFileDescriptorEvent(int32_t fileDescriptor, uint32_t events) in HandleFileDescriptorEvent()
317 bool DeamonIoWaiter::AddFileDescriptor(int32_t fileDescriptor, uint32_t events, const std::string &… in AddFileDescriptor()
352 void DeamonIoWaiter::RemoveFileDescriptor(int32_t fileDescriptor) in RemoveFileDescriptor()
384 void DeamonIoWaiter::InsertFileDescriptorMap(int32_t fileDescriptor, const std::string& taskName, in InsertFileDescriptorMap()
393 void DeamonIoWaiter::EraseFileDescriptorMap(int32_t fileDescriptor) in EraseFileDescriptorMap()
399 std::shared_ptr<FileDescriptorInfo> DeamonIoWaiter::GetFileDescriptorMap(int32_t fileDescriptor) in GetFileDescriptorMap()
Devent_queue.cpp110 bool EventQueue::AddFileDescriptorByFd(int32_t fileDescriptor, uint32_t events, const std::string &… in AddFileDescriptorByFd()
164 ErrCode EventQueue::AddFileDescriptorListenerBase(int32_t fileDescriptor, uint32_t events, in AddFileDescriptorListenerBase()
216 std::shared_ptr<FileDescriptorListener> EventQueue::GetListenerByfd(int32_t fileDescriptor) in GetListenerByfd()
232 void EventQueue::HandleFileDescriptorEvent(int32_t fileDescriptor, uint32_t events, in HandleFileDescriptorEvent()
301 void EventQueue::RemoveListenerByFd(int32_t fileDescriptor) in RemoveListenerByFd()
/base/sensors/miscdevice/test/unittest/vibrator/native/
Dvibrator_agent_test.cpp281 FileDescriptor fileDescriptor("/data/test/vibrator/coin_drop.json"); variable
300 FileDescriptor fileDescriptor("/data/test/vibrator/on_carpet.json"); variable
323 FileDescriptor fileDescriptor("/data/test/vibrator/on_carpet.json"); variable
346 FileDescriptor fileDescriptor("/data/test/vibrator/on_carpet.json"); variable
369 FileDescriptor fileDescriptor("/data/test/vibrator/on_carpet.json"); variable
388 FileDescriptor fileDescriptor("/data/test/vibrator/on_carpet.json"); variable
411 FileDescriptor fileDescriptor("/data/test/vibrator/on_carpet.json"); variable
438 FileDescriptor fileDescriptor("/data/test/vibrator/on_carpet.json"); variable
461 FileDescriptor fileDescriptor("/data/test/vibrator/on_carpet.json"); variable
480 FileDescriptor fileDescriptor("/data/test/vibrator/on_carpet.json"); variable
[all …]
Dvibrator_agent_seek_test.cpp122 FileDescriptor fileDescriptor("/data/test/vibrator/coin_drop_seek.json"); variable
155 FileDescriptor fileDescriptor("/data/test/vibrator/coin_drop_seek.json"); variable
196 FileDescriptor fileDescriptor("/data/test/vibrator/coin_drop_seek.json"); variable
237 FileDescriptor fileDescriptor("/data/test/vibrator/coin_drop_seek.json"); variable
278 FileDescriptor fileDescriptor("/data/test/vibrator/coin_drop_seek.json"); variable
318 FileDescriptor fileDescriptor("/data/test/vibrator/coin_drop_seek.json"); variable
360 FileDescriptor fileDescriptor("/data/test/vibrator/test_128_event.json"); variable
/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/
Dmy_file_descriptor_listener.cpp39 void MyFileDescriptorListener::OnReadable(int32_t fileDescriptor) in OnReadable()
70 void MyFileDescriptorListener::OnWritable(int32_t fileDescriptor) {} in OnWritable()
77 void MyFileDescriptorListener::OnShutdown(int32_t fileDescriptor) in OnShutdown()
90 void MyFileDescriptorListener::OnException(int32_t fileDescriptor) in OnException()
/base/web/webview/ohos_adapter/event_handler_adapter/src/
Devent_handler_adapter_impl.cpp28 void EventHandlerFDListenerAdapterImpl::OnReadable(int32_t fileDescriptor) in OnReadable()
53int32_t fileDescriptor, uint32_t events, const std::shared_ptr<EventHandlerFDListenerAdapter> list… in AddFileDescriptorListener()
64 void EventHandlerAdapterImpl::RemoveFileDescriptorListener(int32_t fileDescriptor) in RemoveFileDescriptorListener()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
Dark_event_handler_adapter_impl.cpp31int32_t fileDescriptor, uint32_t events, const ArkWebRefPtr<ArkEventHandlerFDListenerAdapter> list… in AddFileDescriptorListener()
41 void ArkEventHandlerAdapterImpl::RemoveFileDescriptorListener(int32_t fileDescriptor) in RemoveFileDescriptorListener()
Dark_event_handler_fdlistener_adapter_wrapper.cpp26 void ArkEventHandlerFDListenerAdapterWrapper::OnReadable(int32_t fileDescriptor) in OnReadable()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
Dark_event_handler_adapter_wrapper.cpp29int32_t fileDescriptor, uint32_t events, const std::shared_ptr<OHOS::NWeb::EventHandlerFDListenerA… in AddFileDescriptorListener()
39 void ArkEventHandlerAdapterWrapper::RemoveFileDescriptorListener(int32_t fileDescriptor) in RemoveFileDescriptorListener()
Dark_event_handler_fdlistener_adapter_impl.cpp25 void ArkEventHandlerFDListenerAdapterImpl::OnReadable(int32_t fileDescriptor) in OnReadable()
/base/notification/eventhandler/frameworks/native/src/
Dnative_interface_eventhandler.cpp61 …unnerAddFileDescriptorListener(const EventRunnerNativeImplement *nativeObj, int32_t fileDescriptor, in EventRunnerAddFileDescriptorListener()
71 …erRemoveFileDescriptorListener(const EventRunnerNativeImplement *nativeObj, int32_t fileDescriptor) in EventRunnerRemoveFileDescriptorListener()
/base/web/webview/test/fuzztest/ohos_adapter/eventhandler_fuzzer/
Devent_handler_adapter_fuzzer.cpp32 void OnReadable(int32_t fileDescriptor) override {} in OnReadable()
38 int32_t fileDescriptor = dataProvider.ConsumeIntegralInRange<int32_t>(0, MAX_SET_NUMBER); in EventHandlerAdapterFuzzTest() local
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
Dlib_event_epoll_io_waiter_test.cpp106 int32_t fileDescriptor = -1; variable
128 int32_t fileDescriptor = 1; variable
150 int32_t fileDescriptor = 1; variable
193 int32_t fileDescriptor = 1; variable
/base/sensors/sensor/frameworks/native/src/
Dsensor_file_descriptor_listener.cpp47 void SensorFileDescriptorListener::OnReadable(int32_t fileDescriptor) in OnReadable()
97 void SensorFileDescriptorListener::OnShutdown(int32_t fileDescriptor) in OnShutdown()
/base/notification/eventhandler/frameworks/eventhandler/include/
Dio_waiter.h105 … LOCAL_API virtual std::shared_ptr<FileDescriptorInfo> GetFileDescriptorMap(int32_t fileDescriptor) in GetFileDescriptorMap()
/base/notification/eventhandler/test/fuzztest/nativeimplementeventhandler_fuzzer/
Dnativeimplementeventhandler_fuzzer.cpp30 int32_t fileDescriptor = U32_AT(reinterpret_cast<const uint8_t*>(data)); in DoSomethingInterestingWithMyAPI() local
/base/notification/eventhandler/test/fuzztest/filedescriptorlistener_fuzzer/
Dfiledescriptorlistener_fuzzer.cpp30 int32_t fileDescriptor = U32_AT(reinterpret_cast<const uint8_t*>(data)); in DoSomethingInterestingWithMyAPI() local
/base/notification/eventhandler/test/fuzztest/epolliowaiter_fuzzer/
Depolliowaiter_fuzzer.cpp31 int32_t fileDescriptor = U32_AT(reinterpret_cast<const uint8_t*>(data)); in DoSomethingInterestingWithMyAPI() local
/base/notification/eventhandler/frameworks/test/moduletest/
Devent_handler_fd_listener_module_test.cpp66 void OnReadable(int32_t fileDescriptor) override in OnReadable()
87 void OnWritable(int32_t fileDescriptor) override in OnWritable()
114 void OnShutdown(int32_t fileDescriptor) override in OnShutdown()
125 void OnException(int32_t fileDescriptor) override in OnException()
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/
Dmock_event_handler.cpp63 ErrCode EventHandler::AddFileDescriptorListener(int32_t fileDescriptor, uint32_t events, in AddFileDescriptorListener()
72 void EventHandler::RemoveFileDescriptorListener(int32_t fileDescriptor) in RemoveFileDescriptorListener()
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dmock_event_handler.cpp63 ErrCode EventHandler::AddFileDescriptorListener(int32_t fileDescriptor, uint32_t events, in AddFileDescriptorListener()
72 void EventHandler::RemoveFileDescriptorListener(int32_t fileDescriptor) in RemoveFileDescriptorListener()
/base/notification/distributed_notification_service/services/test/moduletest/mock/
Dmock_event_handler.cpp63 ErrCode EventHandler::AddFileDescriptorListener(int32_t fileDescriptor, uint32_t events, in AddFileDescriptorListener()
72 void EventHandler::RemoveFileDescriptorListener(int32_t fileDescriptor) in RemoveFileDescriptorListener()
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
Dmock_event_handler.cpp63 ErrCode EventHandler::AddFileDescriptorListener(int32_t fileDescriptor, uint32_t events, in AddFileDescriptorListener()
72 void EventHandler::RemoveFileDescriptorListener(int32_t fileDescriptor) in RemoveFileDescriptorListener()

12