Searched refs:aLooper (Results 1 – 2 of 2) sorted by relevance
146 ALooper* aLooper = ALooper_forThread(); in UinputDevice() local147 if (aLooper == nullptr) { in UinputDevice()149 aLooper = ALooper_prepare(ALOOPER_PREPARE_ALLOW_NON_CALLBACKS); in UinputDevice()152 aLooper, mFd, 0, ALOOPER_EVENT_INPUT, in UinputDevice()
186 ALooper* aLooper = ALooper_forThread(); in Device() local187 if (aLooper == NULL) { in Device()189 aLooper = ALooper_prepare(ALOOPER_PREPARE_ALLOW_NON_CALLBACKS); in Device()191 ALooper_addFd(aLooper, mFd, 0, ALOOPER_EVENT_INPUT, handleLooperEvents, in Device()