Home
last modified time | relevance | path

Searched refs:mLooper (Results 1 – 8 of 8) sorted by relevance

/hardware/libhardware/modules/sensors/dynamic_sensor/
DConnectionDetector.cpp113 mLooper(new Looper(true /*allowNonCallback*/)), mInotifyFd(-1) { in FileConnectionDetector()
114 if (mLooper == nullptr) { in FileConnectionDetector()
125 if (wd < 0 || !mLooper->addFd(mInotifyFd, POLL_IDENT, Looper::EVENT_INPUT, nullptr, nullptr)) { in FileConnectionDetector()
136 mLooper->wake(); in ~FileConnectionDetector()
222 Looper::setForThread(mLooper); in threadLoop()
225 int ret = mLooper->pollOnce(-1); in threadLoop()
240 mLooper->removeFd(mInotifyFd); in threadLoop()
DConnectionDetector.h81 sp<Looper> mLooper; variable
/hardware/google/pixel/powerstats/
DDisplayStateResidencyDataProvider.cpp42 mLooper(new Looper(true)) { in DisplayStateResidencyDataProvider()
59 mLooper->addFd(mFd, 0, Looper::EVENT_ERROR, nullptr, nullptr); in DisplayStateResidencyDataProvider()
148 if (mLooper->pollOnce(-1) >= 0) { in pollLoop()
/hardware/google/pixel/powerstats/dataproviders/
DDisplayStateResidencyDataProvider.cpp39 mLooper(new ::android::Looper(true)) { in DisplayStateResidencyDataProvider()
56 mLooper->addFd(mFd, 0, ::android::Looper::EVENT_ERROR, nullptr, nullptr); in DisplayStateResidencyDataProvider()
143 if (mLooper->pollOnce(-1) >= 0) { in pollLoop()
/hardware/google/pixel/power-libperfmgr/aidl/
DPowerSessionManager.h98 sp<Looper> mLooper;
100 PowerHintMonitor() : Thread(false), mLooper(new Looper(true)) {} in PowerHintMonitor()
DPowerSessionManager.cpp149 mLooper->pollOnce(-1); in threadLoop()
155 return mLooper; in getLooper()
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DDisplayStateResidencyDataProvider.h68 sp<Looper> mLooper; variable
/hardware/google/pixel/powerstats/include/dataproviders/
DDisplayStateResidencyDataProvider.h71 ::android::sp<::android::Looper> mLooper;