Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp243 int looper_flags = 0; in updateLooperRegistrationLocked() local
244 if (mCacheSize > 0) looper_flags |= ALOOPER_EVENT_OUTPUT; in updateLooperRegistrationLocked()
245 if (mDataInjectionMode) looper_flags |= ALOOPER_EVENT_INPUT; in updateLooperRegistrationLocked()
250 looper_flags |= ALOOPER_EVENT_INPUT; in updateLooperRegistrationLocked()
257 if (looper_flags == 0) { in updateLooperRegistrationLocked()
268 int ret = looper->addFd(mChannel->getSendFd(), 0, looper_flags, this, nullptr); in updateLooperRegistrationLocked()