Home
last modified time | relevance | path

Searched refs:EventLoop (Results 1 – 23 of 23) sorted by relevance

/system/chre/core/
Devent_loop.cc35 constexpr Nanoseconds EventLoop::kIntervalWakeupBucket;
64 bool EventLoop::findNanoappInstanceIdByAppId(uint64_t appId, in findNanoappInstanceIdByAppId()
81 void EventLoop::forEachNanoapp(NanoappCallbackFunction *callback, void *data) { in forEachNanoapp()
89 void EventLoop::invokeMessageFreeFunction(uint64_t appId, in invokeMessageFreeFunction()
103 void EventLoop::run() { in run()
146 bool EventLoop::startNanoapp(UniquePtr<Nanoapp> &nanoapp) { in startNanoapp()
150 EventLoop &eventLoop = eventLoopManager->getEventLoop(); in startNanoapp()
203 bool EventLoop::unloadNanoapp(uint32_t instanceId, in unloadNanoapp()
258 void EventLoop::postEventOrDie(uint16_t eventType, void *eventData, in postEventOrDie()
273 bool EventLoop::postSystemEvent(uint16_t eventType, void *eventData, in postSystemEvent()
[all …]
Dhost_comms_manager.cc108 const EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in deliverNanoappMessageFromHost()
/system/teeui/libteeui/src/
Devdev.cpp45 bool EventLoop::timerOrder(const Timer& a, const Timer& b) { in timerOrder()
49 void EventLoop::processNewTimers() { in processNewTimers()
57 int EventLoop::runTimers() { in runTimers()
82 void EventLoop::processNewReceivers() { in processNewReceivers()
89 void EventLoop::addEventReceiver(NonCopyableFunction<void(short)> handler, int eventFd, in addEventReceiver()
98 void EventLoop::addTimer(NonCopyableFunction<void()> handler, in addTimer()
108 bool EventLoop::start() { in start()
159 void EventLoop::stop() { in stop()
173 EventLoop::~EventLoop() { in ~EventLoop()
233 bool grabAllEvDevsAndRegisterCallbacks(EventLoop* eventloop, in grabAllEvDevsAndRegisterCallbacks()
/system/connectivity/wificond/
Devent_loop.h26 class EventLoop {
33 virtual ~EventLoop() {} in ~EventLoop()
Dlooper_backed_event_loop.h28 class LooperBackedEventLoop: public EventLoop {
Dmain.cpp117 android::wificond::EventLoop::kModeInput, in main()
/system/connectivity/wificond/tests/
Dlooper_backed_event_loop_unittest.cpp115 EventLoop::kModeInput, in TEST_F()
130 EventLoop::kModeOutput, in TEST_F()
148 EventLoop::kModeInput, in TEST_F()
/system/chre/platform/shared/
Dchre_api_core.cc30 using chre::EventLoop;
56 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in chreSendEvent()
83 const EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in chreSendMessageWithPermissions()
/system/teeui/libteeui/include/secure_input/
Devdev.h76 class EventLoop {
124 ~EventLoop();
153 bool grabAllEvDevsAndRegisterCallbacks(EventLoop* eventloop,
/system/chre/core/include/chre/core/
Devent_loop.h52 class EventLoop : public NonCopyable {
54 EventLoop() in EventLoop() function
Devent_loop_manager.h220 EventLoop &getEventLoop() { in getEventLoop()
310 EventLoop mEventLoop;
/system/chre/doc/
Dframework_overview.md22 main state of the CHRE framework, including EventLoop and \*Manager classes for
54 object as needed, and passes it to `EventLoop::startNanoapp()` - this marks a
57 4. `EventLoop` takes ownership of the `Nanoapp` object (which is a composite of
89 set previosly by `EventLoop`).
124 4. `SensorRequestManager` calls into `EventLoop` to post an event containing the
129 5. `EventLoop` adds this event to its event queue and signals the CHRE thread.
132 event off of its queue in `EventLoop::run()`, the `nanoappHandleEvent()`
Dvendor_extensions.md77 the EventLoop, so vendor extension code does not need to worry about race
97 invoking `EventLoop::run()` to ensure that nanoapps don’t begin interacting with
107 fail if the API is called outside of the EventLoop thread context (see the
131 Use `EventLoop::postEventOrDie()` or `EventLoop::postLowPriorityEventOrFree()`
/system/bt/service/ipc/
Dlinux_ipc_host.h44 bool EventLoop();
Dipc_handler_linux.cc174 ipc_host.EventLoop(); in StartListeningOnThread()
Dlinux_ipc_host.cc80 bool LinuxIPCHost::EventLoop() { in EventLoop() function in ipc::LinuxIPCHost
/system/connectivity/wificond/net/
Dnetlink_manager.h130 explicit NetlinkManager(EventLoop* event_loop);
302 EventLoop* event_loop_;
Dnetlink_manager.cpp80 NetlinkManager::NetlinkManager(EventLoop* event_loop) in NetlinkManager()
435 EventLoop::kModeInput, in WatchSocket()
/system/chre/apps/unload_tester/
Dunload_tester.cc43 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in handleUnload()
/system/chre/platform/slpi/
Dinit.cc51 using chre::EventLoop;
Dhost_link.cc227 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in buildNanoappListResponse()
238 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in finishLoadingNanoappCallback()
259 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in handleUnloadNanoappCallback()
/system/chre/platform/android/
Dhost_link.cc132 EventLoop &eventLoop = EventLoopManagerSingleton::get()->getEventLoop(); in handleNanoappListRequest()
/system/core/trusty/confirmationui/
DTrustyConfirmationUI.cpp306 EventLoop eventloop; in promptUserConfirmation_()