Home
last modified time | relevance | path

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

/hardware/libhardware/modules/sensors/dynamic_sensor/
DConnectionDetector.cpp109 mLooper(new Looper(true /*allowNonCallback*/)), mInotifyFd(-1) { in FileConnectionDetector()
110 if (mLooper == nullptr) { in FileConnectionDetector()
121 if (wd < 0 || !mLooper->addFd(mInotifyFd, POLL_IDENT, Looper::EVENT_INPUT, nullptr, nullptr)) { in FileConnectionDetector()
135 mLooper->wake(); in ~FileConnectionDetector()
214 Looper::setForThread(mLooper); in threadLoop()
217 int ret = mLooper->pollOnce(-1); in threadLoop()
232 mLooper->removeFd(mInotifyFd); in threadLoop()
DConnectionDetector.h78 sp<Looper> mLooper; variable
/hardware/google/av/media/codecs/base/
DSimpleC2Component.cpp149 mLooper(new ALooper), in SimpleC2Component()
151 mLooper->setName(intf->getName().c_str()); in SimpleC2Component()
152 (void)mLooper->registerHandler(mHandler); in SimpleC2Component()
153 mLooper->start(false, false, ANDROID_PRIORITY_VIDEO); in SimpleC2Component()
157 mLooper->unregisterHandler(mHandler->id()); in ~SimpleC2Component()
158 (void)mLooper->stop(); in ~SimpleC2Component()
/hardware/google/av/media/codecs/base/include/
DSimpleC2Component.h200 sp<ALooper> mLooper; variable
/hardware/google/av/media/sfplugin/
DCCodec.cpp119 CCodecWatchdog() : mLooper(new ALooper) {} in CCodecWatchdog()
123 thiz->mLooper->setName("CCodecWatchdog"); in Init()
124 thiz->mLooper->registerHandler(thiz); in Init()
125 thiz->mLooper->start(); in Init()
128 sp<ALooper> mLooper; member in android::__anona70df1060111::CCodecWatchdog