Searched refs:LOCAL_API (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/base/notification/eventhandler/frameworks/eventhandler/include/ |
H A D | event_queue_ffrt.h | 23 #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 D | epoll_io_waiter.h | 29 #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; 54 …LOCAL_API bool AddFileDescriptor(int32_t fileDescriptor, uint32_t events, const std::string &taskN… 58 … LOCAL_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); 62 …LOCAL_API std::shared_ptr<FileDescriptorInfo> GetFileDescriptorMap(int32_t fileDescriptor) overrid… [all …]
|
H A D | event_queue_base.h | 26 #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 D | deamon_io_waiter.h | 29 #define LOCAL_API __attribute__((visibility ("hidden"))) macro 55 …LOCAL_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 D | io_waiter.h | 28 #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; 87 …LOCAL_API virtual bool AddFileDescriptor(int32_t fileDescriptor, uint32_t events, const std::strin… 95 LOCAL_API virtual void RemoveFileDescriptor(int32_t fileDescriptor) = 0; 102 …LOCAL_API virtual void SetFileDescriptorEventCallback(const FileDescriptorEventCallback &callback)… 104 … LOCAL_API virtual std::shared_ptr<FileDescriptorInfo> GetFileDescriptorMap(int32_t fileDescriptor) in GetFileDescriptorMap()
|
H A D | event_inner_runner.h | 25 #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 D | event_handler_utils.h | 27 #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 D | none_io_waiter.h | 25 #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 D | ffrt_descriptor_listener.h | 25 #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 D | event_hitrace_meter_adapter.h | 22 #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()
|