Home
last modified time | relevance | path

Searched refs:LOCAL_API (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/notification/eventhandler/frameworks/eventhandler/include/
H A Devent_queue_ffrt.h23 #define LOCAL_API __attribute__((visibility ("hidden"))) macro
57 LOCAL_API void RemoveAll() override;
64 LOCAL_API void Remove(const std::shared_ptr<EventHandler> &owner) override;
97 LOCAL_API void Dump(Dumper &dumper) override;
105 LOCAL_API void DumpQueueInfo(std::string& queueInfo) override;
112 LOCAL_API bool IsIdle() override;
119 LOCAL_API bool IsQueueEmpty() override;
138 LOCAL_API bool HasPreferEvent(int basePrio) override;
140 LOCAL_API std::string DumpCurrentQueueSize() override;
142 LOCAL_API void* GetFfrtQueue() override;
[all …]
H A Depoll_io_waiter.h29 #define LOCAL_API __attribute__((visibility ("hidden"))) macro
46 LOCAL_API bool Init();
48 LOCAL_API bool WaitFor(std::unique_lock<std::mutex> &lock, int64_t nanoseconds) final;
50 LOCAL_API void NotifyOne() final;
51 LOCAL_API void NotifyAll() final;
54LOCAL_API bool AddFileDescriptor(int32_t fileDescriptor, uint32_t events, const std::string &taskN…
58LOCAL_API void SetFileDescriptorEventCallback(const FileDescriptorEventCallback &callback) final;
59 LOCAL_API void InsertFileDescriptorMap(int32_t fileDescriptor, const std::string& taskName,
61 LOCAL_API void EraseFileDescriptorMap(int32_t fileDescriptor);
62LOCAL_API std::shared_ptr<FileDescriptorInfo> GetFileDescriptorMap(int32_t fileDescriptor) overrid…
[all …]
H A Devent_queue_base.h26 #define LOCAL_API __attribute__((visibility ("hidden"))) macro
78 LOCAL_API void RemoveAll() override;
182 LOCAL_API void PushHistoryQueueAfterDistribute() override;
184 LOCAL_API bool HasPreferEvent(int basePrio) override;
186 LOCAL_API std::string DumpCurrentQueueSize() override;
206 LOCAL_API void CancelAndWait() override;
239 LOCAL_API void Remove(const RemoveFilter &filter);
240 LOCAL_API void RemoveOrphan(const RemoveFilter &filter);
241 LOCAL_API bool HasInnerEvent(const HasFilter &filter);
245 LOCAL_API std::string HistoryQueueDump(const HistoryEvent &historyEvent);
[all …]
H A Ddeamon_io_waiter.h29 #define LOCAL_API __attribute__((visibility ("hidden"))) macro
55LOCAL_API bool AddFileDescriptor(int32_t fileDescriptor, uint32_t events, const std::string &taskN…
57 LOCAL_API void RemoveFileDescriptor(int32_t fileDescriptor);
59 LOCAL_API void InsertFileDescriptorMap(int32_t fileDescriptor, const std::string& taskName,
61 LOCAL_API void EraseFileDescriptorMap(int32_t fileDescriptor);
62 LOCAL_API std::shared_ptr<FileDescriptorInfo> GetFileDescriptorMap(int32_t fileDescriptor);
63 LOCAL_API void HandleFileDescriptorEvent(int32_t fileDescriptor, uint32_t events);
65 LOCAL_API void EpollWaitFor();
66 LOCAL_API void DrainAwakenPipe() const;
67 LOCAL_API void HandleEpollEvents(struct epoll_event *epollEvents, int32_t eventsCount);
H A Dio_waiter.h28 #define LOCAL_API __attribute__((visibility ("hidden"))) macro
61 LOCAL_API virtual bool WaitFor(std::unique_lock<std::mutex> &lock, int64_t nanoseconds) = 0;
66 LOCAL_API virtual void NotifyOne() = 0;
71 LOCAL_API virtual void NotifyAll() = 0;
78 LOCAL_API virtual bool SupportListeningFileDescriptor() const = 0;
87LOCAL_API virtual bool AddFileDescriptor(int32_t fileDescriptor, uint32_t events, const std::strin…
95 LOCAL_API virtual void RemoveFileDescriptor(int32_t fileDescriptor) = 0;
102LOCAL_API virtual void SetFileDescriptorEventCallback(const FileDescriptorEventCallback &callback)…
104LOCAL_API virtual std::shared_ptr<FileDescriptorInfo> GetFileDescriptorMap(int32_t fileDescriptor) in GetFileDescriptorMap()
H A Devent_inner_runner.h25 #define LOCAL_API __attribute__((visibility ("hidden"))) macro
36 LOCAL_API virtual void Run() = 0;
37 LOCAL_API virtual void Stop() = 0;
39 LOCAL_API const std::shared_ptr<EventQueue> &GetEventQueue() const in GetEventQueue()
44 LOCAL_API void SetLogger(const std::shared_ptr<Logger> &logger) in SetLogger()
49 LOCAL_API const std::string &GetThreadName() in GetThreadName()
54 LOCAL_API const std::thread::id &GetThreadId() in GetThreadId()
59 LOCAL_API uint64_t GetKernelThreadId() in GetKernelThreadId()
H A Devent_handler_utils.h27 #define LOCAL_API __attribute__((visibility ("hidden"))) macro
36 LOCAL_API static inline int64_t TimePointToTimeOut(const InnerEvent::TimePoint &when) in TimePointToTimeOut()
47 LOCAL_API static inline int32_t NanosecondsToTimeout(int64_t nanoseconds) in NanosecondsToTimeout()
63 LOCAL_API static inline bool AllowHiTraceOutPut(const std::shared_ptr<HiTraceId>& traceId, bool isS… in AllowHiTraceOutPut()
74 LOCAL_API static inline void HiTracePointerOutPutEventId(const std::shared_ptr<HiTraceId> &spanId, … in HiTracePointerOutPutEventId()
88 LOCAL_API static inline void HiTracePointerOutPut(const std::shared_ptr<HiTraceId>& spanId, in HiTracePointerOutPut()
101 LOCAL_API static inline void GetLastErr(char *errmsg, size_t size = MAX_ERRORMSG_LEN)
107 LOCAL_API static inline int64_t GetTimeStamp() in GetTimeStamp()
H A Dnone_io_waiter.h25 #define LOCAL_API __attribute__((visibility ("hidden"))) macro
35 LOCAL_API bool WaitFor(std::unique_lock<std::mutex> &lock, int64_t nanoseconds) final;
37 LOCAL_API void NotifyOne() final;
38 LOCAL_API void NotifyAll() final;
40 LOCAL_API bool SupportListeningFileDescriptor() const final;
H A Dffrt_descriptor_listener.h25 #define LOCAL_API __attribute__((visibility ("hidden"))) macro
36 LOCAL_API void OnReadable(int32_t fileDescriptor) override;
38 LOCAL_API void OnWritable(int32_t fileDescriptor) override;
40 LOCAL_API void OnShutdown(int32_t fileDescriptor) override;
42 LOCAL_API void OnException(int32_t fileDescriptor) override;
H A Devent_hitrace_meter_adapter.h22 #define LOCAL_API __attribute__((visibility ("hidden"))) macro
60 LOCAL_API void Load() in Load()
96 LOCAL_API static inline void StartTraceAdapter(const InnerEvent::Pointer &event) in StartTraceAdapter()
104 LOCAL_API static inline void StartTraceObserver(ObserverTrace &observer) in StartTraceObserver()
112 LOCAL_API static inline void FinishTraceAdapter() in FinishTraceAdapter()